[Bulk] [sip-comm-dev] Problem in NetworkAddressManager


#1

Hi All,

I am using the old Sip-Communicator.
Regret my poor English. i try to improve..

I'm Gokul from Auro InfoTech, Chennai, India. We are developing a SIP
Client and are nearing completion of Video, Audio and Text Chat. Now that we
are trying to expose the VOIP server to the internet and connect the clients
to the server we are stuck up, we felt your advice would really help us
investigate this issue. The problem goes like this.

The SIP Client has been registered successfully in the vocal server, but the
call is not establishing in the NAT.

we traced the error in the ethereal, it displayed error as 403 Proxy
authentication Required

So, We have installed the stun server successfully and also it detects the
client end. But the error is throwing as

"BindRequest does not contain message integrity" in the stun server log as,

[root@vocal stund]# ./server -v -h 192.168.1.61 -a 192.168.1.62

STUN server version 0.96

Running with on interface 192.168.1.61:3478 with
alternate 192.168.1.62:3479
Binding to interface 0x3d01a8c0
Port 3478 for receiving UDP is in use
Can't open 192.168.1.61:3478

[root@vocal stund]# ./server -v -h 192.168.1.61 -a

192.168.1.62
STUN server version 0.96
Running with on interface 192.168.1.61:3478 with
alternate 192.168.1.62:3479
Binding to interface 0x3d01a8c0
Opened port 3478 with fd 3
Binding to interface 0x3d01a8c0
Opened port 3479 with fd 4
Binding to interface 0x3e01a8c0
Opened port 3478 with fd 5
Binding to interface 0x3e01a8c0
Opened port 3479 with fd 6

received on A1:P1
Got a request (len=28) from 61.247.255.2:19939
Received stun message: 28 bytes
ChangeRequest = 0
Request parsed ok
BindRequest does not contain MessageIntegrity
Request is valid:
         flags=0
         changeIp=0
         changePort=0
         from = 61.247.255.2:19939
         respond to = 61.247.255.2:19939
         mapped = 61.247.255.2:19939
Encoding stun message:
Encoding MappedAddress: 61.247.255.2:19939
Encoding SourceAddress: 192.168.1.61:3478
Encoding ChangedAddress: 192.168.1.62:3479
Encoding XorMappedAddress: 101.76.129.117:5464
Encoding ServerName: Vovida.org 0.96

received on A1:P1
Got a request (len=28) from 61.247.255.2:19939
Received stun message: 28 bytes
ChangeRequest = 0
Request parsed ok
BindRequest does not contain MessageIntegrity
Request is valid:
         flags=0
         changeIp=0
         changePort=0
         from = 61.247.255.2:19939
         respond to = 61.247.255.2:19939
         mapped = 61.247.255.2:19939
Encoding stun message:
Encoding MappedAddress: 61.247.255.2:19939
Encoding SourceAddress: 192.168.1.61:3478
Encoding ChangedAddress: 192.168.1.62:3479
Encoding XorMappedAddress: 101.76.129.117:5464
Encoding ServerName: Vovida.org 0.96

So, we are facing four problems as of now,

1. When we traced the call flow of SIP Client by using ethereal we got "403
proxy Authentication Required" error

2. When we did the Network Diagnostics, it displays the result like
   "The detected network configuration is: UDP Blocking Firewall"

3. When we went through the STUN Server Log file, it displays "BindRequest
does not contain MessageIntegrity".

4. NetworkAddressManager not able to get the Mapped Address of STUN Server.

With this mail, i enclosed the Console output of the SIP Communicator..

Awaiting your suggestions/ideas.
Thanks,
Gokulakrishnan.M

Console Output.doc (115 KB)


#2

Hello Gokulakrishnan,

1. When we traced the call flow of SIP Client by using ethereal we got "403
proxy Authentication Required" error

That means that your client will have to implement proxy authentification.

2. When we did the Network Diagnostics, it displays the result like
   "The detected network configuration is: UDP Blocking Firewall"

This was caused because no replies were received to Stun Binding requests

3. When we went through the STUN Server Log file, it displays "BindRequest
does not contain MessageIntegrity".

I imagine you are using the stun4j stack. If that is the case then you'll have to implement message integrity options as it currently does not do so.

