Caleb James DeLisle
|
0750afea28
It really helps if you actually set the value which you're relying on to prevent bad-state-conditions
|
10 jaren geleden |
Caleb James DeLisle
|
4cc28ff633
Don't send switch-pings to a node faster than pingAfterMilliseconds intravel, this should prevent broken nodes from monopolizing resources
|
10 jaren geleden |
Caleb James DeLisle
|
e52a20ae90
Improve logging when a switch pong comes in
|
10 jaren geleden |
Caleb James DeLisle
|
800c005c41
emergency patch to get my VMs back D:
|
10 jaren geleden |
Caleb James DeLisle
|
d2e4b84680
Switched from node->bestParent to Node_getBestParent() and Node_setParentReachAndPath() with appropriate checks
|
10 jaren geleden |
Caleb James DeLisle
|
666d685b24
Take responsiblity for all TODOs
|
10 jaren geleden |
Caleb James DeLisle
|
44e3cdf53e
Document this weird if statement
|
10 jaren geleden |
Caleb James DeLisle
|
4013d071f0
Merge branch 'nospam' of https://github.com/Arceliar/cjdns into crashey
|
10 jaren geleden |
Caleb James DeLisle
|
0fdda4fc72
Replaced all instances of Assert_always() with Assert_true() to standardize on Assert_true() for 'always', Assert_ifParanoid() for assertions which trigger if PARANOIA is enabled and Assert_ifTesting() for asserions which would be triggered by bad nodes in a real network
|
10 jaren geleden |
Arceliar
|
09e65ac3d9
Don't add peers to RumorMill if a CA session is established. Prevents peer in a half-open CA session from blocking the rest of the mill.
|
10 jaren geleden |
Caleb James DeLisle
|
1774efba10
Broke compatibility in ETHInterface because it was not working properly and echoing 12 bytes of crap back and forth before the message
|
10 jaren geleden |
Caleb James DeLisle
|
34b7afcd58
Fixed the ffff bug, thanks Arceliar and tg for debugging and fixing it.
|
10 jaren geleden |
Caleb James DeLisle
|
1f1cf83d4e
Work from over the weekend, crashey is less crashey (at least in the sim)
|
10 jaren geleden |
Caleb James DeLisle
|
f63999e4c8
Make inter-router communication code capable of handling messages which loop back to itself
|
11 jaren geleden |
Caleb James DeLisle
|
e569a8cb76
Tuning still needed but this one has the sound of a winner
|
11 jaren geleden |
Caleb James DeLisle
|
cca56ad9a9
Finally got everything switched over to using the new pathfinder
|
11 jaren geleden |
Caleb James DeLisle
|
2c25a476b3
Moved the code over to completely use the new pathfinder
|
11 jaren geleden |
Caleb James DeLisle
|
77242cb8d8
[CRYPTO] Hardened the crypto infrastructure by explicitly allowing binding a CryptoAuth session to an IPv6 address even if you don't know the other party's key
|
11 jaren geleden |
Caleb James DeLisle
|
b0df03f933
[CRYPTO] Removed the option of encryption without authentication because it is insecure and it adds code to CryptoAuth which is not used
|
11 jaren geleden |
Caleb James DeLisle
|
e97d341f28
Improved logging
|
11 jaren geleden |
Caleb James DeLisle
|
91bbd1b60c
[HARDENING] Add code to specifically prevent decrypted messages from leaking in error packets.
|
11 jaren geleden |
Caleb James DeLisle
|
52faf26d97
Can't make a connection to yourself, this kind of screws things up
|
11 jaren geleden |
Caleb James DeLisle
|
4ab9b3d577
[CRYPTO] added a name for each CryptoAuth wrapper to improve logging, also randomized initial handle for SessionManager to prevent CryptoAuth sessions from being mixed up in the SessionManager
|
11 jaren geleden |
Caleb James DeLisle
|
d5ade4953d
Backed out some changes which didn't turn out to work so well
|
11 jaren geleden |
Caleb James DeLisle
|
7725ac21f2
Work in progress, new switch protocol
|
11 jaren geleden |
Caleb James DeLisle
|
ce06ff8d5e
Check for direct peers which are missing from the routing table and ping them if they are.
|
11 jaren geleden |
Caleb James DeLisle
|
0c1583ed5f
Need to flush peers when they become unresponsive!
|
11 jaren geleden |
Caleb James DeLisle
|
9a5e656171
Fixed NodeStore logic surrounding broken and stale paths.
|
11 jaren geleden |
Caleb James DeLisle
|
f11ce2fe92
Added SessionManager_sessionStats()
|
11 jaren geleden |
Caleb James DeLisle
|
6e9a7b7109
new approach to dealing with trashroutes
|
11 jaren geleden |