Age | Commit message (Collapse) | Author |
|
This was accidentially disabled in the previous commit for initial handshake
requests.
|
|
|
|
|
|
|
|
facilitate future extensions
|
|
|
|
|
|
invalid
|
|
The handshakes are now schedules in a doubly-linked list that is maintained as a
part of the peer structure.
|
|
This enforces explicit casting and thus avoids alignment problems.
|
|
|
|
|
|
|
|
Directly using the peers allows us to get rid of the inefficient get_peer()
function and is necessary for adding support for unknown peers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
state can be used; remove the concept of temporary peers
These changes will fix the possibility of a TCP-SYN-Flood-like DoS attack, at the cost of another
protocol change: as we can't count request IDs when we don't know have temporary peers, request IDs
are removed completely.
|
|
|
|
|
|
|
|
|
|
|
|
with v0.1-rc2 and earlier
|
|
|
|
|
|
commit.
|
|
don't actually use any of is code
|
|
|
|
handshakes, but request a re-handshake
|
|
|
|
|
|
most of the config file parser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|