Alfred E. Heggestad
068b9ab8b8
tls: add accessor to OpenSSL context (ref #35 ) ( #46 )
2017-03-07 08:36:14 +01:00
Alfred E. Heggestad
1fe13a9dd4
ice: make ice role type public ( #43 )
...
- add "ice/ICE" prefix to enum ice_role and values
- export enum ice_role to public API
2017-03-06 13:38:03 +01:00
Alfred E. Heggestad
cb936d9fb2
srtcp: use unsigned 32-bit for encrypted bit ( #41 )
...
the ep is left-shifted by 31-bits. If the size of int
is 4 bytes then the EP bit will end up in the top bit
which is also the sign bit.
it is safer and better to use an unsigned type here
2017-02-16 08:47:32 +01:00
Alfred E. Heggestad
f115a7418e
fmt: print directly to stream using handler ( #38 )
2017-01-06 15:45:22 +01:00
Richard Aas
e167b2c154
HTTP client improvements ( #36 )
...
* http client connection reuse
* retry failed requests using fresh connections
* fix line length
* Handle Connection: close response header
2017-01-05 21:53:32 +01:00
Alfred E. Heggestad
6907d760f0
tls: undef X509_NAME for win32 ( fixes #32 ) ( #34 )
2016-11-23 08:29:44 +01:00
Alfred E. Heggestad
5404e5630f
udp: added udp_helper_find() ( #28 )
2016-11-08 18:48:52 +01:00
Richard Aas
718583f8a9
tls_set_certificate_pem()/tls_set_certificate_der(): minor format adjustments
2016-11-02 17:46:11 +01:00
Lennart Grahl
1ff344dbd9
Setting Certificate/Private Key Improvements ( #25 )
...
Add tls_set_certificate_pem() and tls_set_certificate_der() functions for setting certificate and private key on a TLS context in respective formats. Private key may optionally be passed as a separate argument, or part of the certificate data.
2016-11-02 17:37:25 +01:00
Lennart Grahl
a627951aeb
Change DTLS connection's remote peer address ( #24 )
...
* Make it possible to change the DTLS connection's remote peer address.
Add `dtls_set_peer` function
* Add `dtls_peer` getter function
Change `dtls_set_peer` signature, leave comparison of the remote address up to the user application
* Fix typo in docstring
2016-11-02 13:56:30 +01:00
Alfred E. Heggestad
afa2f1e21e
Openssl 1.1.0 ( #9 )
...
Add support for openssl 1.1.0
2016-10-30 15:44:18 +01:00
Richard Aas
a3a44da128
dns/resolv cleanup ( #11 )
...
* dns/resolv: res_ninit()/res_nclose()
* dns/resolv: mac os x fixes
* resolv: added fix for OpenBSD
* Add support for DragonFly BSD
* Solris needs libresolv (patch by Dmitrij D. Czarkoff)
2016-10-28 10:03:15 +02:00
Dmitrij D. Czarkoff
bb2b79b44e
Clean up remnants of Symbian support ( #13 )
2016-10-24 19:41:43 +02:00
Richard Aas
30a963b874
tls: add tls_flush_error to dump openssl errors
...
Based on contributions from Lennart Grahl (#1 ) and Alfred Heggestad (#8 )
2016-09-23 14:20:22 +02:00
Alfred E. Heggestad
495f5ff51b
remove symbian
2016-09-18 17:11:37 +02:00
Alfred E. Heggestad
043aa32cc2
remove support for Symbian OS
2016-09-18 17:00:57 +02:00
Alfred E. Heggestad
1859673efc
patch from richard: use hash of from_uri for sort_key
2016-06-24 12:40:22 +00:00
Alfred E. Heggestad
c5b31b7c9f
json: init int err to 0
2016-06-24 08:13:36 +00:00
Alfred E. Heggestad
107323352d
patch from richard
...
sort multiple DNS records using a key
2016-06-21 14:58:15 +00:00
Alfred E. Heggestad
64d5123da7
patch from richard:
...
this patch fix an issue with stateless sip requests.
In some scenarios (depending of DNS replies), the request
is being terminated before the message is sent. This patch
fixes the issue.
For stateless requests, if A/AAAA records for target of SRV record
is not present in addl (additional list) of NAPTR/SRV DNS reply, we
will explicitly query for those.
2016-06-21 10:41:08 +00:00
Richard Aas
85ed43afd1
stun attribute encode: use strict number types
2016-06-20 07:33:36 +00:00
Richard Aas
852a3c6084
configurable MAIN_DEBUG and TMR_DEBUG
2016-06-09 06:49:18 +00:00
Richard Aas
4666232470
added USE_OPENSSL_AES and USE_OPENSSL_HMAC
2016-06-02 07:54:51 +00:00
Richard Aas
06bbc5ba2c
tls: add client SNI (Server Name Indication) support
2016-06-02 07:31:30 +00:00
Alfred E. Heggestad
09d40ac36c
patch: add tls_set_ciphers()
2016-05-08 13:22:18 +00:00
Richard Aas
05c9422f2d
use debug_info for SO_REUSEPORT errors
2016-04-27 06:09:00 +00:00
Alfred E. Heggestad
d76092bbef
sys: add support for arc4random
...
thanks to Dmitrij D. Czarkoff for the original patch
2016-04-15 07:09:59 +00:00
Richard Aas
a6cb27837b
tls: added tls_cipher_name()
2016-03-07 13:37:58 +00:00
Richard Aas
e87b0df7a9
tls: added tls_cipher_name()
2016-03-07 13:25:47 +00:00
Richard Aas
f62154f42a
lock: fix debian build without HAVE_PTHREAD_RWLOCK
2016-03-07 13:06:24 +00:00
Richard Aas
47b59eb920
net: fix openwrt posix interface build warning
2016-02-29 08:27:20 +00:00
Richard Aas
a85f61b8a6
dtls: fix building with older openssl libs
2016-02-29 08:12:37 +00:00
Richard Aas
60fa9db55c
sa ntop/pton: define _BSD_SOURCE and _DEFAULT_SOURCE
2016-02-22 15:10:41 +00:00
Alfred E. Heggestad
88aa3a0097
patch: add dtls_set_mtu()
2016-02-15 15:21:22 +00:00
Alfred E. Heggestad
71f79e7198
rtcp: adjust mbuf positions for RTCP_PSFB_AFB decoding
2016-02-15 08:31:47 +00:00
Richard Aas
08ac591891
main: fix ios 32-bit warning
2016-02-08 15:36:50 +00:00
Alfred E. Heggestad
a9ba99ae3e
telev: add send queue limit
2016-02-01 12:52:56 +00:00
Richard Aas
bfa2112207
hmac: add sha256 support
2016-02-01 08:04:53 +00:00
Alfred E. Heggestad
a9a987942d
uri: fix buffer overflow
2016-01-30 00:27:18 +00:00
Alfred E. Heggestad
338b84eb8f
aes: handle buffers with Zero length (fixes SRTCP-bug with short packets)
2016-01-13 09:23:54 +00:00
Richard Aas
76f9a43034
dns: add support for multiple DNS name-servers on Android
2016-01-11 07:26:16 +00:00
Alfred E. Heggestad
49132b53d7
rtp: fix packetloss calc for seq=0
2015-12-17 16:37:05 +00:00
Richard Aas
8457a5ed18
define _DEFAULT_SOURCE to avoid build warnings
2015-12-17 14:07:00 +00:00
Richard Aas
ca5d02cdc5
srtp: return proper stream_get() error code
2015-12-07 16:47:27 +00:00
Alfred E. Heggestad
b66d0d04c6
json: fix typo (patch from Simon Josefsson)
2015-10-28 18:14:05 +00:00
Richard Aas
272242f476
stun keepalive: handle method BINDING only
2015-10-27 11:59:09 +00:00
Richard Aas
a2608a2bb7
srtp: return ENOSR upon stream failures
2015-10-27 09:49:59 +00:00
Alfred E. Heggestad
bf94794ef6
fmt: fix doxygen header for unicode.c
2015-10-26 17:47:14 +00:00
Richard Aas
143cf94961
Fix glibc 2.22 build (addrinfo visibility)
...
thanks to Dmitrij D. Czarkoff
2015-10-22 07:50:11 +00:00
Richard Aas
23a4b8e6c4
added odict_entry_del()
2015-10-19 09:21:13 +00:00