[OpenSIPS-Users] Error: A TLS packet with unexpected length was received.

Dan Pascu dan at ag-projects.com
Fri Oct 2 05:54:47 CEST 2009


On 2 Oct 2009, at 02:48, bay2x1 wrote:

>
> Thank you for your time, patience and effort... I really appreciate  
> it...
>
> Correct me if I am wrong
> mediaproxy.dispatcher.RelayFactory starting on 25060 --- this the  
> port where
> mediaproxy-relay will connect and it uses TLS

That is correct.

>
> mediaproxy.dispatcher.ManagementControlFactory starting on 25061 ---  
> this
> the management port and it uses TCP

Partially correct. The management port is indeed 25061, but by default  
it also uses TLS. However this one you can configure to use TCP if you  
want.

>
> I have set the value in my config.ini for mediaproxy
> Dispatcher = 172.16.100.20:25060

Unless you use a port that is not the default (25060) there is no need  
to specify it, it's enough to specify the IP. However it's not  
incorrect if you specify it.

>
> Can you please enlighten me more on how to do a network capture what
> tools/utilities/commands do I need to use and what to look for.
> Can wireshark do this?

Yes it can, however if the communication is TLS, you won't see  
anything meaningful, other than the fact that they exchange packets  
since the communication is encrypted. But if one endpoint uses TCP,  
you will see in clear what it sends in the wireshark trace.

In python-gnutls, in the examples directory are some scripts. Can you  
run twisted-server.py and then twisted-client.py and see if they can  
communicate? Just to rule out problems with the gnutls library.

--
Dan






More information about the Users mailing list