Mailing List Archive

RANCID indiscretion
I've noticed that for our Juniper M5s, RANCID insists on including
encrypted passwords in email diffs. I know that for some config fields on
some devices, RANCID knows to censor the email, but that doesn't seem to
happen for JUNOS:

retrieving revision 1.186
diff -u -4 -r1.186 foo.lava.net
@@ -216,9 +216,9 @@
full-name Joey;
uid 150;
class wheel;
authentication {
- encrypted-password "$1$ebscb3$snwiqn32HF3k8ncZpqlAknY.";
+ encrypted-password "$1$9skeNalaQpd3$nbs$kyegnSnaRGnzl/";
}
}
user jim {
full-name "Jim Stevens";

Is this something that can be easily fixed? Mahalo.
RANCID indiscretion [ In reply to ]
Robert Brewer wrote,

> I've noticed that for our Juniper M5s, RANCID insists on including
> encrypted passwords in email diffs. I know that for some
> config fields on
> some devices, RANCID knows to censor the email, but that
> doesn't seem to
> happen for JUNOS:
>
> Is this something that can be easily fixed? Mahalo.
>

Setting FILTER_PWDS to "ALL" in ./bin/env will do this.

-afort
RANCID indiscretion [ In reply to ]
Thu, Nov 14, 2002 at 08:10:56AM +1100, Andrew Fort:
> Robert Brewer wrote,
>
> > I've noticed that for our Juniper M5s, RANCID insists on including
> > encrypted passwords in email diffs. I know that for some
> > config fields on
> > some devices, RANCID knows to censor the email, but that
> > doesn't seem to
> > happen for JUNOS:
> >
> > Is this something that can be easily fixed? Mahalo.
> >
>
> Setting FILTER_PWDS to "ALL" in ./bin/env will do this.
>
> -afort

true. the passwords that were in the original email were md5; not very
easily reversible and hence included.
RANCID indiscretion [ In reply to ]
On Wed, 13 Nov 2002, Robert Brewer wrote:

> I've noticed that for our Juniper M5s, RANCID insists on including
> encrypted passwords in email diffs. I know that for some config fields on
> some devices, RANCID knows to censor the email, but that doesn't seem to
> happen for JUNOS:

Not the e-mail censored, but the config file can be stored in secured way:
Set up
FILTER_PWDS=ALL; export FILTER_PWDS

in your rancid env file. By default passwords are not filtered.
Janos Mohacsi
RANCID indiscretion [ In reply to ]
Thu, Nov 14, 2002 at 09:07:29AM +0100, Janos Mohacsi:
>
>
> On Wed, 13 Nov 2002, Robert Brewer wrote:
>
> > I've noticed that for our Juniper M5s, RANCID insists on including
> > encrypted passwords in email diffs. I know that for some config fields on
> > some devices, RANCID knows to censor the email, but that doesn't seem to
> > happen for JUNOS:
>
> Not the e-mail censored, but the config file can be stored in secured way:
> Set up
> FILTER_PWDS=ALL; export FILTER_PWDS
>
> in your rancid env file. By default passwords are not filtered.
> Janos Mohacsi
>

by default, only easily reversable passwords are filtered. also see
the NOCOMMSTR variable in evn(5).