Linux Netfilter discussions
 help / color / mirror / Atom feed
* Tracking broadcasting replies *only* using 'conntrack'
@ 2008-11-25  3:42 Joris Korbeeck
  2008-11-25 11:08 ` Pascal Hambourg
  0 siblings, 1 reply; 3+ messages in thread
From: Joris Korbeeck @ 2008-11-25  3:42 UTC (permalink / raw)
  To: netfilter


 /proc/net/ip_conntrack shows the following record after running 'nmblookup «hostname»':

udp 17 26 src=192.168.1.2 dst=192.168.1.255 sport=43290 dport=137 packets=3 bytes=234 [UNREPLIED] src=192.168.1.255 dst=192.168.1.2 sport=137 dport=43290 packets=0 bytes=0 mark=0 secmark=0 use=1

 Almost all traffic has been blocked using Ubuntu's ufw (thus actually iptables). I want to *allow* replies on this broadcast request using a rule which looks like:

-A ufw-before-input -m conntrack --ctstate ESTABLISHED -p udp -s 192.168.1.0/24 --sport 137 -j ACCEPT

 But unfortunately 'conntrack' doesn't recognize the sender's IP address (e.g. 192.168.1.3) as a 'member' of 192.168.1.255. Does anyone have a solution to allow these replies to hostname resolution requests which make use of random ports?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

end of thread, other threads:[~2008-11-26 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25  3:42 Tracking broadcasting replies *only* using 'conntrack' Joris Korbeeck
2008-11-25 11:08 ` Pascal Hambourg
2008-11-26 12:08   ` Joris Korbeeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox