590 Commits (5948ee5986d2bd4416e5f5e65c4f8f0ddf1ef27a)
 

Author SHA1 Message Date
Dirk Engling 936d0ed2f1 Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux. 12 years ago
Dirk Engling bb1e76c1a4 Order peers by whether they seed. This way clients can chose if they prefer leechers (at the beginning) or leechers (at the end of the list). 12 years ago
Dirk Engling f7cb2cf545 Be more verbose if the accesslist can not be found 12 years ago
Dirk Engling 73f781c0a3 Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce 12 years ago
Dirk Engling f6025394bd Only get old accesslist value shortly before freeing it 12 years ago
Dirk Engling eda672e253 Reloading accesslists left a wide window for race conditions. 12 years ago
Dirk Engling 2aca3aafcf Make attempts to access to unauthorized torrents more verbose. 12 years ago
Dirk Engling baa8b31981 Make accesslist function check for the correct signal 12 years ago
Dirk Engling 0c0a4533b7 Fixed an incorrect peer count in udp responses. Credits to Theron Lewis. 12 years ago
Dirk Engling ad7dbf0c7c Remove unnecessary =NULL initialization of static pointers. 12 years ago
Dirk Engling b6fdc5433a Allow /stats to be located anywhere in your trackers path 12 years ago
Dirk Engling 6abed54fd7 Fix statedump 12 years ago
Dirk Engling 43e07caf4e Display v4 addresses in v4 mode nicer 12 years ago
Dirk Engling bc521d9911 Major rewrite of live bad network logging. You can now limit logging to any netmask. HTTP interface for that coming soon. 12 years ago
Dirk Engling 1e8b74da9a Log networks in its old form has been disabled. Live logging may come back soon. 12 years ago
Dirk Engling 506c7883f7 Dont log connection id missmatches anymore 12 years ago
Dirk Engling b994a7befa Make our stats xml validate again 13 years ago
Dirk Engling 87b156262d include overall completed count in stats 13 years ago
Dirk Engling 60bc1c7424 There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well. 13 years ago
Dirk Engling dc7f849827 If we don't want v6, tell libowfat not to worry about it. 13 years ago
Dirk Engling c8f053f955 Fix XML syntax 13 years ago
Dirk Engling a4af3583f2 Fix white spaces 13 years ago
Dirk Engling 695c079a25 Found some minor issues in busy network detection code. 13 years ago
Dirk Engling aa6467cc21 Re-implement logging busy networks to handle v6 API. 13 years ago
Dirk Engling 50301645a4 Add a everything stats page. So you won't have to remember what all those switches were. 13 years ago
Dirk Engling abe840d529 Add a stat option the count bucket stalls 13 years ago
Dirk Engling e6b16afb19 Value of off is not used, so don't calculate it 13 years ago
Dirk Engling bd44fd7c4d Remove superfluous test for == NULL, when variable has been used, anyway 13 years ago
Dirk Engling 7628ed7201 Reset delta_torrentcount to zero on each pass 13 years ago
Dirk Engling d418d1ad81 Formatting 13 years ago
Dirk Engling 9357435207 Formatting 13 years ago
Dirk Engling 57b8f256d5 Forgot to notify central counter about torrent removal 13 years ago
Dirk Engling b3f716a3e7 Add workaround to openbsd's broken v6 API 13 years ago
Dirk Engling c958c53d40 unify lock and unlock code style 13 years ago
Dirk Engling 3f59235960 make live sync aware of v6 mapped v4 addresses 13 years ago
Dirk Engling b591b15f2f Read action codes from correct location and tell ot_stats the correct number of incoming peers. 13 years ago
Dirk Engling faa38f1518 Formatting 13 years ago
Dirk Engling fae0329fe9 Reverse logic... do only fail if scan_ip6 cant parse 13 years ago
Dirk Engling bf362a914d Reverse logic... do only sync those NOT coming from multi cast 13 years ago
Denis Ahrens 6c618f1015 decrease the udp multicast packetsize so it fits into one ether frame 13 years ago
Dirk Engling b8394881a4 Forgot to copy the stats?mode=tcp4 parameter 13 years ago
Dirk Engling 74d96438c6 Make snprintf write to the correct location 13 years ago
Dirk Engling 4b77b8b776 Lot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table. 13 years ago
Dirk Engling 78626b6453 This memmove was for real... 13 years ago
Dirk Engling 679016139d Limit comparison of strings to the length of the shorter string 13 years ago
Dirk Engling b73fc5042c Fix a pointer arithmetic issue leading to incorrect peer data being copied. Allocate correct size for debugbuffer. Expect exact values on find keywords, not only prefix match. 13 years ago
Dirk Engling 0b6f30c847 Remove debug message 13 years ago
Dirk Engling 4e7e39dc1c Use a self pipe to wake from io_wait when a thread finished his work. 13 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 83d62ba0fb Some premature optimization lead to always only 8bytes of ot_peers being copied 13 years ago