Juhani Krekelä
9a2efcce2e
Start working on file sending
2019-08-04 11:16:46 +03:00
Juhani Krekelä
ea2523e263
Make test.sh add the veth0a and veth0b interfaces automatically
2019-08-04 11:15:28 +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ä
2410a28947
Make licensing clear
2019-07-20 22:32:45 +03:00
Juhani Krekelä
0adee9fc54
Don't modify peers[foo].lastseen unless peers[foo] exists
2019-07-19 00:17:45 +03:00
Juhani Krekelä
a7f841b0a0
Take better advantage of install(1)
2019-07-19 00:02:21 +03:00
Wolfgang Müller
d9adcf0322
Proofreading ethermess.7
...
Co-authored-by: Juhani Krekelä <juhani@krekelä.fi>
2019-07-18 14:30:42 +03:00
Juhani Krekelä
a6aa7ba70d
Add a note about what to do on startup to ethermess.7
2019-07-17 21:48:14 +03:00
Juhani Krekelä
fb86df4382
Add README.md
2019-07-17 16:36:08 +03:00
Juhani Krekelä
4e5a9537ea
Update Makefile to include ethermess.7
2019-07-17 16:24:46 +03:00
Juhani Krekelä
fda8b2a1e1
Specify what to update the value to
2019-07-17 16:23:53 +03:00
Juhani Krekelä
d46909f2e4
De-lint
2019-07-17 16:20:38 +03:00
Juhani Krekelä
c420307d64
Complete protocol description in ethermess.7
2019-07-17 16:15:10 +03:00
Juhani Krekelä
5e86db7155
Start working on ethermess.7
2019-07-17 00:06:43 +03:00
Juhani Krekelä
7acacd1ec9
Let's not give our example users multicast MACs
2019-07-16 19:13:25 +03:00
Wolfgang Müller
040045f553
Proofreading ethermess.1
2019-07-16 19:03:18 +03:00
Juhani Krekelä
a9ac8a56d0
Well that test never should have made its way to the repo
2019-07-16 17:03:48 +03:00
Juhani Krekelä
a7945b1102
Goddamned American date format
2019-07-16 17:02:25 +03:00
Juhani Krekelä
a0cf20f797
Create ethermess.1
2019-07-16 17:01:25 +03:00
Juhani Krekelä
69dcd4640d
Ensure we start off with a valid nick
2019-07-16 14:44:22 +03:00
Juhani Krekelä
b82a13c467
Exit gracefully with an error code whenever backend exits
2019-07-16 14:23:40 +03:00
Juhani Krekelä
4280c3f052
Whoops
2019-07-16 12:43:13 +03:00
Juhani Krekelä
45be079ee8
Strip several space between command and arguments, not only one
2019-07-16 12:38:39 +03:00
Juhani Krekelä
4be5f02d69
Only do setcap in test.sh if necessary
2019-07-16 12:34:34 +03:00
Juhani Krekelä
6c3820c42f
Make /status and /nick display your own if run with no arguments, and move listing of all peers to /peers
2019-07-16 12:32:07 +03:00
Juhani Krekelä
6abb09b0c9
Allow tabs in messages
2019-07-16 00:43:22 +03:00
Juhani Krekelä
607d445c93
Basename sys.argv[0] to appear more professional
2019-07-15 23:52:34 +03:00
Juhani Krekelä
2fbd9f4bd2
Reword the CAP_NET_RAW message
2019-07-15 23:47:54 +03:00
Juhani Krekelä
b388168318
Get rid of sudo / running as root
2019-07-15 23:47:03 +03:00
Juhani Krekelä
7636dd1b10
Mark target specially
2019-07-15 23:24:15 +03:00
Juhani Krekelä
00b87b9fbe
Add timestamps
2019-07-15 23:05:43 +03:00
Juhani Krekelä
79dec74dcf
Validate input encoding
2019-07-15 22:57:54 +03:00
Juhani Krekelä
cbb4252441
Send a status request when doing /status even if we have a cached value, in case it is out of date
2019-07-15 20:44:37 +03:00
Juhani Krekelä
90c435cfd9
List all known peers if /status called without a target
2019-07-15 20:43:29 +03:00
Juhani Krekelä
a140fde1c1
Allow referring to peers by nick
2019-07-15 20:40:21 +03:00
Juhani Krekelä
76704d4a11
Don't build ethertype-dump and art-request or install them by default
2019-07-15 20:07:37 +03:00
Juhani Krekelä
69a799c412
Add /quit
2019-07-15 20:04:51 +03:00
Juhani Krekelä
8e7339e3f1
Implement a send queue
2019-07-15 20:02:04 +03:00
Juhani Krekelä
d406d269da
Implement offline timeouts
2019-07-15 19:14:03 +03:00
Juhani Krekelä
7d4e304565
Handle DESTDIR correctly
2019-07-15 19:09:49 +03:00
Juhani Krekelä
415d6842f4
Don't leave debug changes in
2019-07-15 11:09:30 +03:00
Juhani Krekelä
d1a6bd7052
Close sys.stdin after we create the unbuffered version
2019-07-15 11:08:44 +03:00
Juhani Krekelä
78865bdc8e
Document the other case where msgid might become invalid
2019-07-15 11:02:39 +03:00
Juhani Krekelä
8199a1cb58
Document the frontend-backend protocol
2019-07-15 01:47:55 +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ä
114d595ed2
Start tracking peers
2019-07-15 00:28:30 +03:00