Commit Graph

64 Commits

Author SHA1 Message Date
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
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
07be7a25a3 Removed cruft from project 2018-07-19 17:19:06 -07:00
Joseph Henry
c107f2c05c Fixed some debug trace format specifiers to reduce compile-time warnings (round two) 2018-02-21 12:02:16 -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
f03f4098c5 Windows cmake build updates 2018-01-31 17:05:23 -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
998cc99ad1 Updated tests/examples 2017-12-14 16:28:49 -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
8d1d77a8a4 zts_* API updates, unfinished lwIP tweaks 2017-11-21 15:53:31 -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
ad99e14301 Build fixes for NO_STACK and ztproxy 2017-10-18 21:56:34 -07:00
Joseph Henry
1020386fa7 Removed protocol version build flags, defaults to IPV4 && IPV6 2017-10-18 17:57:51 -07:00
Joseph Henry
e36b88004f IPV6 interface tweaks 2017-10-16 12:23:10 -07:00
Joseph Henry
83419fb89e Moved JNI wrapper into separate file. Updated shared_jni_lib build target 2017-10-13 13:14:04 -07:00
Joseph Henry
0e0cf22aa3 Temporarily commented out thread-safe version of zts_gethostbyname(), added -fpermissive to Makefile for MinGW Windows build 2017-10-10 14:59:55 -07:00
Joseph Henry
2900f1f995 Windows Support 2017-10-09 17:56:40 -07:00
Joseph Henry
7301c8c405 Added untested DNS client code 2017-10-09 00:07:31 -07:00
Joseph Henry
0319f8a894 SDK_JNI 2017-09-29 17:05:21 -07:00
Joseph Henry
2d70336ee4 A patch for a patch, formatting in selftest.cpp 2017-09-29 16:25:26 -07:00
Joseph Henry
a4b0457c58 lwIP IPv6 build fix 2017-09-29 16:10:24 -07:00
Joseph Henry
c0aac699e7 Stubbed out experimental raw drivers 2017-09-29 15:37:50 -07:00
Joseph Henry
cb8e6b94d8 Fixed libzt lwip_select typo 2017-09-29 13:25:11 -07:00
Joseph Henry
1afb2308b6 Added comment syntax for doxygen, fixed build flag which produced unnecessarily-large binaries, removed trailing whitespace 2017-09-27 13:42:27 -07:00
Joseph Henry
5f1e9fe795 Introduction of sequential-API build variant, better thread safety (lwIP only) 2017-09-27 02:29:04 -07:00
Joseph Henry
e4620e4c85 Consolidated tcp_write() logic in picoTCP driver, updated tcp_closure/tcp_shutdown logic in picoTCP driver, stubbed out more doxygen comments 2017-09-22 14:14:14 -07:00
Joseph Henry
5e320fb950 Fixed lwIP driver thread model violation (tcp_close() was being called by application thread) 2017-09-19 10:52:59 -07:00
Joseph Henry
055a58ac63 Added multithreaded unit tests to selftest, standardization pass: conditional statement spacing 2017-09-18 11:58:41 -07:00
Joseph Henry
60800d14ba Build fix, missing include for RLIMIT_NOFILE 2017-09-15 19:55:27 -07:00
Joseph Henry
11dcc1e959 Stubbed out some of the more obscure socket options for both drivers 2017-09-15 19:45:49 -07:00
Joseph Henry
7c586471f4 standardization pass: conditional statement spacing, removed NULL shorthand making checks more explicit 2017-09-14 13:17:37 -07:00
Joseph Henry
48a07c32a1 standardization pass: trim_right (trailing whitespaces) 2017-09-13 22:41:30 -07:00
Joseph Henry
3bec79314e Added standardization target for code style, fixed LWIP_DEBUG redefinition warning, fixed rare tcp_close() and cb_poll() bugs 2017-09-13 22:34:25 -07:00
Joseph Henry
67b7c7e2e2 Added exception handling for virtual socket add/del functions 2017-09-11 17:01:02 -07:00
Joseph Henry
d1396c9917 Replaced get_pico_socket() with more generic code. Added checksum note in libzt.h 2017-09-11 14:00:44 -07:00
Joseph Henry
1d4f36a811 Added selectable TCP_WRITE_FLAG_COPY mode on a per-socket basis, updated lwIP driver for socket limit checks 2017-09-08 16:13:56 -07:00
Joseph Henry
05fec81757 Added more safety checks to del_virtual_socket(), new zts_shutdown() implementation 2017-09-08 11:43:41 -07:00
Joseph Henry
4fd2db7dd6 tcp_received() fix 2017-09-07 18:09:19 -07:00
Joseph Henry
e18c1ccf80 Further improvements to selftest, lwIP driver updates 2017-09-06 18:02:30 -07:00
Joseph Henry
142c27091c Added new unit tests and time-sync code for subtests, recvfrom() fixes 2017-09-05 16:51:07 -07:00
Joseph Henry
ec323c9842 Added basic DNS functionality, fixed stack smashing bug, organizational improvements 2017-08-30 14:13:13 -07:00
Joseph Henry
a723c70feb tap initialization patch 2017-08-24 14:26:09 -07:00
Joseph Henry
eff90c7d13 picotcp stack driver edge case bug fixes 2017-08-24 11:45:39 -07:00
Joseph Henry
bceadfbe46 Improvements to selftest, closure bug addressed 2017-08-18 07:43:29 -07:00
Joseph Henry
7d551d6198 Renamed SocketTap to VirtualTap and Connection to VirtualSocket to prevent confusion 2017-08-15 18:15:06 -07:00