netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nat problem: What's so special with traffic from audibank.de?
@ 2009-12-03 14:48 Lars Täuber
  2009-12-03 22:22 ` Mattias Rönnblom
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Täuber @ 2009-12-03 14:48 UTC (permalink / raw)
  To: netfilter

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

Hi there.

Since some years I have experience with the firewall systems inside linux.
But now I have a case where I don't know how to debug this.

I exchanged my hand written firewall rules with rules generated from fwbuilder 3.0.5. The kernel used is the one from ubuntu 8.04 (2.6.24-25-server).

$ iptables -V
iptables v1.3.8

Maybe it's an already known bug in iptables from this old kernel?

All http(s) traffic works exept the one from audibank.de. The start side doesn't show up when called from a computer on the natted side of the local network. When called from the computer doing the firewall/nat it just works.

The phenomenon on a natted computer:

============================== snip ========================
$ LANG=C wget -d audibank.de
DEBUG output created by Wget 1.11.4 on linux-gnu.
[...]
---request end---
HTTP request sent, awaiting response...
============================== snip ========================

All other online banking sides just work.

Here are (hapefully all) the relevant rules that are generated from fwbuilder (using iptables-restore):

echo :INPUT DROP   [0:0]
echo :FORWARD DROP [0:0]
echo :OUTPUT DROP  [0:0]
echo "-A INPUT   -m state --state ESTABLISHED,RELATED -j ACCEPT"
echo "-A OUTPUT  -m state --state ESTABLISHED,RELATED -j ACCEPT"
echo "-A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT"

echo "-A OUTPUT   -m state --state INVALID  -j DROP"
echo "-A INPUT    -m state --state INVALID  -j DROP"
echo "-A FORWARD  -m state --state INVALID  -j DROP"

echo ":In_RULE_0 - [0:0]"
echo "-A INPUT    -i ppp0  -s 192.168.4.0/24  -m state --state NEW  -j In_RULE_0 "
echo "-A FORWARD  -i ppp0  -s 192.168.4.0/24  -m state --state NEW  -j In_RULE_0 "
echo "-A In_RULE_0  -j DROP "

echo "-A OUTPUT  -o ppp0 -p tcp -m tcp  -m multiport  --dports 53,80,443,22  -m state --state NEW  -j ACCEPT "
echo "-A OUTPUT  -o ppp0 -p udp -m udp  --dport 53  -m state --state NEW  -j ACCEPT "

echo "-A INPUT    -s 192.168.4.0/24  -m state --state NEW  -j ACCEPT "
echo "-A OUTPUT   -s 192.168.4.0/24  -m state --state NEW  -j ACCEPT "
echo "-A FORWARD  -s 192.168.4.0/24  -m state --state NEW  -j ACCEPT "

echo "-A POSTROUTING -o ppp0  -s 192.168.4.0/24 -j MASQUERADE  "

echo 1 > /proc/sys/net/ipv4/ip_forward




Attached is the tcpdump of the http traffic related to audibank.de

What's wrong? Can someone enlighten me please?
Best regards.
Lars

[-- Attachment #2: ppp1.dump --]
[-- Type: application/octet-stream, Size: 2857 bytes --]

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

end of thread, other threads:[~2009-12-06  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 14:48 nat problem: What's so special with traffic from audibank.de? Lars Täuber
2009-12-03 22:22 ` Mattias Rönnblom
2009-12-03 22:54   ` Lars Täuber
2009-12-04  6:14     ` Patrick McHardy
2009-12-05 22:19       ` Lars Täuber
2009-12-06  7:37         ` Lars Täuber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).