[rancid] ! character added to start of GetSystem lines

Iñaki Martínez Díez imd at acens.com
Fri Feb 4 11:47:07 UTC 2011


Hello,

 You are right, ! Is for comments in Cisco, so in fortigate should change
these lines in fnracid:

183     ProcessHistory("","","","!$_");
214         ProcessHistory("ENC","","","!$1 ENC <removed> $3\n");
289 ProcessHistory("","","","!RANCID-CONTENT-TYPE: fortigate\n\n");

To

183     ProcessHistory("","","","#$_");
214         ProcessHistory("ENC","","","#$1 ENC <removed> $3\n");
289 ProcessHistory("","","","!RANCID-CONTENT-TYPE: fortigate\n\n");


El 04/02/11 12:33, "Gavin McCullagh" <gmccullagh at gmail.com> escribió:

>Hi,
>
>using fnrancid (for fortinet), I've noticed that the scripts prefix lines
>from the GetSystem command with a !.
>
>Is this a rancid-specific notation or is this an effort to make these
>lines
>into comments, so the whole file could be loaded up on a Fortinet unit?
>As
>far as I can see # is the comment character on Fortinet.
>
>Gavin
>
>________________________________________
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.
_______________________________________________
>Rancid-discuss mailing list
>Rancid-discuss at shrubbery.net
>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss




More information about the Rancid-discuss mailing list