conntrack_sip messages showing up in 2.6.32
Hello all,
after upgrading to kernel 2.6.32 I see some new message I did not see before (i.e. 2.6.31).
I am using just nf_conntrack_sip (options sip_direct_media=0) in order to have sip and related
rtp connection accepted as related connections, no nat involved. On a different machine I am running twinkle as a sip client, registering to an asterisk running on the machine in question[1].
When twinkle is just idling and renewing its registration once in a while, I get kernel: nf_ct_sip: dropping packet.. messsages several times a day.
Do anyone have an idea where this comes from and what can be done about it?
Bye,
Joerg
[1] The asterisk is doing application level gateway for connections to the outside world.
Quoted 12 lines · Joerg Dorchain
Hello all,
after upgrading to kernel 2.6.32 I see some new message I did not see before (i.e. 2.6.31).
I am using just
nf_conntrack_sip(options sip_direct_media=0) in order to have sip and related
rtp connection accepted as related connections, no nat involved. On a different machine I am running twinkle as a sip client, registering to an asterisk running on the machine in question[1].
Quoted 6 lines
When twinkle is just idling and renewing its registration once in a while, I get kernel:
nf_ct_sip: dropping packet.. messsages several times a day.Do anyone have an idea where this comes from and what can be done about it?
Conntrack logs packets dropped by helpers automatically starting in 2.6.32. If you can capture those packets (either using tcpdump or the ULOG pcap output plugin) I can have a look at why they are dropped.
Quoted 4 lines · Patrick McHardy
Conntrack logs packets dropped by helpers automatically starting in 2.6.32. If you can capture those packets (either using tcpdump or the ULOG pcap output plugin) I can have a look at why they are dropped.
Attached. The first 4 packets are ok, I'd say.
The other (dropped) attempts might have something to do with the fact the the machine in question has several interfaces with several ip addresses, and the internal DNS resolves to all of them, as they are reachable from intern.
Bye,
Joerg
Ôò¡ Ü ]]'KZh ÷ ÷ j)Ù %ÆÏ E é @ @ÜÙ¬¬ÄÄÕ¥«REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKrowvfuqz
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=cdyak
Call-ID: [email protected]
CSeq: 546 REGISTER
Contact: <sip:[email protected]>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
]]'Kk > > %ÆÏ j)Ù E`0—w @„»¬¬ÄÄ×-SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.17.2.7;branch=z9hG4bKrowvfuqz;received=172.17.2.7;rport=5060
From: "Joerg" <sip:[email protected]>;tag=cdyak
To: "Joerg" <sip:[email protected]>;tag=as3c9168c7
Call-ID: [email protected]
CSeq: 546 REGISTER
Server: Asterisk PBX 1.6.2.0~rc7-1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="dorchain.net", nonce="5ddd6bd6"
Content-Length: 0
]]'Kür � � j)Ù %ÆÏ E � @ @Ü3¬¬ÄÄ{@REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKhctucsvj
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=cdyak
Call-ID: [email protected]
CSeq: 547 REGISTER
Contact: <sip:[email protected]>;expires=3600
Authorization: Digest username="joerg-intern",realm="dorchain.net",nonce="5ddd6bd6",uri="sip:dorchain.net",response="8b65512b41ea901a90575cab8971eb68",algorithm=MD5
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
]]'K
€ K K %ÆÏ j)Ù E`=—x @„¬¬ÄÄ)fSIP/2.0 200 OK
Via: SIP/2.0/UDP 172.17.2.7;branch=z9hG4bKhctucsvj;received=172.17.2.7;rport=5060
From: "Joerg" <sip:[email protected]>;tag=cdyak
To: "Joerg" <sip:[email protected]>;tag=as3c9168c7
Call-ID: [email protected]
CSeq: 547 REGISTER
Server: Asterisk PBX 1.6.2.0~rc7-1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 3600
Contact: sip:[email protected];expires=3600
Date: Tue, 15 Dec 2009 09:56:45 GMT
Content-Length: 0
hk'KÛ. ÷ ÷ j)Ù %ÆÏ E é @ @0ú¬ÔX…™ÄÄÕ¤REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKzlguqamq
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=uyhuk
Call-ID: [email protected]
CSeq: 548 REGISTER
Contact: <sip:[email protected]>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
hk'KƒÐ ÷ ÷ j)Ù %ÆÏ E é @ @0ú¬ÔX…™ÄÄÕ¤REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKzlguqamq
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=uyhuk
Call-ID: [email protected]
CSeq: 548 REGISTER
Contact: <sip:[email protected]>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
ik'KTÑ ÷ ÷ j)Ù %ÆÏ E é @ @0ú¬ÔX…™ÄÄÕ¤REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKzlguqamq
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=uyhuk
Call-ID: [email protected]
CSeq: 548 REGISTER
Contact: <sip:[email protected]>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
kk'K…é ÷ ÷ j)Ù %ÆÏ E é @ @0ú¬ÔX…™ÄÄÕ¤REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKzlguqamq
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=uyhuk
Call-ID: [email protected]
CSeq: 548 REGISTER
Contact: <sip:[email protected]>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
ok'KPÒ ÷ ÷ j)Ù %ÆÏ E é @ @0ú¬ÔX…™ÄÄÕ¤REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKzlguqamq
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=uyhuk
Call-ID: [email protected]
CSeq: 548 REGISTER
Contact: <sip:[email protected]>;expires=3600
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
ok'K¦Ô > > %ÆÏ j)Ù E`0W1 @"ÔX…™¬ÄÄ3SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.17.2.7;branch=z9hG4bKzlguqamq;received=172.17.2.7;rport=5060
From: "Joerg" <sip:[email protected]>;tag=uyhuk
To: "Joerg" <sip:[email protected]>;tag=as4d9e6bef
Call-ID: [email protected]
CSeq: 548 REGISTER
Server: Asterisk PBX 1.6.2.0~rc7-1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="dorchain.net", nonce="392b99bd"
Content-Length: 0
ok'K[Ù � � j)Ù %ÆÏ E � @ @0T¬ÔX…™ÄÄ{ “REGISTER sip:dorchain.net SIP/2.0
Via: SIP/2.0/UDP 172.17.2.7;rport;branch=z9hG4bKrksmokjy
Max-Forwards: 70
To: "Joerg" <sip:[email protected]>
From: "Joerg" <sip:[email protected]>;tag=uyhuk
Call-ID: [email protected]
CSeq: 549 REGISTER
Contact: <sip:[email protected]>;expires=3600
Authorization: Digest username="joerg-intern",realm="dorchain.net",nonce="392b99bd",uri="sip:dorchain.net",response="2a7c353d7e0dca7f05c9095befb03b58",algorithm=MD5
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: 0
ok'KËæ K K %ÆÏ j)Ù E`=W2 @ÔX…™¬ÄÄ),õSIP/2.0 200 OK
Via: SIP/2.0/UDP 172.17.2.7;branch=z9hG4bKrksmokjy;received=172.17.2.7;rport=5060
From: "Joerg" <sip:[email protected]>;tag=uyhuk
To: "Joerg" <sip:[email protected]>;tag=as4d9e6bef
Call-ID: [email protected]
CSeq: 549 REGISTER
Server: Asterisk PBX 1.6.2.0~rc7-1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 3600
Contact: sip:[email protected];expires=3600
Date: Tue, 15 Dec 2009 10:56:47 GMT
Content-Length: 0