Commit Graph

35 Commits

Author SHA1 Message Date
Théophile Bastian fa51b5c170 Datastore: no priority queue anymore for republish
Now handled only by last republish time.
2016-11-28 18:39:34 +01:00
Théophile Bastian 50975cd0e0 Fix ihu_replier 2016-11-28 15:18:27 +01:00
Théophile Bastian 68347f8b0c Fix flooder: broken reference. 2016-11-28 15:17:35 +01:00
Théophile Bastian 305e8ad254 Cleaner DataStore dumping 2016-11-27 22:37:11 +01:00
Théophile Bastian 2461868888 Report; update republish interval 2016-11-27 21:28:46 +01:00
Théophile Bastian 9104f40aaf Conform to datId = senderId 2016-11-27 13:26:27 +01:00
Théophile Bastian 6d3774bc99 Update readme, start report 2016-11-27 13:07:01 +01:00
Théophile Bastian a31d9e29eb Dump data on RETURN ; FIX sending
Packet sending was broken: active iterators could be invalidated.
2016-11-27 12:16:56 +01:00
Théophile Bastian 32b56c6c91 Aggregate packets before sending. 2016-11-27 09:49:28 +01:00
Théophile Bastian 574bef34e2 Fix republish doing weird things 2016-11-27 09:31:06 +01:00
Théophile Bastian 676a3822ed Improve robustness to badly shaped packets 2016-11-26 20:42:29 +01:00
Théophile Bastian e8a2c37d96 Readme 2016-11-26 20:42:00 +01:00
Théophile Bastian 619ea6969e Send only to IDs, not addresses.
Was not used anyway.
2016-11-26 19:21:13 +01:00
Théophile Bastian 86c91f7488 Sends, floods and receives data 2016-11-26 19:17:56 +01:00
Théophile Bastian 98924f4ca6 Now flooding data — a bit too much 2016-11-26 16:20:20 +01:00
Théophile Bastian c0f1c55e03 Classes for data strage, flooding 2016-11-26 16:19:38 +01:00
Théophile Bastian 143cff86f5 Add fake client sending IHUs 2016-11-25 15:48:08 +01:00
Théophile Bastian 6730d8ba85 Send IHU, IHave, ... 2016-11-25 15:47:35 +01:00
Théophile Bastian 6c0e1f4d26 Ignoring conf files 2016-11-25 15:47:08 +01:00
Théophile Bastian 761d657f9b Removed network endianness conversion
Turns out the reference implementation does not use it…
2016-11-25 15:45:39 +01:00
Théophile Bastian 6b69cee089 Fix constant 2016-11-24 16:18:16 +01:00
Théophile Bastian 750f9e3672 Log messages on packet reception 2016-11-24 15:41:34 +01:00
Théophile Bastian 18741af602 Add basic config file 2016-11-24 15:27:29 +01:00
Théophile Bastian d4eccda003 Documentation 2016-11-24 14:39:12 +01:00
Théophile Bastian ce0b019e91 Add packetParser 2016-11-24 14:39:03 +01:00
Théophile Bastian 1527c1c6fe Proper handling of neighbours updates.
Still have to interface it cleanly with the inbound network packets
2016-11-23 23:49:48 +01:00
Théophile Bastian e7d16a185b Fix address conversion 2016-11-20 00:23:48 +01:00
Théophile Bastian c291ad1ec6 Add Makefile, basic main 2016-11-20 00:16:13 +01:00
Théophile Bastian 2b03969aa4 Add protocol 2016-11-20 00:15:52 +01:00
Théophile Bastian e5857f842d Update constants, data 2016-11-20 00:15:09 +01:00
Théophile Bastian c53125384d Add {h,n}to{h,n}{s,l} to Bytes 2016-11-20 00:14:40 +01:00
Théophile Bastian bd5a1666a5 Add Bytes class from a former project 2016-11-18 10:56:51 +01:00
Théophile Bastian 17c4cc7bde Add network constants 2016-11-16 18:56:52 +01:00
Théophile Bastian 6c05e83024 Add headcomment 2016-11-16 17:52:04 +01:00
Théophile Bastian bd8c14c275 initial commit 2016-11-16 17:46:18 +01:00