[rancid] Re: Infinate loop on clogin

Sutherland, James jsutherl at newedgenetworks.com
Fri May 5 16:56:05 UTC 2006


That didn't seem to work for me notice the time stamps:

Fri 9:48am {rancid at prometheus:[~]} ./bin/clogin -t 90 172.28.41.69 >
/tmp/clogin.test
^C
Fri 9:54am {rancid at prometheus:[~]} 

Just for fun:
Fri 9:55am {rancid at prometheus:[~]} grep -c Login /tmp/clogin.test 
1714

 

-----Original Message-----
From: Michael Stefaniuc [mailto:mstefani at redhat.com] 
Sent: Friday, May 05, 2006 9:44 AM
To: Sutherland, James
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Infinate loop on clogin

Sutherland, James wrote:
> Interestingly we managed to accidentally get rancid set so that an 
> Efficient 5871 was set as a cisco.
> 
> What resulted was an infinite loop that causes rancid to hang forever 
> until the telnet to that device is killed.
> 
> I wasn't sure if this would be considered a bug, but I thought I'd 
> send it to this list as an example of this problem, which we've seen 
> several times.
Call clogin with -t to give it a timeout. rancid uses clogin -t 90 to
prevent such loops being to disastrous.

bye
	michael

> 
> Example:
> Fri 8:58am {rancid at prometheus:[~/bin]} ./clogin 172.28.41.69
> 172.28.41.69
> spawn telnet 172.28.41.69
> Trying 172.28.41.69...
> Connected to 172.28.41.69.
> Escape character is '^]'.
> 
> Efficient 5871 IDSL Router (5871-001/2) v5.3.80 Ready
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> Wrong password!   Try logging in again.
> Login: ******
> ^C
> Fri 8:58am {rancid at prometheus:[~/bin]} 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the Rancid-discuss mailing list