No luck in getting icedemo to work with a public-IP TURN server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ICE experts:

Forgive me if this question has been answered before.

I *cannot* get icedemo or pjturn-client to work with the 


numb.viagenie.ca TURN server.

I get a unauthorized response to the ALLOCATE request (repeatedly).?

Want to look at some logs? The issues are high-lightded in red and yellow


Here they are...


auro at auro:~/pjsip/pjproject-1.12/pjnath/bin$ ./pjturn-client-i686-pc-linux-gnu -u ipserv at yahoo.com -p xxxxxxxxx numb.viagenie.ca

?13:35:48.160 os_core_unix.c? pjlib 1.12.0 for POSIX initialized
?13:35:48.162????????? pjlib? select() I/O Queue created (0x83900c4)
?13:35:48.261????????? peer0? TX 40 bytes STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Binding request
?Hdr: length=20, magic=2112a442, tsx_id=7ccd1f29d7ab58ba000141f2
?Attributes:
? SOFTWARE: length=13, value="pjnath-1.12.0"
--- end of STUN message ---

?13:35:48.261 stuntsx0x83947? STUN client transaction created
?13:35:48.261 stuntsx0x83947? STUN sending message (transmit count=1)
?13:35:48.317????????? peer1? TX 40 bytes
 STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Binding request
?Hdr: length=20, magic=2112a442, tsx_id=e146a9e362c2007c00010854
?Attributes:
? SOFTWARE: length=13, value="pjnath-1.12.0"
--- end of STUN message ---

?13:35:48.317 stuntsx0x8396c? STUN client transaction created
?13:35:48.317 stuntsx0x8396c? STUN sending message (transmit count=1)


+=====================================================================+
|???????????? CLIENT???????????????? |???????????? PEER-0???????????? |
|??????????????????????????????????? |??????????????????????????????? |
| State???? : NULL?????????????????? | Address: 0.0.0.0:0???????????? |
| Relay addr: 0.0.0.0:0????????????? |??????????????????????????????? |
|??????????????????????????????????? | 0? Send data to relay address? |
| a????? Allocate relay????????????? |??????????????????????????????? |
| p,pp?? Set permission for peer 0/1 +--------------------------------+
| s,ss?? Send data to peer 0/1?????? |???????????? PEER-1???????????? |
| b,bb?? BindChannel to peer 0/1???? |??????????????????????????????? |
| x????? Delete allocation?????????? | Address: 0.0.0.0:0???????????? |
+------------------------------------+??????????????????????????????? |
| q? Quit????????????????? d? Dump?? | 1? Send data to relay adderss? |
+------------------------------------+--------------------------------+
>>>? 

13:35:48.340???? stun_msg.c? Unrecognized attribute type 0x802b
?13:35:48.340????????? peer0? RX 56 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Binding success response
?Hdr: length=36, magic=2112a442, tsx_id=7ccd1f29d7ab58ba000141f2
?Attributes:
? MAPPED-ADDRESS: length=8, IPv4 addr=12.0.67.47:48905
? XOR-MAPPED-ADDRESS: length=8, IPv4 addr=12.0.67.47:48905
? Attr 0x802b: length=8
--- end of STUN message ---

?13:35:48.340????????? peer0? STUN mapped address found/changed: 12.0.67.47:48905
?13:35:48.340? client_main.c? peer0: STUN Binding request success
?13:35:48.342? client_main.c? peer0: STUN mapped address is 12.0.67.47:48905
?13:35:48.395???? stun_msg.c? Unrecognized attribute type
 0x802b
?13:35:48.395????????? peer1? RX 56
 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Binding success response
?Hdr: length=36, magic=2112a442, tsx_id=e146a9e362c2007c00010854
?Attributes:
? MAPPED-ADDRESS: length=8, IPv4 addr=12.0.67.47:57018
? XOR-MAPPED-ADDRESS: length=8, IPv4 addr=12.0.67.47:57018
? Attr 0x802b: length=8
--- end of STUN message ---

