[tac_plus] Tacacs host key and do_auth questions
Kevin.Cruse at Instinet.com
Kevin.Cruse at Instinet.com
Wed Mar 16 15:52:49 UTC 2016
Hi All
I have a few questions regarding host keys and do_auth.
First, I have a few routers i'd like to configure with a separate
'tacac-server key' than rest of our network. These devices require
external users to access and therefore will need higher level of security.
In my tac_plus.cfg i have the global configuration of:
key = blahblahblah
and the individual routers which require different key, i've configured the
following in tac_plus.cfg:
host = 1.1.1.1 {
key = differentkey
}
The issue I have is when logging into router with separate key, it fails
authentication as server is expecting 'blahblahblah' but router is sending
'differentkey'. I thought by configuring the 'host' object it would
override the global key. Does anyone know how I may get this to work? I've
pasted the debug from server for your review
tac_plus.cfg
key = blahblahblah
host = 1.1.1.1 {
key = differentkey
}
Debug output:
!! ROUTER 1.1.1.1 is configured with "tacacs-server key differentkey" !!
Reading config
Version F4.0.4.28 Initialized 1
tac_plus server F4.0.4.28 starting
socket FD 4 AF 2
uid=0 euid=0 gid=0 egid=0 s=15505120
session request from 1.1.1.1 sock=5
connect from 1.1.1.1 [172.28.10.124]
Waiting for packet
Read AUTHEN/START size=40
validation request from 1.1.1.1
PACKET: key=blahblahblah
version 192 (0xc0), type 1, seq no 1, flags 0x1
session_id 2825152057 (0xa8646639), Data length 28 (0x1c)
End header
type=AUTHEN/START, priv_lvl = 72
action=UNKNOWN 132
authen_type=unknown 215
service=unknown 219
user_len=208 port_len=45 (0x2d), rem_addr_len=0 (0x0)
data_len=61
AUTHEN/START data length (314) exceeds packet length length 20
1.1.1.1 : Invalid AUTHEN/START packet (check keys)
Writing AUTHEN/ERROR size=87
PACKET: key=blahblahblah
version 192 (0xc0), type 1, seq no 2, flags 0x1
session_id 2825152057 (0xa8646639), Data length 75 (0x4b)
End header
type=AUTHEN status=7 (AUTHEN/ERROR) flags=0x0
msg_len=69, data_len=0
msg:
1.1.1.1 : Invalid AUTHEN/START packet (check keys)
data:
End packet
1.1.1.1: disconnect
Second, I have the following configured in do_auth.ini (this is a separate
issue from tacacs-server key and not related...when I normalize the key on
router to blahblahblah I get the following after successful
authentication):
[users]
test_support =
support
[support]
host_allow =
10.10.10.1
device_permit =
1.1.1.1
command_permit =
.*
2016-03-16 11:36:56: User 'test_support' not allowed access to device
'1.1.1.1' in 'support'->'device_permit'
I thought by adding the router IP address of 1.1.1.1 under device_permit it
should allow user to send commands. I am wondering if im hitting bug?
Any ideas, thoughts, suggestions greatly appreciated. Thanks.
Kevin
-----------------------------------------------------------------
Kevin Cruse
US Networks
Instinet LLC
309 West 49th Street
New York, NY 10019 US
kevin.cruse at instinet.com
212-310-4734
========================================================================================================= <<<< Disclaimer >>>> This message is intended solely for use by the named addressee(s). If you receive this transmission in error, please immediately notify the sender and destroy this message in its entirety, whether in electronic or hard copy format. Any unauthorized use (and reliance thereon), copying, disclosure, retention, or distribution of this transmission or the material in this transmission is forbidden. We reserve the right to monitor and archive electronic communications. This material does not constitute an offer or solicitation with respect to the purchase or sale of any security. It should not be construed to contain any recommendation regarding any security or strategy. Any views expressed are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This communication is provided on an “as is” basis. It contains material that is owned by Instinet Incorporated, its subsidiaries or its or their licensors, and may not, in whole or in part, be (i) copied, photocopied or duplicated in any form, by any means, or (ii) redistributed, posted, published, excerpted, or quoted without Instinet Incorporated's prior written consent. Please access the following link for important information and instructions: http://instinet.com/includes/index.jsp?thePage=/html/le_index.txt Securities products and services are provided by locally registered brokerage subsidiaries of Instinet Incorporated: Instinet Australia Pty Limited (ACN: 131 253 686 AFSL No: 327834), regulated by the Australian Securities & Investments Commission; Instinet Canada Limited, member IIROC/CIPF; Instinet Pacific Limited, authorized and regulated by the Securities and Futures Commission of Hong Kong; Instinet Singapore Services Private Limited, regulated by the Monetary Authority of Singapore, trading member of The Singapore Exchange Securities Trading Private Limited and clearing member of The Central Depository (Pte) Limited; and Instinet, LLC, member SIPC.
=========================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20160316/9c4148b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41091648.gif
Type: image/gif
Size: 4077 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20160316/9c4148b4/attachment.gif>
More information about the tac_plus
mailing list