Commit graph

194 commits

Author SHA1 Message Date
Alfred E. Heggestad
05a23595cc rtmp: handle both IPv4 and IPv6 uris (#166) 2018-11-01 11:09:02 +01:00
Alfred E. Heggestad
68c0323fbd Added RTMP protocol (#163) 2018-10-24 11:18:52 +02:00
Alfred E. Heggestad
ee6b5e0a91 tls: rename input argument to tls_add_ca (#158) 2018-10-16 08:51:32 +02:00
Alfred E. Heggestad
055195d2ea net: remove net_conn api (old and unused) (#145) 2018-05-31 08:57:22 +02:00
TheSil
f9224f3edd fixed inline issue when compiling VS as C++ (#143) 2018-05-28 14:05:17 +02:00
Richard Aas
13d9d72e03 json/utf8: fix unescaping of unicode code points (#127) 2018-04-06 14:47:16 +02:00
Alfred E. Heggestad
25dfb8ccf7 Srtp add gcm (#111)
* srtp: add support for AES GCM cipher (RFC 7714)
2018-03-09 14:21:47 +01:00
Alfred E. Heggestad
b42724a64b aes: add support for GCM Galois Counter Mode (#106)
* aes: add support for GCM Galois Counter Mode (AEAD)
* add tag functions
* variable length IV
* set crypt direction
* remove usage of old AES api
* aes: set IV using EVP_CipherInit_ex
2018-02-01 12:00:57 +01:00
Alfred E. Heggestad
0b1f01f452 sipreg: add from_name (Display Name) (#104) 2018-01-08 08:55:26 +01:00
Alfred E. Heggestad
83ef499562 mem: add secure memory functions (#102)
the use case for these functions is secure code like SRTP and TLS.

memcmp() should not be used when comparing secret data
such as shared keys, because the content may affect the timing.
instead the compare function should always take the same
to execute, independently of the content.
2018-01-04 14:07:31 +01:00
Alfred E. Heggestad
bd9e1fe5ba remove support for Cygwin (#95) 2017-11-23 11:31:41 +01:00
Richard Aas
5bb8c0712e http: added support for chunked transfer encoding (#90) 2017-11-04 19:22:05 +01:00
Alfred E. Heggestad
14e312f86c tls: add dtls_recv_packet() (#89) 2017-10-30 15:13:11 +01:00
Alfred E. Heggestad
5253266a68 odict: use int instead of enum to avoid vararg promotion (#81) 2017-09-23 16:44:32 +02:00
Joachim Bauch
dfe0e0176d ice: Added functions to get selected candidates. (#72)
* ice: Added functions to get selected candidates.

Also added a function to get the type of a candidate. This can be used when
sending data to handle relay candidates, where data must be sent through the
TURN client.

* Forward-declare "ice_cand" before it is used.
2017-09-06 19:47:58 +02:00
Alfred E. Heggestad
9263b81ae5 ice: move gathering to application (#68)
ref: https://github.com/creytiv/re/wiki/ICE-Stacks-merge
2017-07-15 09:12:12 +02:00
Richard Aas
b08fc20a28 Added function sipreg_laddr() (#67) 2017-06-30 09:51:31 +02:00
Alfred E. Heggestad
9ca4ebb078 mod: add accessor function to module list (#66) 2017-06-29 22:32:52 +02:00
Alfred E. Heggestad
920a41d319 rtp: add extension bit to the api 2017-06-01 20:15:31 +02:00
Jan Hoffmann
3b305e70b3 Make sampling rate for telephone events configurable (#57) 2017-05-08 13:51:21 +02:00
Alfred E. Heggestad
a1f84fe762 Remove ICE Session object (#56)
* ice: export enum ice_candpair_state

this is related to the work of merging 2 ice-stacks into 1:

    https://github.com/creytiv/re/wiki/ICE-Stacks-merge

* ice: remove ice session (struct ice)

* ice: remove list, cleanup

* ice: use local role instead of offerer
2017-04-28 08:13:00 +02:00
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
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
Dmitrij D. Czarkoff
bb2b79b44e Clean up remnants of Symbian support (#13) 2016-10-24 19:41:43 +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
107323352d patch from richard
sort multiple DNS records using a key
2016-06-21 14:58:15 +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
e87b0df7a9 tls: added tls_cipher_name() 2016-03-07 13:25:47 +00:00
Alfred E. Heggestad
88aa3a0097 patch: add dtls_set_mtu() 2016-02-15 15:21:22 +00:00
Richard Aas
bfa2112207 hmac: add sha256 support 2016-02-01 08:04:53 +00:00
Richard Aas
3e92dfa139 odict: fix typo 2016-01-11 06:43:45 +00:00
Richard Aas
945ef0b69a errno: define ENOSR if needed 2015-10-27 12:06:32 +00:00
Richard Aas
23a4b8e6c4 added odict_entry_del() 2015-10-19 09:21:13 +00:00
Richard Aas
8e93e8817d json: added module with json encode/decode functionality 2015-10-15 06:53:29 +00:00
Richard Aas
b6fba247a3 fmt: added utf8 encode/decode functions 2015-10-15 06:49:07 +00:00
Richard Aas
770beeef62 added __REFUNC__ macro 2015-10-05 13:54:55 +00:00
Richard Aas
b026ae2920 odict: declare enum outside struct 2015-09-30 21:30:10 +00:00
Alfred E. Heggestad
9ff337301d add odict 2015-08-31 07:41:41 +00:00
Richard Aas
28100143ca mem: added mem_reallocarray() 2015-06-29 14:09:01 +00:00
Richard Aas
87f8a8b1a4 main: add kqueue support 2015-06-29 06:51:05 +00:00
Richard Aas
4985c30a97 net: added net_default_gateway_get() 2015-06-22 08:18:55 +00:00
Richard Aas
761d3714ff tls: add DTLS 1.2 support 2015-02-19 08:22:43 +00:00
Richard Aas
43adbd5ff5 sip: export sip_transp_laddr() 2015-02-04 07:29:43 +00:00
Richard Aas
da5c50062f ice: rename struct cand to ice_cand 2015-02-02 07:26:18 +00:00