Skip to contentSkip to conversation

latest nf_conntrack version

DISCUSSION Harald Welte 3 participants 5 messages Aug 3, 2005 – Aug 4, 2005 8 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 8 lines · Patrick McHardy
Quoted 3 lines · Yasuyuki KOZAKAI

Hi Patrick,

Well, it's may be silly question,

Not at all, git can be confusing :) It took me 2 hours to figure out how to use git-ssh-push (the remote repository already needs to be initialized).

mh, I'm just calling plain 'rsync' on the .git directory for the netfilter-2.6 tree on people.netfilter.org/laforge.

I've now also merged your nf_conntrack tree into my netfilter-2.6 tree as local "nf_conntrack" branch.

rsync://people.netfilter.org/users/laforge/scm/netfilter-2.6.14.git#nf_conntrack

should therefore be the full url to that branch. I've done the nfcache removal and the nf_log_packet() api changes. it compiles and builds fine (no unresolved symbols), but I didn't have time to test it further.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#6 lore raw

Hi, Harald,

From: Harald Welte <[email protected]>
Date: Wed, 3 Aug 2005 16:27:08 +0200

Quoted 8 lines

I've now also merged your nf_conntrack tree into my netfilter-2.6 tree as local "nf_conntrack" branch.

rsync://people.netfilter.org/users/laforge/scm/netfilter-2.6.14.git#nf_conntrack

should therefore be the full url to that branch. I've done the nfcache removal and the nf_log_packet() api changes. it compiles and builds fine (no unresolved symbols), but I didn't have time to test it further.

The configuration menu for netlink and nf_conntrack in your branch are in "Packet Generator" menu. And currently masq/NAT sentences should be removed, I think.

I attached the patch for this. But if you have the better idea of title/explanations, feel free to change them.

-----------------------------------------------------------------
Yasuyuki Kozakai @ USAGI Project <[email protected]>

net/Kconfig +1 -2
@@ -140,6 +140,7 @@ config BRIDGE_NETFILTER
 
 	  If unsure, say N.
 
+source "net/netfilter/Kconfig"
 source "net/ipv4/netfilter/Kconfig"
 source "net/ipv6/netfilter/Kconfig"
 source "net/decnet/netfilter/Kconfig"
@@ -205,8 +206,6 @@ config NET_PKTGEN
 	  To compile this code as a module, choose M here: the
 	  module will be called pktgen.
 
-source "net/netfilter/Kconfig"
-
 endmenu
 
 endmenu
net/ipv4/netfilter/Kconfig +4 -5
@@ -7,16 +7,15 @@ menu "IP: Netfilter Configuration"
 
 # connection tracking, helpers and protocols
 config IP_NF_CONNTRACK
-	tristate "Connection tracking (required for masq/NAT)"
+	depends on EXPERIMENTAL
+	tristate "Layer 3 Independent Connection tracking (EXPERIMENTAL)"
 	---help---
 	  Connection tracking keeps a record of what packets have passed
 	  through your machine, in order to figure out how they are related
 	  into connections.
 
-	  This is required to do Masquerading or other kinds of Network
-	  Address Translation (except for Fast NAT).  It can also be used to
-	  enhance packet filtering (see `Connection state match support'
-	  below).
+	  Layer 3 independent connection tracking is experimental scheme
+	  which generalize ip_conntrack to support other layer 3 protocols.
 
 	  To compile it as a module, choose M here.  If unsure, say N.
 
net/netfilter/Kconfig +4 -0
@@ -1,3 +1,6 @@
+menu "Generic Netfilter Configuration"
+	depends on NET && NETFILTER
+
 config NETFILTER_NETLINK
        tristate "Netfilter netlink interface"
        help
@@ -82,3 +85,4 @@ config NF_CONNTRACK_FTP
 
 	  To compile it as a module, choose M here.  If unsure, say N.
 
+endmenu

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 2 lines · Yasuyuki KOZAKAI

The configuration menu for netlink and nf_conntrack in your branch are in "Packet Generator" menu.

I think the reason for this is the CONFIG_NET_CLS_ROUTE option. For some reason menuconfig gets things wrong in this case.

Regards
Patrick

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

Harald, sory, I was looking different file.

Please forgot changes of masq/NAT in previous patch. What I have to do in that patch was adding menu. I attached new patch.

-----------------------------------------------------------------
Yasuyuki Kozakai @ USAGI Project <[email protected]>

From: Yasuyuki KOZAKAI <[email protected]>
Date: Thu, 04 Aug 2005 06:14:45 +0900 (JST)

Quoted 19 lines

Hi, Harald,

From: Harald Welte <[email protected]>
Date: Wed, 3 Aug 2005 16:27:08 +0200

Quoted 8 lines

I've now also merged your nf_conntrack tree into my netfilter-2.6 tree as local "nf_conntrack" branch.

rsync://people.netfilter.org/users/laforge/scm/netfilter-2.6.14.git#nf_conntrack

should therefore be the full url to that branch. I've done the nfcache removal and the nf_log_packet() api changes. it compiles and builds fine (no unresolved symbols), but I didn't have time to test it further.

The configuration menu for netlink and nf_conntrack in your branch are in "Packet Generator" menu. And currently masq/NAT sentences should be removed, I think.

Quoted 5 lines

I attached the patch for this. But if you have the better idea of title/explanations, feel free to change them.

-----------------------------------------------------------------
Yasuyuki Kozakai @ USAGI Project <[email protected]>

net/Kconfig +1 -2
@@ -140,6 +140,7 @@ config BRIDGE_NETFILTER
 
 	  If unsure, say N.
 
+source "net/netfilter/Kconfig"
 source "net/ipv4/netfilter/Kconfig"
 source "net/ipv6/netfilter/Kconfig"
 source "net/decnet/netfilter/Kconfig"
@@ -205,8 +206,6 @@ config NET_PKTGEN
 	  To compile this code as a module, choose M here: the
 	  module will be called pktgen.
 
-source "net/netfilter/Kconfig"
-
 endmenu
 
 endmenu
net/netfilter/Kconfig +4 -0
@@ -1,3 +1,6 @@
+menu "Generic Netfilter Configuration"
+	depends on NET && NETFILTER
+
 config NETFILTER_NETLINK
        tristate "Netfilter netlink interface"
        help
@@ -82,3 +85,4 @@ config NF_CONNTRACK_FTP
 
 	  To compile it as a module, choose M here.  If unsure, say N.
 
+endmenu

A message that is not in the archive (sent off-list or not yet received): [email protected]

author Applied
#12 lore raw
Quoted 7 lines · Yasuyuki KOZAKAI

Harald, sory, I was looking different file.

Please forgot changes of masq/NAT in previous patch. What I have to do in that patch was adding menu. I attached new patch.

thanks for correcting this. I didn't see the problem since I only did "make oldconfig" and not use any "menuconfig/xconfig" like interface so far.

I've applied it to my tree right now.

Please include a valud 'Signed-off-by' line in your future patches, thanks.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie