erdgeist
0deb06d544
Reverting last commit. Debug effect not seen.
16 years ago
erdgeist
0f271421c3
Add config option for naming threads
16 years ago
erdgeist
ec0affa97d
allow threads to be named. not posix compliant.
16 years ago
denis
1c3c5d57da
only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata
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
0dafc2ab26
Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped
16 years ago
erdgeist
fae73214af
A new config file option to connect to tcp and udp at once has been added. Also some clarifications have been put into the sample config file.
16 years ago
erdgeist
07dbc87986
Futher clean up config file documentation
16 years ago
erdgeist
b12077ad3a
Add some explanations about the implicite :6969 and the ancient tracker sync format
16 years ago
erdgeist
bca01f4cde
document the new config file feature.
16 years ago
erdgeist
206c74ee2f
Make ot_try_bind local again.
16 years ago
erdgeist
465cc2ecdf
Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets.
16 years ago
erdgeist
17724dde29
Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself.
16 years ago
erdgeist
01ea1648d8
Cosmetics
16 years ago
erdgeist
a5917ab6e0
Add _DEBUG flag for debug builds. This flag enables some diagnostic messages.
16 years ago
erdgeist
68b1b8409b
Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options
16 years ago
erdgeist
01c9c3695c
Enabled debug output, fixed blessed ip permissions
16 years ago
erdgeist
eac898afd8
white space in comment
16 years ago
erdgeist
e534db03c6
added live sync code
...
added a config file parser
added tracker id
changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK
changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE
added an option to switch off fullscrapes
cleaned up many internal hardcoded values, like PROTO_FLAG,
16 years ago
erdgeist
8cbfc8602c
Cleaning up Build time options. Also add ot_livesync.[ch]
16 years ago
erdgeist
00c8a89efe
Live syncing between multiple tracker instances via udp multicast.
16 years ago
erdgeist
cee13cbebb
Refine config syntax. Testing code...
16 years ago
erdgeist
fb50f0fade
Add a config file framework to opentracker
16 years ago
denis
b637fdcdf3
add missing include on linux
16 years ago
denis
a16b067e60
now checking for the correct connection-id we gave out
16 years ago
denis
3655976223
use a more reasonable compression level
16 years ago
denis
c71505fd9a
send out the total downloaders for a announce response
16 years ago
erdgeist
96243526c4
Typo in Makefile, thanks to Steffen.
17 years ago
erdgeist
cadf1803e1
Fix endianess issues, also obey number of peers requested in udp announces
17 years ago
erdgeist
90184649d0
Embarrasing counter direction bug :)
17 years ago
erdgeist
572df73443
Forgot to #ifdef some code only interesting when doing live network logging.
17 years ago
erdgeist
408c5f98ed
Introducing live busy network detection.
17 years ago
erdgeist
7050e027d3
sys/param.h needed under openbsd
17 years ago
erdgeist
57387588ed
Enable revision watching from the internet
17 years ago
erdgeist
eadb0b8436
But keep Makefile in the libowfat is at ../libowfat state.
17 years ago
erdgeist
c28cf398fd
Introduce some kind of versioning
17 years ago
erdgeist
d9ed6c22bd
Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting.
17 years ago
erdgeist
0cfd1e575d
Add documentation to our uri scanner
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
denis
65c3b24045
add support for more stats:
...
1. stats for added and removed torrents
2. stats for start and stopped events from peers
this should help to detect DoS attacks and is useful for
profiling
17 years ago
erdgeist
c2cbe1dc27
A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd
17 years ago
denis
19cc9ba882
add mrtgstyle stats for number of torrents
17 years ago
erdgeist
bee364a6f3
/ can now be redirected to any URL
17 years ago
erdgeist
31d876d53d
Count invalid requests
17 years ago
erdgeist
a146a32885
Be a little more verbose about why increases fail
17 years ago
erdgeist
0bfab763d8
print ip addresses from unsigned chars
17 years ago