summaryrefslogtreecommitdiff
path: root/pjnath/src/pjnath/stun_msg.c
AgeCommit message (Collapse)Author
2014-01-23Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703 General bug fixes: fixed some wrong null checking orderBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4615 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703: fixing general bugs. First installment: correct handling of ↵Benny Prijono
snprintf return value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-07More ticket #960: STUN compatibility problem with RFC 3489 servers (in ↵Benny Prijono
encoding SERVER-NAME or SOFTWARE attribute) - rollback the previous fix in r2916 since it is broken. It fails various authentication scenarios due to alignment of USERNAME attribute - this fix only applies old alignment rule to SERVERNAME attribute or when STUN magic is not used in the message - also disabled test vectors from draft-denis-behave-rfc3489bis-test-vectors-02, it fails with this fix git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2928 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-01Ticket #960: STUN compatibility problem with RFC 3489 servers (in encoding ↵Benny Prijono
SERVER-NAME or SOFTWARE attribute) - now always set string attribute's length to 4-bytes aligned git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2916 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12Minor fixes (#838): const correctness in some function call arguments@Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2691 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-13Ticket #780: Update TURN from draft 09 to draft 13:Benny Prijono
- new rules for permissions: - permission must be created and refreshed explicitly with CreatePermission - transmitting data does not refresh permission - attributes changed/added: XOR-PEER-ADDRESS, XOR-RELAYED-ADDRESS, EVEN-PORT, DONT-FRAGMENT - attribute(s) removed: REQUESTED-PROPS - new status codes: 401 (Forbidden), 507 (Insufficient Capacity) - removed status codes: 443 (Invalid IP address), 444 (Invalid Port), 508 (Insufficient Port Capacity) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2589 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-07Part of ticket #780 (work in progress): added IPv6 support to various STUN ↵Benny Prijono
attributes and added the test from draft-ietf-behave-stun-test-vectors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2580 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19Minor fix to avoid uninitialized variable warning with MSVC 6 release buildBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2388 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-22Ticket #598: Update to draft-ietf-behave-rfc3489bis-18 and ↵Benny Prijono
draft-ietf-behave-turn-09, and fix other things as well. Please see the ticket for more info git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2234 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26Changed log verbosity of STUN unrecognized attribute log from 4 to 5 since ↵Benny Prijono
we now put unrecognized attribute in a generic container anyway git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2056 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21Added more API to initialize STUN message and attributes without poolBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2044 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21Fixed bug with authenticating STUN messages when unrecognized/unknown ↵Benny Prijono
non-mandatory STUN attribute is present in the message git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2041 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-07Fixed more mismatch decl/def function specifications (thanks Samuel Vinson)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1997 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-07Fixed mismatched between declaration and definition of pj_stun_msg_encode() ↵Benny Prijono
(thanks Samuel Vinson) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1995 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06Major major modifications related to ticket #485 (support for TURN-07):Benny Prijono
- Added STUN socket transport pj_stun_sock - Integration of TURN-07 to ICE - Major refactoring in ICE stream transport to make it simpler - Major modification (i.e. API change) in almost everywhere else - Much more elaborate STUN, TURN, and ICE tests in pjnath-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1988 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-13More ticket #485: fixed TURN server permission not allowing peer with the ↵Benny Prijono
same IP to get through, and added option to disable FINGERPRINT verification in TURN server since it is currently broken when TURN is used with ICE (which has a FINGERPRINT in its Binding Request) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1924 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-19Related to ticket #485: huge changeset to update STUN relating to managing ↵Benny Prijono
authentication. See the ticket for the details git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1877 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-09More work for ticket #485: updated pjnath with TURN-07 and added ↵Benny Prijono
authentication in the server git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1852 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-08More work on ticket #485: more TURN-07 workBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1850 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21Ticket #485: initial modification in STUN messaging in accordance to TURN-06Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1811 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02Ticket #437: reduce stack and pool usage on pjnath to make it work better on ↵Benny Prijono
Symbian git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1654 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05Ticket #392: Added configuration to enable old, rfc3489bis-06 and older, ↵Benny Prijono
style of MESSAGE-INTEGRITY and FINGERPRINT calculation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1479 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-20Re-enable STUN status 437 (No Binding) since this is used by TURNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1443 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-18Ticket #374: Update STUN specification from rfc3489bis-06 to rfc3489bis-10Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1439 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-28Continue work on ticket #354: changed pjlib-util and pjnath libraries to ↵Benny Prijono
.DSO (DLL) in Symbian git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1410 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20Ticket #354: build PJLIB as dynamic libraries (.DSO) in SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-19Fixed wrong year in copyright line, s/2005/2007 (thanks Atik Khan)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1374 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-22Fixed ticket #286: Bug in STUN FINGERPRINT verification and logging STUN messageBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1289 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-15Fixed several STUN bugs: USERNAME, REALM etc are not allowed in the ↵Benny Prijono
response, retransmission timer calculation bug, etc. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1275 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11HUGE changeset to make the rest of the libraries compile with C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11Fixed missing padding when calculating MESSAGE-INTEGRITY in STUNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1265 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01Ported PJLIB-UTIL and PJNATH to SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1239 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04Fixed crash with invalid PDU and added MAGIC-COOKIE attribute for backward ↵Benny Prijono
compatibility with old TURN git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1150 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-03Added ICE-CONTROLLED and ICE-CONTROLLING attribute, handle ICE 487 error, ↵Benny Prijono
and add response source address checking git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1141 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02Fixed couple of compilation warnings in STUN and new proxy samples with gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1131 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02ICE: work in progressBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1126 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-29Added ICE-CONTROLLING and ICE-CONTROLLED STUN attribute typesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1114 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28Updated projects and Makefiles with the new pjnath libraryBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24ICE (work in progress): implement error codesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1101 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-22Completed initial test for ICEBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1094 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-21Added pjnath-testBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1093 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-20--Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1085 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-14(big patch) Added top-level pjnath project and moved STUN related files to ↵Benny Prijono
this new project git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1062 74dad513-b988-da41-8d7b-12977e46ad98