Commit Graph

65 Commits

Author SHA1 Message Date
Joseph Henry
e2ae9165c6 RPC update 2016-01-12 09:46:49 -08:00
Adam Ierymenko
c6571073fe Get rid of constructor/destructor in libzerotierintercept, and simplify a few things. 2016-01-11 15:27:22 -08:00
Joseph Henry
3e65ecb93d Stateless RPC rework 2016-01-11 10:12:59 -08:00
Joseph Henry
6f62d6bb34 Removed straggler debug prints 2015-12-21 07:36:44 -08:00
Joseph Henry
4267cc138e Readme changes, turned off debug 2015-12-21 07:17:37 -08:00
Joseph Henry
de2ba8d0f7 Fixed typo 2015-12-21 05:36:27 -08:00
Joseph Henry
c488fa8461 Tightening of RPC code 2015-12-21 05:03:26 -08:00
Adam Ierymenko
6de67e828d Fix accept4() semantics. 2015-12-18 14:26:31 -08:00
Joseph Henry
fde8af9483 getsockopt() tweak 2015-12-18 11:37:11 -08:00
Joseph Henry
9063209124 getsockname() fix 2015-12-18 10:31:11 -08:00
Joseph Henry
e3eea6fcbd RPC Reliability improvements and partial getsockname() fix 2015-12-16 18:05:47 -08:00
Adam Ierymenko
3137f43da9 Fix for getsockname() crash and other address size issues. 2015-12-16 10:30:02 -08:00
Adam Ierymenko
6bc93d2050 Docs, and change ZT_NC_NWID to ZT_NC_NETWORK and use full path in local ZT home dir to enable multiple instances. 2015-12-15 15:35:21 -08:00
Joseph Henry
9dc59eff76 Cleaned up, tests updated, readme updated 2015-12-15 14:50:54 -08:00
Joseph Henry
a421e31dd5 send_cmd() retrun value bugfix + minor debug changes 2015-12-14 14:45:25 -08:00
Joseph Henry
f558b088e6 Library functions are now static, RPC return value tuning, and cleanup 2015-12-14 09:06:58 -08:00
Joseph Henry
99afc74021 FDs transferred over listen socket + other fixes 2015-12-12 01:28:59 -08:00
Joseph Henry
761bb4fdd0 Stability fix 2015-12-11 12:19:54 -08:00
Joseph Henry
663a336b83 RPC cleanup + Temporary timing fix 2015-12-10 09:24:56 -08:00
Joseph Henry
42da36ba81 Fixed addrlen assignment in getsockname() 2015-12-09 12:22:08 -08:00
Joseph Henry
a730c86907 getsockname() implemented 2015-12-09 12:20:38 -08:00
Adam Ierymenko
49d76c6311 Stub out getsockname() 2015-12-08 18:07:46 -08:00
Joseph Henry
b1eb16d5fb Updated README, tests, and Intercept 2015-12-08 07:47:20 -08:00
Joseph Henry
f2db82940b Nginx patch. Verified to work in fc23 and ub14 2015-12-08 05:09:12 -08:00
Joseph Henry
284b37ccc0 Updated compatibility section 2015-12-07 08:35:26 -08:00
Joseph Henry
21b158cc48 Added unit test info to README.md 2015-12-07 06:21:40 -08:00
Joseph Henry
7ea53dd21b (WIP) Additional test script changes 2015-12-04 15:39:35 -08:00
Joseph Henry
d9b12be697 ZT_NC_NWID patch + (WIP) test script modifications 2015-12-04 12:39:54 -08:00
Adam Ierymenko
ef4472e185 Intercept now checks ZT_NC_NWID environment variable for 16-digit network ID and does not initialize if not present. 2015-11-23 13:59:38 -08:00
Adam Ierymenko
4acb3d81f3 Rename Common to common.inc.c to indicate that this is an included C file not a primary build C file. 2015-11-23 13:25:46 -08:00
Adam Ierymenko
bee44ae731 Merge Sendfd into Common.c 2015-11-23 13:24:28 -08:00
Adam Ierymenko
2a6ea38718 More code cleanup, just moving some stuff into NetconEthernetTap that is not used elsewhere. 2015-11-23 13:02:50 -08:00
Adam Ierymenko
7a84805824 Uncommit binary... :P 2015-11-23 12:34:23 -08:00
Adam Ierymenko
1d4563ac31 A few very tiny bits of dead code removal, etc. 2015-11-23 12:32:20 -08:00
Joseph Henry
b83aefcf8f Updated README, fixed node.js test bug 2015-11-23 05:59:05 -08:00
Joseph Henry
3d163f7044 Patch for Node.js -- accept() bug 2015-11-23 01:14:17 -08:00
Joseph Henry
d472c59b8d Additional test files 2015-11-20 02:41:27 -08:00
Joseph Henry
126fc46dc4 Updated makefile, removed old results directory 2015-11-20 01:22:15 -08:00
Joseph Henry
1f27022fa7 Test/Code Refactor in preparation for merge 2015-11-20 01:08:38 -08:00
Joseph Henry
f5c2600ca4 Added symbol checks in intercept. This seems wise after all 2015-11-16 23:57:19 -08:00
Joseph Henry
b0f6dc43b4 Revised fd RX logic 2015-11-16 19:53:59 -08:00
Joseph Henry
f2289544b7 Check for fork/clone and re-initialize in close() -- for nginx 2015-11-16 17:44:11 -08:00
Joseph Henry
7d8084262a Fixed rpc_st command alignment bug for RPC_SOCKET 2015-11-12 16:48:08 -08:00
Joseph Henry
6af54c5943 Minor debug updates 2015-11-12 14:49:20 -08:00
Joseph Henry
d1a22a0878 Streamlined debug output code 2015-11-12 14:32:27 -08:00
Joseph Henry
e5fad005a9 Updated RPC handling 2015-11-12 08:21:05 -08:00
Joseph Henry
8d7b2cd486 Removed serv. conn. checks. 2015-11-02 15:52:12 -08:00
Joseph Henry
fd33e0812c Added checks for bad service connection. 2015-11-02 15:31:57 -08:00
Joseph Henry
db473beb48 Fixed accept return value / errno bug, also fdret_sock return bug 2015-10-30 17:00:30 -07:00
Joseph Henry
96eb0ce492 Added state dump, fixed numerous RPC related bugs 2015-10-29 17:57:59 -07:00