From: Peteris Krumins <newsgroups@lf.lv>
To: netfilter@lists.netfilter.org
Subject: Re[2]: IP spoofing
Date: Fri, 11 Apr 2003 00:12:52 +0300 [thread overview]
Message-ID: <21621186098.20030411001252@lf.lv> (raw)
In-Reply-To: <144621018116.20030411001004@lf.lv>
Friday, April 11, 2003, 12:10:04 AM, you wrote:
PK> Thursday, April 10, 2003, 11:26:45 PM, you wrote:
F>> Just a naive question:
F>> using netfilter, is it possible to grab a packet and change
F>> its IP source address and then reinject it as if it has been
F>> sent from another source?
PK> Yes it is possible.
PK> You can use ip_queue - queue the packets to userspace, change whatever
PK> you want, recalculate checksum yourself and reinject it back.
PK> Tho, my tests indicate that if the link is too loaded and your code is
PK> not fast enough (sometimes even with nop) the netlink socket overflows
PK> causing packet drops.
PK> I tried tuning the netlink socket increasing the buffer size, but
PK> after some time it overflowed anyway.
oops, i read your question wrong. I though you wanted to change the
contents of the packet while it is traversing.
P.Krumins
prev parent reply other threads:[~2003-04-10 21:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-10 20:26 IP spoofing Farshad
2003-04-10 21:10 ` Peteris Krumins
2003-04-10 21:12 ` Peteris Krumins [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=21621186098.20030411001252@lf.lv \
--to=newsgroups@lf.lv \
--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.