typo in netfilter-hacking-HOWTO
PATCH 1/1 typo in netfilter-hacking-HOWTO
fix typo in netfilter-hacking-HOWTO.sgml
netfilter-hacking-HOWTO.sgml 2004-03-02 16:10:13 +0100 renamed from netfilter-hacking-HOWTO.sgml.old 2002-07-02 06:07:19 +0200 +5 -4
@@ -288,7 +288,7 @@ that registers a function must specify the priority of the function within the hook; then when that netfilter hook is called from the core networking code, each module registered at that point is called in the -order of priorites, and is free to manipulate the packet. The +order of priorities, and is free to manipulate the packet. The module can then tell netfilter to do one of five things: <enum>
@@ -310,7 +310,7 @@ <sect1>Packet Selection: IP Tables <p> A packet selection system called IP Tables has been built over the -netfilter framework. It is a direct descendent of ipchains (that came +netfilter framework. It is a direct descendant of ipchains (that came from ipfwadm, that came from BSD's ipfw IIRC), with extensibility. Kernel modules can register a new table, and ask for a packet to traverse a given table. This packet selection method is used for
@@ -649,7 +649,7 @@ <p>If your target alters the packet (ie. the headers or the body), it must call skb_unshare() to copy the packet in case it is cloned: otherwise any raw sockets which have a clone of the skbuff will see -the alterations (ie. people will see wierd stuff happening in +the alterations (ie. people will see weird stuff happening in tcpdump). <p>New targets are also usually written as a standalone module. The
@@ -1240,7 +1240,7 @@ `max_expected` below) is reached. </itemize> -<tag>me</tag>A pointer to the module structure of the helper. Intitialize this with the `THIS_MODULE' macro. +<tag>me</tag>A pointer to the module structure of the helper. Initialize this with the `THIS_MODULE' macro. <tag>max_expected</tag>Maximum number of unconfirmed (outstanding) expectations.
@@ -1412,6 +1412,7 @@ ct information about this (the related) connection info &ct->nat.info return value: Verdict (NF_ACCEPT, ...) +*/ { /* Change ip/port of the packet to the masqueraded values (read from master->tuplehash), to map it the same way,
conntrack info for a packet
Hiyas,
Is there an info doc on how to get conn track
information for a packet? Inside of the ipq_build_packet_msg in ip_queue.c I would like to be able to grab connection track info but am unsure of the APIs. Thanks!!
-Scott
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
Re: conntrack info for a packet
Quoted 2 lines · Scott MacKay
Is there an info doc on how to get conn track
information for a packet?
See the conntrack match in iptables for one example.
In principle you use ip_conntrack_get to retreive the conntrack of the skb and then grab whatever values you need from there.
Regards
Henrik