Re: Saving IPTable rules..oops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-12-29 at 15:15, R. DuFresne wrote:
<snip>
> > > Jason
> > The way I've typically seen it work is that the init.d/iptables script
> > calls iptables-restore and passes it the /etc/sysconfig/iptables file. 
> > This file is written when you do init.d/iptables save.
> 
> 
> perhaps on redhat and debian, and maybe suse systems that have moved away
> from the standard upon which linux was formed, namely bsd.  Those dists
> that retain their bsd layouts have no /etc/init.d directory, everything
> lies under /etc/rc.d/.  They also lack the red-hat layout of a
> /etc/sysconfig/ directory.  And it's a shame things are seperating out in
> the linux world like this as many of the tools and toys bewing created
> either conform to the new redhat layouts or follow older established
> standards.  Thus, some tools that have been coming out the past few years
> are only good under redhat or debian or suse, and fail to function if they
> compile at all, without being hacked prior to a make, and sometimes my
> skills are not enough to hack them into compiling at all uunder a
> different, more standard dist. <sigh>
> 
> 
> Thanks,
> 
> Ron DuFresne

Thanks for pointing that out, Ron.  I was going to mention it but then
thought it would just muddy the waters.  We use both SYSV and BSD style
scripts in the ISCS project.  The iptables script in the rc directories
can still call iptables-restore and reference an iptables file.  That's
what we typically do.  If I recall correctly, isn't there also a step in
BSD style initiations that can call SYSV style scripts? I thought I
recalled seeing that on Slackware - John
-- 
John A. Sullivan III
Open Source Development Corporation
Financially sustainable open source development
http://www.opensourcedevel.com



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux