summaryrefslogtreecommitdiff
path: root/stun
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'tester/nice-stund' into nice-kakarotoYouness Alaoui2008-11-031-6/+17
|\ | | | | | | | | | | Conflicts: stun/tools/stund.c
| * Make the stund try first the new draft before the old stun RFCOlivier Crête2008-10-291-6/+17
| |
* | Replace all references to 3489BIS into RFC 5389 as it has just been releasedYouness Alaoui2008-11-0314-46/+46
| |
* | Add a win32 version of the stun_gettime function that does not use ↵Youness Alaoui2008-11-031-0/+16
| | | | | | | | gettimeofday, but uses GetSystemTimeAsFileTime. Code copied from glib's implementation of g_get_current_time
* | Fix inclusion of openssl/rand.h on windows which does not need winsock.h to ↵Youness Alaoui2008-11-031-0/+7
| | | | | | | | be included with it
* | add stdint.h and stdbool.h replacement for windowsYouness Alaoui2008-11-031-0/+41
| |
* | Fix includes for win32 compilationYouness Alaoui2008-11-0311-18/+51
| |
* | only define variables at the start of blocksYouness Alaoui2008-11-032-3/+3
| |
* | Remove all 'restrict' keywords as they are not supported by MSVCYouness Alaoui2008-11-0310-32/+32
| |
* | use WSAGetLastError instead of errnoYouness Alaoui2008-10-292-3/+11
| |
* | add correct includes and define close as closesocket for windowsYouness Alaoui2008-10-293-0/+4
| |
* | Merge branch 'nice-kakaroto' of /home/kakaroto/coding/nice-refactor/ into ↵Youness Alaoui2008-10-293-2/+4
|\ \ | | | | | | | | | nice-kakaroto
| * | correctly do the allocate, and not a deallocate in the test-turnYouness Alaoui2008-10-291-2/+2
| | |
| * | Readding necessary socket includesYouness Alaoui2008-10-282-0/+2
| | |
* | | port tests to windowsYouness Alaoui2008-10-295-12/+106
|/ /
* | add win32 defines for trans.h and add missing includes for stdintYouness Alaoui2008-10-281-2/+12
| |
* | cast the buffer for send/sendto/recv/recvfrom into a void* as it may not ↵Youness Alaoui2008-10-281-4/+4
| | | | | | | | always be an unsigned char in the prototype
* | disable stund and stunbdc code because they need non portable function callsYouness Alaoui2008-10-282-0/+16
| |
* | workaround for non existing errno macrosYouness Alaoui2008-10-281-0/+9
| |
* | include ws2tcpip.h where neededYouness Alaoui2008-10-282-1/+2
| |
* | Use timeval instead of the unix-only timespecYouness Alaoui2008-10-282-14/+19
| |
* | Fix crc codeYouness Alaoui2008-10-282-2/+2
| |
* | use socklen_t where needed, and cast it to size_t as it defined as an int in ↵Youness Alaoui2008-10-283-10/+10
| | | | | | | | mingw and as an uint on linux systems
* | remove unnecessary inclusion of socket files in some files, and make glib ↵Youness Alaoui2008-10-281-3/+0
| | | | | | | | included before stdlib.h because it redefines atexit
* | correctly ifdef/else/endif the includes for winsock and sys/socketYouness Alaoui2008-10-288-8/+62
| |
* | a bit more win32 cmpatYouness Alaoui2008-10-282-8/+7
| |
* | Remove iovec dependency for crc32. Use a custom simple structure to do thatYouness Alaoui2008-10-283-13/+18
| |
* | fix win32 compat for stun utilsYouness Alaoui2008-10-281-0/+5
| |
* | pthread is not needed for stunYouness Alaoui2008-10-282-2/+1
| |
* | Remove IP_PKTINFO sockopt which is not portable to macYouness Alaoui2008-10-281-3/+0
| |
* | Fix for make distcheck to workYouness Alaoui2008-10-271-1/+1
|/
* stunbdc and stund should use 3489bis to allow the unit tests to runYouness Alaoui2008-10-222-2/+2
|
* port test turn to the new refresh APIYouness Alaoui2008-10-161-1/+2
|
* Correctly process LIFETIME and BANDWIDTH attributesYouness Alaoui2008-10-161-0/+3
|
* Correctly implement the TURN Refresh usage and add its processing functionYouness Alaoui2008-10-162-33/+81
|
* do not send BANDWIDTH and LIFETIME when value is -1, not 0 since 0 is validYouness Alaoui2008-10-162-3/+3
|
* the LIFETIME attribute should also be sent to msn/gtalk serversYouness Alaoui2008-10-161-4/+5
|
* Correctly check if the method of the stun response is correct in the stun ↵Youness Alaoui2008-10-163-0/+9
| | | | usages process functions
* stund and stunbdc should be rfc3489 compatibleYouness Alaoui2008-10-162-5/+2
|
* a little cleaning, don't put the sanity check inside the functionYouness Alaoui2008-10-081-5/+7
|
* fix POSIX_MONOTIC_CLOCK check in stun timerYouness Alaoui2008-10-081-1/+1
|
* Fix hmac calculation. If a multiple of 64, do not pad with 64 bytes. It's ↵Youness Alaoui2008-10-061-1/+1
| | | | fine as it is
* New STUN agent flag : NO_INDICATION_AUTH, to tell the agent that indication ↵Youness Alaoui2008-09-192-2/+5
| | | | messages may not use authentication. Some turn servers will send data indications without username/message-integrity
* Add the jingle and turn-09 methods and comprehension attributesYouness Alaoui2008-09-171-2/+8
|
* utils.h needs sys/types.h and sys/socket.hYouness Alaoui2008-09-172-3/+3
|
* This is a VERY UGLY HACK!Youness Alaoui2008-09-171-0/+20
| | | | | | A google/msn data indication is 0x0115 which is contrary to the rfc3489bis which states that 8th and 12th bits are for the class and that 0x01 is for indications... So 0x0115 is reported as a "connect error response", while it should be a data indication, which message type should actually be 0x0017 This should fix the issue, and it's considered safe since the "connect" method doesn't exist anymore
* The MSN mapped address is not XOR-edYouness Alaoui2008-09-171-2/+2
|
* Fixing TURN support. correctly send the send indication/request and parse ↵Youness Alaoui2008-09-161-0/+1
| | | | the data indication
* more clarity : COMPATIBILITY_TD9 becomes COMPATIBILITY_DRAFT9 for TURN compatYouness Alaoui2008-09-163-10/+10
|
* Change ICE_COMPATIBILITY_ID19 into ICE_COMPATIBILITY_DRAFT19 for more clarityYouness Alaoui2008-09-153-8/+8
|