* connection tracking problem ? [not found] <5c0c5c050904141033w1f66c6d6waa068b937861a20@mail.gmail.com> @ 2009-04-14 17:54 ` Mekabe Ramein 2009-04-14 18:27 ` Jan Engelhardt 0 siblings, 1 reply; 3+ messages in thread From: Mekabe Ramein @ 2009-04-14 17:54 UTC (permalink / raw) To: netfilter-devel Hi, I am not sure if this is the right list to ask my question. Please don't ignore me and try to forward me to the right place to ask. I am a user of Shorewall firewall which uses iptables and netfilter features. When I asked this question on the Shorewall list they couldn't help me and forwarded to here. I am using Shorewall on CentOS with kernel 2.6.18-92.1.13.el5. The box has 3 ethernet interfaces and 1 wifi interface. On one of the ethernet interfaces (eth1) pppoe is running and ppp0 is the resulting wan interface. The wifi interface (ath0) and another ethernet (eth2) is member of a bridge interface (br0). So we can say that there are two important interfaces. br0 for LAN , ppp0 for WAN. All clients accessing internet, go through ppp0 and they are being masquarared to ppp0's IP. On the same box, Asterisk (SIP server) is running (listenning on all interfaces on udp 5060), and there are 2 SIP clients on br0 interface which register to Asterisk. I hope this is clear enough; now the problem: When the box is fresh (new booted), all sip clients on br0 interface can register to Asterisk (they send register messgae on udp 5060 and Asterisk responds) They re-register every 10 minutes. After some time, I notice that one or two of the clients are not registered. When I trace packets from the client with tcpdump, I see that the client is sending the register packet and the CentOS box is receiving the packets on br0 however, these packets are not delivered to application (Asterisk). I understand that the packets is not delivered to Asterisk from Asterisk SIP message debugs. Normally, when the server is fresh, I can see the register messages on Asterisk SIP debugs. This is a very disturbing problem for me. I found out that when in this condition, if I reset the connection tracking table with "conntrack -F" the clients can get registered because their packets reach Asterisk application. But it is not a matter of connection tracking table being full, because my ip_conntrack_max value shows 16384 and the box never reaches that number. It is around 400-500 if I check when the problem occurs. I am looking for a solution for this issue desperately. If anyone can help me, I'd be very glad. Have a nice time... ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: connection tracking problem ? 2009-04-14 17:54 ` connection tracking problem ? Mekabe Ramein @ 2009-04-14 18:27 ` Jan Engelhardt 2009-04-15 11:01 ` Patrick McHardy 0 siblings, 1 reply; 3+ messages in thread From: Jan Engelhardt @ 2009-04-14 18:27 UTC (permalink / raw) To: Mekabe Ramein; +Cc: netfilter-devel On Tuesday 2009-04-14 19:54, Mekabe Ramein wrote: > >I am using Shorewall on CentOS with kernel 2.6.18-92.1.13.el5. [...] >After some time, I notice that one or two of the clients are not >registered.[...] >I found out that when in this condition, if I reset the connection >tracking table with "conntrack -F" the clients can get registered >because their packets reach Asterisk application. Your kernel is over 937 days old, something that is not supported on this end normally. If you can reproduce it with the latest 2.6.29.1, the better. By way, if conntrack -F solves the problem, it would be worthwhile to see the conntrack -L entries for the still-active UDP connections. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: connection tracking problem ? 2009-04-14 18:27 ` Jan Engelhardt @ 2009-04-15 11:01 ` Patrick McHardy 0 siblings, 0 replies; 3+ messages in thread From: Patrick McHardy @ 2009-04-15 11:01 UTC (permalink / raw) To: Jan Engelhardt; +Cc: Mekabe Ramein, netfilter-devel Jan Engelhardt wrote: > On Tuesday 2009-04-14 19:54, Mekabe Ramein wrote: >> I am using Shorewall on CentOS with kernel 2.6.18-92.1.13.el5. > [...] >> After some time, I notice that one or two of the clients are not >> registered.[...] >> I found out that when in this condition, if I reset the connection >> tracking table with "conntrack -F" the clients can get registered >> because their packets reach Asterisk application. > > Your kernel is over 937 days old, something that is not supported on > this end normally. If you can reproduce it with the latest 2.6.29.1, > the better. > > By way, if conntrack -F solves the problem, it would be worthwhile > to see the conntrack -L entries for the still-active UDP connections. If the sip helper is loaded, unload it or update to the latest version. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-15 11:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5c0c5c050904141033w1f66c6d6waa068b937861a20@mail.gmail.com>
2009-04-14 17:54 ` connection tracking problem ? Mekabe Ramein
2009-04-14 18:27 ` Jan Engelhardt
2009-04-15 11:01 ` Patrick McHardy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).