netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Writing a mangle TARGET for iptables, questions about fragments, checksums
@ 2011-04-03  4:47 Brian G
  2011-04-14  7:00 ` Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Brian G @ 2011-04-03  4:47 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I want to modify a packet in the TCP mangle PREROUTING table.

First question: Fragments, does the kernel reassemble them BEFORE this 
point?
Second question: Checksums, do I need to update the checksum?

Is there example code that I could work with?

- Brian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Writing a mangle TARGET for iptables, questions about fragments, checksums
  2011-04-03  4:47 Writing a mangle TARGET for iptables, questions about fragments, checksums Brian G
@ 2011-04-14  7:00 ` Jan Engelhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2011-04-14  7:00 UTC (permalink / raw)
  To: Brian G; +Cc: netfilter-devel

On Sunday 2011-04-03 06:47, Brian G wrote:

> Hi,
>
> I want to modify a packet in the TCP mangle PREROUTING table.
>
> First question: Fragments, does the kernel reassemble them BEFORE this point?

Potentially. It may, but it does not have to.

> Second question: Checksums, do I need to update the checksum?

Yes.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-14  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-03  4:47 Writing a mangle TARGET for iptables, questions about fragments, checksums Brian G
2011-04-14  7:00 ` Jan Engelhardt

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).