all
I have a problem with TACACS authentication. I call the authentication repeatedly through a demo, and there will be a discontinuous authentication of the failure of the successful authorization. My configuration is as follows:
#!../../../sbin/tac_plus
id = spawnd {
listen = { port = 49 }
spawn = {
instances min = 50
instances max = 100
}
background = no
}
id = tac_plus {
debug = PACKET AUTHEN AUTHOR MAVIS
access log = /var/tac_plus/access.log
accounting log = /var/tac_plus/acct.log
authorization log = /var/tac_plus/auth.log
retire limit = 1000
password max-attempts =3
password backoff=2
mavis path= /usr/local/lib64/mavis
mavis module = external {
setenv RADIUS_HOST = *.*.*.*:1812
setenv RADIUS_SECRET = "cisco"
setenv RADIUS_GROUP_ATTR = Callback-Id
}
login backend = mavis
pap backend = mavis
host = world {
address = ::/0
prompt = "Welcome\n"
enable 15 = clear secret
key = cisco
}
group = admin {
default service = permit
service = shell {
default command = permit
default attribute = permit
set priv-lvl =15
}
service = exec {
set priv-lvl =15
}
}
}