[rancid] ExtremeXOS clogin problems

john heasley heas at shrubbery.net
Wed Sep 7 20:35:58 UTC 2011


Wed, Sep 07, 2011 at 03:26:44PM -0500, Adam Korab:
> rancid 2.3.6, XOS 12.5.2.6 on a SummitStack X460-24t
> 
> clogin appears to send the username twice.  The (dirt simple) .cloginrc bit:
> 
> add user         {admin}
> add password *    {foo}
> add method       ssh telnet
> add noenable *    1
> 
> Here's the clogin output and the dsniff scrape of the telnet passwords:

looks rather weird.

clogin -d host > op 2&>1 

figure out what it actually sending in response to password.

> [rancid at lachesis ~]$ clogin 10.3.255.1
> 10.3.255.1
> spawn ssh -c 3des -x -l admin 10.3.255.1
> ssh: connect to host 10.3.255.1 port 22: Connection refused
> spawn telnet 10.3.255.1
> Trying 10.3.255.1...
> Connected to 10.3.255.1 (10.3.255.1).
> Escape character is '^]'.
> 
> telnet session telnet1 on /dev/ptyb1
> 
> 
> login: admin
> password:
> 
> Login incorrect
> 
> login: foo
> password:
> 
> Login incorrect
> 
> login: foo
> password:
> 
> Login incorrect
> Maximum number of login attempts reached!
> Connection closed by foreign host.
> 
> Error: Connection closed (telnet): 10.3.255.1
> 
> **********************************
> dsniff:
> 
> -----------------
> 09/07/11 15:23:31 tcp 10.1.1.99.59654 -> 10.3.255.1.23 (telnet)
> admin
> admin
> foo
> admin
> foo
> admin
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list