Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stund: Add win32 support | Olivier Crête | 2019-08-02 | 1 | -11/+19 |
| | |||||
* | stun: tools: drop getopt for arg parsing for better windows compatibility | Tim-Philipp Müller | 2018-12-14 | 1 | -17/+25 |
| | | | | | | | | Just implement argument parsing ourselves here. It's not really more lines of code than the getopt.h variant and makes things build on Windows with MSVC without having to ship a separate getopt implementation. | ||||
* | stund: Pass sockaddr_storage size for both families | Olivier Crête | 2018-05-04 | 1 | -7/+2 |
| | |||||
* | stund: Pass the right length for ipv6 | Olivier Crête | 2018-05-04 | 1 | -1/+5 |
| | |||||
* | stunmessage: Revert another function to use sockaddr | Olivier Crête | 2014-05-02 | 1 | -1/+1 |
| | | | | The farstream unit tests were using it. | ||||
* | stun: Use struct sockaddr_storage * for any pointer that we write to | Olivier Crête | 2014-03-31 | 1 | -2/+2 |
| | | | | | | 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 missing switch cases | Philip Withnall | 2014-01-31 | 1 | -0/+8 |
| | | | | | | | | This appeases GCC’s -Wswitch-enum warning, and makes it more obvious that those enum cases have been explicitly considered, rather than just forgotten about. This introduces no functional changes. | ||||
* | Fix strict aliasing of sockaddr structures | Philip Withnall | 2013-12-18 | 1 | -9/+9 |
| | | | | | | | | | | | | Casting from one struct sockaddr type to another breaks C’s strict aliasing rules (variables of different types cannot alias). Fix this cleanly by using unions of struct sockaddrs to convert between the types (i.e. type-punning). I wish sockaddr didn’t have to be this painful. See: http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/Optimize-Options.html#Type_002dpunning | ||||
* | Add missing ‘default’ cases to switches | Philip Withnall | 2013-12-18 | 1 | -0/+8 |
| | | | | | | | This shuts GCC’s -Wswitch-default warning, and makes the code flow a little more explicit. This introduces no functional changes. | ||||
* | Use len instead of buf_len to check whether or not data was received properly | Rohan Garg | 2012-03-23 | 1 | -1/+1 |
| | |||||
* | stund: Use recvfrom/sendto instead of recvmsg/sendmsg | Youness Alaoui | 2012-02-09 | 1 | -67/+15 |
| | |||||
* | stund: Set message length (fixes infinite loop) when receiving unknown ↵ | John Selbie | 2012-02-09 | 1 | -1/+1 |
| | | | | attributes | ||||
* | Add support for windows's compilation through MinGW | Nader Morshed | 2011-11-30 | 1 | -1/+1 |
| | |||||
* | Fix support for solaris | Apostolos Syropoulos | 2011-09-07 | 1 | -0/+4 |
| | |||||
* | define SOL_IPV6 to IPPROTO_IPV6 if not defined | Youness Alaoui | 2011-01-17 | 1 | -0/+4 |
| | |||||
* | Fix various gtk-doc warnings/errors and typos | Youness Alaoui | 2010-02-16 | 1 | -1/+1 |
| | |||||
* | Fix copyright headers for all files | Youness Alaoui | 2010-02-16 | 1 | -1/+4 |
| | |||||
* | use sizeof struct sockaddr_in instead of sizeof struct sockaddr to hopefully ↵ | Youness Alaoui | 2009-12-04 | 1 | -1/+1 |
| | | | | fix the bug with sendmsg on BSD systems | ||||
* | always check return value of stun_agent_init_error | Youness Alaoui | 2009-11-13 | 1 | -2/+3 |
| | |||||
* | avoid warning by using fd argument when MSG_ERRQUEUE is undefined | Youness Alaoui | 2009-11-13 | 1 | -0/+1 |
| | |||||
* | use sizeof struct sockaddr instead of sizeof sockadddr_storage for doing the ↵ | Youness Alaoui | 2009-09-10 | 1 | -2/+2 |
| | | | | bind.. this fixes stund on BSD systems. Thanks to Tom Murphy for the fix | ||||
* | if MSG_ERRQUEUE is not defined, then make recv_err return something since ↵ | Youness Alaoui | 2009-07-24 | 1 | -0/+2 |
| | | | | it's not a void function | ||||
* | Rename stun_has_cookie into stun_message_has_cookie | Youness Alaoui | 2009-02-23 | 1 | -1/+1 |
| | |||||
* | fix stund against strict aliasing issues | Youness Alaoui | 2008-11-12 | 1 | -7/+12 |
| | |||||
* | 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 | 1 | -1/+1 |
| | | |||||
* | | disable stund and stunbdc code because they need non portable function calls | Youness Alaoui | 2008-10-28 | 1 | -0/+11 |
| | | |||||
* | | Remove IP_PKTINFO sockopt which is not portable to mac | Youness Alaoui | 2008-10-28 | 1 | -3/+0 |
|/ | |||||
* | stunbdc and stund should use 3489bis to allow the unit tests to run | Youness Alaoui | 2008-10-22 | 1 | -1/+1 |
| | |||||
* | stund and stunbdc should be rfc3489 compatible | Youness Alaoui | 2008-10-16 | 1 | -2/+1 |
| | |||||
* | Replace the SERVER attribute with the SOFTWARE attribute per draft 17 | Olivier Crête | 2008-08-14 | 1 | -1/+1 |
| | |||||
* | stun daemon now needs the USE_FINGERPRINT flag | Youness Alaoui | 2008-08-07 | 1 | -1/+2 |
| | |||||
* | Missing limits.h for gcc 4.3, reported by muratasenel from amsn's forums | Youness Alaoui | 2008-08-04 | 1 | -0/+1 |
| | |||||
* | Fixed tools and binding usage to work with new API | Youness Alaoui | 2008-06-13 | 1 | -20/+38 |
| | |||||
* | Moving functions and organizing files | Youness Alaoui | 2008-05-27 | 1 | -0/+294 |