Networking Forums

Networking Forums > Computer Networking > Linux Networking > 2.6.20 iptables nat Problem?

Reply
Thread Tools Display Modes

2.6.20 iptables nat Problem?

 
 
Doug Mitton
Guest
Posts: n/a

 
      02-05-2007, 03:13 AM

Is anyone aware of the change that causes this problem ... I'm
researching but I thought I'd ask in case its a common "issue".

I just compiled the new 2.6.20 kernel, doing an oldconfig with my old
2.6.19 settings.

On reboot the NAT module isn't available and all my iptables commands
fail and my intranet isn't working.

Any one have a similar experience? Any solutions?

Thanks in advance.
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------

--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
 
 
 
Grant
Guest
Posts: n/a

 
      02-05-2007, 03:49 AM
On Sun, 04 Feb 2007 23:13:26 -0500, Doug Mitton <(E-Mail Removed)> wrote:

>
>Is anyone aware of the change that causes this problem ... I'm
>researching but I thought I'd ask in case its a common "issue".
>
>I just compiled the new 2.6.20 kernel, doing an oldconfig with my old
>2.6.19 settings.
>
>On reboot the NAT module isn't available and all my iptables commands
>fail and my intranet isn't working.
>
>Any one have a similar experience? Any solutions?


Pay attention to the netfilter settings, I think there were some
gratuitous option name changes.

Grant.
--
http://bugsplatter.mine.nu/
 
Reply With Quote
 
Doug Mitton
Guest
Posts: n/a

 
      02-05-2007, 01:23 PM
Grant <g_r_a_n_t_@dodo.com.au> wrote:

>On Sun, 04 Feb 2007 23:13:26 -0500, Doug Mitton <(E-Mail Removed)> wrote:
>
>>Is anyone aware of the change that causes this problem ... I'm
>>researching but I thought I'd ask in case its a common "issue".
>>
>>I just compiled the new 2.6.20 kernel, doing an oldconfig with my old
>>2.6.19 settings.
>>
>>On reboot the NAT module isn't available and all my iptables commands
>>fail and my intranet isn't working.
>>
>>Any one have a similar experience? Any solutions?

>
>Pay attention to the netfilter settings, I think there were some
>gratuitous option name changes.
>
>Grant.


What a strange change to be making ... I think I've found all the
hidden options, at least my .config looks like the recommended from
the UseNet posts I can find.

I'm just recompiling now, I'll see how it goes.

Thanks for the pointer. It took many attempts to get the correct
search stanza for a coherent result. Its surprising how few posts
I've seen on this.

--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------

--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
Doug Mitton
Guest
Posts: n/a

 
      02-05-2007, 04:45 PM
Doug Mitton <(E-Mail Removed)> wrote:

>Grant <g_r_a_n_t_@dodo.com.au> wrote:
>
>>On Sun, 04 Feb 2007 23:13:26 -0500, Doug Mitton <(E-Mail Removed)> wrote:
>>
>>>Is anyone aware of the change that causes this problem ... I'm
>>>researching but I thought I'd ask in case its a common "issue".
>>>
>>>I just compiled the new 2.6.20 kernel, doing an oldconfig with my old
>>>2.6.19 settings.
>>>
>>>On reboot the NAT module isn't available and all my iptables commands
>>>fail and my intranet isn't working.
>>>
>>>Any one have a similar experience? Any solutions?

>>
>>Pay attention to the netfilter settings, I think there were some
>>gratuitous option name changes.
>>
>>Grant.

>
>What a strange change to be making ... I think I've found all the
>hidden options, at least my .config looks like the recommended from
>the UseNet posts I can find.
>
>I'm just recompiling now, I'll see how it goes.
>
>Thanks for the pointer. It took many attempts to get the correct
>search stanza for a coherent result. Its surprising how few posts
>I've seen on this.


Well, the new configuration worked. It took some poking around but I
finally made the .config look like the one posted here:

http://groups.google.com/group/fa.li...c96d11c364c850

Go back about 4 responses in this thread (to Sun, Jan 21, 2007 at
11:48:07AM -0500)

Hope this helps someone else!

--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------

--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      02-05-2007, 05:45 PM
Hello,

Grant a écrit :
>
> Pay attention to the netfilter settings, I think there were some
> gratuitous option name changes.


