Commit Graph

113 Commits

Author SHA1 Message Date
Juhani Krekelä 114d595ed2 Start tracking peers 2019-07-15 00:28:30 +03:00
Juhani Krekelä 97d42bce52 Create a concept of default target for messages 2019-07-14 23:34:40 +03:00
Juhani Krekelä 80b91d872d Add commands for changing status and nick 2019-07-14 23:25:10 +03:00
Juhani Krekelä c2d021534f Create a command line interface 2019-07-14 23:13:39 +03:00
Juhani Krekelä 0443954c26 Get rid off debug features and dead code 2019-07-14 22:54:17 +03:00
Juhani Krekelä 205f323b87 Process message send failure states 2019-07-14 22:49:12 +03:00
Juhani Krekelä e805ea1aef Process ACK 2019-07-14 20:39:45 +03:00
Juhani Krekelä 59cce635c7 Process message receive 2019-07-14 20:36:12 +03:00
Juhani Krekelä c19d05c64e Change handling of msgid output from backend 2019-07-14 20:26:29 +03:00
Juhani Krekelä a534cacd0e Move stuff off of top level 2019-07-14 20:12:45 +03:00
Juhani Krekelä 94c4e0fa0c Rewrite ethermess.py to not use multiple threads 2019-07-14 20:05:54 +03:00
Juhani Krekelä eb2842efeb Process status messages 2019-07-13 20:51:15 +03:00
Juhani Krekelä ac1fbb9bd0 Make quitting on frontend exiting foolproof 2019-07-13 19:55:26 +03:00
Juhani Krekelä 849c9d6fe0 Make a test script to do test builds with 2019-07-13 19:44:45 +03:00
Juhani Krekelä 4b63854c85 Broadcast status period 5min → 1min 2019-07-13 19:41:35 +03:00
Juhani Krekelä fde0630217 fflush(3) ack info too 2019-07-13 19:39:11 +03:00
Juhani Krekelä c7a773958d Route output from backend through frontend 2019-07-13 19:34:54 +03:00
Juhani Krekelä e8e4257baa Get nick from arguments 2019-07-13 01:05:33 +03:00
Juhani Krekelä 38f847aac1 Rewrite ethermess.py to use multiple threads 2019-07-13 01:02:13 +03:00
Juhani Krekelä ab454ca2ee Avoid crashing in the repl 2019-07-11 00:00:44 +03:00
Juhani Krekelä 206440659f Allow sending messages 2019-07-10 23:49:05 +03:00
Juhani Krekelä d9d8c3657f Get rid of hardcoded MACs 2019-07-10 23:37:39 +03:00
Juhani Krekelä 96044e3482 Basic repl 2019-07-10 22:44:20 +03:00
Juhani Krekelä 664a6eb838 Start working on the frontend 2019-07-10 22:10:14 +03:00
Juhani Krekelä 05b4f87597 Whoops 2019-07-10 21:21:46 +03:00
Juhani Krekelä 55fc6932e2 Ensure correct utf-8 2019-07-10 21:20:24 +03:00
Juhani Krekelä 6cd84902fc Whoooops 2019-07-10 20:30:28 +03:00
Juhani Krekelä cbc79587da Whoops 2019-07-10 20:26:47 +03:00
Juhani Krekelä a624ce5374 Ensure arithmetic will never overflow 2019-07-10 20:25:26 +03:00
Juhani Krekelä 40048618ee Get rid of debug fprintfs on the network side of code 2019-07-10 16:28:22 +03:00
Juhani Krekelä 98f52fba51 Notify others about going offline 2019-07-10 16:24:27 +03:00
Juhani Krekelä e7024d853b Fully implement sending 2019-07-10 16:22:02 +03:00
Juhani Krekelä dab1565f31 Use microsecond resolution in timeouts 2019-07-10 15:12:11 +03:00
Juhani Krekelä ab73580c23 Check msgid on receive and update caches 2019-07-10 14:00:44 +03:00
Juhani Krekelä 2d43d3273a Remove unnecessary errno = 0; 2019-07-10 13:38:40 +03:00
Juhani Krekelä 539dbf9f14 Add message sending and ack 2019-07-09 20:22:55 +03:00
Juhani Krekelä 3beda7742f Add randomness to the periodicity of broadcasts 2019-07-09 19:16:23 +03:00
Juhani Krekelä 87d0b33b3b Allow for status telling other end is going offline 2019-07-09 19:09:17 +03:00
Juhani Krekelä f678c5054f Send our own status periodically 2019-07-09 17:18:00 +03:00
Juhani Krekelä 541dd28a64 Randomize message ID start 2019-07-09 16:35:48 +03:00
Juhani Krekelä 43540d51bc Check padding 2019-07-09 16:22:55 +03:00
Juhani Krekelä 1f179e8b2b Whoops 2019-07-08 11:23:51 +03:00
Juhani Krekelä 4d03f397df Handle communicating message IDs 2019-07-07 19:37:51 +03:00
Juhani Krekelä e51066ebb8 Start work on status messages for Ethermess 2019-07-07 00:21:11 +03:00
Juhani Krekelä b75943d2e6 Act only on stuff directed at us or broadcast 2019-07-06 20:41:31 +03:00
Juhani Krekelä 211473b48e Start working on the network-facing side of Ethermess 2019-07-06 20:26:09 +03:00
Juhani Krekelä 829cd7fdfb Get rid of unused funcs in arp-request.c 2019-07-06 18:13:47 +03:00
Juhani Krekelä 7486c135a8 Add arp-request.c 2019-07-05 16:19:35 +03:00
Juhani Krekelä e29fd159d3 Looks like frames that seem to be runts are actually 100% legit 2019-07-05 16:07:18 +03:00
Juhani Krekelä fd277d5ec7 Process runt frames too, as long as they're long enough to contain full header 2019-07-05 14:58:33 +03:00