Commit Graph

374 Commits

Author SHA1 Message Date
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
Benny Prijono a266868de3 Fixed missing padding when calculating MESSAGE-INTEGRITY in STUN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1265 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 10:37:14 +00:00
Benny Prijono 897f9f8889 Misc Symbian fixes, looks good
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1248 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 19:56:21 +00:00
Benny Prijono ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono 727f2030fc Ported PJLIB-UTIL and PJNATH to Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1239 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01 12:25:01 +00:00
Benny Prijono 6212899436 ICE: fixed pruning of host candidates
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1216 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-28 07:26:28 +00:00
Benny Prijono 302fa1377d ICE: prune host candidates (not in ICE)
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1215 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-28 04:14:42 +00:00
Benny Prijono a10664cff3 Fixed mingw build
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1211 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-23 16:22:52 +00:00
Benny Prijono af09dc3ba9 Merged changes from the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1210 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-22 12:48:30 +00:00
Benny Prijono 25dfd1dfa1 Fixed build system for third_party
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1201 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-17 16:16:01 +00:00
Benny Prijono 1b0ee29430 Handle scenario where ICE check list completes early in the answerer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1157 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 23:18:14 +00:00
Benny Prijono caa8f62515 Respond to early check with proper credential
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1154 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 22:28:01 +00:00
Benny Prijono 40468d3369 Added missing include in pjnath/config.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1153 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 15:12:27 +00:00
Benny Prijono dbf461580e ICE (work in progress): handle early check that is received before answer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1152 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 11:32:47 +00:00
Benny Prijono 7f03beaab4 Added PJ_STUN_NO_AUTHENTICATE option to disable authentication in STUN session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1151 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 17:49:28 +00:00
Benny Prijono 8d9fd61b0e Fixed crash with invalid PDU and added MAGIC-COOKIE attribute for backward compatibility with old TURN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1150 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 17:29:36 +00:00
Benny Prijono 1cf078da6b Fixed compile error in stun_client because of last modification in STUN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1149 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 13:03:57 +00:00
Benny Prijono 7c57f875d5 Fixed potential crash in ICE when adding peer reflexive candidate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1144 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 10:13:07 +00:00
Benny Prijono 6c670acb3b Added ICE-CONTROLLED and ICE-CONTROLLING attribute, handle ICE 487 error, and add response source address checking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1141 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-03 19:15:10 +00:00
Benny Prijono bd876dc063 Fixed misc bugs with ICE: (1) moved STUN session from candidate to component since it causes STUN response to wrong session, and (2) keep-alive transaction timed-out when ICE is active
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1140 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-03 18:01:27 +00:00
Benny Prijono 64ac31bced Fixed couple of compilation warnings in STUN and new proxy samples with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1131 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 19:11:41 +00:00
Benny Prijono 0cb7bf1603 Enable all tests in pjnath-test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1129 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 18:00:45 +00:00
Benny Prijono da675ceed4 ICE: work in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1126 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:30:14 +00:00
Benny Prijono 919758f01f Added ICE-CONTROLLING and ICE-CONTROLLED STUN attribute types
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1114 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-29 21:54:21 +00:00
Benny Prijono 33fcaa03c4 Fixed warnings/errors when logging is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1113 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 20:17:04 +00:00
Benny Prijono dbce2cf75c Fixed pjnath build warnings/errors on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1112 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 16:24:00 +00:00
Benny Prijono a6bd758a9d Updated projects and Makefiles with the new pjnath library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 15:49:48 +00:00
Benny Prijono fed1af9d55 Created doxygen documentation for PJNATH
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1110 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 23:29:27 +00:00
Benny Prijono fd70c9b526 ICE: added media index in pjmedia when handling SDP containing ICE candidates
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1108 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:00:38 +00:00
Benny Prijono 7e0d52c06e ICE: implement RTCP component and cancelling check in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1106 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-26 13:25:07 +00:00
Benny Prijono b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono ec92134367 ICE (work in progress): implement error codes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1101 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 13:00:30 +00:00
Benny Prijono c27512bd35 Added/updated VS8 projects for pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1100 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 20:12:45 +00:00
Benny Prijono f75ecebb3f ICE (work in progress): implemented server reflexive candidate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1099 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 19:09:54 +00:00
Benny Prijono c97608ee7f ICE (work in progress): integration with PJSUA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1098 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 16:34:20 +00:00
Benny Prijono 24cda7dea5 ICE (work in progress): implemented ICE media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1097 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 00:42:47 +00:00
Benny Prijono ff49ab751b Final ICE stream transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1096 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-22 21:00:53 +00:00
Benny Prijono fd7f147c25 Tested simple ICE with data
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1095 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-22 11:59:03 +00:00
Benny Prijono 2532b9d39e Completed initial test for ICE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1094 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-22 01:16:37 +00:00
Benny Prijono fb9d987d15 Added pjnath-test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1093 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-21 22:05:58 +00:00
Benny Prijono fe9535374f ICE complete, ready for testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1092 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-21 13:24:02 +00:00
Benny Prijono 48a4927c07 s/stun_setting/stun_config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1091 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-21 09:31:01 +00:00
Benny Prijono 38fa00aca4 s/stun_endpoint/stun_setting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1090 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-21 09:12:22 +00:00
Benny Prijono 0ef1cf6e4a Today's work
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1089 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-20 22:36:54 +00:00
Benny Prijono bda2621b57 --
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1085 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-20 08:44:26 +00:00
Benny Prijono b01897b505 Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 17:39:27 +00:00
Benny Prijono 0923717c82 (big patch) Added top-level pjnath project and moved STUN related files to this new project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1062 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-14 11:52:13 +00:00