summaryrefslogtreecommitdiff
path: root/stun/stunmessage.h
Commit message (Collapse)AuthorAgeFilesLines
* ms-ice: calculate FINGERPRINT according to [MS-ICE2]Jakub Adam2016-10-261-2/+6
| | | | | | | | | | | | | | | | Connectivity checks that are fully conforming to [MS-ICE2] should contain IMPLEMENTATION-VERSION attribute ([MS-ICE2] 2.2.2.2) equal to 2 and their FINGERPRINT should be calculated as described in RFC5389 section 15.5 (i.e. using standard CRC lookup table). We need this because some Skype for Business clients no longer accept messages whose FINGERPRINT contains a value calculated using Microsoft's old custom CRC table (specified verbatim in [MS-ICE2] 3.1.4.8.2). The change creates a compatibility breakage with legacy Lync clients which will be fixed in following commits. Differential Revision: https://phabricator.freedesktop.org/D1136
* stun: Fix documentation to use ‘nul-terminated’ for stringsPhilip Withnall2015-03-101-3/+3
| | | | | NULL is ((gpointer) 0). nul is '\0'. Arrays can be NULL terminated. Strings can be nul terminated.
* docs: Add various missing documentation comments and update sections.txtPhilip Withnall2015-01-021-0/+2
| | | | | This straightens out the last few bits of the documentation and almost allows `make check` to pass in docs/.
* stunmessage: Accept NULL terminated buffers for fast speed validationOlivier Crête2014-05-171-2/+3
|
* Add support for MS-TURN in OC2007 compatibility turn usageYouness Alaoui2014-05-151-0/+3
|
* stunmessage: Revert another function to use sockaddrOlivier Crête2014-05-021-1/+1
| | | | The farstream unit tests were using it.
* stun: Use struct sockaddr_storage * for any pointer that we write toOlivier Crête2014-03-311-6/+6
| | | | | | Some platforms have a larger alignment requirement for struct sockaddr_* than for plain struct sockaddr, in that case, we need to make sure that the incoming pointer has the right alignement before taking it in.
* stun: Add a fast version of stun_message_validate_buffer_length()Philip Withnall2014-01-311-0/+47
| | | | | | | | | | | | | | stun_message_validate_buffer_length() is already fast, but requires the entire message to be in a single monolithic buffer. For introducing vectored I/O, this becomes impossible to guarantee. Rather than rewriting the STUN code to natively support vectors of buffers (which would be a huge undertaking, and would probably slow the code down considerably), implement a fast check of whether a message is likely to be a STUN packet which *does* support vectored I/O. This can then be used to determine whether to compact the vector of buffers to a single monolithic one in order to validate the message more thoroughly.
* MS-TURN support for Microsoft Office CommunicatorJakub Adam2010-10-011-3/+44
|
* Compatibility with MSOC 2007 R2Jakub Adam2010-10-011-1/+5
|
* Fix various gtk-doc warnings/errors and typosYouness Alaoui2010-02-161-6/+6
|
* Fix copyright headers for all filesYouness Alaoui2010-02-161-2/+6
|
* Fix confusing docs, addr_len is an IN and OUT variable...Youness Alaoui2009-04-161-4/+7
|
* Fix documentationYouness Alaoui2009-03-311-0/+1
|
* Install the headers to the appropriate directory and specify how to include ↵Youness Alaoui2009-03-051-0/+1
| | | | the files from the docs
* Move functions and prototypes from one file to another to avoid having to ↵Youness Alaoui2009-03-051-0/+35
| | | | install non public headers
* Change includes to minimize non public API from being includedYouness Alaoui2009-03-051-5/+8
|
* gtk trick to recognize a typedef + struct, use an underscore... allows the ↵Youness Alaoui2009-02-231-2/+2
| | | | content of the struct to appear in the gtk-doc
* Add documentation for libstun and fix some docs elsewhereYouness Alaoui2009-02-231-2/+16
|
* Add gtk-doc for stunmessage APIYouness Alaoui2009-02-161-103/+305
|
* Clean the files from unwanted gtk-doc tagsYouness Alaoui2009-02-161-2/+3
|
* Change all stun_XXX_t enums/structs into StunXxx to have a common naming ↵Youness Alaoui2009-02-161-36/+36
| | | | convention
* Find and document every message attribute/error code and from which ↵Youness Alaoui2009-02-161-44/+223
| | | | RFC/Draft they come from.. Also updated the error-codes strings
* Making the stun_message API use a StunMessageReturn enum instead of errno ↵Youness Alaoui2009-01-301-29/+41
| | | | values to communicate errors
* Replace all references to 3489BIS into RFC 5389 as it has just been releasedYouness Alaoui2008-11-031-19/+19
|
* Fix includes for win32 compilationYouness Alaoui2008-11-031-1/+6
|
* Remove all 'restrict' keywords as they are not supported by MSVCYouness Alaoui2008-11-031-9/+9
|
* Readding necessary socket includesYouness Alaoui2008-10-281-0/+1
|
* correctly ifdef/else/endif the includes for winsock and sys/socketYouness Alaoui2008-10-281-0/+7
|
* Add the jingle and turn-09 methods and comprehension attributesYouness Alaoui2008-09-171-2/+8
|
* Fixing TURN support. correctly send the send indication/request and parse ↵Youness Alaoui2008-09-161-0/+1
| | | | the data indication
* Fix long term credentials validation/creation of responses and error saying ↵Youness Alaoui2008-09-101-0/+2
| | | | unauthorized on 401/400 error responses
* make indentation consistentOlivier Crête2008-08-141-2/+1
|
* Replace the SERVER attribute with the SOFTWARE attribute per draft 17Olivier Crête2008-08-141-1/+1
|
* Completed TURN usage in libstunYouness Alaoui2008-08-061-1/+4
|
* Adding TURN specific enums and constantsYouness Alaoui2008-08-051-2/+6
|
* Adding the ability to change the XOR value for the XOR-MAPPED-ADDRESSYouness Alaoui2008-07-301-0/+8
|
* add a static const for all the known atttributes.. fixes stunbdc with ↵Youness Alaoui2008-06-171-0/+33
| | | | stunserver.org
* Updating stun to include an agentYouness Alaoui2008-06-061-60/+73
|
* (WIP) Huge refactoring of functions... first step towards the agentYouness Alaoui2008-06-031-0/+374