| Linode Forum https://forum.linode.com/ |
|
| nf_conntrack: automatic helper assignment is deprecated and https://forum.linode.com/viewtopic.php?f=19&t=9564 |
Page 1 of 1 |
| Author: | sblantipodi [ Fri Nov 23, 2012 3:05 pm ] |
| Post subject: | nf_conntrack: automatic helper assignment is deprecated and |
Hi, I'm getting this warning on my CentOS 6.3 box. Quote: nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead. What does it want? What can I do for it? Thanks. |
|
| Author: | sblantipodi [ Fri Nov 23, 2012 6:07 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
this is my iptables Code: # Generated by iptables-save v1.4.7 on Sun Nov 13 14:53:41 2011 |
|
| Author: | sblantipodi [ Mon Nov 26, 2012 5:23 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
110 views without a single reply... interesting |
|
| Author: | Guspaz [ Mon Nov 26, 2012 6:27 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
Well, if you must know: 1) I don't use CentOS 2) I don't directly use IPTABLES 3) I don't use fail2ban 4) I don't know anything about helper assignments I assume most people reading this thread match one or more of those. |
|
| Author: | pclissold [ Mon Nov 26, 2012 7:20 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
Guspaz wrote: 2) I don't directly use IPTABLES +1 |
|
| Author: | sblantipodi [ Tue Nov 27, 2012 5:48 am ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
I'm not interested in people who can't help, I'm interested in people that have something interesting to say |
|
| Author: | glg [ Tue Nov 27, 2012 9:19 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
sblantipodi wrote: I'm not interested in people who can't help, I'm interested in people that have something interesting to say Then don't whine about not getting replies. |
|
| Author: | pclissold [ Tue Nov 27, 2012 9:32 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
glg wrote: Then don't whine about not getting replies. +1 |
|
| Author: | sblantipodi [ Sun Dec 09, 2012 9:58 am ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
I have done: echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper when I reboot I found a 1 in /proc/sys/net/netfilter/nf_conntrack_helper instead of a 0. Who put the zero there? |
|
| Author: | hoopycat [ Sun Dec 09, 2012 12:04 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
That is a bit of a philosophical question. However, it is a boolean value and something has to go there on boot, and the kernel has no way to remember what its state was when (and if) it was last booted. So, it picked 1. Look into /etc/sysctl.conf |
|
| Author: | cederberg [ Mon Jan 07, 2013 5:34 am ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
You'll get rid of the warning by removing "RELATED" from this line: Code: -A INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p tcp --dport 3128 -j ACCEPT Kernel patch detailed here: http://comments.gmane.org/gmane.linux.network/229974 Feature change explained at: https://home.regit.org/netfilter-en/sec ... f-helpers/ |
|
| Author: | cederberg [ Mon Jan 07, 2013 7:05 am ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
Sorry. A bit more reading (and testing) shows that one more thing must be done: Code: echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper To make the above change persistent across reboots, edit /etc/sysctl.conf or create /etc/sysctl.d/99-localfix.conf (for Ubuntu/Debian): Code: # Disable iptables deprecated helpers This will shut down the iptables connection tracking helpers totally. This disables support for a bunch of protocols (most of which you probably don't use anyway): ftp, irc, sane, sip, tftp, amanda, h323, netbios_ns, pptp & snmp Read the blog post linked above for details. |
|
| Author: | sblantipodi [ Mon Jan 07, 2013 9:22 am ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
cederberg wrote: Sorry. A bit more reading (and testing) shows that one more thing must be done: Code: echo 0 > /proc/sys/net/netfilter/nf_conntrack_helper To make the above change persistent across reboots, edit /etc/sysctl.conf or create /etc/sysctl.d/99-localfix.conf (for Ubuntu/Debian): Code: # Disable iptables deprecated helpers This will shut down the iptables connection tracking helpers totally. This disables support for a bunch of protocols (most of which you probably don't use anyway): ftp, irc, sane, sip, tftp, amanda, h323, netbios_ns, pptp & snmp Read the blog post linked above for details. thanks for the answer, I choosed to use the default centos kernel with pv-grub to get rid of many of this kind of errors. now it works like a charm without warnings popping up randomically. |
|
| Author: | cederberg [ Mon Jan 07, 2013 4:16 pm ] |
| Post subject: | Re: nf_conntrack: automatic helper assignment is deprecated |
Ok. But unless CentOS patches their kernels in this regard, it will eventually get there as well. This is a mainline kernel change, so it should reach everywhere eventually. Some distros might have better defaults, but Ubuntu 12.04 didn't at least. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|