From: "Kotatsu" <naughtydog@virgilio.it>
To: Netfilter list <netfilter@lists.netfilter.org>
Subject: Re: Resend TCP segment modified to the sender
Date: Tue, 1 Jun 2004 23:08:22 +0200 [thread overview]
Message-ID: <001e01c4481c$92c00b40$5790b450@bebop> (raw)
>
> It's possible and you can modify any packet you capture. What do u mean by
> "which field"? You just need to write a couple of rules to put packets
into
> QUEUE.
I've maded a C program that take packet from the queue with libipq.h
I've a scipt that queue all the packet sended by my host:
iptables -A FORWARD -j QUEUE
My program catch this packet, see if in this TCP data packet there is a
particular sequence number (for example 10) in the data filed, and if it is
i want that netfilter resend this packet modified to the client. I want to
modify the TCP data packet from data packet to ACK with window advertise =0.
The purpouse of this is to freeze TCP on client (with window probe
thecnique). So i want to know how I must modify my packet to do this.
I've already modified a server data packet to ACK with window size=0, but
now i must reuse a client packet as a server packet.
Best regards
Marco A.
next reply other threads:[~2004-06-01 21:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 21:08 Kotatsu [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-02 15:11 Resend TCP segment modified to the sender aksingh
2004-06-02 18:05 ` Jee J.Z.
2004-06-02 5:01 aksingh
2004-06-02 10:28 ` Jee J.Z.
2004-06-01 18:46 Kotatsu
2004-06-01 18:39 Kotatsu
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='001e01c4481c$92c00b40$5790b450@bebop' \
--to=naughtydog@virgilio.it \
--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