integration of security enhancement patch

Mohacsi Janos mohacsi at niif.hu
Fri Jan 9 08:20:30 UTC 2004




On Fri, 9 Jan 2004, Henry Kilmer wrote:

>
> Rancid's original goal was to track the changes in the running
> network.  That meant grabbing the running configs since they might
> have changed from the startup config (people forget/don't want to save
> configs all the time).  It is useful to track on-going changes too if
> you work in a NOC.  If changes are made and a save isn't done, the
> configs rancid stores (if using the startup configs) would not restore
> the router as well.
>
> It was always my opinion when this topic got brought up that it was
> trivial for a site to make the change to grab the startup config if
> they really wanted but that rancid's default should be the running
> config.
>
> -Hank

I would like to start with the broader view. I think CVS of rancid should
reflect the stable and working configuration. I am usually not interested
in the transient state of the router. In my opinion the running config is
only interesting if:

- You are actually configuring something
- You are running a certain test, - the result are not sure.

If you look at another type of router. For example Juniper router. You can
always see the the "startup config". You can see the transient config
only if you are in the config mode....

So my vote would be default to startup config, and possible option for
running config.

Best Regards,

Janos Mohacsi
Network Engineer, Research Associate
NIIF/HUNGARNET, HUNGARY
Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98

>
> Andrew Fort writes:
> >On 5/01/2004 9:20 PM, Erik Wenzel wrote:
> >
> >>On Fri, Jan 02, 2004 at 01:34:56PM -0500, Joshua Wright wrote:
> >>[...]
> >>
> >>
> >>>Changing RANCID to perform "show startup-config" instead of a running
> >>>configuration is "a bad idea" (tm).  If an attacker were able to
> >>>compromise your router and make changes to the configuration, RANCID
> >>>in its current state will identify the changes and let you know about
> >>>it.  If RANCID used "show startup-config" instead, you would be
> >>>unaware of the changes until they were saved.  The running
> >>>configuration is a better reflection of the state of the router.
> >>>
> >>>
> >>Using Rancid to check if an attacker is compromising your routers is
> >>only possible if only one person is having write access. If you have
> >>a colleague you are not able to distinguish configuration changes coming
> >>from your colleague or an attacker. So, using RANCID for that purpose is
> >>one thing. On the other Hand is the purpose of having backups for desaster
> >>recovery and for that I can't see a reason to prefer one of the other.
> >>In a production environment I concider it "a bad idea (TM)" to have a
> >>difference between both configurations.
> >>
> >>
> >>
> >
> >I think you both have a point worthy of argument, but noone wins
> >arguments.  There's no reason why the site administrator can't do this
> >locally, nor why it could not be a configuration (bin/env) variable.
> >The quick hack I just did to do this is kinda ugly (rewrite both the
> >%commands and @commands variables _entirely_, based on whether a ENV
> >variable is set one way or another), so I wont submit it if there's a
> >cleaner way to just re-write that last line.  Can someone submit a
> >cleaner method?  (Default behaviour remains the same, i.e., if there's
> >no variable in the bin/env file).
> >
> >What do other people think?  I've often had people ask me "oh, why
> >doesn't RANCID look at the startup config", and I've explained it as
> >Joshua has, above, but Erik makes a good point, and this seems like
> >something that should be decided by the administrator.
> >
> >-afort
>



More information about the Rancid-discuss mailing list