34 Commits (80faf1c452f6527877ded5dc5255031898abf4fb)

Author SHA1 Message Date
Dirk Engling e33efb5086 Add newline to debug string 4 years ago
Dirk Engling b73b3b17cc Use arc4random whereever we need strong entropy 4 years ago
Dirk Engling f0026ed1e0 Avoid reacting to our own error packets, should the happen to end up on our interface with a spoofed source IP. Thanks to zorun. 10 years ago
erdgeist 9816750420 Initialise all values of aes key 10 years ago
erdgeist 8741c91a7d Calculate the old hash for the ip address only, when the current one mismatches 13 years ago
erdgeist 95a4ed9043 Remove debug info 13 years ago
erdgeist dc90c8867c Report connection id missmatch count 13 years ago
erdgeist 37db5f94fa udp now generates a cryptographically secure token for connecting clients. This is later verified. 13 years ago
erdgeist 914e0ac302 Add functionality to distribute udp to several workers 13 years ago
erdgeist 1af67bab1d Try to act upon all udp packets at once 13 years ago
erdgeist d42bf5a031 ** struct ot_workstruct gets ritcher (and will become even ritcher soon). 15 years ago
erdgeist f0b37172bf Dont log connection id missmatches anymore 16 years ago
erdgeist 66c906d5d3 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 16 years ago
erdgeist 131211b4da V6 16 years ago
erdgeist 779d6c235f * 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. 16 years ago
erdgeist 2df09905f5 * opentracker now drops permissions in correct order and really chroots() if ran as root 16 years ago
erdgeist 08c7162783 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read 16 years ago
erdgeist 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
erdgeist 719858548d Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 16 years ago
erdgeist e534db03c6 added live sync code 16 years ago
denis a16b067e60 now checking for the correct connection-id we gave out 16 years ago
erdgeist cadf1803e1 Fix endianess issues, also obey number of peers requested in udp announces 17 years ago
erdgeist 408c5f98ed Introducing live busy network detection. 17 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist ac078bccf2 too many wrong udp requests scroll too much :) disable logging for now 17 years ago
erdgeist 2f4246396e more udp debugging 17 years ago
erdgeist cc47504af2 Do not lock out well behaving clients 17 years ago
erdgeist cac5a31d93 more udp debugging 17 years ago
erdgeist 8d00b1e039 Prepare udp connection id generation and checking 17 years ago
erdgeist 848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
erdgeist 8bee224dc0 static bufs are not shared anymore, even if that means more memory. 17 years ago
erdgeist ad5fa66737 Missing newline warning, missing include fixed 17 years ago
erdgeist 49c4bbb47f Have an own file handle udp requests. 17 years ago