netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* recommendations on implementing a custom Netfilter hook to QUEUE packets before their SEQ/ACK and size before fragmentation are known?
@ 2011-03-02  3:22 Igor 'Lo' (И.L.)
  2011-03-07 23:52 ` Frank Ch. Eigler
  2012-09-11 12:31 ` Hassan
  0 siblings, 2 replies; 4+ messages in thread
From: Igor 'Lo' (И.L.) @ 2011-03-02  3:22 UTC (permalink / raw)
  To: netfilter-devel

Hi all.

What I look for is reimplementing a part of NFQUEUE functionality at
the stage where TCP packet is formed before sending to network.
It seems that NFQUEUE can't just handle expanded (> MTU) packet, and
also want to have control over SEQ/ACK numbers assigned to
both packets and connection structures.

But errr.. where to look for? The sources are too complex and there's
not enough guides.
Actually I have this doc only:
http://www.nsnam.org/wiki/index.php/GSOC2009Netfilter#Callback_Priority

Can anyone point me to correct place in kernel sources to see/attach
with SystemTap and track how SEQs are generated and how outgoing
packets are planned to be fragmented or even dropped? Deliberately
want a good tour.

P.S. There's at least 2 projects that can benefit from such
transparent packet size growing, one is mine and second is StegBox
(steganography based covert channels in traffic)

-- 
cheers,
Igor

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

end of thread, other threads:[~2012-09-11 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02  3:22 recommendations on implementing a custom Netfilter hook to QUEUE packets before their SEQ/ACK and size before fragmentation are known? Igor 'Lo' (И.L.)
2011-03-07 23:52 ` Frank Ch. Eigler
2011-03-08  3:18   ` Igor 'Lo' (И.L.)
2012-09-11 12:31 ` Hassan

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