Commit Graph

31 Commits

Author SHA1 Message Date
Joseph Henry
f5eee8d25a Merge pull request #237 from zerotier/brenton/fix-switch
Fix: warning: enumeration value 'TCP_HTTP_OUTGOING' not handled in sw…
2023-08-02 09:20:55 -07:00
Brenton Bostick
aede837fea Fix: warning: enumeration value 'TCP_HTTP_OUTGOING' not handled in switch [-Wswitch] 2023-08-02 12:11:47 -04:00
Brenton Bostick
6fe2d49ef1 Fix: field '_lastRestart' will be initialized after field '_tcpFallbackTunnel' [-Wreorder-ctor] 2023-08-02 12:08:07 -04:00
Brenton Bostick
b85a6a4597 Fix typos and bump ZTO submodule commit to include Fix typos (https://github.com/zerotier/ZeroTierOne/pull/2075) 2023-08-02 11:29:22 -04:00
Joseph Henry
2d83bc25f3 Fix tcp relay api logic error 2023-07-26 12:42:43 -07:00
Joseph Henry
5874e442eb Port over TCP relay functionality from ZeroTier One 2023-07-24 18:56:40 -07:00
Brenton Bostick
6ce18af3e6 fix unused warnings
libzt/src/bindings/java/JavaSockets.cxx:40:10: warning: unused variable 'rs' [-Wunused-variable]
libzt/src/Events.cpp:185:14: warning: unused variable 'rs' [-Wunused-variable]
libzt/src/Events.cpp:189:18: warning: unused variable 'arg' [-Wunused-variable]
libzt/src/NodeService.cpp:1064:17: warning: variable 'err' set but not used [-Wunused-but-set-variable]
2023-07-19 15:19:40 -04:00
Joseph Henry
9f363342d9 Fix typo in return type 2023-07-18 13:06:19 -07:00
Joseph Henry
27805f8ff2 Add low-bandwidth mode 2023-07-18 13:04:40 -07:00
Joseph Henry
f32c56a982 Merge branch 'lowercase-windows-headers' of https://github.com/StephenCWills/libzt into StephenCWills-lowercase-windows-headers 2022-01-11 09:51:25 -08:00
staphen
e80bc35a26 Use lowercase when including Windows headers 2021-12-29 16:23:32 -05:00
Joseph Henry
13740f9767 Randomize ports if node goes offline 2021-12-07 11:46:07 -08:00
Joseph Henry
960bf5990d Backport port selection logic from 1.6.X 2021-06-01 11:36:19 -07:00
Joseph Henry
5d404034c3 Add better port binding controls 2021-05-13 14:17:08 -07:00
Joseph Henry
1ea88d045f Slight re-org of event system and fix bug in zts_util_ipstr_to_saddr 2021-05-11 14:31:01 -07:00
Joseph Henry
6763ced6f5 Reduce number of compile-time warnings 2021-04-30 15:36:46 -07:00
Joseph Henry
904e50e8e9 Fix bug in network transport readiness check function 2021-04-29 19:41:13 -07:00
Joseph Henry
016b0ffc0e Adjust nomenclature. Add more C API extension functions 2021-04-29 14:03:15 -07:00
Joseph Henry
a247552df1 Format according to new ZeroTier standard 2021-04-26 22:07:55 -07:00
Joseph Henry
c456a87f97 Add zts_core_query_ and world sub-APIs. Adjust event subsystem 2021-04-26 21:55:01 -07:00
Joseph Henry
43350691b5 Expand C API and simplify NodeService 2021-04-22 11:20:04 -07:00
Joseph Henry
a5121b1e3c Applied styling rules from .clang-format 2021-04-17 23:46:21 -07:00
GermanAizek
ac1a1b1d2b Fixed memleak, optimize and refactor code 2021-03-26 01:15:52 +03:00
Joseph Henry
7a82ef4a03 Improvements to language binding facilities. Add custom signal handler 2021-02-24 01:25:15 -08:00
Joseph Henry
b8cfadde0e Fix various minor compile-time warnings 2021-02-02 11:36:51 -08:00
Joseph Henry
3544eab41d Add prototype key management API 2021-01-30 13:53:49 -08:00
Joseph Henry
026d91dedf Remove block that generates authtoken (vestigial leftover from OneService) 2021-01-29 11:09:47 -08:00
Joseph Henry
706f493f2d Fix bug that resulted in peer caching data being written to disk even with not allowed 2021-01-15 14:22:39 -08:00
Joseph Henry
b021e82078 Fix zts_allow_*_caching() bug that prevents user from properly setting value before node startup 2020-10-21 14:26:29 -07:00
Joseph Henry
37c01e18cf Change event code numbering scheme, fix Windows startup bug, fix zts_free(), remove vestigial API functions, update documentation 2020-05-30 18:29:04 -07:00
Joseph Henry
a0b50530d3 Add portability and consistency fixes for C API, remove cruft, slight internal restructuring 2020-05-01 19:15:38 -07:00