All of lore.kernel.org
 help / color / mirror / Atom feed
* UDP netbios nameserver packets blocked
@ 2008-12-09  0:39 Knute Johnson
  2008-12-09 10:38 ` Gáspár Lajos
  0 siblings, 1 reply; 4+ messages in thread
From: Knute Johnson @ 2008-12-09  0:39 UTC (permalink / raw)
  To: netfilter

I have the following line in my iptables configuration;

-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

When I use the smbclient command, it attempts a DNS lookup, which fails 
as it should, then does a netbios nameserver lookup.  The response is 
getting blocked with the last line in my configuration;

-A INPUT -j REJECT --reject-with icmp-host-prohibited

I can make it work if I put in the following;

-A INPUT -p udp --sport 137 -j ACCEPT

but I thought the top line should have allowed the response to pass 
through.  It is coming back on the same port as it was sent on.

Any insight would be appreciated.

Thanks,

-- 

Knute Johnson
knute2008@www.knutejohnson.com


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09  0:39 UDP netbios nameserver packets blocked Knute Johnson
2008-12-09 10:38 ` Gáspár Lajos
2008-12-09 18:38   ` Knute Johnson
2008-12-12 12:42     ` Gáspár Lajos

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.