Commit Graph

25 Commits

Author SHA1 Message Date
Juhani Krekelä bd23f43cfa Notify frotend of Speak version packets 2019-08-04 11:31:07 +03:00
Juhani Krekelä 9a2efcce2e Start working on file sending 2019-08-04 11:16:46 +03:00
Juhani Krekelä 605bb9d26f Specify protocol version per-packet. Not used yet, but will be for the file transfer extension 2019-08-01 22:15:21 +03:00
Juhani Krekelä 27a8418f21 Don't create Speak version packets for broadcasts.
This allows new versions of the protocol to send broadcast advertizements
without the older versions telling the sender to speak their version.

Version 1.0 of the reference implementation will still do that, but the
issue is not great enough to warrant pulling and replacing it.
2019-07-28 20:58:57 +03:00
Juhani Krekelä 9513911377 Pad the frame to the required length.
If we don't do that, the NIC will generate padding that contains
non-zero bytes. EtherMess excepts all-zero padding, so this will break.
2019-07-24 20:45:20 +03:00
Juhani Krekelä 6abb09b0c9 Allow tabs in messages 2019-07-16 00:43:22 +03:00
Juhani Krekelä ed6fb6c624 Make backend die if asked to send a message while it's processing a previous one 2019-07-15 01:01:16 +03:00
Juhani Krekelä ed79daeeb0 Fix issue where we might leak backend processes 2019-07-15 00:38:14 +03:00
Juhani Krekelä 579550468c Fix bug in check_utf8() where it would allow all C0 control codes other than LF 2019-07-15 00:30:53 +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ä 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ä 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ä 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
Renamed from ethermess.c (Browse further)