4. NetworkAddressManager not able to get the Mapped Address of STUN Server.

That's most certainly due to 3.

Hope this helps

Emil

Gokul wrote:

···

Hi All,

I am using the old Sip-Communicator.
Regret my poor English. i try to improve..

I'm Gokul from Auro InfoTech, Chennai, India. We are developing a SIP
Client and are nearing completion of Video, Audio and Text Chat. Now that we
are trying to expose the VOIP server to the internet and connect the clients
to the server we are stuck up, we felt your advice would really help us
investigate this issue. The problem goes like this.

The SIP Client has been registered successfully in the vocal server, but the
call is not establishing in the NAT.

we traced the error in the ethereal, it displayed error as 403 Proxy
authentication Required

So, We have installed the stun server successfully and also it detects the
client end. But the error is throwing as

"BindRequest does not contain message integrity" in the stun server log as,

[root@vocal stund]# ./server -v -h 192.168.1.61 -a 192.168.1.62

STUN server version 0.96

Running with on interface 192.168.1.61:3478 with
alternate 192.168.1.62:3479
Binding to interface 0x3d01a8c0
Port 3478 for receiving UDP is in use
Can't open 192.168.1.61:3478

[root@vocal stund]# ./server -v -h 192.168.1.61 -a

192.168.1.62
STUN server version 0.96
Running with on interface 192.168.1.61:3478 with
alternate 192.168.1.62:3479
Binding to interface 0x3d01a8c0
Opened port 3478 with fd 3
Binding to interface 0x3d01a8c0
Opened port 3479 with fd 4
Binding to interface 0x3e01a8c0
Opened port 3478 with fd 5
Binding to interface 0x3e01a8c0
Opened port 3479 with fd 6

received on A1:P1
Got a request (len=28) from 61.247.255.2:19939
Received stun message: 28 bytes
ChangeRequest = 0
Request parsed ok
BindRequest does not contain MessageIntegrity
Request is valid:
         flags=0
         changeIp=0
         changePort=0
         from = 61.247.255.2:19939
         respond to = 61.247.255.2:19939
         mapped = 61.247.255.2:19939
Encoding stun message:
Encoding MappedAddress: 61.247.255.2:19939
Encoding SourceAddress: 192.168.1.61:3478
Encoding ChangedAddress: 192.168.1.62:3479
Encoding XorMappedAddress: 101.76.129.117:5464
Encoding ServerName: Vovida.org 0.96

received on A1:P1
Got a request (len=28) from 61.247.255.2:19939
Received stun message: 28 bytes
ChangeRequest = 0
Request parsed ok
BindRequest does not contain MessageIntegrity
Request is valid:
         flags=0
         changeIp=0
         changePort=0
         from = 61.247.255.2:19939
         respond to = 61.247.255.2:19939
         mapped = 61.247.255.2:19939
Encoding stun message:
Encoding MappedAddress: 61.247.255.2:19939
Encoding SourceAddress: 192.168.1.61:3478
Encoding ChangedAddress: 192.168.1.62:3479
Encoding XorMappedAddress: 101.76.129.117:5464
Encoding ServerName: Vovida.org 0.96

So, we are facing four problems as of now,

1. When we traced the call flow of SIP Client by using ethereal we got "403
proxy Authentication Required" error

2. When we did the Network Diagnostics, it displays the result like
   "The detected network configuration is: UDP Blocking Firewall"

3. When we went through the STUN Server Log file, it displays "BindRequest
does not contain MessageIntegrity".

4. NetworkAddressManager not able to get the Mapped Address of STUN Server.

With this mail, i enclosed the Console output of the SIP Communicator..

Awaiting your suggestions/ideas.
Thanks,
Gokulakrishnan.M

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Emil,
   
  Thanks for reply..
   
  How and where to implement Message Integrity ..?? To which i have to do this..?
   
  is it any other good STUN Stack other than stun4j..?
   
  How will i correct my problem..?
   
  sorry i don't have that technical stuff.. could please tell me with more details..
   
  i am waiting for your valuable reply..
   
  regards,
  Gokulakrishnan.M
   
  Hello Gokulakrishnan,

1. When we traced the call flow of SIP Client by using ethereal we got "403
proxy Authentication Required" error

