* disabling connection tracking
@ 2003-08-25 12:12 Kurt Tragant
2003-08-29 0:32 ` Philip Craig
0 siblings, 1 reply; 5+ messages in thread
From: Kurt Tragant @ 2003-08-25 12:12 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
Hi list,
I did some tests with connection tracking and decided finally to switch off
conntrack. So I deselected connection tracking in the kernel. But if I start the
computer there is still a:
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 152 bytes per conntrack
And if I do a
cat /proc/net/ip_conntrack
I see the tracked connections. I even did a make mrproper in the Kernelsource
and recompiled the kernel again - still the same.
How can I disable connection tracking? Thanks for an answer,
Regards
Kurt Tragant
_________________________________________________________________
www.ebay.de Hier Finden Sie Auktionen und Festpreisangebote!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disabling connection tracking
2003-08-25 12:12 disabling connection tracking Kurt Tragant
@ 2003-08-29 0:32 ` Philip Craig
2003-08-29 6:10 ` k.tragant
0 siblings, 1 reply; 5+ messages in thread
From: Philip Craig @ 2003-08-29 0:32 UTC (permalink / raw)
To: Kurt Tragant; +Cc: netfilter
Kurt Tragant wrote:
> I did some tests with connection tracking and decided finally to switch off
> conntrack. So I deselected connection tracking in the kernel. But if I start the
> computer there is still a:
>
> ip_conntrack version 2.1 (2047 buckets, 16376 max) - 152 bytes per conntrack
You probably have an ip_conntrack module that it is loading still.
Do a lsmod to see. You'll need to delete it (or you might be able
to add something to /etc/modules.conf). Look under
/lib/modules/$(KERNELRELEASE)/kernel/net/ipv4/netfilter/
--
Philip Craig - philipc@snapgear.com - http://www.SnapGear.com
SnapGear - Custom Embedded Solutions and Security Appliances
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disabling connection tracking
2003-08-29 0:32 ` Philip Craig
@ 2003-08-29 6:10 ` k.tragant
2003-08-29 8:22 ` Philip Craig
0 siblings, 1 reply; 5+ messages in thread
From: k.tragant @ 2003-08-29 6:10 UTC (permalink / raw)
To: netfilter, philipc
Hi Philip!
> You probably have an ip_conntrack module that it is loading still.
> Do a lsmod to see. You'll need to delete it (or you might be able
> to add something to /etc/modules.conf). Look under
> /lib/modules/$(KERNELRELEASE)/kernel/net/ipv4/netfilter/
Thank you for an answer. Unfortunately, this is not correct, because I've
build a monolithic kernel without module support. These are the netfilter
compononet, I switched on in the kernel:
# CONFIG_MODULES is not set
# IP: Netfilter Configuration
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
Maybe there are other ideas?
Regards
Kurt Tragant
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disabling connection tracking
2003-08-29 6:10 ` k.tragant
@ 2003-08-29 8:22 ` Philip Craig
2003-09-01 11:48 ` k.tragant
0 siblings, 1 reply; 5+ messages in thread
From: Philip Craig @ 2003-08-29 8:22 UTC (permalink / raw)
To: k.tragant; +Cc: netfilter
k.tragant@firemail.de wrote:
> # CONFIG_MODULES is not set
>
> # IP: Netfilter Configuration
> CONFIG_IP_NF_IPTABLES=y
> CONFIG_IP_NF_MATCH_MULTIPORT=y
> CONFIG_IP_NF_FILTER=y
> CONFIG_IP_NF_TARGET_REJECT=y
> CONFIG_IP_NF_TARGET_LOG=y
I built a kernel with this config, and it didn't have ip_conntrack.
> Maybe there are other ideas?
Just a couple of things to track down exactly where the problem is:
grep tells me that net/ipv4/netfilter/ip_conntrack_core.c is the only
place in the kernel that "ip_conntrack version" appears, so check if
net/ipv4/netfilter/ip_conntrack_core.o exists. If it does, then double
check your config, or look in net/ipv4/netfilter/Makefile to work out
what is causing it to be compiled.
If it doesn't exist, then cat /proc/version to ensure you are running
the new kernel.
--
Philip Craig - philipc@snapgear.com - http://www.SnapGear.com
SnapGear - Custom Embedded Solutions and Security Appliances
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: disabling connection tracking
2003-08-29 8:22 ` Philip Craig
@ 2003-09-01 11:48 ` k.tragant
0 siblings, 0 replies; 5+ messages in thread
From: k.tragant @ 2003-09-01 11:48 UTC (permalink / raw)
To: netfilter, philipc
Hi,
thanks again for the help. I've compiled the kernel from the new source and
now it works. Don't know, what I have done wrong.
Regards
Kurt Tragant
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-01 11:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-25 12:12 disabling connection tracking Kurt Tragant
2003-08-29 0:32 ` Philip Craig
2003-08-29 6:10 ` k.tragant
2003-08-29 8:22 ` Philip Craig
2003-09-01 11:48 ` k.tragant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox