erdgeist
c76814cfec
Going to the forest, spotting woodpeckers
16 years ago
erdgeist
6eeb16123c
Cleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fix
16 years ago
erdgeist
d9287403a8
add option to log the numwants over time
16 years ago
erdgeist
4c4303a156
Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200
16 years ago
erdgeist
517adde681
Limit shifting in s24s cleanup code to a non-overflowing size
16 years ago
erdgeist
342182a496
Put the WANT_MODEST_FULLSCRAPES option into Makefile
16 years ago
erdgeist
478884660f
Enable limiting fullscrapes to only every 5 minutes per IP
16 years ago
erdgeist
682bd069d2
Enable Networks debugging in Makefile
16 years ago
erdgeist
56c1cf1b5d
Nicer formatting for value--
16 years ago
erdgeist
6073127ad0
Add some subnet debugging features
16 years ago
erdgeist
20955311d1
Introducing the concept of vectors of nets into opentracker
16 years ago
erdgeist
c3a58d248b
binary search speedup was buggy.
16 years ago
erdgeist
0c8a17cbef
Optimize binary_search function
16 years ago
erdgeist
6c51fca9a1
Introduce the concept of an ot_net into opentracker.
16 years ago
erdgeist
5364ea31ca
Omit a warning where signed chars can't hold 0xff. Initialisen them with -1
16 years ago
erdgeist
bb770a45a6
Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals.
16 years ago
erdgeist
57f85fc7cc
Debug information only in debug mode.
16 years ago
erdgeist
06e89257a1
Make opentracker HUGE-accesslist-ready. Parse, then sort.
16 years ago
erdgeist
8d25bf2d31
Double definition of all_torrents
16 years ago
erdgeist
dad215a6e1
Add a new proxy daemon to opentracker
16 years ago
erdgeist
531ebd4949
Make opentracker return tracker id in stats=everything request
16 years ago
erdgeist
6819db7e98
Missed the last info_hash
16 years ago
erdgeist
553f62329a
Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux.
16 years ago
erdgeist
bb9650f55e
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).
16 years ago
erdgeist
d729c88d88
Be more verbose if the accesslist can not be found
16 years ago
erdgeist
3afbbc37d0
Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce
16 years ago
erdgeist
274a03f3d7
Only get old accesslist value shortly before freeing it
16 years ago
erdgeist
a9c25b9fed
Reloading accesslists left a wide window for race conditions.
16 years ago
erdgeist
fa10063d15
Make attempts to access to unauthorized torrents more verbose.
16 years ago
erdgeist
dfa173b071
Make accesslist function check for the correct signal
16 years ago
erdgeist
7d67d38e27
Fixed an incorrect peer count in udp responses. Credits to Theron Lewis.
16 years ago
erdgeist
877e3cfbb0
Remove unnecessary =NULL initialization of static pointers.
16 years ago
erdgeist
65d7d9b89c
Allow /stats to be located anywhere in your trackers path
16 years ago
erdgeist
2a17f847ae
Fix statedump
16 years ago
erdgeist
2a94892890
Display v4 addresses in v4 mode nicer
16 years ago
erdgeist
6c19143bc1
Major rewrite of live bad network logging. You can now limit logging to any netmask. HTTP interface for that coming soon.
16 years ago
erdgeist
d113912101
Log networks in its old form has been disabled. Live logging may come back soon.
16 years ago
erdgeist
f0b37172bf
Dont log connection id missmatches anymore
16 years ago
erdgeist
a713514a78
Make our stats xml validate again
16 years ago
erdgeist
91f5fa20a7
include overall completed count in stats
16 years ago
erdgeist
a7cb039b67
There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well.
16 years ago
erdgeist
5174c61a23
If we don't want v6, tell libowfat not to worry about it.
16 years ago
erdgeist
bd6695bded
Fix XML syntax
16 years ago
erdgeist
c7ed890222
Fix white spaces
...
Introduce loading tracker states with -l
Alter tracker state to a human readable form
16 years ago
erdgeist
a58bce83ad
Found some minor issues in busy network detection code.
16 years ago
erdgeist
eec51a872c
Re-implement logging busy networks to handle v6 API.
...
Implement a state dump for later reparsing.
16 years ago
erdgeist
255ac58971
Add a everything stats page. So you won't have to remember what all those switches were.
...
Remove the prepared Add/Remove-Torrent count until we implement it.
Remove the start/stop count until we implement it.
16 years ago
erdgeist
9297967f85
Add a stat option the count bucket stalls
...
Add an iterator for all torrents. It's slower but for stats it's okay.
Move some stats collection stuff to the new iterator. More to come.
Start a "report all stats" page.
Start fixing the code to identify "busy" networks.
Add the concept of hosts allowed to proxy.
Add a parser for the X-Forwarded-For: HTTP header.
Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
16 years ago
erdgeist
72a1564ca1
Value of off is not used, so don't calculate it
16 years ago
erdgeist
a6fe338040
Remove superfluous test for == NULL, when variable has been used, anyway
16 years ago