Dirk Engling
499f07b3f0
Add _DEBUG flag for debug builds. This flag enables some diagnostic messages.
15 years ago
Dirk Engling
76416b5c1c
Cleaning up Build time options. Also add ot_livesync.[ch]
15 years ago
Dirk Engling
3dda0c7c7b
Typo in Makefile, thanks to Steffen.
15 years ago
Dirk Engling
a7c47dce53
Introducing live busy network detection.
15 years ago
Dirk Engling
a7cfb64181
But keep Makefile in the libowfat is at ../libowfat state.
16 years ago
Dirk Engling
e767fae72a
Introduce some kind of versioning
16 years ago
Dirk Engling
65bf76b204
Introduce new ot_http.c and ot_http.h
16 years ago
Dirk Engling
31c2a9fe03
Make allowing gzip a Makefile tunable
16 years ago
Dirk Engling
690786b762
Forgot to specify -pthread when using threads
16 years ago
Dirk Engling
f03b2740dd
Moving accesslist stuff to its own object
16 years ago
Dirk Engling
c048749014
Reflect changes in ot_iovec and ot_fullscrape in Makefile
16 years ago
Dirk Engling
d29536e30a
MUST NOT enable features in CVSpico Makefile bad coder
16 years ago
Dirk Engling
c37d25fd75
The expensive DMEM stats is gone. No need for it, too much potential to DOS.
16 years ago
Dirk Engling
2e2c1762d3
Move stats out of opentracker.c, also have an own file handle udp requests.
16 years ago
Dirk Engling
6c2d01dba4
Thank you, GNU for fucking up pmake :)
16 years ago
Dirk Engling
bcf252f249
Makefile now builds each object on its own. Thus it can be build with -j2 and higher
16 years ago
Dirk Engling
fed78043a6
No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable.
16 years ago
Dirk Engling
aa25c390dd
Introducing first tools to make opentracker multithreaded.
16 years ago
Dirk Engling
df30bc8484
Number of buckets is 1024 now
...
Clean all torrents now only cleans one bucket at a time
All torrents that are being worked upon in an announce are being cleaned on demoand
torrent's peer lists now keep extra counts for seeds and peers to speed up scrape and announce
Sync has gone for now. I will think up a new way to implement. The old one was way to slow.
16 years ago
Dirk Engling
68d87742fa
Two more bugs in Makefile. Maybe I learn it one day
16 years ago
Dirk Engling
3e71f32d26
Revert debug option in Makefile
16 years ago
Dirk Engling
c6d90b150d
Makefile now runs under bsdmake and gnumake again
16 years ago
Dirk Engling
6bad28c924
Makefile defaults to an _open_ tracker again.
16 years ago
Dirk Engling
8ef59b0351
* fixed "nobody " -> "nobody" fuckup when getpwnam-ing
...
* implemented basic blacklisting:
** the file specified with -b <BLACKLIST> is read and added to a blacklist vector
** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails
** sending a SIGHUP to the program forces it to reread the blacklists
** the server returns with a 500, which is not exactly nice but does the job for now
** an adaequat "failure reason:" should be delivered... TODO
16 years ago
Dirk Engling
20635e3544
New Makefile, incorporated some patches sent to me by Robin H. Johnson
16 years ago
Denis Ahrens
767460cea3
revert previous commit
16 years ago
Denis Ahrens
62a41a85c8
code cleanup and more specific comments. tracker starts now also with udp port 6969 as default
16 years ago
Dirk Engling
8fc31f7e29
We now answer as soon as the first \n is seen
...
We do not copy input buffer to socket's input array anymore, if we find \n in first buffer
We simplified parsing of input string
We removed asserts that were needed to debug negative seeder counts
We split static input and output buffers for obvious reasons
We enlarged static output buffer to prepare multi scrape functionality
We removed -lm from Makefile, this lib was only needed, when our random algorithm worked on floats
We close fds now that come with an empty iocookie into write loop, those don't make sense
We documented query string parser in opentracker.c a lot better to help auditing
16 years ago
Dirk Engling
2746c1d258
Debugging for failed requests.
16 years ago
Dirk Engling
27199ad1c3
-m64 is not usually a correct compile option
16 years ago
Dirk Engling
0210ea5d90
Debug file descriptors
16 years ago
Denis Ahrens
6d049b33d3
set the interval to 1800 for announce (last change was only for scrape)
16 years ago
Dirk Engling
1e706713cc
Dont want ips from query string by default
16 years ago
Dirk Engling
afa05fad96
Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed
16 years ago
Dirk Engling
6fd6d2a5ca
tidy up options
16 years ago
Dirk Engling
b5c344ea97
black listing was the wrong way around
16 years ago
Dirk Engling
1c97e9cd8c
added closed tracker and blacklist code
16 years ago
Dirk Engling
aa444b6e18
Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway.
16 years ago
Denis Ahrens
8d67df43ae
freebsd support
17 years ago
Dirk Engling
f779a22f1b
Fixed two mem leaks from httpd :/
17 years ago
Dirk Engling
f10cd3e42b
Fix port again ;) Include headers in Makefile dependencies
17 years ago
Denis Ahrens
8eee752d47
fix for freebsd
17 years ago
Dirk Engling
7d1d51cc05
Now actually seems to work for the most parts
...
Added scraping
Added graceful disconnect
17 years ago
Dirk Engling
01bdb5495f
Reacts more appropriate, however EXC_BAD_ACCESS triggered
17 years ago
Dirk Engling
95f6864f4f
Trackerlogic done... not tested yet
17 years ago
Denis Ahrens
b2197faac9
Begun printf debugging
17 years ago
Dirk Engling
cc8c0a1df8
Some syntax errors removed
17 years ago
Dirk Engling
2a1b78e33b
Kickoff
17 years ago