[rancid] clogin vs. ascii-art banners with ####es
Alexander Bochmann
ab at lists.gxis.de
Thu Nov 7 15:54:04 UTC 2013
Hi,
...on Wed, Nov 06, 2013 at 07:14:05PM +0100, Per-Olof Olsson wrote:
> Alexander Bochmann wrote 2013-11-06 12:07:
> >seems enable-mode detection in clogin now barfs on a couple of login banners
> >that contain ascii-art made from hash signs. (Yes, I know, those should be easy
> Just added
> -re "\[#>]+.*\[\n\r]+" {
> exp_continue
> }
> before where prompter is matched in expect login loop.
Great, thanks - seems I actually was on the right track there already,
because I was fiddling with something similar - but my regex was just not
good enough.
Attached patch works for me, at least.
Best regards,
Alex Bochmann.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clogin-banner.patch
Type: text/x-diff
Size: 409 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20131107/ec954eb4/attachment.bin>
More information about the Rancid-discuss
mailing list