[rancid] rancid with Fortigate FG100A

Iñaki Martínez Díez imd at acens.com
Thu Feb 10 09:07:02 UTC 2011


>i think the device is stupid.  my guess is that telnet/ssh sent zero for
>the rows tty attribute that the device's pager is confused.

 Yes the device is "very" stupid and more with old versions.

>is this (from fnlogin) working on your device:
>    # Disable output paging.
>    send -- "config system console\r"
>    expect -re $prompt; send -- "set output standard\r"
>    expect -re $prompt; send -- "end\r"
>    expect -re $prompt;

 It is ignored, but i think is version or user permissions.

>does a hack like this have an affect:
>Index: bin/fnlogin.in
>--- bin/fnlogin.in    (revision 2282)
>+++ bin/fnlogin.in    (working copy)
>@@ -99,6 +99,8 @@
>     set password_file $env(CLOGINRC)
> }
>+stty rows 1024
> # Sometimes firewall take awhile to answer (the default is 10 sec)
> set timeout 45

 Do not have effect :(

 My best option is:

 1) change manually "set output standard"
 2) user with root permissions

 With this i got a configuration but it is different than tftp

 I will try to open a case with Fortinet to try to understand why config
if different with "show full-configuration" and tftp.

Iñaki Martínez Díez
Departamento de redes
acens Technologies S.L.
imd at acens.com
Teléfono: 637 772 156

Fax: 911 418 501
Este mensaje puede contener información confidencial dirigida exclusivamente a su destinatario.
No se permite su copia o distribución sin la autorización expresa y por anticipado de acens.
Si recibió este mensaje por error, por favor, comuníquelo al emisor y elimínelo de su ordenador. Gracias.
This message may contain confidential information exclusively addressed to its intended recipient.
The copy or distribution of this message is not permitted without the prior express consent by acens.
If you are not the intended recipient of this message please advise the sender and delete it. Thank you.

More information about the Rancid-discuss mailing list