emran396 / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

ICMP port unreachable #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.register a normal user

What is the expected output? What do you see instead?
Initial 403 Unauthorized is replied with ICMP Port unreachable

What version of the product are you using? On what operating system?
imsdroid 1.0.234
android 2.2

Please provide any additional information below.
Do we have any generic port forwarding to be done for the PC to forward 
relevant ports to the android emulator..?

Original issue reported on code.google.com by arur...@gmail.com on 17 Sep 2010 at 4:16

GoogleCodeExporter commented 9 years ago
For the emulator just enable "Hack the AoR" option to receive requests from 
your server (e.g INVITE, NOTIFY, MESSAGE, ...).
The issue is  strange as the client use "rport" which means that the 403 
response should be sent the the originating socket.

Original comment by boss...@yahoo.fr on 21 Sep 2010 at 5:18

GoogleCodeExporter commented 9 years ago
I did enable the AOR and tried, It didn't work either.
Since the android emulator uses 10.0.2.2 as its contact address, the PCSCF 
replies to that port, Which is not forwarded to Android emulator by my machine, 
But adding portforwarding doesn't help as everytime the client uses new port, 
You can see ICMP port unreachable in the traces.

I will send you the traces via email.

Original comment by arur...@gmail.com on 21 Sep 2010 at 5:31

GoogleCodeExporter commented 9 years ago
If you check "Hack the AoR" the client will try to discover the routable IP 
(e.g. 192.168...) using "rport".
As the 403 message is a response it should not be sent to the client's binding 
address (AoR).
Could you please send the complete trace?

Original comment by boss...@yahoo.fr on 21 Sep 2010 at 5:41

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 5 Oct 2010 at 4:59