Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060828162453.GA31934@openwall.com>
Date: Mon, 28 Aug 2006 20:24:53 +0400
From: Solar Designer <solar@...nwall.com>
To: owl-users@...ts.openwall.com
Subject: Re: static-route

On Mon, Aug 28, 2006 at 04:43:21PM +0200, Stanislav wrote:
> is it correct that 
> 
> root:~# cat /etc/sysconfig/static-routes  
> any net x.x.x.x netmask x.x.x.x gw x.x.x.x
> 
> should add a static route entry ?

Yes.

> Neither /etc/sysconfig/network-scripts/ifup-routes
> nor /etc/rc.d/init.d/network use it !?

They do, but:

1. /etc/rc.d/init.d/network in older versions of Owl had a typo that
prevented this from working.  The bug was fixed over a year ago:

* Tue May 24 2005 (GalaxyMaster) <galaxy-at-owl.openwall.com> 0.24-owl1
- Fixed a typo in /etc/rc.d/init.d/network which used to break the static
routes logic. Thanks to DaNuk <noc at spacenet.ru> for pointing it out.

You didn't mention what version of Owl you're using, but I am guessing
that it's an old one.

2. /etc/sysconfig/network-scripts/ifup-routes only takes care of routes
that are specific to a particular network interface.  Your example route
would be setup by the "network" script rather than by "ifup-routes".

-- 
Alexander Peslyak <solar at openwall.com>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments

Was I helpful?  Please give your feedback here: http://rate.affero.net/solar

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.