ChangeLog 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. eXosip2 (5.2.1) - 2020-05-21
  2. * [ENABLE_MAIN_SOCKET] fix epoll mechanism for server socket with TCP and TLS
  3. * [crash] check scheme upon processing 3xx
  4. * [ssl] fix to be compatible with libressl
  5. * [ssl] https://savannah.nongnu.org/patch/?10046 compatibility with openssl below 1.1.0
  6. * fix when Content-Type indicates application/sdp, but there is no body
  7. * [TLS] modify the code for TLS validation in order to improve logs and details on the connection
  8. * use time_t instead of int for r_retry_after_delay variable [fix 1367a34ca commited on March 1st]
  9. * eXosip_default_action will return OSIP_RETRY_LIMIT when limit is reached
  10. * make sure to obey the Retry-After header from REGISTER reply
  11. * use newer osip_timersub MACRO
  12. * [bug#60024] fix openssl usage to always use callback mode for private key password, even when missing
  13. * eXosip_reset_transports was not effective any more since [5.1.2] [commit 705643fa 2020-07-07] [do not use unless you understand it]
  14. * [windows] a HANDLE is leaked when loading trusted certificates
  15. * dp layer: handle WSAEMSGSIZE when buffer is too short for complete incoming messag
  16. * cleaner code to retreive an SDP from a SIP message
  17. * fix crash when ENABLE_MAIN_SOCKET is defined and epoll is used
  18. eXosip2 (5.2.0) - 2020-11-10
  19. * fix memory and socket leak [major] [affected TCP, TLS, UDP: since 5.1.2, need update asap]
  20. * fix to make sure a non yet established TLS descriptor with read descriptor set will be processed when no outgoing transaction is in a state to handle it [since 5.1.2]
  21. * fix SRV rotation for TLS [was rotating TCP records instead of TLS] [since 5.1.2]
  22. * fix duplicate packets for TCP and TLS when several outgoing NICT are happening at the same time [since 5.1.2]
  23. * add outbound proxy parameter in sip_monitor tool
  24. * ABI update: modification of "eXosip_tls_ctx_t"
  25. extend the structure to set
  26. - cipher list
  27. - add TLS openssl flags (to disable TLSv1, TLSv1.1, etc...)
  28. - add DTLS openssl flags (to disable DTLSv1, etc...)
  29. eXosip2 (5.1.3) - 2020-08-25
  30. * EXOSIP_OPT_FORCE_CONNECTIONREUSE; new option to force reusing established socket for ACK and dialog message
  31. * tls: fix building DH parameter with 5.1.2 and openssl < 1.1.0
  32. eXosip2 (5.1.2) - 2020-08-20
  33. * tls: use RFC 5114 dh param with 2048 bits size.
  34. * tls: use 2048 bits for ephemeral RSA key genearation.
  35. * tls: use SSL_OP_NO_COMPRESSION to make sure it's disabled.
  36. * tls: use SSL_OP_NO_TICKET to disable ticket.
  37. * tls: use HIGH:!COMPLEMENTOFDEFAULT:!kRSA:!PSK:!SRP cipher list for higher security and less ciphers
  38. * fix possible race condition in sample code [sip_reg and sip_monitor]
  39. * new format style using clang-format.
  40. * reduce and rewrite logs for readability.
  41. * fix broken epoll implementation. (DO NOT USE 5.1.1 with epoll)
  42. * rewrite UDP/TCP/TLS (and DTLS untested) for both select and epoll mode.
  43. complete rewrite of socket (c-ares and UDP/TCP/TLS) in order to accelerate
  44. socket esablishement, and correctly handle socket failure. The change also
  45. help to recover faster after a socket failure and to switch to the next SRV
  46. record available. This last feature was previously broken.
  47. * Fix NAPTR/SRV on windows when CARES is not used. (not advised)
  48. * ACK sent out of transaction with no existing connection may be sent later. (TCP/TLS)
  49. * Upon TLS loss, try to use domain or NAPTR SNI when TLS connection is not initiated by an outgoing transaction.
  50. * sip_monitor: new tool to monitor sip service
  51. * add support for authentication using SHA-256 (openssl required)
  52. * only use first supported proposed authentication when same realm is used
  53. * fix: upon UDP errors, like ICMP buffer size may reach abnormal values (avoid useless reallocation)
  54. eXosip2 (5.1.1) - 2020-01-16
  55. * new API:
  56. Generate random string: (low entropy, only hexa)
  57. int eXosip_hexa_generate_random(char *val, int val_size);
  58. Generate random string: (high entropy when compiled with openssl)
  59. int eXosip_byte_generate_random(char *val, int val_size)
  60. * provide more entropy with eXosip_byte_generate_random (with openssl when available).
  61. * fix TLS security issue reported by Alexander Traud regarding hostname validation when using NAPTR/SRV.
  62. * add support for epoll (detected by configured) // becomes the default on linux platforms with autotools
  63. * fix bug #56839: The cnonce should not be static -this is identified as replay attack by some services-.
  64. * fix tcp and tls connection failure detection (accelerate error detection and recovery)
  65. * fix: fixed a crash with DTLS
  66. eXosip2 (5.1.0) - 2019-03-27
  67. * minor API update:
  68. API parameter change: eXosip_call_build_ack/eXosip_call_send_ack API to use tid instead of did as parameter.
  69. * new API: add an API to insert one extra header in BYE:
  70. int eXosip_call_terminate_with_header(struct eXosip_t *excontext, int cid, int did, const char *header_name, const char *header_value);
  71. void eXosip_dnsutils_release(struct osip_naptr *naptr_record); required after usage of eXosip_dnsutils_naptr.
  72. * new OPTION:
  73. EXOSIP_OPT_SET_SESSIONTIMERS_FORCE option to force session timer to be used when remote side does not support it.
  74. * structure change:
  75. new param in eXosip_tls_credentials_t for pinning: "public_key_pinned". A file with the expected public key of server.
  76. If you use eXosip_tls_ctx_t/eXosip_tls_credentials_t/EXOSIP_OPT_SET_TLS_CERTIFICATES_INFO, you need to recompile.
  77. * fix processing response out of transaction. (avoid incorrect logs and extra work)
  78. * fix https://savannah.nongnu.org/bugs/?54628 where ACK was only retransmitted for initial outgoing INVITE.
  79. fix: retransmit ACK for both initial INVITE and re-INVITE.
  80. fix: retransmit ACK for 2xx from forking (with a BYE) even if call does not exist.
  81. ACK for "old transaction" within the established dialog won't be retransmitted because the parameter only hold the latest ACK.
  82. * fix bug report: https://savannah.nongnu.org/bugs/index.php?54624
  83. another patch to fix more issue related to cseq & PRACK.
  84. The newer code better handle forking use-case with PRACK.
  85. The newer code better handle several 1xx from same user.
  86. * fix bug report: https://savannah.nongnu.org/bugs/index.php?54624 cseq wasn't increasing after a PRACK.
  87. * improve portability code, detection of headers, windows compilation detection, sockaddr_storage was not correctly defined.
  88. * fix udp layer: set ipbuf before using it.
  89. * fix: allow socket descriptor to be 0 (posix requirement).
  90. * fix: compile with any openssl version.
  91. * allow compilation with OPENSSL_NO_DH, OPENSSL_NO_RSA, OPENSSL_NO_ECDH and/or OPENSSL_NO_DEPRECATED.
  92. * remove old windows specific RSA obsolete code.
  93. * add in eXtl_tls.c some explanations on usage of TLS with eXosip2. READ THEM.
  94. * improve reliability for naptr/srv lookup (but still a short time).
  95. * fix/improve _eXosip_mark_registration_expired: it was working correctly only if registration had previously failed.
  96. * fix: attach call/dialog to CANCEL transaction (so EXOSIP_CALL_MESSAGE_ANSWERED will be received instead of EXOSIP_MESSAGE_ANSWERED).
  97. * windows: fix DnsQuery to use UTF8 even if compiled without UNICODE (not applicable if you use c-ares).
  98. * windows: add ENUM capability and improve NAPTR/SRV record (not applicable if you use c-ares).
  99. * windows: you should use c-ares AND you should compile with UNICODE. (much better).
  100. * add ability to define a dnsserver when doing NAPTR and SRV record (c-ares only).
  101. * format of domain string for "eXosip_dnsutils_naptr" is "domain.com!+AUS|IP_DNSSERVER".
  102. * fix for on android, DNS are not available any more (restricted access) (c-ares only).
  103. * add support ENUM and regex for res_query API (not applicable if you use c-ares).
  104. * sync with newer osip: use newer osip_naptr & osip_srv_record structures to hold ENUM sip result and
  105. improvements to retreive (and release) it via eXosip_dnsutils_naptr and eXosip_dnsutils_release APIs.
  106. * TLS improvments: simplify client and server config, add ECDH cipher suite if missing,
  107. password for private key is optional, add support for public key pinning.
  108. * improve to report EXOSIP_CALL_NOANSWER upon transport error for INVITE for faster detection.
  109. * fix possible memory leak for X509 server certificate.
  110. * fix crash if dialog has been already closed between 200ok and a received BYE.
  111. * improve windows pipe replacement (use a free allocated port automatically).
  112. * fix to optimize detection of TCP or TLS establishement, fix to optimize sending REGISTER after establishement.
  113. * patch for call transfer to keep dialog after BYE, in order to be able to handle incoming/outgoing NOTIFY within calls after BYE.
  114. * handle incoming UPDATE from alternative dialogs in early dialog mode.
  115. * fix to reject any NOTIFY without established dialog coming later than 64 seconds after initial SUBSCRIBE.
  116. * After a NAPTR query, some DNS server returns SUCCESS without NAPTR answers. In such use-case, fallback to manual SRV records.
  117. * add SOCK_CLOEXEC option to sockets // add missing SO_KEEPALIVE options on TLS socket.
  118. * EXOSIP_OPT_ENABLE_IPV6 now support 0(ipv4 only), 1(ipv6 only) and 2(ipv4 OR ipv6).
  119. With option 2, choice is made based on DNS and the stack can fallback between IPv4 and IPv6.
  120. * fix possible memory leak when using wrong tid for eXosip_insubscription_send_answer.
  121. * fix possible memory leak upon allocation error.
  122. * fix leak upon syntax error in parameters provided for PUBLISH.
  123. * fix leak upon syntax error in parameters provided for REGISTER.
  124. * increase size of proto_ifs for IPv6 local address.
  125. * RFC 2617 erratum: Errata ID: 1649 (minor issue).
  126. * _exosip_isipv4addr: fix checking IPv4 address (minor issue).
  127. * other minor updates.
  128. eXosip2 (5.0.0)
  129. * major API update: add a new parameter to eXosip_call_build_prack in order to create the PRACK
  130. for this specific response and not for the latest.
  131. * major API update: removal of eX_refer.h API. REFER are now handled with subscriptions APIs.
  132. eXosip_refer_build_request removed
  133. eXosip_refer_send_request removed
  134. * major API update: subscription now handle both SUBSCRIBE and REFER with the same APIs:
  135. eXosip_subscription_build_initial_refer ADDED
  136. eXosip_subscribe_build_initial_request renamed eXosip_subscription_build_initial_subscribe
  137. eXosip_subscribe_send_initial_request renamed eXosip_subscription_send_initial_request
  138. eXosip_subscribe_build_refresh_request renamed eXosip_subscription_build_refresh_request
  139. eXosip_subscribe_send_refresh_request renamed eXosip_subscription_send_refresh_request
  140. eXosip_subscribe_remove renamed eXosip_subscription_remove
  141. EXOSIP_IN_SUBSCRIPTION_* and EXOSIP_SUBSCRIPTION_* events may now relate to REFER subscription.
  142. * major API change: eXosip_automatic_refresh is obsolete and has been removed.
  143. only use eXosip_automatic_action instead
  144. * API update:
  145. eXosip_options_send_request returns a positive transaction id (tid) on success.
  146. eXosip_publish returns a positive transaction id (tid) on success.
  147. note: eXosip_message_send_request was already returing the transaction id (tid) on success.
  148. * new API options:
  149. EXOSIP_OPT_REMOVE_PREROUTESET: to keep Route Set
  150. EXOSIP_OPT_SET_SIP_INSTANCE: define +sip.instance parameter in Contact headers
  151. EXOSIP_OPT_ENABLE_USE_EPHEMERAL_PORT: option to use/not use ephemeral port in Contact.
  152. EXOSIP_OPT_ENABLE_REUSE_TCP_PORT: option to reuse port.
  153. EXOSIP_OPT_AUTO_MASQUERADE_CONTACT: option to enable automatic masquerading for Contact headers.
  154. EXOSIP_OPT_UDP_LEARN_PORT: obsolete and will be removed in the future.
  155. EXOSIP_OPT_SET_DEFAULT_CONTACT_DISPLAYNAME: define a display name to be added in Contact headers
  156. * new API options: (high load traffic use-case: DO NOT USE FOR COMMON USAGE)
  157. EXOSIP_OPT_SET_MAX_MESSAGE_TO_READ: set the number of message to read at once for each network processing.
  158. EXOSIP_OPT_SET_MAX_READ_TIMEOUT: set the period in nano seconds during we read for sip message.
  159. EXOSIP_OPT_GET_STATISTICS: retreive numerous statistics.
  160. * rewrite/update autotools and ./configure options
  161. --enable-pthread=[autodetect|force]
  162. autodetect POSIX threads or force -DHAVE_PTHREAD [default=autodetect]
  163. --enable-semaphore=[autodetect|semaphore|sysv]
  164. select your prefered semaphore [default=autodetect].
  165. * fix selection of Contact header for 3xx (default to a tel/sip/sips one with any transport)
  166. * keep to call context enough time to handle redirection.
  167. * fix race condition for processing SRV results (not likely to happen)
  168. * fix bug when reading sip message longuer than 8000 over UDP and TLS.
  169. * improve eXosip_add_authentication_info to avoid duplicate credentials
  170. * if a SUBSCRIBE is rejected, the context will be released automatically
  171. * add failover after a DNS failure.
  172. * fallback to SRV even if we receive a NOTFOUND reply for NAPTR.
  173. * fix route set with strict router.
  174. * rename usage of -DHAVE_CARES_H into -DHAVE_ARES_H real name of header.
  175. * remove warnings mainly related to socket API (getnameinfo/bind/accept/recv/connect/sendto)
  176. * rewrite all loop using iterator to improve performance (useful for high load traffic)
  177. * rewrite Via and Contact management: both will now contains the IP of the real network interface
  178. instead of the default one.
  179. * improve NAPTR failover, more reliable // add failover for 503 answer
  180. * improve interval to force REGISTER refresh upon network error and failover.
  181. * improve TCP socket management
  182. * add a callback to simplify/optimize/accelerate usage of wakelocks in android application using exosip2.
  183. * improve TLS, add TLSv1.1, TLSv1.2, disable weak cipher (FREAK) and enable ECDHE cipher.
  184. * add support for SNI tls extension (openssl 1.0.2)
  185. * add try/except on windows to catch possible missing qwave (windows server)
  186. * implement a timeout (32 seconds) for establishing a TCP and TLS connection.
  187. * if a connection is failing, report the failure asap.
  188. * fix memory leak in eXosip_call_get_referto
  189. * remove extra connect on socket for TCP and TLS (not allowed for tcp stream)
  190. * fix to correctly discard INVITE retransmission with same branch received after original INVITE was replied
  191. * add WSACleanup for each WSAStartup call (windows)
  192. * do not include contact in BYE and CANCEL
  193. * fix to use sips when appropriate (in Contact)
  194. * fix to avoid handling negative content-length
  195. * do not start naptr for incoming transactions.
  196. * fix bug when rseq is empty but exist
  197. * add support for QOS on windows.
  198. * improve connection handling/failure detection, keep alive options, in TLS, TCP, UDP.
  199. * update static IDs (cid/did/rid/pid) to use range from 0 to INT_MAX to avoid possible collision
  200. * other minor updates.
  201. eXosip2 (4.1.0)
  202. * improve timer and use UPDATE if advertised, INVITE otherwise.
  203. * improve PRACK support.
  204. * option to disable automatic BYE answer.
  205. * option to enable/disable IPv6 per eXosip_t instance.
  206. * option to disable DNS cache.
  207. * improve network support for several eXosip_t instance.
  208. keepalive setting is per instance.
  209. ipv4/ipv6 setting is per instance.
  210. improve network setting to avoid conflict upon transport change.
  211. * fix tcp and tls connect() for slow connection.
  212. * use TCP_NODELAY on more platform.
  213. * use Authorization header for 401 // simplify authentication code.
  214. * minor expires for REGISTER improvments.
  215. * copy call-info over SUBSCRIBE refresh.
  216. * allow more TLS error if verification is disabled.
  217. * fix if NO NAPTR is availble.
  218. * add support for Windows Phone 8.
  219. * fix to use cache for TCP and TLS.
  220. * fix possible leaks on implementation errors.
  221. * add TSC experimental support.
  222. eXosip2 (4.0.0)
  223. * modify configuration APIs to use eXosip_set_option
  224. * fix bug: do not create new PRACK if it already exist for an answer.
  225. * update to latest osip // test time compensation for android.
  226. * use ephemaral port in standard TCP and TLS version.
  227. * return tid number so that we can match the response event.
  228. * use system independant time for osip_gettimeofday on unix platform.
  229. * major API update: several "struct eXosip_t" can be
  230. handled at the same time. This can be used to have several
  231. transport layer running at the same time.
  232. * many tiny other change.
  233. eXosip2 (3.6.0)
  234. * use optionnal c-ares DNS library for non blocking DNS access
  235. as well as improvments over DNS operation such as NAPTR and
  236. SRV records.
  237. * again, so many minor change/fix/improvments, sorry for not
  238. being able to have an history here... The git on savannah
  239. will bring you all details!
  240. eXosip2 (3.5.0)
  241. * iphone with TCP/TLS background support.
  242. * android support.
  243. * a lot of minor change/fix/improvments, sorry for not being
  244. able to have an history here...
  245. eXosip2 (3.4.0)
  246. * modification to allow using "windows certificate store" for TLS.
  247. * handle keep alive for TCP/TLS.
  248. * fix when receiving additionnal CRLF on reliable transport.
  249. * modification to allow non-blocking socket for reliable transport. (TLS/TCP)
  250. * fix tag issue with application where tag is missing.
  251. * fix compilation for mingw
  252. * fix Contact header in request within dialog for non-udp protocol.
  253. * fix some DNS issue with vista?
  254. * remove 481 auto answer for unsolicited NOTIFY.
  255. * fix static id range.
  256. * initial code for TCP fragmentation.
  257. * osip_list prototypes and warnings fix
  258. * fix transport matching for redirection using other transport than udp
  259. eXosip2 (3.3.0)
  260. * Fix when 200ok include a contact with an empty line parameter.
  261. * Fix for replaces header longuer than 256 char.
  262. * Fix SRV record with more than 10 answers.
  263. * Sort SRV record.
  264. * Option to disable NAPTR requests.
  265. eXosip2 (3.2.0)
  266. * Improve TLS support and add an API for ssl information & files.
  267. * return new error code for all API.
  268. * remove automatic answers to PRACK. (must be done in application now)
  269. * remove automatically outgoing non established susbscriptions.
  270. eXosip2 (3.1.0)
  271. * AKA authentication.
  272. * improve compliance & flexibility.
  273. eXosip2 (3.0.4)
  274. * fix building SUBSCRIBE refresh.
  275. * fix compliance issue with refer-to to-tag/from-tag parameters.
  276. * fix bug for retransmissions or ACK with proxy that resolve
  277. to several IP.
  278. * handle the "expires" parameter to update registration interval.
  279. * handle the "expires" parameter to update publication interval.
  280. * handle automatically publish refresh, and some error codes (423).
  281. eXosip2 (3.0.3)
  282. * Add TLS support.
  283. * rewrite transport layer.
  284. * add line= parameter in Contact headers for registrations.
  285. * a few changes related to interop. issues.
  286. * add missing *_REQUESTFAILURE events on no answer.
  287. * Update registration interval when Expires header is in 200ok.
  288. eXosip2 (3.0.2)
  289. * fix call transfer issue with "Replaces" header.
  290. * allow build/run eXosip in non-threaded model (without -DOSIP_MT).
  291. * initial support for ucos.
  292. * add support for qop authentication.
  293. * remove registration context immediatly upon eXosip_register_remove.
  294. * TCP: fix missing Contact in INVITE sent.
  295. * TCP: fix missing "transport" in Contact for answers within dialog.
  296. * TCP: fix possible race conditions.
  297. eXosip2 (3.0.1)
  298. * add Windows CE support with Visual Studio 2005
  299. (WM5.0,PocketPC 2003/2005, Smartphone)
  300. * Update to osip2-3.0.1
  301. * Add SRV record capabilities.
  302. * add new OPTIONS: do not send 101, remove pre-route set from message.
  303. eXosip2 (2.2.3)
  304. * announce NOTIFY answers to application.
  305. * fix authentication bugs from previous patch.
  306. * fix TCP bug
  307. * fix using code 699
  308. eXosip2 (2.2.2)
  309. * new version synchronized with osip2
  310. * total rewrite of eXosip.
  311. * -> new API for more flexibility
  312. * -> media negotiation must now be handled outside of eXosip2
  313. eXosip (0.9.1)
  314. * add publish support through a nice API.
  315. eXosip (0.9.0)
  316. * improve presence support (busy, away, onthephone...).
  317. * new eXosip_automatic_refresh() to refresh SUBSCRIBE and REGISTER.
  318. * Fix dialog establishement when receiving NOTIFYs.
  319. * This ChangeLog has not been updated seriously... Many changes
  320. * have been done but they don't appear here. Sorry.
  321. * status of libexosip:
  322. * call transfer : OK
  323. * redirection of calls (3XX) : OK
  324. * SUB/NOTIFY for presence : nearly OK (usable)
  325. * authenthication (REGISTER and INVITE only) : ok
  326. eXosip (0.8.0)
  327. * fix processing of 180 Ringing?
  328. * fix bug when BYE is processed before a 2xx for INVITE.
  329. eXosip (0.7.7)
  330. * memory leaks.
  331. * tiny bugs, code clean-up.
  332. eXosip (0.7.6)
  333. * fix bug when 1st proxy is using strict routing.
  334. * support for IPv4 and IPv6.
  335. * do not send 180 Ringing any more on new INVITEs.
  336. * close correctly rtp streams in josua.
  337. * improve the eXosip_event_wait method.
  338. * performance updated on win32 for event handling.
  339. eXosip (0.7.5)
  340. * small improvements for josua.
  341. * patch for IPv6 (uncomplete)
  342. * patch for authentication
  343. * improve configure.in file
  344. * allow fancy reason phrase in SIP answer.
  345. * allow to NAT traversal (firewall IP in SDP packet).
  346. eXosip (0.7.3)
  347. * warning fix.
  348. * support for multiple registrations.
  349. * support for authentifications for REGISTER.
  350. eXosip (0.7.2)
  351. * add RTP support with common ucl library.
  352. * fix some memory leak.
  353. * improve facility to change the local_sdp_port.
  354. * add an event when ACK for 2xx is received.
  355. eXosip (0.7.1)
  356. * rewrite of header files and new directory architecture.
  357. * support for INFO and OPTIONS within calls.
  358. * support for AUDIO.
  359. eXosip (0.6.3)
  360. * use of event oriented interface in josua.
  361. eXosip (0.6.2)
  362. * New Event oriented interface with applications.
  363. * support for both MSN or compliant UAs.
  364. * SUBSCRIBE/NOTIFY for SIMPLE support.
  365. * script for adding/updating subscribers. (eXosip_addsubscriber.sh)
  366. eXosip (0.6.1)
  367. * INVITE, CANCEL, BYE, REGISTER, MESSAGE, REFER
  368. * script for adding/updating contact. (eXosip_addfreind.sh)
  369. * script for adding/updating identity. (eXosip_addidentity.sh)
  370. * NCURSES interface.
  371. * options for current session.