Dirk Engling
e076dab883
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,
15 years ago
Dirk Engling
76416b5c1c
Cleaning up Build time options. Also add ot_livesync.[ch]
15 years ago
Dirk Engling
de7ee67519
Live syncing between multiple tracker instances via udp multicast.
15 years ago
Dirk Engling
aded7ebc09
Refine config syntax. Testing code...
15 years ago
Dirk Engling
b93f563d1a
Add a config file framework to opentracker
15 years ago
Denis Ahrens
eb1e99961a
add missing include on linux
15 years ago
Denis Ahrens
b804dd7e6f
now checking for the correct connection-id we gave out
15 years ago
Denis Ahrens
be02614464
use a more reasonable compression level
15 years ago
Denis Ahrens
4cd9d33d7c
send out the total downloaders for a announce response
15 years ago
Dirk Engling
3dda0c7c7b
Typo in Makefile, thanks to Steffen.
15 years ago
Dirk Engling
4ee5fe81c7
Fix endianess issues, also obey number of peers requested in udp announces
15 years ago
Dirk Engling
432cf92e7c
Embarrasing counter direction bug :)
15 years ago
Dirk Engling
6b2cb4396a
Forgot to #ifdef some code only interesting when doing live network logging.
15 years ago
Dirk Engling
a7c47dce53
Introducing live busy network detection.
15 years ago
Dirk Engling
1b6a33a0f8
sys/param.h needed under openbsd
15 years ago
Dirk Engling
f57eb9661c
Enable revision watching from the internet
15 years ago
Dirk Engling
a7cfb64181
But keep Makefile in the libowfat is at ../libowfat state.
15 years ago
Dirk Engling
e767fae72a
Introduce some kind of versioning
15 years ago
Dirk Engling
4a9cc17e2f
Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting.
15 years ago
Dirk Engling
5be5e46f2a
Add documentation to our uri scanner
15 years ago
Dirk Engling
da6e48b384
too many wrong udp requests scroll too much :) disable logging for now
15 years ago
Dirk Engling
1438e2a93a
more udp debugging
15 years ago
Dirk Engling
a4e1b7f442
Do not lock out well behaving clients
15 years ago
Dirk Engling
ba0c7d24c1
more udp debugging
15 years ago
Dirk Engling
a8fd467ef1
Prepare udp connection id generation and checking
15 years ago
Denis Ahrens
bc104ff4d5
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
15 years ago
Dirk Engling
8a259ea806
A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd
15 years ago
Denis Ahrens
c05e406d9a
add mrtgstyle stats for number of torrents
15 years ago
Dirk Engling
5c1c1c94d8
/ can now be redirected to any URL
15 years ago
Dirk Engling
168f9f504c
Count invalid requests
15 years ago
Dirk Engling
50275a9462
Be a little more verbose about why increases fail
15 years ago
Dirk Engling
52a607c055
print ip addresses from unsigned chars
15 years ago
Denis Ahrens
6e6504dfcf
[19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel!
15 years ago
Dirk Engling
72175c3205
Dont need arpa/inet
15 years ago
Dirk Engling
4b474b7009
Avoid warnings about unused variables without certain defines
15 years ago
Dirk Engling
ae823c17db
Fix a broken merge result
15 years ago
Dirk Engling
0dfe70e375
Fix include for iovecs
15 years ago
Dirk Engling
42de540e26
add newline to end of file
15 years ago
Dirk Engling
903fcd4627
Reflect changes for ot_http.* in project file
15 years ago
Dirk Engling
5b3eb23f5f
Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes
15 years ago
Dirk Engling
c3ef0c6e97
Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and FULLSCRAPE stderr output to ot_stats
15 years ago
Dirk Engling
65bf76b204
Introduce new ot_http.c and ot_http.h
15 years ago
Dirk Engling
8482c40226
Simplify includes, add new STATS code for scrapes
15 years ago
Dirk Engling
a76deb3982
Finally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just leave in socket handling and parameter parsing
15 years ago
Dirk Engling
3d3378e6a6
Drop ot_{byte,word,dword} and use uint{8,16,32}_t
15 years ago
Dirk Engling
7df4ce8fc7
Simplify includes
15 years ago
Dirk Engling
d577adc79b
Move blessed IP handling code to accesslist objects
15 years ago
Dirk Engling
72671f86b8
Move http handling to its own sources
15 years ago
Denis Ahrens
bfe37ff99b
add scrape stats and small correction to udp stats
15 years ago
Dirk Engling
4e00938ee2
Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.
15 years ago