Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'tester/nice-stund' into nice-kakaroto | Youness Alaoui | 2008-11-03 | 1 | -6/+17 |
|\ | | | | | | | | | | | Conflicts: stun/tools/stund.c | ||||
| * | Make the stund try first the new draft before the old stun RFC | Olivier Crête | 2008-10-29 | 1 | -6/+17 |
| | | |||||
* | | Replace all references to 3489BIS into RFC 5389 as it has just been released | Youness Alaoui | 2008-11-03 | 14 | -46/+46 |
| | | |||||
* | | Add a win32 version of the stun_gettime function that does not use ↵ | Youness Alaoui | 2008-11-03 | 1 | -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 Alaoui | 2008-11-03 | 1 | -0/+7 |
| | | | | | | | | be included with it | ||||
* | | add stdint.h and stdbool.h replacement for windows | Youness Alaoui | 2008-11-03 | 1 | -0/+41 |
| | | |||||
* | | Fix includes for win32 compilation | Youness Alaoui | 2008-11-03 | 11 | -18/+51 |
| | | |||||
* | | only define variables at the start of blocks | Youness Alaoui | 2008-11-03 | 2 | -3/+3 |
| | | |||||
* | | Remove all 'restrict' keywords as they are not supported by MSVC | Youness Alaoui | 2008-11-03 | 10 | -32/+32 |
| | | |||||
* | | use WSAGetLastError instead of errno | Youness Alaoui | 2008-10-29 | 2 | -3/+11 |
| | | |||||
* | | add correct includes and define close as closesocket for windows | Youness Alaoui | 2008-10-29 | 3 | -0/+4 |
| | | |||||
* | | Merge branch 'nice-kakaroto' of /home/kakaroto/coding/nice-refactor/ into ↵ | Youness Alaoui | 2008-10-29 | 3 | -2/+4 |
|\ \ | | | | | | | | | | nice-kakaroto | ||||
| * | | correctly do the allocate, and not a deallocate in the test-turn | Youness Alaoui | 2008-10-29 | 1 | -2/+2 |
| | | | |||||
| * | | Readding necessary socket includes | Youness Alaoui | 2008-10-28 | 2 | -0/+2 |
| | | | |||||
* | | | port tests to windows | Youness Alaoui | 2008-10-29 | 5 | -12/+106 |
|/ / | |||||
* | | add win32 defines for trans.h and add missing includes for stdint | Youness Alaoui | 2008-10-28 | 1 | -2/+12 |
| | | |||||
* | | cast the buffer for send/sendto/recv/recvfrom into a void* as it may not ↵ | Youness Alaoui | 2008-10-28 | 1 | -4/+4 |
| | | | | | | | | always be an unsigned char in the prototype | ||||
* | | disable stund and stunbdc code because they need non portable function calls | Youness Alaoui | 2008-10-28 | 2 | -0/+16 |
| | | |||||
* | | workaround for non existing errno macros | Youness Alaoui | 2008-10-28 | 1 | -0/+9 |
| | | |||||
* | | include ws2tcpip.h where needed | Youness Alaoui | 2008-10-28 | 2 | -1/+2 |
| | | |||||
* | | Use timeval instead of the unix-only timespec | Youness Alaoui | 2008-10-28 | 2 | -14/+19 |
| | | |||||
* | | Fix crc code | Youness Alaoui | 2008-10-28 | 2 | -2/+2 |
| | | |||||
* | | use socklen_t where needed, and cast it to size_t as it defined as an int in ↵ | Youness Alaoui | 2008-10-28 | 3 | -10/+10 |
| | | | | | | | | mingw and as an uint on linux systems | ||||
* | | remove unnecessary inclusion of socket files in some files, and make glib ↵ | Youness Alaoui | 2008-10-28 | 1 | -3/+0 |
| | | | | | | | | included before stdlib.h because it redefines atexit | ||||
* | | correctly ifdef/else/endif the includes for winsock and sys/socket | Youness Alaoui | 2008-10-28 | 8 | -8/+62 |
| | | |||||
* | | a bit more win32 cmpat | Youness Alaoui | 2008-10-28 | 2 | -8/+7 |
| | | |||||
* | | Remove iovec dependency for crc32. Use a custom simple structure to do that | Youness Alaoui | 2008-10-28 | 3 | -13/+18 |
| | | |||||
* | | fix win32 compat for stun utils | Youness Alaoui | 2008-10-28 | 1 | -0/+5 |
| | | |||||
* | | pthread is not needed for stun | Youness Alaoui | 2008-10-28 | 2 | -2/+1 |
| | | |||||
* | | Remove IP_PKTINFO sockopt which is not portable to mac | Youness Alaoui | 2008-10-28 | 1 | -3/+0 |
| | | |||||
* | | Fix for make distcheck to work | Youness Alaoui | 2008-10-27 | 1 | -1/+1 |
|/ | |||||
* | stunbdc and stund should use 3489bis to allow the unit tests to run | Youness Alaoui | 2008-10-22 | 2 | -2/+2 |
| | |||||
* | port test turn to the new refresh API | Youness Alaoui | 2008-10-16 | 1 | -1/+2 |
| | |||||
* | Correctly process LIFETIME and BANDWIDTH attributes | Youness Alaoui | 2008-10-16 | 1 | -0/+3 |
| | |||||
* | Correctly implement the TURN Refresh usage and add its processing function | Youness Alaoui | 2008-10-16 | 2 | -33/+81 |
| | |||||
* | do not send BANDWIDTH and LIFETIME when value is -1, not 0 since 0 is valid | Youness Alaoui | 2008-10-16 | 2 | -3/+3 |
| | |||||
* | the LIFETIME attribute should also be sent to msn/gtalk servers | Youness Alaoui | 2008-10-16 | 1 | -4/+5 |
| | |||||
* | Correctly check if the method of the stun response is correct in the stun ↵ | Youness Alaoui | 2008-10-16 | 3 | -0/+9 |
| | | | | usages process functions | ||||
* | stund and stunbdc should be rfc3489 compatible | Youness Alaoui | 2008-10-16 | 2 | -5/+2 |
| | |||||
* | a little cleaning, don't put the sanity check inside the function | Youness Alaoui | 2008-10-08 | 1 | -5/+7 |
| | |||||
* | fix POSIX_MONOTIC_CLOCK check in stun timer | Youness Alaoui | 2008-10-08 | 1 | -1/+1 |
| | |||||
* | Fix hmac calculation. If a multiple of 64, do not pad with 64 bytes. It's ↵ | Youness Alaoui | 2008-10-06 | 1 | -1/+1 |
| | | | | fine as it is | ||||
* | New STUN agent flag : NO_INDICATION_AUTH, to tell the agent that indication ↵ | Youness Alaoui | 2008-09-19 | 2 | -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 attributes | Youness Alaoui | 2008-09-17 | 1 | -2/+8 |
| | |||||
* | utils.h needs sys/types.h and sys/socket.h | Youness Alaoui | 2008-09-17 | 2 | -3/+3 |
| | |||||
* | This is a VERY UGLY HACK! | Youness Alaoui | 2008-09-17 | 1 | -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-ed | Youness Alaoui | 2008-09-17 | 1 | -2/+2 |
| | |||||
* | Fixing TURN support. correctly send the send indication/request and parse ↵ | Youness Alaoui | 2008-09-16 | 1 | -0/+1 |
| | | | | the data indication | ||||
* | more clarity : COMPATIBILITY_TD9 becomes COMPATIBILITY_DRAFT9 for TURN compat | Youness Alaoui | 2008-09-16 | 3 | -10/+10 |
| | |||||
* | Change ICE_COMPATIBILITY_ID19 into ICE_COMPATIBILITY_DRAFT19 for more clarity | Youness Alaoui | 2008-09-15 | 3 | -8/+8 |
| |