All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gáspár Lajos" <swifty@freemail.hu>
To: Knute Johnson <knute2008@www.knutejohnson.com>
Cc: netfilter@vger.kernel.org
Subject: Re: UDP netbios nameserver packets blocked
Date: Tue, 09 Dec 2008 11:38:13 +0100	[thread overview]
Message-ID: <493E4A95.7040302@freemail.hu> (raw)
In-Reply-To: <493DBE52.1010003@www.knutejohnson.com>

Hello,

I think that you did not load the nf_conntrack_netbios_ns module...

Just to be clear: DNS != NETBIOS NS !!!

Swifty

Knute Johnson írta:
> 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,
>


  reply	other threads:[~2008-12-09 10:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09  0:39 UDP netbios nameserver packets blocked Knute Johnson
2008-12-09 10:38 ` Gáspár Lajos [this message]
2008-12-09 18:38   ` Knute Johnson
2008-12-12 12:42     ` Gáspár Lajos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493E4A95.7040302@freemail.hu \
    --to=swifty@freemail.hu \
    --cc=knute2008@www.knutejohnson.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.