Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Geffrey Velasquez <g_netfilter@netfids.com>
To: netfilter@lists.netfilter.org
Subject: Source and Destination port 0
Date: Tue, 15 Jul 2003 12:16:44 -0500	[thread overview]
Message-ID: <190809607.20030715121644@netfids.com> (raw)

Hello Friends,

I have in my IDS logs packets comming from outside to DMZ servers with
source port 0 and destination port 0.

The IDS is located in the DMZ network, and I have an iptables
firewall, kernel-2.4.18-26.1.99_kb2c.1foo over RH 8 (that is the
kernel with superfreeswan patches).

I tried with this couple of rules on top of FORWARD chain:

$IPT -A FORWARD -p tcp --sport 0 -j LOG --log-prefix "Zero: "
$IPT -A FORWARD -p tcp --sport 0 -j DROP

also:

$IPT -A FORWARD -p tcp --sport 0 --dport 0 -j LOG --log-prefix "Cero: "
$IPT -A FORWARD -p tcp --sport 0 --dport 0 -j DROP

After that I continue viewing the bad packets on IDS, how could I
filter this kind of packets?


-- 
Best regards,
 Geffrey                          mailto:g_netfilter@netfids.com



             reply	other threads:[~2003-07-15 17:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 17:16 Geffrey Velasquez [this message]
2003-07-15 17:57 ` Source and Destination port 0 Ramin Dousti
2003-07-15 19:16   ` Re[2]: " Geffrey Velasquez
2003-07-15 19:29     ` Ramin Dousti
  -- strict thread matches above, loose matches on Subject: below --
2003-07-15 19:36 Daniel Chemko
2003-07-15 19:51 ` Ramin Dousti

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=190809607.20030715121644@netfids.com \
    --to=g_netfilter@netfids.com \
    --cc=netfilter@lists.netfilter.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