Commit Graph

61 Commits

Author SHA1 Message Date
Tony Garnock-Jones a86eb10494 Name process behaviour procedures. 2016-01-27 21:46:09 -05:00
Tony Garnock-Jones 0db231575c Properly assert tcp-port-allocation for a listener. 2016-01-24 00:07:33 -05:00
Tony Garnock-Jones 0206dec737 TCP. Connection & transfer works; disconnection, not. 2016-01-23 22:57:07 -05:00
Tony Garnock-Jones aabeb5adcd UDP. 2016-01-23 21:59:33 -05:00
Tony Garnock-Jones 6a449648e3 Use host-route netmask in gateway outbound relay.
I'm not sure why previously it had been hardcoded to a 32-bit netmask;
presumably this was an error on my part way back in the original routing
implementation in minimart-netstack. It looks as if the code was
originally written for a kind of host route that didn't have a netmask,
and was never updated to include the netmask later.
2016-01-23 21:50:39 -05:00
Tony Garnock-Jones 54067dbeac Fix gateway ARP lookup 2016-01-23 20:17:03 -05:00
Tony Garnock-Jones 279e273909 Makefile 2016-01-23 20:14:38 -05:00
Tony Garnock-Jones ca5bf47adf Initial work towards migration from minimart to prospect-monolithic 2016-01-23 20:14:31 -05:00
Tony Garnock-Jones 543073fd2e README 2015-10-17 21:11:55 -04:00
Tony Garnock-Jones e6530e2e4a Entrypoint for simply idling the stack 2015-10-17 20:33:51 -04:00
Tony Garnock-Jones 0072607f65 Factor out demo stack configuration 2015-10-17 20:33:10 -04:00
Tony Garnock-Jones 63039b63f0 A bug 2015-07-09 14:04:40 -04:00
Tony Garnock-Jones 4c6dd497c1 TODO 2015-07-09 10:45:20 -04:00
Tony Garnock-Jones 32d8922b28 walk is like hop 2014-06-30 08:20:17 -04:00
Tony Garnock-Jones 974c8a5807 Avoid gratuitous timeout 2014-06-30 08:20:09 -04:00
Tony Garnock-Jones 0a5abb8fff Handle incoming RST 2014-06-21 12:23:23 -04:00
Tony Garnock-Jones 4451795146 Hit counter. 2014-06-21 12:18:21 -04:00
Tony Garnock-Jones b98e0bedb8 Better page :-) 2014-06-21 12:08:40 -04:00
Tony Garnock-Jones 50fc02f899 "Web server" 2014-06-21 12:01:50 -04:00
Tony Garnock-Jones 7456e2efec Time out TCP relay process if peers don't show up 2014-06-21 11:55:05 -04:00
Tony Garnock-Jones c4b14b3331 Better printing and exiting 2014-06-21 11:54:42 -04:00
Tony Garnock-Jones cee6f9158b Adjust debug logging. 2014-06-21 11:08:56 -04:00
Tony Garnock-Jones 2be8b26ff0 Test driver for outbound connections 2014-06-21 06:52:56 -04:00
Tony Garnock-Jones 887c6d9990 Logging for debugging 2014-06-21 06:52:33 -04:00
Tony Garnock-Jones 0bf2033d44 Closer to working outbound connections 2014-06-21 06:52:26 -04:00
Tony Garnock-Jones 89acb53a43 Bump retransmit interval crudely to 2s 2014-06-21 06:51:41 -04:00
Tony Garnock-Jones e913237f26 Make TCP relay pay attention to presence for both legs 2014-06-21 06:51:23 -04:00
Tony Garnock-Jones 9f9431cb29 Closer to correct patterns etc for outbound connections 2014-06-21 06:51:06 -04:00
Tony Garnock-Jones 034a96bcc9 skip config 2014-06-21 06:48:12 -04:00
Tony Garnock-Jones b497004f0b Correct ack sequence number on RST responding to SYN (i.e. closed port) 2014-06-20 00:15:31 -04:00
Tony Garnock-Jones 6a3bafe082 RST when we're not listening on a port 2014-06-20 00:08:43 -04:00
Tony Garnock-Jones 82c5ea71ed Tidy up debug output 2014-06-19 23:20:31 -04:00
Tony Garnock-Jones ea9660d83d Be more explicit about gateway routes having specific interfaces, to avoid ARP reqs on the wrong interface. 2014-06-19 23:10:50 -04:00
Tony Garnock-Jones 93b1b0fcf3 Convenient default routing tables per host 2014-06-19 22:36:14 -04:00
Tony Garnock-Jones 33a60e4a02 We have to be more careful about observing at level 3 while projecting at level 1 2014-06-19 22:35:56 -04:00
Tony Garnock-Jones 191a71ec80 Better protocol separation between user and kernel layers of UDP 2014-06-19 22:18:04 -04:00
Tony Garnock-Jones ae9887b8fb Remove debug output 2014-06-19 22:17:23 -04:00
Tony Garnock-Jones 90c8e8555b Generalize port-allocator 2014-06-19 22:17:16 -04:00
Tony Garnock-Jones d063b3b2fb Track changes in gateway hwaddr 2014-06-19 21:57:51 -04:00
Tony Garnock-Jones 39b19ba624 Reask ARP questions periodically until we get answers or stop caring. 2014-06-19 21:56:30 -04:00
Tony Garnock-Jones 61c59250ee UDP driver 2014-06-19 18:00:37 -04:00
Tony Garnock-Jones 1fb6935d81 Omit misleading debug output 2014-06-18 23:59:57 -04:00
Tony Garnock-Jones f5ce8cd93f Handle ethernet short packet padding by applying IPv4 total packet length. 2014-06-18 23:58:25 -04:00
Tony Garnock-Jones 42850e20ef Omit debug output 2014-06-18 23:58:09 -04:00
Tony Garnock-Jones a2eeb6d5e4 Default to port 6667 instead of 5999 2014-06-18 22:13:58 -04:00
Tony Garnock-Jones e76fa1527c (Less im)Proper routing. 2014-06-18 21:24:47 -04:00
Tony Garnock-Jones 25c970902d Avoid mistaking a compiled for an uncompiled projection 2014-06-17 21:50:39 -04:00
Tony Garnock-Jones 3130b307b5 Don't advertise a statevector's existence to upper layers until it is somewhat established 2014-06-17 19:56:52 -04:00
Tony Garnock-Jones 03a6455594 Use bit-string-take and bit-string-drop (new in racket-bitsyntax 4.1) 2014-06-17 17:30:20 -04:00
Tony Garnock-Jones 4de4180c67 Actual somewhat-working TCP server -- the chat example from minimart 2014-06-17 17:02:32 -04:00