Getting rid of the masses of ip_conntrack messages
Hello,
I get quite many "ip_conntrack: max number of expected connections 1 of ftp reached for 1.2.3.4->4.3.2.1, reusing" messages. How can I configure netfilter that he doesn'T show such messages at all? I am not interested in it and actually don't need/care about them.
So far i googled a bit but just found that someone else had that as well, but didn't find an answer :(. Answers are greatly appreciated.
iptables: 1.2.6a
kernel: 2.4.20
anything else what's needed?
TIA
Othmar
Quoted 3 lines
So far i googled a bit but just found that someone else had that as well, but didn't find an answer :(. Answers are greatly appreciated.
Found with google, from :
http://lists.netfilter.org/pipermail/netfilter-devel/2002-March/007320
.html
----
Such message may appear when the FTP client requests a new data channel without opening the previously requested one.
There is one case, when it happens quite naturally: client sends an active FTP request, but the server refuses it. Then the client reverts to passive FTP and repeats the data channel request.
A tcpdump of the FTP command session could help to find out where's the problem.
----
Did you also find the above explanation ?
It might be the reason you're seeing those messages in your log.
Rob
Hi,
Quoted 6 lines · Rob Sterenborg
Quoted 3 lines
So far i googled a bit but just found that someone else had that as well, but didn't find an answer :(. Answers are greatly appreciated.
Found with google, from :
http://lists.netfilter.org/pipermail/netfilter-devel/2002-March/007320
.html
Yes, maybe I didn't make myself clear, but here again, how can I suppress such messages?
so long
Othmar
Quoted 2 lines
Yes, maybe I didn't make myself clear, but here again, how can I suppress such messages?
Sorry, I don't think I can really help you here.
In the kernel source (2.4.20), ip_conntrack_core.c on line 969 says that this is a KERN_WARNING message.
I guess you could suppress those messages using your syslog.conf, but I don't think you want that as I think that you will also be *not* logging these messages from other software.
(I have *not* said the following, and this is *not* the solution :
A really dirty thing what *might* work is to comment out the printk(...) line and recompile your kernel.
Again you might miss other messages that you do want in your logfile since the section is talking about "helper" things : there is more than 1 helper and you may use multiple of 'm.
I can't see what effect it would have if you did this !)
Rob