Skip to contentSkip to conversation

failed to configure iptables with 2.6.16 kernel

DISCUSSION Hubert Tonneau 2 participants 2 messages Mar 28, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Harald Welte

this sounds like you're missing support for the tcp/udp match. This functionality is implemented in xt_tcpudp.{c,ko}, which is compiled as soon as x_tables is compiled.

Loading 'xt_tcpudp' module solves the problem. Thanks for the answer.

So, the problem was just that the new 'x_tables' module is loaded automatically according to modules dependencies, but 'xt_tcpudp' is not.
As a result, an upgrade of the FullPliant user land tools is required in order to force the 'xt_tcpudp' module to load before calling 'iptables' with '--destination-port' option.

#1 lore raw
Quoted 7 lines · Hubert Tonneau
Quoted 4 lines · Harald Welte

this sounds like you're missing support for the tcp/udp match. This functionality is implemented in xt_tcpudp.{c,ko}, which is compiled as soon as x_tables is compiled.

Loading 'xt_tcpudp' module solves the problem. Thanks for the answer.

great.

Quoted 2 lines

So, the problem was just that the new 'x_tables' module is loaded automatically according to modules dependencies, but 'xt_tcpudp' is not.

that is strange, since the iptables userspace program should explicitly request loading that module.

unfortunately you didn't reply to my question on the version number of the iptables program. Maybe we have some yet-unknown issues with old iptables versions, and I want to get to the bottom of this.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie