Gravatar
Fri May 3 05:58:39 2013
Benoit LORAND says:
Have you some news about kernel 3.8 and the rtsp patch ?
Gravatar
Fri May 3 06:36:36 2013
Mike says:
Hello Benoit,

The current patch should compile just fine with 3.8. I tested compilation with a 3.8rc kernel.
Gravatar
Fri May 3 06:53:50 2013
Benoit LORAND says:
OK, thanks. Subsist trouble when call modprobe nf-nat-rtsp. But all is ok whith nf-conntrack-rtsp.
Gravatar
Fri Dec 27 12:36:16 2013
Panagiotis Malakoudis says:
rtsp nat helper doesn't work on Linux 3.10. It compiles ok, when modprobed in dmesg you see:"nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead"
nat helping doesn't seem to work, same setup works ok with 3.7
Gravatar
Wed Mar 19 08:59:26 2014
TheTroll says:
Hi,

I also have issues with 3.10 ..
It starts to work but fails in the help_out function and stops.

Any idea ?
Gravatar
Wed Mar 19 09:15:14 2014
Mike says:
Did you try the new version I posted some time ago?
It still has the same name but apparently has some fixes.
Gravatar
Wed Mar 19 09:22:55 2014
TheTroll says:
I am using your git, so I guess it's the latest one...
I tried also tried the 3.7 and 3.7-v2 but seem to be the same code
Gravatar
Wed Mar 19 09:24:20 2014
TheTroll says:
60dff6a41107fc8fa6f8a5f41e15ab21946d6b75  rtsp-module-3.7.tar.gz
60dff6a41107fc8fa6f8a5f41e15ab21946d6b75  rtsp-module-3.7-v2.tar.gz
Gravatar
Wed Mar 19 09:25:22 2014
TheTroll says:
Also, here is the log I get on 3.10:

[1103542.473559] nf_conntrack_rtsp v0.7 loading
[1103542.473566] port #0: 554
[1103542.473702] nf_nat_rtsp v0.7 loading
[1103548.253281] conntrackinfo = 2
[1103548.255962] IP_CT_DIR_REPLY
[1103548.257511] IP_CT_DIR_REPLY
[1103548.257866] found a setup message
[1103548.257873] tran='Transport: RTP/AVP;unicast;client_port=8730-8731
[1103548.257873] '
[1103548.257876] lo port found : 8730
[1103548.257878] udp transport found, ports=(1,8730,8731)
[1103548.257881] setup expectation for rtcp
[1103548.257884] expect_related 212.27.38.253:0-0-MYIP:8730-8731
[1103548.257886] NAT rtsp help_out
[1103548.261106] IP_CT_DIR_REPLY
[1103548.262602] IP_CT_DIR_REPLY
[1103550.664598] teardown handled
Gravatar
Wed Mar 19 10:23:52 2014
Mike says:
Yep v2 and vanilla 3.7 are the same it is just a link.
As for the error you get. Was this working with earlier kernel versions?
My problem is that since I no longer have a linux router at home I can only compile test it.
Gravatar
Wed Mar 19 10:30:10 2014
TheTroll says:
Well it's the first time I try it and I am on 3.10...

But Panagiotis Malakoudis seems to have the same issue and it worked for him on the 3.7
Gravatar
Wed Mar 19 10:32:10 2014
Mike says:
Could you go back to 3.7 and try it with the same server?
Gravatar
Wed Mar 19 10:43:56 2014
TheTroll says:
If I could avoid, would be nice :)
It's not a server I want to reboot ...
Gravatar
Wed Mar 19 11:07:15 2014
TheTroll says:
Ok I tested on 3.7.10 and I have the same issue :/
Gravatar
Sat Mar 22 13:44:19 2014
Mike says:
Well while it does not necessarily mean that the server is broken the end result is the same.
Gravatar
Sun Mar 23 12:44:43 2014
TheTroll says:
Yes ... it must be me then, but I don't know why :/
Gravatar
Sun Mar 23 14:55:05 2014
Mike says:
Do you filter outgoing traffic in any way?
Gravatar
Sun Mar 23 18:00:06 2014
TheTroll says:
Well my OUTPUT filter chain is empty ...
but not the mangle and not ones
Gravatar
Sun Mar 23 18:01:48 2014
TheTroll says:
I am doing some debugging and it seems that : get_skb_tcpdata

does not return a pointer to the actual protocol string..
So I try to retrieve the pointer using skb_header_pointer...

Will let you know
Gravatar
Sun Mar 23 18:31:26 2014
TheTroll says:
The following patch fixed it for me, but I got a kernel warning sometimes on the malloc part...

http://pastebin.com/JGw6QKVN
Gravatar
Sun Mar 23 18:56:48 2014
TheTroll says:
A version with a little bit less of mallocs :) I did not do the locks though...

http://pastebin.com/XsyyCxzW