?13:35:48.396????????? peer1? STUN mapped address found/changed: 12.0.67.47:57018
?13:35:48.396? client_main.c? peer1: STUN Binding request success
?13:35:48.396? client_main.c? peer1: STUN mapped address is 12.0.67.47:57018
?13:35:50.347 stuntsx0x83947? STUN client transaction destroyed
?13:35:50.402 stuntsx0x8396c? STUN client transaction destroyed

+=====================================================================+
|???????????? CLIENT???????????????? |???????????? PEER-0???????????? |
|??????????????????????????????????? |??????????????????????????????? |
| State???? : NULL?????????????????? | Address: 12.0.67.47:48905????? |
| Relay addr: 0.0.0.0:0????????????? |??????????????????????????????? |
|??????????????????????????????????? | 0? Send data to relay address? |
| a????? Allocate relay????????????? |??????????????????????????????? |
| p,pp?? Set permission for peer 0/1 +--------------------------------+
| s,ss?? Send data to peer 0/1?????? |???????????? PEER-1???????????? |
| b,bb?? BindChannel to peer 0/1???? |??????????????????????????????? |
| x????? Delete allocation?????????? | Address: 12.0.67.47:57018????? |
+------------------------------------+??????????????????????????????? |
| q? Quit????????????????? d? Dump?? | 1? Send data to relay adderss? |
+------------------------------------+--------------------------------+
>>> a
?13:36:02.254 udprel0x839650? TURN client session created
?13:36:02.254 udprel0x839650? Resolving numb.viagenie.ca with DNS A
?13:36:02.254 udprel0x839650? State changed Null --> Resolving
?13:36:02.255? client_main.c? State Null --> Resolving
?13:36:02.432 udprel0x839650? State changed Resolving --> Resolved
?13:36:02.432? client_main.c? State Resolving --> Resolved
?13:36:02.432 udprel0x839650? Connecting to 66.228.45.110:3478
?13:36:02.432 udprel0x839650? State changed Resolved --> Allocating
?13:36:02.432? client_main.c? State Resolved --> Allocating
?13:36:02.432 udprel0x839650? TX 48 bytes STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate request
?Hdr: length=28, magic=2112a442, tsx_id=000021c71f16e9e80216231b
?Attributes:
? REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
? SOFTWARE: length=13, value="pjnath-1.12.0"
--- end of STUN message ---

?13:36:02.432 stuntsx0x83947? STUN client transaction created
?13:36:02.432 stuntsx0x83947? STUN sending message (transmit count=1)


+=====================================================================+
|???????????? CLIENT???????????????? |???????????? PEER-0???????????? |
|??????????????????????????????????? |??????????????????????????????? |
| State???? : Allocating???????????? | Address: 12.0.67.47:48905????? |
| Relay addr: 0.0.0.0:0????????????? |??????????????????????????????? |
|??????????????????????????????????? | 0? Send data to relay address? |
| a????? Allocate relay????????????? |??????????????????????????????? |
| p,pp?? Set permission for peer 0/1 +--------------------------------+
| s,ss?? Send data to peer 0/1?????? |???????????? PEER-1???????????? |
| b,bb?? BindChannel to peer 0/1???? |??????????????????????????????? |
| x????? Delete allocation?????????? | Address: 12.0.67.47:57018????? |
+------------------------------------+??????????????????????????????? |
| q? Quit????????????????? d? Dump?? | 1? Send data to relay adderss? |
+------------------------------------+--------------------------------+
>>>? 

13:36:02.541 stuntsx0x83947? STUN sending message (transmit count=2)
?13:36:02.642 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c71f16e9e80216231b
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="QvPXTgAAAAA=WklGF9OH0kTXRA6moWyo0vHgQC4="
? MESSAGE-INTEGRITY: length=20, data=39de9e5271295a7f4832dcb202b28937821d5a34
--- end of STUN message ---

