From: Nils Rennebarth <Nils.Rennebarth@web.de>
To: netfilter-devel@vger.kernel.org
Subject: How to add data to connection tracker
Date: Wed, 30 Sep 2009 12:29:27 +0200 [thread overview]
Message-ID: <845389504@web.de> (raw)
Hi,
I am developing a netfilter target extension synproxy, that will work similar to the openbsd pf synproxy,
i.e. it will (if a synflood to the destination address is detected) block the syn packet and answer with a
syn cookie. If a correct ACK to the cookie is found it will send the syn packet to the actual server, intercepts the
reply and then pass packets in both directions, only translating sequence numbers. The extension could
then be used on a firewall to protect systems behind it from synflood attacks.
I need to store some additional data to a connection in the connection tracker. Although infrastructure to do that
appears to be in place, I could not find an obvious way to do that. I *did* read the kernel source and already know
how to write and register a new netfilter extension.
Btw, the netfilter hacking howto appears to be thoroughly outdated. I managed to find http://jengelh.medozas.de/documents/Netfilter_Modules.pdf which helped a lot, but not in this particular area.
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2009-09-30 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-30 10:29 Nils Rennebarth [this message]
2009-09-30 10:34 ` How to add data to connection tracker Saikiran Madugula
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=845389504@web.de \
--to=nils.rennebarth@web.de \
--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 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.