Skip to contentSkip to conversation

How to completely disable conntrack?

DISCUSSION Petr Šťastný 7 participants 8 messages Mar 9, 2011 – Jul 13, 2011

lore
Share & tools
lore
#0 lore raw

I'm using Fedora 14, which has conntrack compiled into the kernel. It is not a module, so I'm not able to unload it to disable connection tracking. Is it possible to do it in another way without building my own kernel?

Thanks

Petr Stastny

#1 lore raw

I'm sure there's a sysctl knob, but off the top of my head:

-t raw -A PREROUTING -j NOTRACK

Rgds,

Quoted 15 lines · Petr Šťastný

I'm using Fedora 14, which has conntrack compiled into the kernel. It is not a module, so I'm not able to unload it to disable connection tracking. Is it possible to do it in another way without building my own kernel?

Thanks

Petr Stastny

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/
#2 lore raw
Quoted 3 lines · Pandu Poluan

I'm sure there's a sysctl knob, but off the top of my head:

-t raw -A PREROUTING -j NOTRACK

-j CT --notrack

'-j NOTRACK' is on the path to removal.

#3 lore raw
In reply to Pandu Poluan

Hello,

Quoted 3 lines · Pandu Poluan

I'm sure there's a sysctl knob, but off the top of my head:

-t raw -A PREROUTING -j NOTRACK

You'll need the same in the OUTPUT chain too.

Quoted 5 lines · Petr ¦t(astný
Quoted 4 lines

I'm using Fedora 14, which has conntrack compiled into the kernel. It is not a module, so I'm not able to unload it to disable connection tracking. Is it possible to do it in another way without building my own kernel?

#4 lore raw
Quoted 9 lines · Pascal Hambourg <pascal.mail <at> plouf.fr.eu.org> writes:

Hello,

Pandu Poluan a écrit :

Quoted 3 lines

I'm sure there's a sysctl knob, but off the top of my head:

-t raw -A PREROUTING -j NOTRACK

-t raw -A OUTPUT -j NOTRACK

hey man i applied above rules, its not working,

the connections shows in /proc/net/ip_conntrack

is any one can tell how to disable connection tracking completely,

please help me man

#5 lore raw

Unload the module.

/Oskar

2011/7/13 nany <[email protected]>:

Quoted 29 lines
Quoted 9 lines · Pascal Hambourg <pascal.mail <at> plouf.fr.eu.org> writes:

Hello,

Quoted 3 lines · Pandu Poluan

I'm sure there's a sysctl knob, but off the top of my head:

-t raw -A PREROUTING -j NOTRACK

-t raw -A OUTPUT -j NOTRACK

hey man i applied above rules, its not working,

the connections shows in /proc/net/ip_conntrack

is any one can tell how to disable connection tracking completely,

please help me man

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 5 lines · Oskar Berggren
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

I'm sure there's a sysctl knob, but off the top of my head:

-t raw -A PREROUTING -j NOTRACK

-t raw -A OUTPUT -j NOTRACK

-t raw -A PREROUTING (or OUTPUT depending on which you want) -j CT --notrack

Quoted 1 line
Quoted 1 line

hey man i applied above rules, its not working,

It certainly does work.

Quoted 1 line
Quoted 1 line

the connections shows in /proc/net/ip_conntrack

Of course - because you only disabled it for new packets. Old CTs live on until they are cleared.

Quoted 3 lines
Quoted 3 lines

is any one can tell how to disable connection tracking completely,

please help me man

["yo man" this ain't the hood, ya dig.]

Quoted 1 line

Unload the module.

That won't work if it is locked by iptables rules, though.

#7 lore raw

OFF: Re: How to completely disable conntrack?

< OFF >

Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

is any one can tell how to disable connection tracking completely,

please help me man

["yo man" this ain't the hood, ya dig.]

MEGALOL !!! :D

< /OFF >

Swifty