?13:36:02.642 udprel0x839650? Retrying request with new authentication
?13:36:02.643 udprel0x839650? TX 152 bytes STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate request
?Hdr: length=132, magic=2112a442, tsx_id=000021c71190cde70216231c
?Attributes:
? REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
? SOFTWARE: length=13, value="pjnath-1.12.0"
? USERNAME: length=16, value="ipserv at yahoo.com"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="QvPXTgAAAAA=WklGF9OH0kTXRA6moWyo0vHgQC4="
? MESSAGE-INTEGRITY: length=20, data=831d6e67a1a4628053735757efb3d39f74ae7ec4
--- end of STUN message ---

?13:36:02.643 stuntsx0x839a2? STUN client transaction created
?13:36:02.643 stuntsx0x839a2? STUN sending message (transmit count=1)
?13:36:02.746 stuntsx0x839a2? STUN sending message (transmit count=2)
?13:36:02.753
 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c71f16e9e80216231b
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="QvPXTgAAAAA=WklGF9OH0kTXRA6moWyo0vHgQC4="
? MESSAGE-INTEGRITY: length=20, data=39de9e5271295a7f4832dcb202b28937821d5a34
--- end of STUN message ---

?13:36:02.854 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c71190cde70216231c
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40,
 value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=c832ced8d998a8e3e8b44014d026f46a535ff228
--- end of STUN message ---

?13:36:02.854 udprel0x839650? Retrying request with new authentication
?13:36:02.854 udprel0x839650? TX 152 bytes STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate request
?Hdr: length=132, magic=2112a442, tsx_id=000021c766ef438d0216231d
?Attributes:
? REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
? SOFTWARE: length=13, value="pjnath-1.12.0"
? USERNAME: length=16, value="ipserv at yahoo.com"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=8109582f69c1377d5e20c091d74dbbbfd1b9986c
--- end of STUN
 message ---

?13:36:02.855 stuntsx0x839a6? STUN client transaction created
?13:36:02.855 stuntsx0x839a6? STUN sending message (transmit count=1)
?13:36:02.951 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c71190cde70216231c
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=c832ced8d998a8e3e8b44014d026f46a535ff228
--- end of STUN message ---

?13:36:02.964 stuntsx0x839a6? STUN sending message (transmit count=2)
?13:36:03.018 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate
 error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c766ef438d0216231d
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=4781c981cfd97bb671fd85e80d7686c1ccf338e2
--- end of STUN message ---

?13:36:03.019 udprel0x839650? Allocate error: Unauthorized
?13:36:03.019 udprel0x839650? Trying next server
?13:36:03.019 udprel0x839650? State changed Allocating --> Resolved
?13:36:03.019? client_main.c? State Allocating --> Resolved
?13:36:03.019 udprel0x839650? Connecting to 66.228.45.110:3478
?13:36:03.019 udprel0x839650? State changed Resolved --> Allocating
?13:36:03.019? client_main.c? State Resolved -->
 Allocating
?13:36:03.019 udprel0x839650? TX 152 bytes STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate request
?Hdr: length=132, magic=2112a442, tsx_id=000021c7140e0f760216231e
?Attributes:
? REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
? SOFTWARE: length=13, value="pjnath-1.12.0"
? USERNAME: length=16, value="ipserv at yahoo.com"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=cc782ebf9d2b723b7a9d8ff0edc9f121571ed1db
--- end of STUN message ---

?13:36:03.019 stuntsx0x839bd? STUN client transaction created
?13:36:03.019 stuntsx0x839bd? STUN sending message (transmit count=1)
?13:36:03.098 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin STUN message ---
STUN
 Allocate error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c7140e0f760216231e
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=db98f930a72dd627c68422ae51016ccdeeef6b16
--- end of STUN message ---

