Commit Graph

223 Commits

Author SHA1 Message Date
Joseph Henry
1dec034f77 Added application-specific test arguments to test script 2015-12-06 17:55:48 -08:00
Adam Ierymenko
0df33485ca Merge remote-tracking branch 'origin/netcon' into edge 2015-12-04 15:41:56 -08:00
Joseph Henry
7ea53dd21b (WIP) Additional test script changes 2015-12-04 15:39:35 -08:00
Adam Ierymenko
4e12899a8e docs 2015-12-04 14:17:33 -08:00
Adam Ierymenko
cebced259e docs 2015-12-04 13:48:53 -08:00
Adam Ierymenko
425d311ce8 Merge of netcon with edge and unification of make processes. 2015-12-04 13:19:31 -08:00
Adam Ierymenko
cbf8d9c45b . 2015-12-04 12:43:48 -08:00
Adam Ierymenko
905253b4f5 First draft (unfinished) of new README for netcon (original in README.orig.md). 2015-12-04 12:43:21 -08:00
Joseph Henry
d9b12be697 ZT_NC_NWID patch + (WIP) test script modifications 2015-12-04 12:39:54 -08:00
Joseph Henry
2196d982c3 (fixed) nwid detection in test script 2015-12-03 18:50:20 -08:00
Joseph Henry
5c5943a00c (fixed) test script liblwip.so placement, also streamlined test logic 2015-12-03 07:11:33 -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
95106e2e30 Mare make-self-contained code cleanup. 2015-11-23 13:18:46 -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
d8d4cfbf01 Eliminate a few warnings and some small code reorg. 2015-11-23 12:43:42 -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
Adam Ierymenko
1e4a40e772 Reformat table. 2015-11-23 10:11:46 -08:00
Joseph Henry
6e5feaba3a Updated test files 2015-11-23 07:08:07 -08:00
Joseph Henry
71b38a48ac Replaced README 2015-11-23 06:22:09 -08:00
Joseph Henry
6a3f230555 Unit test info added to README 2015-11-23 06:20:01 -08:00
Joseph Henry
a952ff2c61 Removed odd file 2015-11-23 06:11:19 -08:00
Joseph Henry
05e51f40b4 README formatting update. Removed odd files 2015-11-23 06:07:48 -08:00
Joseph Henry
b83aefcf8f Updated README, fixed node.js test bug 2015-11-23 05:59:05 -08:00
Joseph Henry
8b9b593256 Removed old READMEs and OS files 2015-11-23 05:21:20 -08:00
Joseph Henry
275a76ff5c Test update 2015-11-23 05:15:19 -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
31bc5e1559 WIP: Unit tests 2015-11-19 16:21:59 -08:00
Joseph Henry
a660ec490e Started work on automated unit test scripts 2015-11-17 02:28:23 -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
a6cffefa6d Updated compatibility 2015-11-12 17:15:44 -08:00
Joseph Henry
a818c622d9 Updated throughput_httpd docker test files 2015-11-12 16:57:45 -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
fa7220ec0e Removed old Common.h 2015-11-12 14:35:58 -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
82a60b1e28 Fixed throughput build script 2015-11-09 20:16:27 -08:00
Joseph Henry
19f09e46fa Moved/Renamed Docker test dirs 2015-11-09 19:37:19 -08:00
root
134ad8ac21 Changed httpd version in throughput-test Dockerfile 2015-11-09 19:13:53 -08:00
Joseph Henry
3e84e8b8c3 Performance tweaks to lwipopts.h (TX=12MB/s) 2015-11-04 14:45:26 -08:00
Joseph Henry
4b07987210 Added throughput-test Docker files 2015-11-03 18:10:39 -08:00
Joseph Henry
df391c8413 Added debug statements for transfer test 2015-11-03 10:30:18 -08:00
Joseph Henry
ccbdb1a3a1 RPC command index fix 2015-11-02 16:09:28 -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
24ffb22fa6 Changed default debug level 2015-11-02 13:26:59 -08:00
Joseph Henry
da462bbd55 Removed curses dependency 2015-11-02 13:21:40 -08:00
Joseph Henry
bb912cff30 More appropriate phyOnUnixClose handling 2015-11-02 12:50:32 -08:00
Joseph Henry
6338a4933b Fixed another closure bug. Updated debug levels 2015-11-02 12:30:18 -08:00
Joseph Henry
4dbb84cea1 Fixed connection closure bug (ERR_ABRT from nc_recved) 2015-11-02 10:59:46 -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
Joseph Henry
f6e0bdb2f2 Fixed PCB state issue when closing connection 2015-10-28 16:18:08 -07:00
Joseph Henry
c8f27da294 Added support for MongoDB (server side) 2015-10-28 14:37:46 -07:00
Joseph Henry
21889305e0 Updated README.md 2015-10-27 17:41:51 -07:00
Joseph Henry
18db95d0e9 Updated README.md 2015-10-27 17:38:56 -07:00
Joseph Henry
721d58b464 Added support for Redis 2015-10-27 17:12:32 -07:00
Joseph Henry
8cfee8a38c Changed to more appropriate APP_POLL_FREQ 2015-10-23 14:31:06 -07:00
Joseph Henry
80a73cb14b Minor cleanup 2015-10-23 14:23:04 -07:00
Joseph Henry
b48ed824e6 Improved RPC connection closure logic 2015-10-23 13:37:41 -07:00
Joseph Henry
236e474553 Unload lwipstack->_libref upon exit 2015-10-22 16:26:29 -07:00
Joseph Henry
2f4628520b Improved RPC connection cleanup logic 2015-10-22 13:20:50 -07:00
Joseph Henry
b203d25656 PhySocket NULL check added to handle_write. Fixed after-close handle_write segfault 2015-10-22 12:40:01 -07:00
Joseph Henry
8e7e409fce Updated netcon README 2015-10-21 16:56:39 -07:00
Joseph Henry
1458dc8347 set O_NONBLOCK default in accept() 2015-10-21 16:32:27 -07:00
Joseph Henry
303579cb42 Added Node.js support 2015-10-21 16:27:17 -07:00
Joseph Henry
8b03965912 Added status debugs 2015-10-16 19:30:01 -04:00
Joseph Henry
0405ba1ccf Misc changes 2015-10-16 18:02:07 -04:00
Joseph Henry
b96c08f35c Fixed nginx listen() bug 2015-10-16 14:43:38 -04:00
Joseph Henry
3e8e025704 Minor cleanup items 2015-10-14 19:55:21 -04:00
Joseph Henry
499d1628c7 Improved error coverage 2015-10-14 17:59:11 -04:00
Joseph Henry
e722eab892 Disabled TCP listen backlog, must be enabled in lwipopts.h 2015-10-14 17:03:32 -04:00
Joseph Henry
9ca699c86d Added support for listen backlogs 2015-10-14 16:04:26 -04:00
Joseph Henry
d45db0f5af Fixed premature connection close bug 2015-10-14 15:46:22 -04:00
Joseph Henry
0b5a2a7594 Removed character from NEtconEthernetTap.cpp 2015-10-14 13:49:13 -04:00
Joseph Henry
831a513b2d Normalized cases 2015-10-14 13:47:35 -04:00
Joseph Henry
a35b6589d2 Removed lowercase intercept.h conflicting file 2015-10-14 13:43:12 -04:00
Joseph Henry
3c8e74023f Inconsequential. Updated commends, added debug statements 2015-10-13 20:20:45 -04:00
Joseph Henry
71c6ec71e5 connect() now checks socket family 2015-10-13 19:27:19 -04:00
Joseph Henry
1fd04557c7 Refactored connect(), added checks to socket(), updated checklists 2015-10-13 19:12:12 -04:00
Joseph Henry
aa6ff039c4 Improved bind() logic, added more error handling to accept() 2015-10-13 18:33:56 -04:00
Joseph Henry
8a05efa365 EBADF, EOPNOTSUPP, EMFILE error repoarting for accept() 2015-10-13 17:57:17 -04:00
Joseph Henry
da536cc311 Improved error reporting 2015-10-13 17:37:54 -04:00
Joseph Henry
0912d4be59 Fixed socket protocol check logic in socket() 2015-10-13 17:05:11 -04:00
Joseph Henry
73145de618 Added some parameter checks from linux kernel syscall source 2015-10-13 14:27:30 -04:00
Joseph Henry
82052459a2 Odds and ends 2015-10-12 21:50:41 -04:00
Joseph Henry
4e1e857949 Minor bug fixes 2015-10-12 21:26:32 -04:00
Joseph Henry
8d1b01cb5b Bug fix: Connection fd lookup in service 2015-10-12 20:46:59 -04:00
Joseph Henry
5dffa43201 Additional retval+errno handling 2015-10-12 19:29:27 -04:00
Joseph Henry
6b1a38f14c Better retval+errno handling 2015-10-12 16:38:08 -04:00
Joseph Henry
fe8e7ded8c retval+errno return test 2015-10-09 20:27:38 -04:00
Joseph Henry
07536216c2 Removed netcon/.depend 2015-10-09 17:36:27 -04:00