That means that your client will have to implement proxy authentification.

2. When we did the Network Diagnostics, it displays the result like
"The detected network configuration is: UDP Blocking Firewall"

This was caused because no replies were received to Stun Binding requests

3. When we went through the STUN Server Log file, it displays "BindRequest
does not contain MessageIntegrity".

I imagine you are using the stun4j stack. If that is the case then
you'll have to implement message integrity options as it currently does
not do so.

4. NetworkAddressManager not able to get the Mapped Address of STUN Server.

That's most certainly due to 3.

Hope this helps

Emil

Gokul wrote:

···

Emil Ivov <emil_ivov@yahoo.com> wrote:

Hi All,

I am using the old Sip-Communicator.
Regret my poor English. i try to improve..

I'm Gokul from Auro InfoTech, Chennai, India. We are developing a SIP
Client and are nearing completion of Video, Audio and Text Chat. Now
that we
are trying to expose the VOIP server to the internet and connect the
clients
to the server we are stuck up, we felt your advice would really help us
investigate this issue. The problem goes like this.

The SIP Client has been registered successfully in the vocal server, but
the
call is not establishing in the NAT.

we traced the error in the ethereal, it displayed error as 403 Proxy
authentication Required

So, We have installed the stun server successfully and also it detects the
client end. But the error is throwing as

"BindRequest does not contain message integrity" in the stun server log as,

[root@vocal stund]# ./server -v -h 192.168.1.61 -a 192.168.1.62

STUN server version 0.96

Running with on interface 192.168.1.61:3478 with
alternate 192.168.1.62:3479
Binding to interface 0x3d01a8c0
Port 3478 for receiving UDP is in use
Can't open 192.168.1.61:3478

[root@vocal stund]# ./server -v -h 192.168.1.61 -a

192.168.1.62
STUN server version 0.96
Running with on interface 192.168.1.61:3478 with
alternate 192.168.1.62:3479
Binding to interface 0x3d01a8c0
Opened port 3478 with fd 3
Binding to interface 0x3d01a8c0
Opened port 3479 with fd 4
Binding to interface 0x3e01a8c0
Opened port 3478 with fd 5
Binding to interface 0x3e01a8c0
Opened port 3479 with fd 6

received on A1:P1
Got a request (len=28) from 61.247.255.2:19939
Received stun message: 28 bytes
ChangeRequest = 0
Request parsed ok
BindRequest does not contain MessageIntegrity
Request is valid:
flags=0
changeIp=0
changePort=0
from = 61.247.255.2:19939
respond to = 61.247.255.2:19939
mapped = 61.247.255.2:19939
Encoding stun message:
Encoding MappedAddress: 61.247.255.2:19939
Encoding SourceAddress: 192.168.1.61:3478
Encoding ChangedAddress: 192.168.1.62:3479
Encoding XorMappedAddress: 101.76.129.117:5464
Encoding ServerName: Vovida.org 0.96

received on A1:P1
Got a request (len=28) from 61.247.255.2:19939
Received stun message: 28 bytes
ChangeRequest = 0
Request parsed ok
BindRequest does not contain MessageIntegrity
Request is valid:
flags=0
changeIp=0
changePort=0
from = 61.247.255.2:19939
respond to = 61.247.255.2:19939
mapped = 61.247.255.2:19939
Encoding stun message:
Encoding MappedAddress: 61.247.255.2:19939
Encoding SourceAddress: 192.168.1.61:3478
Encoding ChangedAddress: 192.168.1.62:3479
Encoding XorMappedAddress: 101.76.129.117:5464
Encoding ServerName: Vovida.org 0.96

So, we are facing four problems as of now,

1. When we traced the call flow of SIP Client by using ethereal we got "403
proxy Authentication Required" error

2. When we did the Network Diagnostics, it displays the result like
"The detected network configuration is: UDP Blocking Firewall"

3. When we went through the STUN Server Log file, it displays "BindRequest
does not contain MessageIntegrity".

4. NetworkAddressManager not able to get the Mapped Address of STUN Server.

With this mail, i enclosed the Console output of the SIP Communicator..

Awaiting your suggestions/ideas.
Thanks,
Gokulakrishnan.M

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

            Regards,
  M.Gokulakrishnan

---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.