33 Commits (e52170435f400f8f436a76ef15513d3f271dc21d)

Author SHA1 Message Date
Dirk Engling e52170435f sync with git 3 years ago
git 7392077f69 Avoid reacting to our own error packets, should the happen to end up on our interface with a spoofed source IP. Thanks to zorun. 6 years ago
git 5018d4e478 Initialise all values of aes key 7 years ago
Dirk Engling d010868308 Calculate the old hash for the ip address only, when the current one mismatches 9 years ago
Dirk Engling 2d1c653f20 Remove debug info 9 years ago
Dirk Engling 9bf6cdb058 Report connection id missmatch count 9 years ago
Dirk Engling c1414b707f udp now generates a cryptographically secure token for connecting clients. This is later verified. 9 years ago
Dirk Engling 0a45984246 Add functionality to distribute udp to several workers 9 years ago
Dirk Engling a3de74bdd4 Try to act upon all udp packets at once 9 years ago
Dirk Engling 3454c159b4 ** struct ot_workstruct gets ritcher (and will become even ritcher soon). 11 years ago
Dirk Engling 506c7883f7 Dont log connection id missmatches anymore 12 years ago
Dirk Engling 0987307ea3 Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT 13 years ago
Dirk Engling 6337649b08 V6 13 years ago
Dirk Engling b2ca164922 * http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are considered to be thread safe. 13 years ago
Dirk Engling 49ec59cbbe * opentracker now drops permissions in correct order and really chroots() if ran as root 13 years ago
Dirk Engling fa6c870315 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read 13 years ago
Dirk Engling c0dab929ab The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 13 years ago
Dirk Engling 7dcd727ce6 Whitespace fixes 13 years ago
Dirk Engling e88a799172 Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 13 years ago
Dirk Engling e076dab883 added live sync code 13 years ago
Denis Ahrens b804dd7e6f now checking for the correct connection-id we gave out 13 years ago
Dirk Engling 4ee5fe81c7 Fix endianess issues, also obey number of peers requested in udp announces 14 years ago
Dirk Engling a7c47dce53 Introducing live busy network detection. 14 years ago
Dirk Engling e767fae72a Introduce some kind of versioning 14 years ago
Dirk Engling da6e48b384 too many wrong udp requests scroll too much :) disable logging for now 14 years ago
Dirk Engling 1438e2a93a more udp debugging 14 years ago
Dirk Engling a4e1b7f442 Do not lock out well behaving clients 14 years ago
Dirk Engling ba0c7d24c1 more udp debugging 14 years ago
Dirk Engling a8fd467ef1 Prepare udp connection id generation and checking 14 years ago
Dirk Engling 5b3eb23f5f Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 14 years ago
Dirk Engling 9df7d28415 static bufs are not shared anymore, even if that means more memory. 14 years ago
Dirk Engling 31dedcd9cf Missing newline warning, missing include fixed 14 years ago
Dirk Engling 26c23fdecd Have an own file handle udp requests. 14 years ago