Commit Graph

111 Commits

Author SHA1 Message Date
Joseph Henry
d715ebd461 Bugfix for hang in VirtualTap after calling getRoutes() and attempting to leave(), bugfix for potential memory leak if packet was rejected from stack 2019-01-27 22:43:42 -08:00
Joseph Henry
2fde6158ed Upgraded lwIP stack to 2.1.2 2019-01-27 22:39:44 -08:00
Joseph Henry
068013d0f7 Switch to MEM_LIBC_MALLOC usage in lwIP. Added event callbacks. Use of finer-grained locks in RX logic. CRCs disabled on inbound packets 2019-01-25 12:42:53 -08:00
Joseph Henry
270fc76b25 Updated lwIP patch to support improved shutdown semantics, updated ZT1 submodule reference 2019-01-14 15:49:00 -08:00
Joseph Henry
4e0c00aaff Improved reliability and performance, better startup and shutdown semantics, HTTP control plane is now disabled by default 2019-01-14 12:01:29 -08:00
Joseph Henry
71ea71e33a Bugfix for issue #31 - Proper handling of ad-hoc and 6plane network addresses 2018-09-20 17:51:44 -07:00
Joseph Henry
a9754777d0 Improvements to packaging scripts for Windows, macOS and Linux 2018-08-24 15:45:05 -07:00
Joseph Henry
3101329fbe Defined SOCKLEN_T_DEFINED in lwipopts.h to stop Android builds from complaining 2018-08-01 17:49:31 -07:00
Joseph Henry
76440565c0 Minor function definition tweaks for C/Swift compatibility 2018-08-01 17:01:54 -07:00
Joseph Henry
964e1f5cc6 Removed old MINGW preprocessor directives 2018-07-31 21:25:46 -07:00
Joseph Henry
e7a37ee391 Removed reference to DEBUG_* macros in examples and libzt proper 2018-07-27 15:52:15 -07:00
Joseph Henry
6e086ed3fa Updated lwip.patch for Linux compatibility, CMakeLists.txt, and fixed other minor compile-time warnings 2018-07-27 09:53:08 -07:00
Joseph Henry
7be4edb36d bugfix for ipv6 netif setup 2018-07-25 14:01:12 -07:00
Joseph Henry
07be7a25a3 Removed cruft from project 2018-07-19 17:19:06 -07:00
Joseph Henry
6916c3f36f Turned off stack debugs 2018-02-21 18:31:14 -08:00
Joseph Henry
9fba2a6d32 Fixed some debug trace format specifiers to reduce compile-time warnings 2018-02-21 11:42:07 -08:00
Joseph Henry
16000d5429 Changed debug configs for testing open file bug on Linux 2018-02-12 16:58:40 -08:00
Joseph Henry
8df91ae1c8 Added zts_set_service_port() 2018-02-07 17:35:27 -08:00
Joseph Henry
b0ac457ff1 Cleanup 2018-02-07 15:10:38 -08:00
Joseph Henry
bdfdbea2dc Added explanation and #defines for new guarded receive buffer 2018-02-07 14:23:07 -08:00
Joseph Henry
7e0da0cfd3 Removed LWIP_SUPPORT_CUSTOM_PBUF define 2018-02-07 12:56:45 -08:00
Joseph Henry
79a0966882 Turned off custom pbufs, core locking, tcpip debugging 2018-02-07 12:27:00 -08:00
Joseph Henry
f6256b71da Added guarded RX frame buffer to lwIP driver to protect against concurrent core access 2018-02-07 11:35:51 -08:00
joseph.henry
2c5634343a tweaks for Windows cmake build 2018-01-30 17:27:40 -08:00
joseph.henry
cc52c3c59c Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/libzt into dev 2018-01-30 10:56:30 -08:00
Joseph Henry
311ed8e533 Updated copyright for 2018 2018-01-08 17:05:48 -08:00
Joseph Henry
402083a5d8 Updated CMake build script for Windows. Moving away from MinGW requirement for build 2017-12-19 16:23:52 -08:00
Joseph Henry
5eda430a87 Makefile changes 2017-12-13 16:11:23 -08:00
Joseph Henry
de0ce73023 Temporarily removed DNS support to prevent TLS h_errno conflict. Updated CMakeLists 2017-12-07 16:45:02 -08:00
Joseph Henry
76af1d4246 Fix for Debian compile error: api_sleep (taking address of temporary array) 2017-12-07 11:09:38 -08:00
Joseph Henry
50c0e802d8 Temporary fixes for warnings 2017-12-04 17:00:52 -08:00
Joseph Henry
9e14d0361c Added check for ZT_TRACE in debug macros 2017-11-29 17:06:06 -08:00
Joseph Henry
3bf7d5f050 Added preprocessor check for TCP_KEEPIDLE 2017-11-29 17:05:26 -08:00
Joseph Henry
8d1d77a8a4 zts_* API updates, unfinished lwIP tweaks 2017-11-21 15:53:31 -08:00
Joseph Henry
d6fcdf5277 Fixed netif initialization bug, fixed typos in documentation 2017-11-16 00:54:26 -08:00
Joseph Henry
95a21117c8 Removed duplicate documentation and function prototypes 2017-11-15 15:51:54 -08:00
Joseph Henry
d3f92d98ed Updated convenience function zts_get_node_id_from_file() 2017-11-15 15:28:55 -08:00
Joseph Henry
4525b2c553 Removed vestigial API function zts_join_soft() 2017-11-13 16:53:46 -08:00
Joseph Henry
4588b5a1df Reworked packet-netif routing code 2017-11-13 15:27:56 -08:00
Joseph Henry
ab6eb57da6 Buid fix for Linux 2017-11-06 23:53:25 -08:00
Joseph Henry
614432907c Windows build fixes 2017-11-06 16:19:55 -08:00
Joseph Henry
e0d4b84dd4 Preparation for C--, removed classes, namespaces, advanced build options are now controlled via include/libztDefs.h 2017-11-06 13:50:20 -08:00
Joseph Henry
d36b6d58bf Attempt (2) to resolve non-TLS h_errno build failure in Jenkins 2017-10-19 11:20:30 -07:00
Joseph Henry
1020386fa7 Removed protocol version build flags, defaults to IPV4 && IPV6 2017-10-18 17:57:51 -07:00
Joseph Henry
45260c4e69 Modification to blocking bahavior of zts_start, is now settable. Improved address family handling in JNI 2017-10-16 16:45:46 -07:00
Joseph Henry
fdd6010456 Minor change to API (renamed get_device_id to get_id). More complete Scala binding 2017-10-16 15:12:37 -07:00
Joseph Henry
e36b88004f IPV6 interface tweaks 2017-10-16 12:23:10 -07:00
Joseph Henry
9473b6f74a Updated zts_start* API naming convention 2017-10-12 12:07:33 -07:00
Joseph Henry
3ed00612ed Fixed accidentally deleted newline in debug macros 2017-10-11 16:19:23 -07:00
Joseph Henry
33f9d2b86e Added target for MSVC DLLs for use in Visual Studio 2017-10-11 15:22:31 -07:00