problems with iptables on 7.2

2002-04-26 Thread Dan Horth
Hi - I've been trying to set up iptables on a 7.2 based firewall, but am getting strange errors when I try to install any rules: [root@server root]# rpm -qa | grep iptables iptables-1.2.4-2 [root@server root]# iptables --list /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: init_mod

Re: problems with iptables on 7.2

2002-04-24 Thread rpjday
On Wed, 24 Apr 2002, Rodolfo J. Paiz wrote: > At 4/23/2002 05:50 PM -0700, you wrote: > > >I believe issuing a simple "service iptables save" will save your current > > >set of rules and modules, then automatically load those at next system > > >startup. > > > >Hey, McGruff, that's pretty handy .

Re: problems with iptables on 7.2

2002-04-24 Thread Rodolfo J. Paiz
At 4/23/2002 05:50 PM -0700, you wrote: > >I believe issuing a simple "service iptables save" will save your current > >set of rules and modules, then automatically load those at next system > >startup. > >Hey, McGruff, that's pretty handy ... I didn't know the init script had >that feature. Than

Re: problems with iptables on 7.2

2002-04-23 Thread jbinpg
, 2002 6:55 pm Subject: problems with iptables on 7.2 > Hi - I've been trying to set up iptables on a 7.2 based firewall, > but am getting strange errors when I try to install > any rules: > > [root@server root]# rpm -qa | grep iptables > iptables-1.2.4-2 > [root@serv

Re: problems with iptables on 7.2

2002-04-23 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rodolfo J. Paiz wrote: >While I agree that *everyone* benefits from the simple fact that the kernel >_can_ be customized, and that some people need to compile their own >kernels, and that everyone who is serious about understanding and using >Linu

Re: problems with iptables on 7.2

2002-04-23 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rodolfo J. Paiz wrote: >I believe issuing a simple "service iptables save" will save your current >set of rules and modules, then automatically load those at next system >startup. Hey, McGruff, that's pretty handy ... I didn't know the init script

Re: problems with iptables on 7.2

2002-04-23 Thread Rodolfo J. Paiz
At 4/24/2002 06:10 AM +1000, you wrote: > >>shouldn't having installed iptables from RH 7.2 rpms (and done > >>all updates) mean that the server is set up to use iptables? No. Red Hat has set the default firewalling in 7.1 and 7.2 to be ipchains, so you have to unload one and load the other. It'

Re: problems with iptables on 7.2

2002-04-23 Thread Rodolfo J. Paiz
At 4/24/2002 06:16 AM +1000, you wrote: >ps. should I need to do anything else to keep iptables happy after a >reboot - or is just disabling ipchains startupand enabling iptables >startup enough? I believe issuing a simple "service iptables save" will save your current set of rules and modules

Re: problems with iptables on 7.2

2002-04-23 Thread Matthew Boeckman
> hmm... have compiled my own kernels in the past (few years ago) but have not felt >the need since - sure it would bea reasonably steep learning curve for me again! :) > > I'm not too sure how recompiling the kernel myself would affect future rpm kernel >updates - but I guess you're suggesting

Re: problems with iptables on 7.2

2002-04-23 Thread Dan Horth
WOO-HO!!! :D Using /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o and my firewall script built on the test server just ran and setup iptables fine... yay! now let's see how badly my iptables script broke the office network! :) thanks loads. - dan. ps. should I need to do an

Re: problems with iptables on 7.2

2002-04-23 Thread Dan Horth
At 2:36 PM -0500 23/4/02, Matthew Boeckman wrote: >>actually did just notice that I have both 2.4.9-7 and 2.4.9-31 on my test server - >but only2.4.9-31 on the one giving me problems. > >on the test server, if you have both, which are you booted to? uname -a will answer >that. maybe there's a bu

Re: problems with iptables on 7.2

2002-04-23 Thread Mike Burger
My bad...try "insmod ip_tables" and see if that helps. On Wed, 24 Apr 2002, Dan Horth wrote: > At 3:25 PM -0400 23/4/02, Mike Burger wrote: > >First: > > > >rmmod ipchains > > > >Then: > > > >insmod iptables > > hmm... at this stage I get > > insmod: iptables: no module by that name found > >

Re: problems with iptables on 7.2

2002-04-23 Thread Matthew Boeckman
I'm definitely getting on a limb here, as I don't rpm kernels from RH, and I am only using ipchains on 7.1... > nothing in modules.conf about firewall or iptables, but there is nothing in >modules.conf on my test server at home where iptables is working fine (again stock >7.2 kernel) > > lsmo

Re: problems with iptables on 7.2

2002-04-23 Thread Dan Horth
At 3:25 PM -0400 23/4/02, Mike Burger wrote: >First: > >rmmod ipchains > >Then: > >insmod iptables hmm... at this stage I get insmod: iptables: no module by that name found should I reinstall iptables rpm? I don't have anything in modules.conf about iptables though - on the server that iptable

Re: problems with iptables on 7.2

2002-04-23 Thread Mike Burger
First: rmmod ipchains Then: insmod iptables On Wed, 24 Apr 2002, Dan Horth wrote: > Hi - I've been trying to set up iptables on a 7.2 based firewall, but am getting >strange errors when I try to install > any rules: > > [root@server root]# rpm -qa | grep iptables > iptables-1.2.4-2 > [root

Re: problems with iptables on 7.2

2002-04-23 Thread Dan Horth
At 2:04 PM -0500 23/4/02, Matthew Boeckman wrote: >did you compile this kernel yourself? If so, did you add firewall as a module? didn't compile myself - stock 7.2 kernel (latest update) which is same as on test server... >what is the contents of /etc/modules.conf and the output of lsmod nothi

Re: problems with iptables on 7.2

2002-04-23 Thread Matthew Boeckman
did you compile this kernel yourself? If so, did you add firewall as a module? what is the contents of /etc/modules.conf and the output of lsmod sounds like the ip_tables module isn't properly loaded in your kernel (that's what the insmod errors are telling you) Dan Horth wrote: > Hi - I've

problems with iptables on 7.2

2002-04-23 Thread Dan Horth
Hi - I've been trying to set up iptables on a 7.2 based firewall, but am getting strange errors when I try to install any rules: [root@server root]# rpm -qa | grep iptables iptables-1.2.4-2 [root@server root]# iptables --list /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: init_mod