Commit Graph

96 Commits

Author SHA1 Message Date
Benny Prijono bf22b0d2fb Updated ICE and STUN reference to their latest draft
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1579 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-12 13:56:07 +00:00
Benny Prijono e74315f8e5 Some protection to prevent ICE session from being destroyed while callback is still running
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1574 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-11 07:07:33 +00:00
Benny Prijono 8c05b552cb Continue doing ICE/STUN keep-alive if the request failed because of timeout (PJNATH_ESTUNTIMEDOUT)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1548 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-04 03:55:17 +00:00
Benny Prijono 840d08e767 Only do Test 1B if Test 2 failed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1546 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 22:44:14 +00:00
Benny Prijono 91be4aad89 Log source address of incoming STUN message
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1544 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 21:43:05 +00:00
Benny Prijono aecabfc658 More ticket #399: pj_sock_close() is called more than once. Also implemented NAT detection callback for Symbian UA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1526 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 05:35:42 +00:00
Benny Prijono 3838c21431 More ticket #399: on_request_complete() callback does not release the mutex in some cases
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1524 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 04:17:03 +00:00
Benny Prijono f207547788 More ticket #399: fixed bug that triggers assertion in the timer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1523 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 03:59:34 +00:00
Benny Prijono 19a351710a Fixed build warnings/errors for Symbian target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1504 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-17 06:21:44 +00:00
Benny Prijono 07a5ffb941 Tolerate more ICMP errors in ICE media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1503 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-16 14:10:58 +00:00
Benny Prijono 6ba8c54950 More ticket #399: added callback to report NAT detection result, and sends NAT type in SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1501 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-16 01:34:14 +00:00
Benny Prijono 33d30b4a14 Related to ticket #399: optimize NAT detection to complete faster
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1499 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-13 09:27:21 +00:00
Benny Prijono c909a3590d Added "magic" parameter in pj_stun_session_create_req()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1498 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-13 00:06:59 +00:00
Benny Prijono f4e03a7ffd Related to ticket #399: added comments etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1497 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 23:29:27 +00:00
Benny Prijono 3460e276e1 Fixed bug in ticket #399 implementation: wrong CHANGE-REQUEST values
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1496 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 13:21:00 +00:00
Benny Prijono 4ab9fbbd57 Ticket #399: Initial implementation of tool to perform NAT type detection/classification
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1495 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 12:14:27 +00:00
Benny Prijono 6eb3a111c0 Updated PJNATH doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1487 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-07 12:51:15 +00:00
Benny Prijono c916316c8b Minor fixes to TURN server: handle immediate recv() error, call pjnath_init() in main(), etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1485 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-07 06:04:28 +00:00
Benny Prijono 652247bb6d Changed reference to ice-15 to ice-18
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1480 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-06 17:04:16 +00:00
Benny Prijono 97c8238458 Ticket #392: Added configuration to enable old, rfc3489bis-06 and older, style of MESSAGE-INTEGRITY and FINGERPRINT calculation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1479 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 15:53:56 +00:00
Benny Prijono 91a5a3af26 Fixed several unit test failures: typecast error on C++ mode, SIP parsing, etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1451 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24 21:16:48 +00:00
Benny Prijono 2501e1345a Ticket #382: Updated ICE from draft-ietf-mmusic-ice-14 to ice-18 specification, and also done some other tweaks as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1450 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24 19:46:41 +00:00
Benny Prijono 0638120b60 Re-enable STUN status 437 (No Binding) since this is used by TURN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1443 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-20 11:30:30 +00:00
Benny Prijono e2d0acbaaa Ticket #374: Update STUN specification from rfc3489bis-06 to rfc3489bis-10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1439 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-18 19:33:33 +00:00
Benny Prijono 096c56c1a5 Ticket #370: Implemented callback notification to application when ICE negotiation fails (via on_call_media_state callback)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1435 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-15 08:30:16 +00:00
Benny Prijono 4a5d7708a0 Fixed ticket #372: Handle case where STUN mapped address has changed in ICE (thanks Ravin Suri)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1434 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-14 10:19:47 +00:00
Benny Prijono a5a3ea6a3b Fixed ticket #368: STUN keep-alive timed out when ICE is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1433 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-14 09:30:25 +00:00
Benny Prijono 1f61a8f8af Ticket #354: continuing work to port the Symbian libraries to .DSO format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono 4e11f45b3b Added checking for STUN message type when performing cached STUN response lookup (for clients who are not able to generate unique transaction ID) [thanks Scott Lu]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1414 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-09 04:24:50 +00:00
Benny Prijono d51a37a496 Continue work on ticket #354: changed pjlib-util and pjnath libraries to .DSO (DLL) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1410 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-28 02:44:55 +00:00
Benny Prijono 8ab968fd0d Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20 08:08:30 +00:00
Benny Prijono 45b7621f43 Ticket #344: ICE negotiation failed when remote doesn't support RTCP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1392 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26 10:10:24 +00:00
Benny Prijono fc48bd7336 Fixed crash in TURN server (thanks Scott Lu)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1380 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-21 11:48:50 +00:00
Benny Prijono f1428f3e2b Fixed wrong year in copyright line, s/2005/2007 (thanks Atik Khan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1374 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-19 09:04:58 +00:00
Benny Prijono c84ebc2446 Fixed ticket #322: Crash in ICE when adding peer reflexive candidate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1344 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-06 12:05:42 +00:00
Benny Prijono c540b62db8 Fixed ticket #321: Assertion in ICE stream transport when STUN is not used (thanks Frank Nießen)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1343 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-06 12:02:41 +00:00
Benny Prijono 9991d2c5b2 Fixed assertion error in ice_strans.c, when response is received before get_stun_mapped_addr() returns
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1338 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-05 11:48:15 +00:00
Benny Prijono 3bbc27c2f9 Ticket #308: Selective STUN authentication for STUN failure responses
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1312 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-29 00:42:13 +00:00
Benny Prijono 4730d6bdce Fixed ticket #303: Crash on STUN session's keep alive on loss of network connectivity
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1306 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-25 15:43:10 +00:00
Benny Prijono 6fbe48ece5 Fixed gcc warning because of ticket #297
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1303 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-25 11:31:09 +00:00
Benny Prijono 684c057827 Fixed ticket #297: Bug in handling data from peer in TURN sample application (thanks scott_lvsha)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1300 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-25 06:11:35 +00:00
Benny Prijono fb2cec3f0e Fixed gcc warning about unitialized variable
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1298 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 14:54:48 +00:00
Benny Prijono c9f6ea7052 Fixed ticket #288: ICE role error on re-INVITE and ICE auth error when sending 487 (Role Conflict) response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1291 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 07:12:23 +00:00
Benny Prijono edd4ffa870 Ticket #287: selectively disable authentication for several STUN error responses
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1290 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 07:05:59 +00:00
Benny Prijono eb92128714 Fixed ticket #286: Bug in STUN FINGERPRINT verification and logging STUN message
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1289 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-22 21:55:31 +00:00
Benny Prijono 1c064e64df Fixed ticket #285: ICE transport stops receiving packet upon getting ICMP unreach on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1288 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-22 21:11:10 +00:00
Benny Prijono b823dbde3b Fixed ticket #279: Bug with authenticating STUN response causes STUN responses to be dropped
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1284 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-17 16:18:27 +00:00
Benny Prijono 5aeed44e21 Fixed several STUN bugs: USERNAME, REALM etc are not allowed in the response, retransmission timer calculation bug, etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1275 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-15 10:42:56 +00:00
Benny Prijono 2fedc73bac Added missing distclean rule in pjnath Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1268 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 19:02:46 +00:00
Benny Prijono a1e6968900 HUGE changeset to make the rest of the libraries compile with C++ mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 15:14:34 +00:00