Commit Graph

223 Commits

Author SHA1 Message Date
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
Joseph Henry
3bcb6bf321 Minor cleanup 2015-10-09 17:31:22 -04:00
Joseph Henry
7f56678d84 Added liblwip.so and libintercept build files 2015-10-09 17:06:09 -04:00
Joseph Henry
e3ec000e93 Added intercept build file and sources 2015-10-09 15:41:16 -04:00
Joseph Henry
769bad3320 Test: Added handle_write call to nc_poll 2015-10-09 15:05:45 -04:00
Joseph Henry
6600b005b6 No Whack! 2015-10-08 21:24:51 -04:00
Joseph Henry
b5b57aca02 Whack! 2015-10-08 21:04:47 -04:00
Joseph Henry
d868a234da Refactored write logic 2015-10-08 19:38:29 -04:00
Joseph Henry
41dfbe544f Removed exit(0) for debugging 2015-10-08 18:10:10 -04:00
Joseph Henry
bbfc9359e9 Minor timer changes (~21 Mb/s local) 2015-10-08 17:55:58 -04:00
Joseph Henry
1bc33ae8d7 Minor debug output changes 2015-10-06 21:22:08 -04:00
Joseph Henry
36db5865e7 Refactored tcp_write code - Reduced CPU usage to respectable levels 2015-10-06 20:32:48 -04:00
Joseph Henry
77b385fb12 Re-added Apache to Dockerfile 2015-09-28 17:30:18 -04:00
Joseph Henry
299ec12b39 Added docker-test folder 2015-09-27 21:16:02 -04:00
Joseph Henry
b21c5d8e51 Added dockerfile 2015-09-27 20:51:32 -04:00
Joseph Henry
3bc9530db7 Object-Model refactor: Removed notion of Client 2015-09-27 06:08:39 -04:00
Joseph Henry
fe78eb77d4 Fixed another closure bug 2015-09-24 19:22:56 -04:00
Joseph Henry
8a8264bc39 Fixed their_fd closure bug 2015-09-24 17:33:25 -04:00
Joseph Henry
1119f64a77 Fixed connection closure issue 2015-09-24 17:10:30 -04:00
Joseph Henry
c25ceaf06b Fixed recursive lock problem in closeConnection 2015-09-24 16:15:14 -04:00
Adam Ierymenko
b263926ea6 thread fixes. 2015-09-24 13:02:10 -07:00
Adam Ierymenko
84747b1a14 thread fixes... 2015-09-24 13:01:19 -07:00
Joseph Henry
9396b8d53c Minor debug changes 2015-09-24 15:56:48 -04:00
Joseph Henry
37497ec2a8 Minor changes 2015-09-24 15:31:11 -04:00
Joseph Henry
851e4c667f Minor changes 2015-09-24 15:30:07 -04:00
Adam Ierymenko
9feeafd757 Make LWIPStack thread safe. 2015-09-24 12:29:10 -07:00
Joseph Henry
0027a1e152 Merge branch 'netcon' of http://10.6.6.2/zerotier/zerotierone into netcon 2015-09-24 14:33:49 -04:00
Joseph Henry
65af5af138 Added debug statements 2015-09-24 14:33:15 -04:00
Adam Ierymenko
557d2b3b0d Make LWIPStack clean up properly. 2015-09-24 11:11:16 -07:00
Joseph Henry
557c0c29b0 minor changes 2015-09-23 19:45:44 -04:00
Joseph Henry
c85dd262ed moved lib files to ext 2015-09-23 18:03:21 -04:00
Joseph Henry
02d5a31822 added lwip unix port lib files 2015-09-23 17:55:15 -04:00
Joseph Henry
bbdb8eb0de more commenting and cleaning 2015-09-23 15:23:26 -04:00
Joseph Henry
b6a6346405 commenting and cleanup 2015-09-23 14:23:36 -04:00
Joseph Henry
07cef1bdb8 misc cleanup 2015-09-22 19:53:36 -04:00
Joseph Henry
3cb8070980 it's alive! -- hooked up new fd-handling code 2015-09-22 18:44:54 -04:00
Joseph Henry
3ed5edb295 fixed fd-transfer logic bug, needs new write-queue logic 2015-09-22 17:43:20 -04:00
Joseph Henry
c3dbae8d5e more debugs 2015-09-22 13:35:37 -04:00
Joseph Henry
b2494b53e6 adjusted output size for packets 2015-09-22 13:27:27 -04:00
Joseph Henry
f091a074d4 output lengths 2015-09-22 13:25:24 -04:00
Joseph Henry
f80d65286c more debug statements 2015-09-22 13:21:33 -04:00
Adam Ierymenko
0271e3d3ac . 2015-09-22 10:00:00 -07:00
Joseph Henry
00cb8dbda8 timer change 2015-09-22 12:48:53 -04:00
Joseph Henry
025069de7e timer change 2015-09-21 20:51:35 -04:00
Joseph Henry
86673bd6d6 fixed minor bugs and added debug outputs 2015-09-21 19:39:26 -04:00
Joseph Henry
cb6864f04a updated nc_accept and lwip.so 2015-09-15 20:32:00 -04:00
Joseph Henry
701e1654a1 moved IP/netif allocation code 2015-09-15 19:06:16 -04:00
Joseph Henry
732de5bf7f some cleanup 2015-09-15 18:47:40 -04:00
Joseph Henry
11731af45a it's alive! 2015-09-15 18:27:52 -04:00
Joseph Henry
735ae9b369 debug changes 2015-09-15 15:41:57 -04:00
Joseph Henry
8ea83c9548 netif code hooked up 2015-09-15 14:15:59 -04:00
Joseph Henry
8189b2ba91 retval fix 2015-09-11 19:29:35 -04:00
Joseph Henry
e73868bc5a various segfault fixes 2015-09-11 19:02:44 -04:00
Joseph Henry
6f0bc1f676 added debugs, fixed linux makefile 2015-09-11 18:22:41 -04:00
Joseph Henry
bc666d0ab7 added pbuf alloc block 2015-09-11 15:26:39 -04:00
Adam Ierymenko
a8d7a31327 Integrate arp into NetconEthernetTap. 2015-09-11 12:12:45 -07:00
Joseph Henry
c2226cf0df added TRACEs 2015-09-11 14:47:16 -04:00
Joseph Henry
776f93e7be closeConnection / closeClient changes 2015-09-11 14:12:27 -04:00
Joseph Henry
5a5a513b18 small method changes 2015-09-11 14:00:42 -04:00
Joseph Henry
cc4a2bb0c3 filled out hendlers 2015-09-10 20:34:48 -04:00
Joseph Henry
e4dc46741f compiles, technically 2015-09-10 20:22:35 -04:00
Joseph Henry
20beafedc5 refactor almost complete 2015-09-10 20:02:13 -04:00
Joseph Henry
b11d429bc0 refactor in progress 2015-09-10 18:48:45 -04:00
Joseph Henry
e391bc004b refactor in progress 2015-09-10 18:19:43 -04:00
Joseph Henry
c1f1530d54 refactor in progress 2015-09-10 17:44:01 -04:00
Joseph Henry
f4d3c995bc refactor in progress 2015-09-10 16:52:18 -04:00
Joseph Henry
3802d37d29 started refactor 2015-09-10 15:46:37 -04:00
Joseph Henry
750352836f initial commit 2015-09-10 13:56:01 -04:00
Adam Ierymenko
10707c3673 build fix 2015-09-03 16:44:04 -07:00
Adam Ierymenko
b9d4b42f93 A few more fixes, ready to integrate main payload. 2015-09-03 16:05:18 -07:00
Adam Ierymenko
bf4cab5f2f Netcon build fixes. 2015-09-02 16:31:13 -07:00
Adam Ierymenko
1f4c667646 Netcon mode for Linux (in this branch, will make conditional later) 2015-09-02 16:15:22 -07:00
Adam Ierymenko
dfb08ec753 More netcon stuff, and Phy build fix. 2015-09-02 15:51:28 -07:00
Adam Ierymenko
4626175d11 Stub of NetconEthernetTap 2015-09-02 15:17:38 -07:00