Robert Marcano wrote:> I patched the default locations where shorewall perl looks for dhcp
> leases in order to use default RH/CentOS locations, Hope this helps
>
> Note: the sed command is used to remove the last '';'' on
the line, I am
> sure a better way can be found
The just-released Shorewall 4.2.10 includes a findgw extensions script.
There are contributed scripts for Debian, Ubuntu, Redhat/Fedora/CentOS,
etc. See the 4.2.10 release notes.
-Tom
PS -- each of them also runs sed to remove the ";"
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org