Commit Graph

56 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
f6a3155f08 Fixed bug that caused packets to be fed into multipl netifs when joined to two or more networks 2019-01-26 23:34:04 -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
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
24e74a8fc8 Fixed bad RX frame buffer math. Fixed RX frame dropping block. Pbufs are now properly preserved for application reading - Ticket #31 2018-10-11 15:54:24 -07: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
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
16f06f97c6 Added platform check for sleep on _WIN32 2018-02-07 18:03:04 -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
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
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
de0ce73023 Temporarily removed DNS support to prevent TLS h_errno conflict. Updated CMakeLists 2017-12-07 16:45:02 -08:00
Joseph Henry
539fe25d1e temporarily commented out unused variable 2017-11-29 17:04:55 -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
e9ea60b189 Renamed identifiers in lwIP driver 2017-11-13 15:42:07 -08:00
Joseph Henry
4588b5a1df Reworked packet-netif routing code 2017-11-13 15:27:56 -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
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
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
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
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
5ec6f1846b Fixed uninitialized memory warning before write() 2017-09-17 23:26:38 -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
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
5512ede4fd Added application polling logic to lwip_cb_poll() 2017-09-11 17:01:59 -07:00
Joseph Henry
26f906046b Commented out RAW PCB check in lwIP 2017-09-08 17:12:07 -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
9c901350b3 lwip fix 2017-08-24 12:46:13 -07:00
Joseph Henry
8472a45ce3 Renamed lwIP low-level rx/tx functions 2017-08-17 14:37:01 -07:00
Joseph Henry
7d551d6198 Renamed SocketTap to VirtualTap and Connection to VirtualSocket to prevent confusion 2017-08-15 18:15:06 -07:00