Dirk Engling
a564fd4b0c
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.
15 years ago
Dirk Engling
a5b6909757
document the new config file feature.
15 years ago
Dirk Engling
0903ac4387
Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself.
15 years ago
Dirk Engling
54da7d4257
Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options
15 years ago
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
Denis Ahrens
eb1e99961a
add missing include on linux
15 years ago
Dirk Engling
a7c47dce53
Introducing live busy network detection.
15 years ago
Dirk Engling
e767fae72a
Introduce some kind of versioning
16 years ago
Dirk Engling
5c1c1c94d8
/ can now be redirected to any URL
16 years ago
Denis Ahrens
6e6504dfcf
[19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel!
16 years ago
Dirk Engling
72175c3205
Dont need arpa/inet
16 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
16 years ago
Denis Ahrens
bfe37ff99b
add scrape stats and small correction to udp stats
16 years ago
Dirk Engling
4e00938ee2
Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.
16 years ago
Dirk Engling
10ca610952
Missed the second strnstr... fixed.
16 years ago
Dirk Engling
f2bae3a5a2
strnstr is not part of what posix conform libc has to offer... replace it by strstr after cutting off the last byte
16 years ago
Dirk Engling
d44c5bd162
Introducing compression for fullscrapes and tpbs stats
16 years ago
Dirk Engling
469e15de22
Last user of sendmmapdata is gone. Purge it.
16 years ago
Dirk Engling
819f9cc1dd
Sockets do not inherit non-blocking state in libowfat...
16 years ago
Dirk Engling
032224f150
Cleanup now moved to its own thread, too
16 years ago
Dirk Engling
53a7c09bc0
Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs
16 years ago
Dirk Engling
e1aa9168b4
introducing multithreaded full scrape creation.
16 years ago
Dirk Engling
2746822a9b
Move dead socket handling from handle_(read,write,timedout) into its own function handle_dead
16 years ago
Dirk Engling
f03b2740dd
Moving accesslist stuff to its own object
16 years ago
Dirk Engling
cc7274b7f8
Moving full scrapes to iovec-creating thread safe function
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
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
9ee006d393
Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h}
16 years ago
Dirk Engling
472f8469d2
Introduce configuration dependent number of parameters in a nicer way
16 years ago
Dirk Engling
a2f3ab87b0
The last experiment failed. No more accept deferral
16 years ago
Dirk Engling
6c8a69da19
Trying to accept connections only when data has come in. This is an experiment.
16 years ago
Dirk Engling
1b467d186c
Allow for more than one admin ip address
16 years ago
Dirk Engling
66b21d1e28
Add more full scrape stats
16 years ago
Dirk Engling
f37e510592
Reenabled syncing
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
7075730766
some clients chose to accidently send negative numwants
16 years ago
Dirk Engling
f2f93d093f
Accept clients that forget to spell announce at all...
16 years ago
Dirk Engling
d16c925901
This uTorrent/1600 client requires some... measures :/ I dont like the workaround.
16 years ago
Dirk Engling
8b81b12af6
Now measure the time a clean_all_torrents takes
16 years ago
Dirk Engling
df85d516c8
assume anything looking like GET /a to be an announce...
16 years ago
Dirk Engling
c3eaa46d8f
Last fix was not enough to get rid off those 1600er buggers.
16 years ago
Dirk Engling
75d96f1f50
Work around the stupid utorrent 1600 bug. That'll be removed after a while.
16 years ago
Dirk Engling
9268f32200
Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period.
16 years ago
Dirk Engling
b56035424e
now accept more classes of announce fuckups
16 years ago
Dirk Engling
ec5395b57c
Just one more typo
16 years ago
Dirk Engling
7149cb5600
Just one more typo
16 years ago
Dirk Engling
f1ad491e66
Work around more typos that might end up in torrent files as announce urls
16 years ago
Dirk Engling
d5839b8407
Debug code sometimes copied too much data
16 years ago
Dirk Engling
f2e615720b
Fixed one leak from struct_http
16 years ago