All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem Matching Packets
@ 2005-04-05 22:11 Sebastian Docktor
  2005-04-05 21:10 ` Jason Opperisano
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Docktor @ 2005-04-05 22:11 UTC (permalink / raw)
  To: netfilter

Hi,

I've Problems to match a 255.255.255.255 Packet on the nat Chain.
If i use the mangle Chain I see the Packet but on the nat Chain
it look like the nat Chain does not receive the Packet.

gotia:~# tcpdump  -i eth0 udp and dst 255.255.255.255  and port 6111
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:47:52.797757 IP 192.168.0.26.6111 > 255.255.255.255.6111: UDP,
length: 20
22:47:53.799741 IP 192.168.0.26.6111 > 255.255.255.255.6111: UDP,
length: 20
22:47:54.800352 IP 192.168.0.26.6111 > 255.255.255.255.6111: UDP,
length: 20

3 packets captured
3 packets received by filter
0 packets dropped by kernel
gotia:~# iptables -t nat -L -n -v
Chain PREROUTING (policy ACCEPT 281 packets, 13556 bytes)
 pkts bytes target     prot opt in     out     source
destination
    0     0 DNAT       udp  --  eth0   *       0.0.0.0/0
255.255.255.255     udp spt:6111 dpt:6111 to:192.168.0.25:6111

Chain POSTROUTING (policy ACCEPT 1 packets, 90 bytes)
 pkts bytes target     prot opt in     out     source
destination
  284 13816 MASQUERADE  all  --  *      eth1    0.0.0.0/0
0.0.0.0/0

Chain OUTPUT (policy ACCEPT 8 packets, 616 bytes)
 pkts bytes target     prot opt in     out     source
destination
gotia:~#

I'm using iptables  1.2.11-10
and Kernel 2.6.10-1-k7

Is this a Bug or am I simply to stupid to create a Rule?


with regards

-- 
Sebastian Docktor <sebi@tux-labor.de>


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

end of thread, other threads:[~2005-04-05 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 22:11 Problem Matching Packets Sebastian Docktor
2005-04-05 21:10 ` Jason Opperisano
     [not found]   ` <20050405223129.GC31371@gw.home.tux-labor.de>
2005-04-05 21:33     ` Jason Opperisano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.