All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Laurino <nfcan.x.jimlaur@dfgh.net>
To: netfilter list <netfilter@lists.netfilter.org>
Subject: icmp messages to spoofed address accepted by -m conntrack --ctstate ESTABLISHED,RELATED
Date: Thu, 18 Mar 2004 17:35:51 -0500	[thread overview]
Message-ID: <20040318223551.GA1128@salty> (raw)

Hello,

I added a rule with this matching pattern to
the iptables firewall on my machine.

-m conntrack --ctstate ESTABLISHED,RELATED

I am logging the matches,
the only packets matching are
icmp destination unreachable packets
that are responses to -
a udp packet
sent to dest ports 1026 or 1027
that has the source IP of my machine.

My first concern was to see if my
machine was infected with some malware.

I have now done parallel tcpdump tracing,
(among other tests)
and I now think the
original udp packets do not come from me,
but rather that
someone is spoofing my IP address.

So, I have come here to try to confirm
that this match is either a misuse of
the conntrack module by me (surely possible),
or else a bug in connection tracking.

I have split the rule, and I am getting
matches on both ESTABLISHED and RELATED.
I do not see in /proc/net/ip_conntrack
any entry that I think should match.
These icmp packets are at a low frequency,
a few a day.

I can solve the immediate issue by ignoring it,
but I thought I should report the problem,
and see what I can learn.

I have looked at the netfilter mailing lists
with great interest, and I have learned
a great deal, but I do not see any easy
way to search them systematically for this issue.

I started looking for help here:

http://www.linuxquestions.org/questions/showthread.php?threadid=158226

and there are sample log entries there, if if matters.
But it seemed as if this list was the next place to go.

Regards,

Jim Laurino


             reply	other threads:[~2004-03-18 22:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 22:35 Jim Laurino [this message]
2004-03-18 22:53 ` icmp messages to spoofed address accepted by -m conntrack --ctstate ESTABLISHED,RELATED Antony Stone
2004-03-19 20:33 ` icmp messages to spoofed address accepted by -m conntrack --ctstate ESTABLISHED,RELATED (nfcan: addressed to exclusive sender for this address) Jim Laurino

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=20040318223551.GA1128@salty \
    --to=nfcan.x.jimlaur@dfgh.net \
    --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 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.