Caleb James DeLisle
|
5f20ccf638
dumb mistakes, didn't build
|
7 лет назад |
Caleb James DeLisle
|
1c7bfae5fc
Reduce the work done in check() in sessionManager to essentially nothing but do carry out the check on first cycle.
|
7 лет назад |
Caleb James DeLisle
|
176fc0fe18
Merge branch 'fix_unsetup_session' of git://github.com/madafoo/cjdns into crashey
|
7 лет назад |
Mada
|
c51d89431f
Fix typo
|
7 лет назад |
Mada
|
8cadf0e01c
Make code more readable
|
7 лет назад |
Mada
|
e7d3ab77b1
Fix typo
|
7 лет назад |
Mada
|
adc44dbb98
To distinguish from KeepAlive timestamp from normal message timestamp.
|
7 лет назад |
Caleb James DeLisle
|
79d5478c6d
Make sure the new and old pathfinders will never try to answer requests for nodes older/newer than v20
|
7 лет назад |
Caleb James DeLisle
|
faf60b00ec
1. Removed idle state from the session manager session, this is replaced by ignoring DHT traffic when thinking about time since last message so sessions will still expire properly.
|
7 лет назад |
Caleb James DeLisle
|
3508d88ba1
Make sure to use a better metric for new pathfinder stuff so that the old pathfinder doesn't evict it
|
7 лет назад |
Caleb James DeLisle
|
fa547a13b4
Don't ever send an unsetupSession if the switch label is unknown
|
7 лет назад |
Caleb James DeLisle
|
0e818dea0f
fix crash bug when someone sends a setup session packet with a specified handle
|
7 лет назад |
Caleb James DeLisle
|
1bf455c65a
Don't send UNSETUP_SESSION for nodes for which we don't know their version (peers)
|
7 лет назад |
Caleb James DeLisle
|
ab6850bbe9
Added a new message type to indicate when a path is known but the crypto session is not setup and handled this in the new pathfinder
|
7 лет назад |
Caleb James DeLisle
|
977a3e93d9
better logging around SessionManager
|
7 лет назад |
Caleb James DeLisle
|
afd46be363
Fix benchmark and also handle properly very small switch messages
|
7 лет назад |
Caleb James DeLisle
|
cafed5019f
Manual merge links update by soredake
|
7 лет назад |
soredake
|
c49cc24869
links update
|
7 лет назад |
Mada
|
31fc860079
Remove blank
|
8 лет назад |
Mada
|
3c20d6fd9e
Fix use after free vulnerabilities during remove timeout session
|
8 лет назад |
Caleb James DeLisle
|
dd3f4ac516
Finally got the shift calls to align correctly
|
8 лет назад |
Caleb James DeLisle
|
719063e184
wip
|
8 лет назад |
Caleb James DeLisle
|
575878e2cd
Standardize on CryptoAuth states for peerStats and sessionStats
|
8 лет назад |
Caleb James DeLisle
|
016fac012c
Moved ControlHandler up above UpperDistributor in order to make CTRL frames tappable and also updated schematic
|
8 лет назад |
Caleb James DeLisle
|
dbd77c9441
First subnode code working \o/
|
8 лет назад |
Caleb James DeLisle
|
72ba6ba264
Send both incoming and outgoing messages to handlers
|
8 лет назад |
Caleb James DeLisle
|
2f057ce2de
Typo
|
8 лет назад |
Caleb James DeLisle
|
76c75ab6d2
SessionManager needs to set the switch label of the packet when sending a buffered message
|
8 лет назад |
Kubuxu
|
a38e58b1c7
Remove usage of Bits_memcpyConst and Bits_memmoveConst
|
9 лет назад |
Caleb James DeLisle
|
40c15580a1
New Rule: You need to know the key of a node before you can start a CA session with them. This sheds significant code and state weirdness from CryptoAuth.
|
9 лет назад |