"Gratuitous" ?
Linux 2.6.20 offers two mutually-exclusive connection tracking and NAT
frameworks :
- the old legacy IPv4-only ip_conntrack/ip_nat ;
- the new layer 3 independant nf_conntrack/nf_nat, which supports IPv6.

So I guess separate option names are needed for each framework.

The new nf_conntrack framework was introduced in Linux 2.6.15 but may
have remained rather unnoticed because it lacked support for NAT and
connection tracking for many "special" protocols (PPTP, H.323, IRC DCC,
SIP...) until Linux 2.6.20, so the old ip_conntrack was still the
default. Now the new nf_conntrack/nf_nat framework is "complete", it
will eventually replace the old ip_conntrack.
 
Reply With Quote
 
Doug Mitton
Guest
Posts: n/a

 
      02-05-2007, 06:39 PM
Pascal Hambourg <boite-a-(E-Mail Removed)> wrote:

>Hello,
>
>Grant a écrit :
>>
>> Pay attention to the netfilter settings, I think there were some
>> gratuitous option name changes.

>
>"Gratuitous" ?
>Linux 2.6.20 offers two mutually-exclusive connection tracking and NAT
>frameworks :
>- the old legacy IPv4-only ip_conntrack/ip_nat ;
>- the new layer 3 independant nf_conntrack/nf_nat, which supports IPv6.
>
>So I guess separate option names are needed for each framework.
>
>The new nf_conntrack framework was introduced in Linux 2.6.15 but may
>have remained rather unnoticed because it lacked support for NAT and
>connection tracking for many "special" protocols (PPTP, H.323, IRC DCC,
>SIP...) until Linux 2.6.20, so the old ip_conntrack was still the
>default. Now the new nf_conntrack/nf_nat framework is "complete", it
>will eventually replace the old ip_conntrack.


There are some days I wish we could go back to the "old" stable vs
development code streams. A change like this one could mean some BIG
configuration changes to an installed system.

I've always tried to keep updated to the current stable kernel but
this is making it a little more difficult if you're not a developer
.... and up-to-date on the changes.

Thanks for the explanation.

--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------

--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
Doug Mitton
Guest
Posts: n/a

 
      02-08-2007, 11:27 AM
Pascal Hambourg <boite-a-(E-Mail Removed)> wrote:

>Hello,
>
>Grant a écrit :
>>
>> Pay attention to the netfilter settings, I think there were some
>> gratuitous option name changes.

>
>"Gratuitous" ?
>Linux 2.6.20 offers two mutually-exclusive connection tracking and NAT
>frameworks :
>- the old legacy IPv4-only ip_conntrack/ip_nat ;
>- the new layer 3 independant nf_conntrack/nf_nat, which supports IPv6.
>
>So I guess separate option names are needed for each framework.
>
>The new nf_conntrack framework was introduced in Linux 2.6.15 but may
>have remained rather unnoticed because it lacked support for NAT and
>connection tracking for many "special" protocols (PPTP, H.323, IRC DCC,
>SIP...) until Linux 2.6.20, so the old ip_conntrack was still the
>default. Now the new nf_conntrack/nf_nat framework is "complete", it
>will eventually replace the old ip_conntrack.


Do you know of any "official" URL's that discuss this change and what
changes must be made to firewall rules to use the new framework?

I want to start migrating my scripts to the new system.

Thanks!
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------

--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      02-08-2007, 07:11 PM
Doug Mitton a écrit :
>
> Do you know of any "official" URL's that discuss this change and what
> changes must be made to firewall rules to use the new framework?


No, and AFAIK there are no userland changes. Some module names change
(for instance ip_contrack_xx becomes nf_conntrack_xx) but aliases with
the old names have been defined, so the transition to nf_conntrack
should be transparent for most iptables rulesets.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables ftp problem johnny bobby bee Linux Networking 7 05-13-2005 10:30 AM
iptables problem Jozza Linux Networking 0 02-02-2005 12:03 PM
Iptables & DCC Problem Imitheos Linux Networking 1 09-06-2004 03:34 PM
Iptables problem Carsten Keller Linux Networking 1 10-07-2003 11:36 AM
FTP problem with IPTABLES Karl Bickmore Linux Networking 3 07-12-2003 03:01 PM



1 2 3 4 5 6 7 8 9 10 11