[rancid] Fortigate issue with alpha release

Merijn Evertse merijn at trans-ix.nl
Wed Jun 21 11:51:58 UTC 2017


I upgraded rancid to Alpha release and came across a problem with FortiGate systems.

Fnlogin <device>
<device> # invalid command name "<device> # "
    while executing
"$junk = "(^\\$ $)""
    invoked from within
"expect {
        -re "\[\r\n]+"          { exp_continue; }
        -re "^(.+$prompt)"      { set junk $expect_out(0,string);
                                  if {[$junk = "(^\\$ $)"]} {
                                    set prom..."
    ("foreach" body line 79)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"

    # FortiOS 2.x prompts can end in either ..."
    (file "/home/rancid/bin/fnlogin" line 569)

Will investigate further myself, but maybe someone already knows what is causing this.


Merijn Evertse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170621/6fc9e8d1/attachment.html>

More information about the Rancid-discuss mailing list