Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Brett Mueller <wa7v@wa7v.com>
To: linux-hams@vger.kernel.org
Subject: Re: Broadcasting unwanted UDP messages
Date: Wed, 19 Apr 2006 15:11:54 -0700	[thread overview]
Message-ID: <4446B5AA.5010308@wa7v.com> (raw)
In-Reply-To: <4446AFA2.2090208@irock.com.au>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ken,

On 4/19/2006 14:46, Ken Moore wrote:
> The command
> "iptables -A OUTPUT -i sm0 -p udp --dport 137 -j DROP"       failed but
> "iptables -A OUTPUT -o sm0 -p udp --dport 137 -j DROP"      worked fine.

You can only specify an _output_ interface on the OUTPUT chain, likewise
only an _input_ interface works on the INPUT chain.

> However       "iptables -L OUTPUT"     revealed
> 
> "target     prot     opt    source        destination"
> "DROP       udp      --     anywhere     anywhere         udp
> dpt:netbios-ns"
> 
> this appears to not identify the "sm0" destination specified in the
> APPEND command.

Add a "v" (verbose) to the list command to show interfaces in your rules:
"iptables -vL OUTPUT"

> I guess I need the netbios for communication with Windoz PC's on my
> network so this does not look like fix.

A question I have for you is, are you actually *using* Samba?  Are you
sharing a portion of your Linux filesystem or sharing a printer hanging
off of your Linux box with Windows clients?  If the answer is "no," then
you most likely don't need Samba running at all.

73,

Brett, WA7V

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFERrWq+/Ps1x4JxWYRAsKKAJ98cFY3RRaBEUbh3vVtSrTCkgB+SgCfQh90
4pFYWiGINzbmqJp503oKKKY=
=zMyQ
-----END PGP SIGNATURE-----

  reply	other threads:[~2006-04-19 22:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19 21:46 Broadcasting unwanted UDP messages Ken Moore
2006-04-19 22:11 ` Brett Mueller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-19  3:46 Ken Moore
2006-04-19  3:50 ` Curt Mills
2006-04-19  8:29   ` John Ronan
2006-04-19 12:55     ` Jarmo
2006-04-19 12:16 ` Jeremiah

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=4446B5AA.5010308@wa7v.com \
    --to=wa7v@wa7v.com \
    --cc=linux-hams@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox