[rancid] Re: Infinate loop on clogin

Michael Stefaniuc mstefani at redhat.com
Fri May 5 16:44:29 UTC 2006


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