tacacs-server-on-golang

command module
v0.0.0-...-d66cf44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

README

tacacs-server version 1.03

example tacacs server on golang

Seample tacacs server on GoLang

Config cisco 2950 (example for testimg)
Example config  Cisco 2950
....
!
aaa new-model
aaa authentication login default group tacacs+ enable local
aaa authorization exec default group tacacs+ if-authenticated local
aaa authorization commands 1 admin group tacacs+
aaa authorization commands 3 admin group tacacs+
aaa authorization commands 5 admin group tacacs+
aaa authorization commands 10 admin group tacacs+
aaa authorization commands 15 admin group tacacs+
aaa accounting send stop-record authentication failure
aaa accounting exec default start-stop group tacacs+
aaa accounting exec admin start-stop group tacacs+
aaa accounting commands 1 admin start-stop group tacacs+
aaa accounting commands 3 admin start-stop group tacacs+
aaa accounting commands 5 admin start-stop group tacacs+
aaa accounting commands 10 admin start-stop group tacacs+
aaa accounting commands 15 admin start-stop group tacacs+
aaa accounting connection admin start-stop group tacacs+
aaa accounting system default start-stop group tacacs+
............
tacacs-server host 10.1.0.1
tacacs-server timeout 3
tacacs-server key 7 <REMOVE>
banner motd ^C WARNING!!! ^C
!
line vty 0 4
 exec-timeout 3000 0
 authorization commands 1 admin
 authorization commands 3 admin
 authorization commands 5 admin
 authorization commands 10 admin
 authorization commands 15 admin
 accounting connection admin
 accounting commands 1 admin
 accounting commands 3 admin
 accounting commands 5 admin
 accounting commands 10 admin
 accounting commands 15 admin
 accounting exec admin
 transport input telnet
line vty 5 15
 exec-timeout 3000 0
 authorization commands 1 admin
 authorization commands 3 admin
 authorization commands 5 admin
 authorization commands 10 admin
 authorization commands 15 admin
 accounting connection admin
 accounting commands 1 admin
 accounting commands 3 admin
 accounting commands 5 admin
 accounting commands 10 admin
 accounting commands 15 admin
 accounting exec admin
 transport input telnet
!
.....

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
ldap
Package ldap provides basic LDAP v3 functionality.
Package ldap provides basic LDAP v3 functionality.
ldap/v3
Package ldap provides basic LDAP v3 functionality.
Package ldap provides basic LDAP v3 functionality.
module/ldap-client
Package ldap provides a simple ldap client to authenticate, retrieve basic information and groups for a user.
Package ldap provides a simple ldap client to authenticate, retrieve basic information and groups for a user.
module/tacplus
Package tacplus is a library for creating client and/or server TACACS+ applications.
Package tacplus is a library for creating client and/or server TACACS+ applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL