![]() |
Authentication Authorization and Accounting Configuration Guide, Cisco IOS Release 12.4
|
||||||||||||
AAA Double Authentication Secured by Absolute Timeout
![]() |
|||||||||||||
|
Contents
AAA Double Authentication Secured by Absolute TimeoutLast Updated: January 18, 2012
The AAA Double Authentication Secured by Absolute Timeout feature allows you to secure the double authentication mechanism by protecting it with a per-user session timeout. This feature optimizes the connection to the network by service providers to only connections that are authorized, and it increases the security of the overall access to the network by ensuring that no unwanted sessions are connected.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for AAA Double Authentication Secured by Absolute Timeout
Restrictions for AAA Double Authentication Secured by Absolute Timeout
Information About AAA Double Authentication Secured by Absolute TimeoutAAA Double AuthenticationWith the current AAA double authentication mechanism, a user must pass the first authentication using a host username and password. The second authentication, after Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP), uses a login username and password. In the first authentication, a PPP session timeout will be applied to the virtual access interface if it is configured locally or remotely. The AAA Double Authentication Secured by Absolute Timeout feature allows you to secure the double authentication mechanism by protecting it with a per-user session timeout. The per-user timeout, which can be customized, supersedes the generic absolute timeout value. This method works on the same principle as per-user access control lists (ACLs) in double authentication. How to Apply AAA Double Authentication Secured by Absolute Timeout
Applying AAA Double Authentication Secured by Absolute TimeoutTo apply the absolute timeout, you need to configure "Session-Timeout" in the login user profile as a link control protocol (LCP) per-user attribute. There is no new or modified command-line interface (CLI) for this feature, but before you use the access-profile command when enabling AAA double authentication, you must first reauthorize LCP per-user attributes (for example, Session-Timeout) and then reauthorize Network Control Protocols (NCPs) to apply other necessary criteria, such as ACLs and routes. See the Example for AAA Double Authentication Secured by Absolute Timeout. Verifying AAA Double Authentication Secured by Absolute TimeoutTo verify that AAA double authentication has been secured by absolute timeout and to see information about various attributes associated with the authentication, perform the following steps. These show and debug commands can be used in any order. or debug tacacs
DETAILED STEPS ExamplesThe following sample output is from the show users command:
Router# show users
Line User Host(s Idle Location
* 0 con 0 aaapbx2 idle 00:00:00 aaacon2 10
8 vty 0 broker_def idle 00:00:08 192.168.1.8
Interface User Mode Idle Peer Address
Vi2 broker_default VDP 00:00:01 192.168.1.8 <=========
Se0:22 aaapbx2 Sync PPP 00:00:23
The following sample output is from the show interfaces virtual-access command:
Router# show interfaces virtual-access 2 configuration
Virtual-Access2 is a Virtual Profile (sub)interface
Derived configuration: 150 bytes
!
interface Virtual-Access2
ip unnumbered Serial0:23
no ip route-cache
timeout absolute 3 0
! The above line shows that the per-user session timeout has been applied.
ppp authentication chap
ppp timeout idle 180000
! The above line shows that the absolute timeout has been applied.
Examples for AAA Double Authentication Secured by Absolute TimeoutRADIUS User Profile ExampleThe following sample output shows that a RADIUS user profile has been applied and that AAA double authentication has been secured by an absolute timeout: aaapbx2 Password = "password1", Service-Type = Framed, Framed-Protocol = PPP, Session-Timeout = 180, Idle-Timeout = 180000, cisco-avpair = "ip:inacl#1=permit tcp any any eq telnet" cisco-avpair = "ip:inacl#2=permit icmp any any" broker_default Password = "password1", Service-Type = Administrative, cisco-avpair = "shell:autocmd=access-profile", Session-Timeout = 360, cisco-avpair = "ip:inacl#1=permit tcp any any" cisco-avpair = "ip:inacl#2=permit icmp any any" broker_merge Password = "password1", Service-Type = Administrative, cisco-avpair = "shell:autocmd=access-profile merge", Session-Timeout = 360, cisco-avpair = "ip:inacl#1=permit tcp any any" cisco-avpair = "ip:inacl#2=permit icmp any any" cisco-avpair = "ip:route#3=10.4.0.0 255.0.0.0" cisco-avpair = "ip:route#4=10.5.0.0 255.0.0.0" cisco-avpair = "ip:route#5=10.6.0.0 255.0.0.0" broker_replace Password = "password1", Service-Type = Administrative, cisco-avpair = "shell:autocmd=access-profile replace", Session-Timeout = 360, cisco-avpair = "ip:inacl#1=permit tcp any any" cisco-avpair = "ip:inacl#2=permit icmp any any" cisco-avpair = "ip:route#3=10.4.0.0 255.0.0.0" cisco-avpair = "ip:route#4=10.5.0.0 255.0.0.0" cisco-avpair = "ip:route#5=10.6.0.0 255.0.0.0" TACACS User Profile ExampleThe following sample output shows that a TACACS+ user profile has been applied and that AAA double authentication has been secured by an absolute timeout. Remote HostThe following allows the remote host to be authenticated by the local host during first-stage authentication and provides the remote host authorization profile. user = aaapbx2 chap = cleartext Cisco pap = cleartext cisco login = cleartext cisco service = ppp protocol = lcp idletime = 3000 timeout = 3 service = ppp protocol = ip inacl#1="permit tcp any any eq telnet" service = ppp protocol = ipx access-profile Command Without Any ArgumentsUsing the access-profile command without any arguments causes the removal of any access lists that are found in the old configuration (both per-user and per-interface) and ensures that the new profile contains only access-list definitions. user = broker_default login = cleartext Cisco chap = cleartext "cisco" service = exec autocmd = "access-profile" ! This is the autocommand that executes when broker_default logs in. timeout = 6 service = ppp protocol = lcp timeout = 6 service = ppp protocol = ip ! Put access lists, static routes, and other requirements that are ! needed here. Read the software specifications for details. If you leave ! this blank, the user will have no access lists (not even the ones that were ! installed prior to the creation of this user profile)! inacl#1="permit tcp any any" inacl#2="permit icmp host 10.0.0.0 any" service = ppp protocol = ipx ! Put access lists, static routes, and other requirements that are ! needed here. Read the software specifications for details. If you leave ! this blank, the user will have no access lists (not even the ones that were ! installed prior to the creation of this user profile)! access-profile Command with merge KeywordWith the "merge" option, all old access lists are removed (as before), but then almost any AV pair is allowed to be uploaded and installed. This merge will allow for the uploading of any custom static routes, Service Advertisement Protocol (SAP) filters, and other requirements that the user may need in his or her profile. This merge must be used with care because it leaves everything open in terms of conflicting configurations. user = broker_merge login = cleartext Cisco chap = cleartext "cisco" service = exec autocmd = "access-profile merge" ! This is the autocommand that executes when broker_merge logs in. timeout = 6 service = ppp protocol = lcp timeout = 6 service = ppp protocol = ip ! Put access lists, static routes, and other requirements that are ! needed here. Read the software specifications for details. If you leave ! this blank, the user will have no access lists (not even the ones that were ! installed prior to the creation of this user profile)! route#1="10.4.0.0 255.0.0.0" route#2="10.5.0.0 255.0.0.0" route#3="10.6.0.0 255.0.0.0" inacl#5="permit tcp any any" inacl#6="permit icmp host 10.60.0.0 any" service = ppp protocol = ipx ! Put access lists, static routes, and other requirements that are ! needed here. Read the software specifications for details. If you leave ! this blank, the user will have no access lists (not even the ones that were ! installed prior to the creation of this user profile)! access-profile Command with the replace KeywordIf you use the access-profile command with the replace keyword, the command works as it does currently; that is, any old configuration is removed and any new configuration is installed. user = broker_replace login = cleartext Cisco chap = cleartext "cisco" service = exec autocmd = "access-profile replace" ! This is the autocommand that executes when broker_replace logs in. timeout = 6 service = ppp protocol = lcp timeout = 6 service = ppp protocol = ip ! Put access lists, static routes, and other requirements that are ! needed here. Read the software specifications for details. If you leave ! this blank, the user will have no access lists (not even the ones that were ! installed prior to the creation of this user profile)! route#1="10.7.0.0 255.0.0.0" route#2="10.8.0.0 255.0.0.0" route#3="10.9.0.0 255.0.0.0" inacl#4="permit tcp any any" service = ppp protocol = ipx ! Put access lists, static routes, and other requirements that are ! needed here. Read the software specifications for details. If you leave ! this blank, the user will have no access lists (not even the ones that were ! installed prior to the creation of this user profile)! Additional ReferencesThe following sections provide references related to AAA Double Authentication Secured by Absolute Timeout. MIBsTechnical Assistance
Feature Information for AAA Double Authentication Secured by Absolute TimeoutThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||||||
|
|