?13:36:03.098 udprel0x839650? Allocate error: Unauthorized
?13:36:03.098 udprel0x839650? Trying next server
?13:36:03.098 udprel0x839650? State changed Allocating --> Resolved
?13:36:03.098? client_main.c? State Allocating --> Resolved
?13:36:03.098 udprel0x839650? Connecting to 66.228.45.110:3478
?13:36:03.098 udprel0x839650? State changed Resolved --> Allocating
?13:36:03.098? client_main.c?
 State Resolved --> Allocating
?13:36:03.098 udprel0x839650? TX 152 bytes STUN message to 66.228.45.110:3478:
--- begin STUN message ---
STUN Allocate request
?Hdr: length=132, magic=2112a442, tsx_id=000021c73352255a0216231f
?Attributes:
? REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
? SOFTWARE: length=13, value="pjnath-1.12.0"
? USERNAME: length=16, value="ipserv at yahoo.com"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=e6b99ae912180b1a4b06c53d5540dbbdcb0cc3ae
--- end of STUN message ---

?13:36:03.098 stuntsx0x839d5? STUN client transaction created
?13:36:03.098 stuntsx0x839d5? STUN sending message (transmit count=1)
?13:36:03.177 udprel0x839650? RX 124 bytes STUN message from 66.228.45.110:3478:
--- begin
 STUN message ---
STUN Allocate error response
?Hdr: length=104, magic=2112a442, tsx_id=000021c73352255a0216231f
?Attributes:
? ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
? REALM: length=11, value="viagenie.ca"
? NONCE: length=40, value="Q/PXTgAAAAA=ELFWMjyjMalVwjFOlgvfa/IwEVA="
? MESSAGE-INTEGRITY: length=20, data=d821884eb5bf39093bc7fa52420bf237dea35cd1
--- end of STUN message ---

?13:36:03.177 udprel0x839650? Allocate error: Unauthorized
?13:36:03.177 udprel0x839650? State changed Allocating --> Deallocated
?13:36:03.177? client_main.c? State Allocating --> Deallocated
?13:36:03.177? client_main.c? Relay shutting down..
?13:36:03.177 udprel0x839650? Request to shutdown in state Deallocated, cause:370401
?13:36:03.177 udprel0x839650? State changed Deallocated -->
 Destroying
?13:36:03.177? client_main.c? State Deallocated --> Destroying
?13:36:03.177 udprel0x839650? Destroying TURN
?13:36:03.177 stuntsx0x839d5? STUN client transaction destroyed
?13:36:03.177 stuntsx0x839bd? STUN client transaction destroyed
?13:36:03.177 stuntsx0x839a6? STUN client transaction destroyed
?13:36:03.177 stuntsx0x839a2? STUN client transaction destroyed
?13:36:03.177 stuntsx0x83947? STUN client transaction destroyed
?13:36:03.177 udprel0x839650? TURN client session destroyed



+=====================================================================+
|????????????
 CLIENT????????????????
 |???????????? PEER-0???????????? |
|??????????????????????????????????? |??????????????????????????????? |
| State???? : NULL?????????????????? | Address: 12.0.67.47:48905????? |
| Relay addr: 0.0.0.0:0?????????????
 |??????????????????????????????? |
|??????????????????????????????????? | 0? Send data to relay address? |
| a????? Allocate relay????????????? |??????????????????????????????? |
| p,pp?? Set permission for peer 0/1 +--------------------------------+
| s,ss?? Send data to peer 0/1??????
 |???????????? PEER-1???????????? |
| b,bb?? BindChannel to peer 0/1???? |??????????????????????????????? |
| x????? Delete allocation?????????? | Address: 12.0.67.47:57018????? |
+------------------------------------+??????????????????????????????? |
| q? Quit????????????????? d? Dump?? |
 1? Send data to relay adderss? |
+------------------------------------+--------------------------------+
>>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111201/db009710/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux