Linux Netfilter discussions
 help / color / mirror / Atom feed
* Noob Question
@ 2003-10-31 14:13 Kevin Smith
  2003-10-31 14:25 ` Ray Leach
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Smith @ 2003-10-31 14:13 UTC (permalink / raw)
  To: Netfilter List

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Does IPtables need to be recompiled every time you roll a new kernel?
I just compiled 2.4.22 and when my firewall (Shorewall) started, it spit
some "device busy" errors with ip_tables.o. 
Kev

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 1500 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Noob Question
  2003-10-31 14:13 Noob Question Kevin Smith
@ 2003-10-31 14:25 ` Ray Leach
  0 siblings, 0 replies; 4+ messages in thread
From: Ray Leach @ 2003-10-31 14:25 UTC (permalink / raw)
  To: Netfilter Mailing List

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

On Fri, 2003-10-31 at 16:13, Kevin Smith wrote:
> Does IPtables need to be recompiled every time you roll a new kernel?
> I just compiled 2.4.22 and when my firewall (Shorewall) started, it
> spit some "device busy" errors with ip_tables.o. 
> Kev
No. The kernel source includes (at least as far as I recall) the
iptables kernel space drivers/programs/libraries.

The userspace tools (the iptables executables used to manage rules) are
separate, and do not get recompiled every time you recompile the kernel.

The exception would be if you have iptables v0.1.0 (for example)
userspace programs and in your kernel have iptables v1.2.8 source code,
then there would be a mismatch, and the userspace programs may be
incompatible with the kernel modules.

Best to keep them all the same.
-- 
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Noob Question
@ 2003-10-31 17:03 Kevin Smith
  2003-11-01  3:26 ` Alistair Tonner
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Smith @ 2003-10-31 17:03 UTC (permalink / raw)
  To: Netfilter List

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

Ok thanks, I think I had to but wasn't 100%. Now I can eliminate that is a
possibility (Iptables 1.2.8). 
I finished it late last night so I wasn't in the mood for Googling anything.
but tonight I shall. But I would turn away any tips. ;-)
Thanks


--__--__--

Message: 5
Subject: Re: Noob Question
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Organization: Knowledge Factory
Date: Fri, 31 Oct 2003 16:25:39 +0200


--=-p9AU5830cWaY0P2ToPWv
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2003-10-31 at 16:13, Kevin Smith wrote:
> Does IPtables need to be recompiled every time you roll a new kernel?
> I just compiled 2.4.22 and when my firewall (Shorewall) started, it
> spit some "device busy" errors with ip_tables.o.=20
> Kev
No. The kernel source includes (at least as far as I recall) the
iptables kernel space drivers/programs/libraries.

The userspace tools (the iptables executables used to manage rules) are
separate, and do not get recompiled every time you recompile the kernel.

The exception would be if you have iptables v0.1.0 (for example)
userspace programs and in your kernel have iptables v1.2.8 source code,
then there would be a mismatch, and the userspace programs may be
incompatible with the kernel modules.

Best to keep them all the same.
--=20
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint =3D 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2600 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Noob Question
  2003-10-31 17:03 Kevin Smith
@ 2003-11-01  3:26 ` Alistair Tonner
  0 siblings, 0 replies; 4+ messages in thread
From: Alistair Tonner @ 2003-11-01  3:26 UTC (permalink / raw)
  To: Kevin Smith, Netfilter List

On October 31, 2003 12:03 pm, Kevin Smith wrote:
> Ok thanks, I think I had to but wasn't 100%. Now I can eliminate that is a
> possibility (Iptables 1.2.8).
> I finished it late last night so I wasn't in the mood for Googling
> anything. but tonight I shall. But I would turn away any tips. ;-)
> Thanks
>
>
> --__--__--
>
> Message: 5
> Subject: Re: Noob Question
> From: Ray Leach <raymondl@knowledgefactory.co.za>
> To: Netfilter Mailing List <netfilter@lists.netfilter.org>
> Organization: Knowledge Factory
> Date: Fri, 31 Oct 2003 16:25:39 +0200
>
>
> --=-p9AU5830cWaY0P2ToPWv
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> On Fri, 2003-10-31 at 16:13, Kevin Smith wrote:
> > Does IPtables need to be recompiled every time you roll a new kernel?
> > I just compiled 2.4.22 and when my firewall (Shorewall) started, it
> > spit some "device busy" errors with ip_tables.o.=20
> > Kev
>


	That error usually is generated when one has both iptables and ipchains in 
the tree.

	if ipchains loads ... iptables *coughs* and exits stage left.





> No. The kernel source includes (at least as far as I recall) the
> iptables kernel space drivers/programs/libraries.
>
> The userspace tools (the iptables executables used to manage rules) are
> separate, and do not get recompiled every time you recompile the kernel.
>
> The exception would be if you have iptables v0.1.0 (for example)
> userspace programs and in your kernel have iptables v1.2.8 source code,
> then there would be a mismatch, and the userspace programs may be
> incompatible with the kernel modules.
>
> Best to keep them all the same.
> --=20
> --
> Raymond Leach <raymondl@knowledgefactory.co.za>
> Network Support Specialist
> http://www.knowledgefactory.co.za
> "lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
> Key fingerprint =3D 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
> --

-- 

	Alistair Tonner
	nerdnet.ca
	Senior Systems Analyst - RSS
	
     Any sufficiently advanced technology will have the appearance of magic.
	Lets get magical!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-01  3:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-31 14:13 Noob Question Kevin Smith
2003-10-31 14:25 ` Ray Leach
  -- strict thread matches above, loose matches on Subject: below --
2003-10-31 17:03 Kevin Smith
2003-11-01  3:26 ` Alistair Tonner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox