From: "Igor 'Lo' (И.L.)" <bombsiteunrested@gmail.com>
To: netfilter-devel <netfilter-devel@vger.kernel.org>
Subject: nfqueue: nfq_set_verdict(...., len), where len > MTU?
Date: Wed, 2 Mar 2011 05:11:38 +0200 [thread overview]
Message-ID: <AANLkTi=n0N8k8OjQCVA0VTbgOa75bYTobzTufox545bp@mail.gmail.com> (raw)
Hi all.
I am trying to modify & send out a packet larger than MTU, using
nfq_set_verdict(...., new_payload, len).
len = 200, unsigned char[2000] new_payload is stripped of any null
bytes after TCP header, IP total len (network short) set to 5000.
However, the receiving host keeps getting only 548 bytes, as logged by tcpdump.
So, does NFQUEUE has nothing to do with IP fragmentation even when
listening at mangle table's PREROUTING?
Will be there any positive effect, if I change IP options to DF (dont fragment)?
--
cheers,
Igor
reply other threads:[~2011-03-02 3:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='AANLkTi=n0N8k8OjQCVA0VTbgOa75bYTobzTufox545bp@mail.gmail.com' \
--to=bombsiteunrested@gmail.com \
--cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).