Commit graph

543 commits

Author SHA1 Message Date
Lennart Grahl
5bf4300459 Raise FD_EXCEPT on EPOLLHUP (fixes closed pipes) (#159) 2019-01-02 11:49:24 +01:00
Alfred E. Heggestad
3573d66a45 remove gai_strerror stub (#174) 2019-01-02 10:08:02 +01:00
Richard Aas
527ee3d421 debian release 0.6.0-2 2018-12-11 10:27:45 +01:00
Alfred E. Heggestad
cd1dd6f315 rtmp: add rtmp_meta() to send metadata on stream (#173) 2018-12-10 15:25:42 +01:00
Richard Aas
7c5333c934 debian release 0.6.0-1 2018-11-30 10:03:32 +01:00
Alfred E. Heggestad
c8473536fd rtmp: update timestamp after complete packet (#172)
if the RTMP packet received is not complete, the dechunker
will decode the RTMP header and then return (wait for more data).

currently it erroneously also updates the timestamp from the delta,
even if the packet is incomplete. this means that the timestamp
will be updated twice, which is not correct.

a suggested fix is to move the timestamp calculation to after the
complete packet has been read.
2018-11-30 09:42:43 +01:00
Alfred E. Heggestad
f8717d8247 release 0.6.0 (#170) 2018-11-23 11:05:30 +01:00
Alfred E. Heggestad
36eb5372e5 Rtmp dechunk fix (#169) 2018-11-22 14:39:21 +01:00
Alfred E. Heggestad
05a23595cc rtmp: handle both IPv4 and IPv6 uris (#166) 2018-11-01 11:09:02 +01:00
Alfred E. Heggestad
41e771a972 docs: update docs with RTMP info (#164) 2018-10-24 13:10:11 +02:00
Alfred E. Heggestad
68c0323fbd Added RTMP protocol (#163) 2018-10-24 11:18:52 +02:00
Alfred E. Heggestad
7394ee407a mk: add version numbers to compiler flags (#162) 2018-10-16 08:57:31 +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
856043b335 release 0.5.9 (#153) 2018-08-29 11:53:08 +02:00
Christian Spielberger
38e17f9087 jbuf: zero out jbuf_stat on jbuf flush (#147)
When a jitter buffer is flushed also the statistic data should be cleared. That
means set back to zero. This fixes ugly warnings like
"jbuf: get: seq=32373 too late"
when the stream is resumed.
2018-06-19 09:13:00 +02:00
Alfred E. Heggestad
4ded6cbcc9 sip: get local TCP address in establish handler (#146)
After calling tcp_connect(), the address returned by
tcp_conn_local_get() is 0.0.0.0 on some platforms (Windows).

The local address of the TCP-connection is not available
until the TCP connection is fully established, so fetch the
address again in the established handler.

Reference: https://github.com/alfredh/baresip/issues/431
2018-06-19 08:51:58 +02:00
Alfred E. Heggestad
055195d2ea net: remove net_conn api (old and unused) (#145) 2018-05-31 08:57:22 +02:00
Alfred E. Heggestad
7263d107c8 Update if.c (#144) 2018-05-31 08:43:15 +02:00
TheSil
f9224f3edd fixed inline issue when compiling VS as C++ (#143) 2018-05-28 14:05:17 +02:00
Alfred E. Heggestad
da3a8e9a9b
Update README.md 2018-05-28 12:50:27 +02:00
Alfred E. Heggestad
09e3e5256a tls: add AES-GCM to DTLS-SRTP (#141) 2018-05-23 11:10:19 +02:00
Alexander Ushakov
1eb7ae4b69 Added support for 64-bit MINGW (#131) 2018-04-30 15:46:32 +02:00
Alfred E. Heggestad
502ca455df Release 0.5.8 (#132) 2018-04-17 11:15:30 +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
72e89eeeae minor doxygen updates (#125) 2018-04-04 19:57:14 +02:00
Richard Aas
6bbb5eb45c mqueue: set non-blocking mode for read/write file descriptors (#122) 2018-04-03 10:35:59 +02:00
Encamy
36e611a044 Update Windows project (#119) 2018-03-19 13:55:41 +01:00
Alfred E. Heggestad
bd03787611
Update README.md 2018-03-18 22:13:45 +01: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
66ae090ea6 ice: update doxygen comments (#113) 2018-03-05 07:45:26 +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
624187196d release libre version 0.5.7 (ref #105) (#107) 2018-01-09 15:45:12 +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
49504cf22e net: larger buffer for net_if_list (#100)
when compiling with mingw32 and running in wine emulator,
I get this error when enumerating network interfaces:

    wif: if_list: GetAdaptersAddresses ret=111

use a large buffer for IP_ADAPTER_ADDRESSES fixes the error
2017-12-11 08:07:09 +01:00
Alfred E. Heggestad
ce68a8f09d mk: remove support for splint (#96)
splint is no longer supported by libre.
the last release of splint was splint 3.1.2 in 2007
2017-11-24 08:10:37 +01:00
Alfred E. Heggestad
bd9e1fe5ba remove support for Cygwin (#95) 2017-11-23 11:31:41 +01:00
Richard Aas
4156e4e93e tls: use per connection bio_method (fixes issue #92) (#93) 2017-11-08 19:21:38 +01:00
Alfred E. Heggestad
29cfc5225e release libre version 0.5.6 (#91) 2017-11-06 18:36:56 +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
f8b24b462d json: improved performance for mypower10 (#88) 2017-10-19 14:05:08 +02:00
Joachim Bauch
03841f546b Pack struct of mqueue messages. (#62) 2017-10-13 12:18:17 +02:00
Richard Aas
5fc85e9ff2 make target debclean: update to reflect recent debhelper changes (#82) 2017-09-23 17:07:42 +02:00
Alfred E. Heggestad
5253266a68 odict: use int instead of enum to avoid vararg promotion (#81) 2017-09-23 16:44:32 +02:00
Richard Aas
958fd5e132 make target debclean: update to reflect recent debhelper changes (#80) 2017-09-22 12:03:39 +02:00
Richard Aas
26cb607fb6 Update ar flags; use deterministic mode (#79) 2017-09-22 11:37:15 +02:00
Alfred E. Heggestad
f879133f16 debian: fix month syntax (fixes #77) 2017-09-11 13:31:24 +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
4ae6163fb0 release libre version 0.5.5 (#76) 2017-09-05 13:37:51 +02:00