GithubHelp home page GithubHelp logo

martina6hall / tac_plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebook/tac_plus

1.0 3.0 0.0 627 KB

A Tacacs+ Daemon tested on Linux (CentOS) to run AAA via TACACS+ Protocol via IPv4 and IPv6.

Shell 34.38% Makefile 6.19% C 55.54% M4 1.42% Python 1.53% Roff 0.94%

tac_plus's Introduction

Tacacs+ (tac_plus)

C Daemon that authenticates requests via the Tacacs+ Protocol and logs accounting information.

This is a fork of Cisco + Shruberry's Tacacas+ daemons (http://www.shrubbery.net/tac_plus/)

RPMS Build on CentOS 7 x86_64 + SRC rpms avaliable here: http://cooperlees.com/rpms/

Requirements

  • Linux (have not tested in other OSs)
  • tcpwrappers(-devel)
  • pam(-devel)

Supports

  • IPv4 + IPv6
  • RPM Spec Files included
  • SystemD .service files
  • PAM Support
  • tcpwrappers support
  • Syslog Logging

Default Behavior

There are two spec files tested in CentOS 6. tacacs+6 depends on tacacs+ in order to not duplicate libraries etc.

  • tacacs+ logs accounting to syslog and /var/log/tac_plus.acct
  • tacacs+6 logs accounting to syslog and /var/log/tac_plus6.acct
  • PIDS live in /var/run/tac_plus[6]
  • Each binary binds to all addresses for its address family (AF_INET: 0.0.0.0 or AF_INET6: ::) -- This is controlled in the unit file

INSTALLING

Buid from source (./configure ; make ; make install)

  • For IPv6 you will need CFLAGS="-DIPV6": or build an RPM
  • rpmbuild -ba tacacs+[6].spec -- tacacs+6 requires tacacs+ for libraries with default specfiles (easily changeable if you want IPV6 only)

RPM Build

  • git clone [email protected]:facebook/tac_plus.git

  • cd tac_plus

  • mkdir -p ~/rpmbuild/SOURCES

  • tar cvzf ~/rpmbuild/SOURCES/tacacs+-FB4.0.4.19.1.tar.gz tacacs+-FB4.0.4.19.1

  • echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros

  • sudo yum install rpm-build redhat-rpm-config gcc bison flex m4 pam-devel tcp_wrappers tcp_wrappers-devel

  • rpmbuild -ba tacacs+.spec

  • rpmbuild -ba tacacs+6.spec

  • Have a beer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.