public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Iliev <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: OT: A netbios-ssn blocking rule?
Date: Thu, 24 Aug 2006 04:36:01 +0300	[thread overview]
Message-ID: <44ED0281.9020806@ilievnet.com> (raw)
In-Reply-To: <44ECCCB1.3000806@gmail.com>

gentuxx wrote:
> Actually, some of those ports are UDP.  /etc/services says the same for
> both TCP and UDP.  So if -p is required for --dport, you would have to
> add rules for UDP as well.
>
> iptables -A FORWARD -d *target-PC* -p udp --dport 137:139 -j DROP
> iptables -A INPUT -p udp --dport 137:139 -j DROP
>

gentuxx, I'm not 100% sure about this, but I think MS NetBIOS doesn't
use UDP (only TCP). However theoretically you are absolutely right.

--
Best Regards,
Daniel
-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2006-08-24  1:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 19:24 [gentoo-user] blocking netbios-ssn rule? James
2006-08-18 19:59 ` [gentoo-user] OT: A netbios-ssn blocking rule? James
2006-08-18 21:43 ` Daniel Iliev
2006-08-21  4:11   ` [gentoo-user] " James
2006-08-23 21:33     ` Daniel Iliev
2006-08-23 21:46       ` gentuxx
2006-08-24  1:36         ` Daniel Iliev [this message]

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=44ED0281.9020806@ilievnet.com \
    --to=danny@ilievnet.com \
    --cc=gentoo-user@lists.gentoo.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