Ignacio Freyre | 2 Feb 15:42 2016
Picon

[rancid] cisco asa "terminal length"

hi, i was looking at the clogin debug for an asa, i see that "terminal length 0" and "terminal width 132" commands fail. cisco asa uses "terminal pager 0".
How can i correct this so my asa devices use the command "terminal pager 0".
regards

asa# terminal length 0
^
ERROR: % Invalid input detected at '^' marker.
asa# terminal width 132
^
ERROR: % Invalid input detected at '^' marker.




_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Ignacio Freyre | 30 Jan 20:46 2016
Picon

[rancid] html colorized mail diffs

I'm resending this mail from a diferent client, the last one got messed up.


Hi guys, im trying to send colorized mails diffs from rancid.
I’ve found a very nice bash script that converts the output from diff to html.
Can anyone help me make it work with rancid? So far I have tried this config with no succes:
MAILHEADERS="Content-Type: text/html; charset=ISO-8859-1"; export MAILHEADERS
DIFFSCRIPT="diff2html"; export DIFFSCRIPT
The script which works perfectly from command line:

http://www.linuxjournal.com/content/convert-diff-output-colorized-html


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
nachofw | 30 Jan 02:45 2016
Picon
Picon

[rancid] html colorized mail diffs

Hi guys, im trying to send colorized mails diffs from rancid.

I’ve found a very nice bash script that converts the output from diff to html.

Can anyone help me make it work with rancid?

 

So far I have tried this config with no succes:

MAILHEADERS="Content-Type: text/html; charset=ISO-8859-1"; export MAILHEADERS

DIFFSCRIPT="diff2html"; export DIFFSCRIPT

The script which works perfectly from command line:

 

#!/bin/bash

#

# Convert diff output to colorized HTML.

 

cat <<XX

<html>

<head>

<title>Colorized Diff</title>

</head>

<style>

.diffdiv  { border: solid 1px black;           }

.comment  { color: gray;                       }

