Skip to contentSkip to conversation

New: iptables rules don't work correctly in 2.6.11-rc2-bk7

Bugme-new Andrew Morton 2 participants 2 messages Jan 30, 2005 – Jan 31, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Sat, 29 Jan 2005 23:46:15 -0800
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 4131] New: iptables rules don't work correctly in 2.6.11-rc2-bk7

http://bugme.osdl.org/show_bug.cgi?id=4131

Summary: iptables rules don't work correctly in 2.6.11-rc2-bk7
Kernel Version: 2.6.11-rc2-bk7
Status: NEW
Severity: high
Owner: [email protected]
Submitter: [email protected]

I am using vanilla kernel 2.6.10 as stable one. I got script that run on every system startup:

#!/bin/bash

for table in INPUT OUTPUT FORWARD ; do
iptables -P $table DROP
done

iptables -F
iptables -A INPUT -p all -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -s 127.0.0.1 -d 127.0.0.1 -p ALL -j ACCEPT

iptables -A OUTPUT -p ALL -j ACCEPT

On 2.6.10 NETWORK is accessible.
On 2.6.11-rc2-bk7 NETWORK is __NOT__ accessible (just after flushing iptables and setting ACCEPT on INPUT and OUTPUT I got connection)

# iptables -A INPUT -p all -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: No chain/target/match by that name

Was used the same kernelconfig. Gonna check again

cat /proc/net/ip_tables* | grep state returns nothing

Also I can't see connection state match support in menuconfig

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

#1 lore raw
Quoted 1 line · Andrew Morton

Also I can't see connection state match support in menuconfig

Well, that would do it. Do you have connection tracking configured in? Otherwise you won't get asked for state.

Rusty.

Signature · 1 line
A bad analogy is like a leaky screwdriver -- Richard Braakman