134 Commits

Author SHA1 Message Date
e3adc73d01
Copy recent messages before cleaning them 2021-01-09 21:07:08 +01:00
dbf3953ad4
Reduce length by 1 if there is a trailing zero at the end 2021-01-09 20:56:02 +01:00
d8cabcc6a3
DataTLV is not subscriptable 2021-01-09 20:52:17 +01:00
8f3b7cd9d2
Inundation is more thread-safe 2021-01-09 20:41:12 +01:00
4a79fcaabe
Prevent curses errors 2021-01-09 20:38:13 +01:00
2797b9ddc5
Allow other clients to add a trailing zero at the end of a data 2021-01-09 20:36:32 +01:00
b6a27af219
Don't commit latex output 2021-01-09 20:33:15 +01:00
30cdd107f5
IPv4-mapping 2021-01-09 20:32:00 +01:00
eichhornchen
047e031b25 Documentation 2021-01-09 20:20:25 +01:00
ed00fd73d1
Fix inundation concurrency issues 2021-01-09 20:13:02 +01:00
eb97a47a25
Warn other user is the data contains a zero 2021-01-09 20:09:53 +01:00
c136f34d9c
Refresh screen when needed 2021-01-08 19:11:46 +01:00
bf130f1ede
Remove debug code 2021-01-08 18:55:18 +01:00
369befcd79
💩 code 2021-01-08 18:50:10 +01:00
380f808e50
Merge hazelnuts that have the same id 2021-01-08 17:52:27 +01:00
Eichhornchen
57cdfebff4 ... 2021-01-07 18:32:25 +01:00
Eichhornchen
55b9eac037 prefer not multicast port addresses 2021-01-07 18:25:05 +01:00
Eichhornchen
a8d38faa62 better? 2021-01-07 18:13:20 +01:00
Eichhornchen
eae4f13066 Removes somr locks that were blocking the threads 2021-01-07 17:48:56 +01:00
Eichhornchen
7e1323dc74 Multicast mode can be turned off (it does not really work, so... 2021-01-07 17:12:33 +01:00
Eichhornchen
f8fa48f274 reapired multicast 2021-01-07 15:50:32 +01:00
Eichhornchen
850b4ed78b ... 2021-01-07 15:39:35 +01:00
eichhornchen
5ada0920f0 for tests 2021-01-07 15:23:28 +01:00
eichhornchen
1702d258bf multicast 2021-01-07 15:06:23 +01:00
eichhornchen
df3298a39c suppress the superfluous hazel.py file. 2021-01-07 11:20:49 +01:00
eichhornchen
25e502ab45 Merge branch 'commands' into 'master'
Commands

See merge request ynerant/squinnondation!8
2021-01-07 11:13:38 +01:00
Eichhornchen
15917bfb32 Added a fix to avoid becoming one's own neighbour. 2021-01-06 22:04:23 +01:00
Eichhornchen
ab554bb3fe Cleaned the names + put the lock back (I assure you it's necessary) 2021-01-06 21:47:07 +01:00
671c3ef978 Merge branch 'commands' into 'master'
Commands

See merge request ynerant/squinnondation!7
2021-01-06 17:04:07 +01:00
be6abe2557
Linting 2021-01-06 15:50:29 +01:00
40a22b20c8
Fix markdown command 2021-01-06 15:48:02 +01:00
fdc89bfe53
Remove debug code 2021-01-06 15:46:58 +01:00
bd024c3d31
Manage suppr key, fix backspace 2021-01-06 15:45:52 +01:00
89bb6ddc3a
Manage commands 2021-01-05 23:59:35 +01:00
a92df73a55 Merge branch 'security' into 'master'
Security

See merge request ynerant/squinnondation!6
2021-01-05 22:40:54 +01:00
acd9b157b9
Add docstring for the update table function 2021-01-05 22:36:09 +01:00
084f512d34
Check that packet length is good 2021-01-05 22:01:49 +01:00
eb0098552a
Banned clients are not potential clients 2021-01-05 21:50:29 +01:00
1db72e71dc
Banned clients are not potential clients 2021-01-05 21:17:44 +01:00
edb738bffb
Don't log banned users too much 2021-01-05 21:08:52 +01:00
dc9f836932
When merging clients, merge also error count 2021-01-05 21:04:08 +01:00
5bb4748056
Warn users when they send poop messages and ban them if they are too many 2021-01-05 20:55:04 +01:00
0a4ebd0c92
An unknown client can only send HelloTLV and GoAwayTLV for security 2021-01-05 20:38:19 +01:00
f062ee7b13
Use hazelnut sets instead of dictionaries to avoid duplicate hazels 2021-01-05 20:26:22 +01:00
c7c8765fad
Fix the warnings when a hazel use a different id/nickname that was previously known 2021-01-05 20:21:13 +01:00
2d670a56a1
Merge clients that have the same id if it speaks on multiple addresses 2021-01-05 20:05:19 +01:00
56020390b2
activehazelnuts -> active_hazelnuts 2021-01-05 19:19:43 +01:00
f85b088367
Don't need to use a lock when manipulating packets 2021-01-05 19:17:33 +01:00
915dc3ec24
Clients can have multiple addresses 2021-01-05 19:13:07 +01:00
5ffe0d21c3
A hazelut is either active or potential 2021-01-05 18:25:55 +01:00