.diff     { color: #8A2BE2;                    }

.minus3   { color: blue;                       }

.plus3    { color: maroon;                     }

.at2      { color: lime;                       }

.plus     { color: green; background: #E7E7E7; }

.minus    { color: red;   background: #D7D7D7; }

.only     { color: purple;                     }

</style>

<body>

<pre>

XX

 

echo -n '<span class="comment">'

 

first=1

diffseen=0

lastonly=0

 

OIFS=$IFS

IFS='

'

 

# The -r option keeps the backslash from being an escape char.

read -r s

 

while [[ $? -eq 0 ]]

do

    # Get beginning of line to determine what type

    # of diff line it is.

    t1=${s:0:1}

    t2=${s:0:2}

    t3=${s:0:3}

    t4=${s:0:4}

    t7=${s:0:7}

 

    # Determine HTML class to use.

    if    [[ "$t7" == 'Only in' ]]; then

        cls='only'

        if [[ $diffseen -eq 0 ]]; then

            diffseen=1

            echo -n '</span>'

        else

            if [[ $lastonly -eq 0 ]]; then

                echo "</div>"

            fi

        fi

        if [[ $lastonly -eq 0 ]]; then

            echo "<div class='diffdiv'>"

        fi

        lastonly=1

    elif [[ "$t4" == 'diff' ]]; then

        cls='diff'

        if [[ $diffseen -eq 0 ]]; then

            diffseen=1

            echo -n '</span>'

        else

            echo "</div>"

        fi

        echo "<div class='diffdiv'>"

        lastonly=0

    elif  [[ "$t3" == '+++'  ]]; then

        cls='plus3'

        lastonly=0

    elif  [[ "$t3" == '---'  ]]; then

        cls='minus3'

        lastonly=0

    elif  [[ "$t2" == ' <at> <at> '   ]]; then

        cls='at2'

        lastonly=0

    elif  [[ "$t1" == '+'    ]]; then

        cls='plus'

        lastonly=0

    elif  [[ "$t1" == '-'    ]]; then

        cls='minus'

        lastonly=0

    else

        cls=

        lastonly=0

    fi

 

    # Convert &, <, > to HTML entities.

    s=$(sed -e 's/\&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' <<<"$s")

    if [[ $first -eq 1 ]]; then

        first=0

    else

        echo

    fi

 

    # Output the line.

    if [[ "$cls" ]]; then

        echo -n '<span class="'${cls}'">'${s}'</span>'

    else

        echo -n ${s}

    fi

    read -r s

done

IFS=$OIFS

 

if [[ $diffseen -eq 0  &&  $onlyseen -eq 0 ]]; then

    echo -n '</span>'

else

    echo "</div>"

fi

echo

 

cat <<XX

</pre>

</body>

</html>

XX

 

# vim: tabstop=4: shiftwidth=4: noexpandtab:

# kate: tab-width 4; indent-width 4; replace-tabs false;

 

 

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
c4632 | 29 Jan 22:51 2016
Picon
Picon

[rancid] Cisco flash changes observed after 1st time install

New user here, no luck via Google, hoping someone here has seen this behavior.

Rancid 3.1 on CentOS 6.7

I got my first Rancid instance up and noticed the following in the diff:

- !Flash:   294  4096        Jan 29 2016 03:02:19  LOCAL-CA-SERVER
+ !Flash:   294  4096        Jan 29 2016 09:01:46  LOCAL-CA-SERVER
- !Flash:  3868  282         Jan 29 2016 03:02:19  LOCAL-CA-SERVER/LOCAL-CA-SERVER.crl
+ !Flash:  3870  282         Jan 29 2016 09:01:46  LOCAL-CA-SERVER/LOCAL-CA-SERVER.crl

This happened a few times through the night, the only thing changing is the timestamp.

I'm hoping someone here can advise if either:
a) this is normal and there is a way to suppress this from triggering a diff report, or
b) I should be concerned and rancid is telling me so.

MTIA!

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Yu Lok Lam | 29 Jan 16:21 2016

[rancid] RANCID 3.2 - rancid-run - Error: TIMEOUT reached

Hi,

  I am having a difficult time configuring rancid-run to work.  In the log file, I am getting "Error: TIMEOUT
reached.  I am able to get in manually  via csblogin (sane as clogin) script into enable mode.  

  I've tried adding the "add timeout * 90" and 500 seconds and  "add autoenable * 1" directive in the .cloginrc
file, but still the same error. Do you have any ideas of what else I should try?
I am running Rancid 3.2 version.    

##### Successful going in manually ########## 
[rancid <at> rancid bin]$ ./csblogin env-d1-sw1
env-d1-sw1
spawn ssh -c 3des -x -l abcd env-d1-sw1

User Name: abcd
Password:*********
env-d1-sw1>

###### Failed using rancid-run;  Error: TIMEOUT reached in the log file  #######
Error logs:
[rancid <at> rancid logs]$ tail -f env-switches.20160128.202252
cvs remove: nothing known about `interface'
cvs commit: nothing known about `interface'
cvs [commit aborted]: correct above errors first!
Deleted interface
cvs remove: nothing known about `[interface]'
cvs commit: nothing known about `[interface]'
cvs [commit aborted]: correct above errors first!
Deleted [interface]

Trying to get all of the configs.
env-d1-sw1 csblogin error: Error: TIMEOUT reached
env-d1-sw1: missed cmd(s): show version,show system,show startup-config
env-d1-sw1: End of run not found
!
=====================================
Getting missed routers: round 1.
^C
[rancid <at> rancid logs]$  

Thanks,
-Yulok Lam

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Sebastien.Boulianne | 29 Jan 00:27 2016
Picon

[rancid] TR: SSL error since I migrated from Squid3.5.10 to Squid3.5.13.

I forgot to mention that happens only with phony and Active-Sync.

 

Thanks for your answer.

 

Sébastien Boulianne
Administrateur réseau & système / Network & System Administrator (Windows & Linux).

Gestion des infrastructures / Infrastructure Management.

CCNA / CompTIA Server+ / Spécialiste en supervision.

sebastien.boulianne <at> cpu.ca



2323, du Versant Nord, suite 100
Québec (Québec) G1N 4P4
Téléphone : (418) 681 6974 poste 666

Ligne sans frais : 1 888 681 6974
Télécopieur : (418) 681 1444

Information confidentielle : Le présent message, ainsi que tout fichier qui y est joint, est envoyé à l'intention exclusive de son ou de ses destinataires, il est de nature confidentielle et peut constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Merci.

 

Confidentiality Warning : This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. Thank you.

 

« Gérer c’est prévoir (voir avant, avoir une vision de l’avenir) »

 

De : Sebastien Boulianne
Envoyé : 28 janvier 2016 18:25
À : Maillist Rancid (rancid-discuss <at> shrubbery.net) <rancid-discuss <at> shrubbery.net>
Objet : SSL error since I migrated from Squid3.5.10 to Squid3.5.13.
Importance : Haute

 

Hi,

 

Since I migrated my Squid to the latest version, many many many users notified me they are SSL warning message.

I haven’t this issue with the Squid3.5.10.

I used the Eliezer’s yum package.

 

On the browsers, I don’t get any warning message.

 

I used exactly the same config and the same wildcard certificate.

 

When I run service squid status, I got this:

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

 

Anyone can explain me that please and tell me how to fix it ?

 

Thanks you very much for your answer.

 

Sébastien

 

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Sebastien.Boulianne | 29 Jan 00:25 2016
Picon

[rancid] SSL error since I migrated from Squid3.5.10 to Squid3.5.13.

Hi,

 

Since I migrated my Squid to the latest version, many many many users notified me they are SSL warning message.

I haven’t this issue with the Squid3.5.10.

I used the Eliezer’s yum package.

 

On the browsers, I don’t get any warning message.

 

I used exactly the same config and the same wildcard certificate.

 

When I run service squid status, I got this:

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:30 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

Jan 28 18:17:31 squid.cpu.ca squid[5147]: Error negotiating SSL connection on FD 155: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3...wn (1/0)

 

Anyone can explain me that please and tell me how to fix it ?

 

Thanks you very much for your answer.

 

Sébastien

 

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Greg McIntyre | 28 Jan 17:05 2016

[rancid] Possible CVS errors......

Hello All

 

I am using Red Hat for my OS and I downloaded the latest version of rancid.  I installed rancid via these instructions:

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid#.Vqo6_PkrJQI

 

 

I can connect to devices but the configs do not download.  This is the error message I receive in the logs.

 

starting: Wed Jan 27 14:59:42 CST 2016

 

 

 

cvs remove: cannot open CVS/Entries for reading: No such file or directory

cvs remove: nothing known about `stores'

cvs commit: cannot open CVS/Entries for reading: No such file or directory

cvs commit: nothing known about `stores'

cvs [commit aborted]: correct above errors first!

Deleted stores

cvs remove: cannot open CVS/Entries for reading: No such file or directory

cvs remove: nothing known about `.cvsignore'

cvs commit: cannot open CVS/Entries for reading: No such file or directory

cvs commit: nothing known about `.cvsignore'

cvs [commit aborted]: correct above errors first!

Deleted .cvsignore

cvs commit: cannot open CVS/Entries for reading: No such file or directory

cvs commit: nothing known about `router.db'

cvs [commit aborted]: correct above errors first!

 

ending: Wed Jan 27 14:59:43 CST 2016

 

I ran the rancid-cvs command per the instructions but unlike the instructions I did not receive any output so I do not know if it errored.  It did create some of the directories though.

 

When I do a LS –lha under the CVS directory this is what I see.

 

drwxrwxr-x. 3 rancid netadm   20 Jan 21 13:30 .

drwxr-xr-x. 5 rancid netadm   44 Jan 21 13:30 ..

drwxrwxr-x. 3 rancid netadm 4.0K Jan 21 13:30 CVSROOT

 

What am I doing wrong?

 

Thank you in advance for your help!!

 

-GM

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley | 28 Jan 02:11 2016
Picon

[rancid] Newer Extreme box

If anyone has an Extreme Networks box with a recent O/S that they can allow
me to access remotely, please write to me off-list.

There appears to be a problem with clogin that affects this box which users
have written the ML about a few times and I can't seem to figure-out the
problem w/o a device to poke - and I have none of these.

TiA.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Jason Biel | 27 Jan 13:26 2016

[rancid] rancid source

Is the RANCiD source being maintained on githug or are there any plans to migrate to github?  It would certainly make it easier to submit patches and discuss issues.

--
Jason
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
David Ahrens | 26 Jan 23:31 2016

[rancid] rancid support for Brocade Fabric OS

Hi,

 

Does Rancid work with Brocade switches?

 

Thanks,
David

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Gmane