LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2011, 03:45 PM   #1
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57
Blog Entries: 1

Rep: Reputation: 20
Question CONFIG_NF_CT_ACCT: Connection tracking flow accounting disable or...not


Quote:
uname -r
tells me i am running kernal version 2.6.33.4

/var/log/syslog says:
Quote:
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
http://cateee.net/lkddb/web-lkddb/NF_CT_ACCT.html says:
Quote:
CONFIG_NF_CT_ACCT: Connection tracking flow accounting

If this option is enabled, the connection tracking code will keep per-flow packet and byte counters.

Those counters can be used for flow-based accounting or the `connbytes' match.

Please note that currently this option only sets a default state. You may change it at boot time with nf_conntrack.acct=0/1 kernel parameter or by loading the nf_conntrack module with acct=0/1.

You may also disable/enable it on a running system with: sysctl net.netfilter.nf_conntrack_acct=0/1

This option will be removed in 2.6.29.

If unsure, say `N'.
i am "unsure" out of sheer ignorance. Why would i EVER want/need/use "flow-based accounting or the `connbytes' match"?? If i don't know what this means, is it safe to say i will not need it?

Additionally, what steps do i take to "change it at boot time with nf_conntrack.acct=0/1 kernel parameter or by loading the nf_conntrack module with acct=0/1"???

slackware 13.1 newbie
 
Old 10-18-2013, 12:04 PM   #2
hunter3740
LQ Newbie
 
Registered: Mar 2010
Location: Pittsburgh
Distribution: Debian 6
Posts: 28

Rep: Reputation: 17
[SOLVED] CONFIG_NF_CT_ACCT is deprecated

Over a decade later is better than never (and this message still comes up in dmesg; "uname -r" = 2.6.32); to turn off:
sudo pico /etc/sysctl.conf (substitute nano for pico if you don't have that editor)
added "net.netfilter.nf_conntrack_acct=0" to the bottom
control "x", "y", enter
sudo shutdown -r now

note: had to add "nf_conntrack" to /etc/modules (new line at bottom, use pico or nano), as above wasn't working (yet "sudo sysctl -p" after it was booted up would switch it to "0"; so, there was some sort of startup order that wasn't timed right for this).

also note: you still have "CONFIG_NF_CT_ACCT is deprecated" in dmesg (assuming that's up to a future kernel to actually stop using, not just threaten), but at least it's turned off (and I'm with you: not sure if I ever want/need/use, but you can easily turn it on by switching it to "1").

Last edited by hunter3740; 10-18-2013 at 12:11 PM.
 
1 members found this post helpful.
  


Reply

Tags
conntrack



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable connection tracking in linux nany Linux - Software 3 07-10-2011 02:49 PM
Netfilter: Connection tracking bandwidth accounting? Third of Five Linux - Networking 1 12-11-2010 07:18 AM
Looking for accounting software with job tracking notes modules Bert Rolston Linux - Software 2 08-22-2006 10:01 AM
disable xon/xoff flow control in rxvt avc Linux - Software 0 12-23-2005 11:11 AM
disable connection tracking lmqhfx Fedora - Installation 1 09-17-2005 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration