]> git.ipfire.org Git - thirdparty/opentracker.git/log
thirdparty/opentracker.git
7 days agoClean up top100 stats code master
Dirk Engling [Fri, 3 Apr 2026 00:56:06 +0000 (02:56 +0200)] 
Clean up top100 stats code

7 days agoturn all int offsets into size_t
Dirk Engling [Thu, 2 Apr 2026 23:40:39 +0000 (01:40 +0200)] 
turn all int offsets into size_t

11 months agoDo not ignore return value of iob_init_autofree
Dirk Engling [Fri, 25 Apr 2025 21:35:04 +0000 (23:35 +0200)] 
Do not ignore return value of iob_init_autofree

11 months agoSilence warning about using a pointer after realloc, take offset of match before
Dirk Engling [Fri, 25 Apr 2025 19:49:53 +0000 (21:49 +0200)] 
Silence warning about using a pointer after realloc, take offset of match before

21 months agoaddress linter warnings. Thanks to gagath@debian.org
Dirk Engling [Sat, 22 Jun 2024 12:39:10 +0000 (14:39 +0200)] 
address linter warnings. Thanks to gagath@debian.org

23 months agoInitialise top leechers vector
Dirk Engling [Fri, 10 May 2024 14:31:42 +0000 (16:31 +0200)] 
Initialise top leechers vector

23 months agoAdd top100 torrents by leechers to the list
Dirk Engling [Fri, 10 May 2024 13:41:52 +0000 (15:41 +0200)] 
Add top100 torrents by leechers to the list

23 months agoDisable forced gzip by default
Dirk Engling [Sun, 21 Apr 2024 13:52:30 +0000 (15:52 +0200)] 
Disable forced gzip by default

23 months agoGroup feature options that need additional compiler flags in Makefiles, so they can...
Dirk Engling [Sun, 21 Apr 2024 13:36:36 +0000 (15:36 +0200)] 
Group feature options that need additional compiler flags in Makefiles, so they can be enable together

23 months agoMove _GNU_SOURCE declaration further to the top, so recursive inclusion of stdio...
Dirk Engling [Sun, 21 Apr 2024 12:58:42 +0000 (14:58 +0200)] 
Move _GNU_SOURCE declaration further to the top, so recursive inclusion of stdio does not ignore the macro

23 months agoBetter point out what options can be given multiple times
Dirk Engling [Thu, 18 Apr 2024 16:07:35 +0000 (18:07 +0200)] 
Better point out what options can be given multiple times

23 months agoadd example for option that may be given more than once
Dirk Engling [Thu, 18 Apr 2024 16:05:29 +0000 (18:05 +0200)] 
add example for option that may be given more than once

23 months agofurther fixes to the man page
Dirk Engling [Thu, 18 Apr 2024 16:03:58 +0000 (18:03 +0200)] 
further fixes to the man page

23 months agoAdd missing config option
Dirk Engling [Thu, 18 Apr 2024 15:56:48 +0000 (17:56 +0200)] 
Add missing config option

23 months agoSpelling in sample config
Dirk Engling [Thu, 18 Apr 2024 15:54:27 +0000 (17:54 +0200)] 
Spelling in sample config

23 months agoAdd man page for the config file
Dirk Engling [Thu, 18 Apr 2024 15:52:18 +0000 (17:52 +0200)] 
Add man page for the config file

23 months agoSome fixes to the man page
Dirk Engling [Thu, 18 Apr 2024 15:39:51 +0000 (17:39 +0200)] 
Some fixes to the man page

23 months agoAdd first draft of a man page
Dirk Engling [Thu, 18 Apr 2024 14:40:29 +0000 (16:40 +0200)] 
Add first draft of a man page

23 months agoAdd support for zstd
Dirk Engling [Thu, 18 Apr 2024 12:54:34 +0000 (14:54 +0200)] 
Add support for zstd

23 months agoOnly have huge downloads (aka chunked) be application/octet-stream
Dirk Engling [Thu, 18 Apr 2024 12:50:51 +0000 (14:50 +0200)] 
Only have huge downloads (aka chunked) be application/octet-stream

23 months agoLet our fullscrapes have a binary content-type
Dirk Engling [Wed, 17 Apr 2024 19:34:20 +0000 (21:34 +0200)] 
Let our fullscrapes have a binary content-type

23 months agochrome does not accept chunked gzip encoding for http/1.0 protocol version
Dirk Engling [Wed, 17 Apr 2024 13:03:14 +0000 (15:03 +0200)] 
chrome does not accept chunked gzip encoding for http/1.0 protocol version

23 months agoRemove CVS version tags, they did not work anymore after moving to git
Dirk Engling [Tue, 16 Apr 2024 14:18:53 +0000 (16:18 +0200)] 
Remove CVS version tags, they did not work anymore after moving to git

23 months agoInstall default signal handlers before spawning first thread
Dirk Engling [Mon, 15 Apr 2024 21:08:16 +0000 (23:08 +0200)] 
Install default signal handlers before spawning first thread

23 months agodeflatePending ist not available everywhere. Just treat the (very rare) case of some...
Dirk Engling [Mon, 15 Apr 2024 15:58:34 +0000 (17:58 +0200)] 
deflatePending ist not available everywhere. Just treat the (very rare) case of some data being left over like all other reallocatables

23 months agotime_caching_worker never returns, but if it would, it should return a value
Dirk Engling [Mon, 15 Apr 2024 15:34:06 +0000 (17:34 +0200)] 
time_caching_worker never returns, but if it would, it should return a value

23 months agodefine _GNU_SOURCE to silence warning about asprintf
Dirk Engling [Mon, 15 Apr 2024 14:44:07 +0000 (16:44 +0200)] 
define _GNU_SOURCE to silence warning about asprintf

23 months agoUse bzero instead of the new iob_init for older libowfats
Dirk Engling [Mon, 15 Apr 2024 14:38:37 +0000 (16:38 +0200)] 
Use bzero instead of the new iob_init for older libowfats

23 months agofix: git version string is not yet available
Dirk Engling [Mon, 15 Apr 2024 13:26:15 +0000 (15:26 +0200)] 
fix: git version string is not yet available

23 months agoRemove warning
Dirk Engling [Mon, 15 Apr 2024 13:20:34 +0000 (15:20 +0200)] 
Remove warning

23 months agoAllow the use of iob_init if the new libowfat is not yet available
Dirk Engling [Mon, 15 Apr 2024 13:20:21 +0000 (15:20 +0200)] 
Allow the use of iob_init if the new libowfat is not yet available

23 months agoclang-format
Dirk Engling [Sun, 14 Apr 2024 22:44:16 +0000 (00:44 +0200)] 
clang-format

23 months agoclang-format
Dirk Engling [Sun, 14 Apr 2024 22:41:43 +0000 (00:41 +0200)] 
clang-format

23 months agoclang-format
Dirk Engling [Sun, 14 Apr 2024 22:39:02 +0000 (00:39 +0200)] 
clang-format

23 months agoFormatter description
Dirk Engling [Sun, 14 Apr 2024 20:43:20 +0000 (22:43 +0200)] 
Formatter description

23 months agoSpelling
Dirk Engling [Sun, 14 Apr 2024 15:34:03 +0000 (17:34 +0200)] 
Spelling

23 months agoprint when RANDOMTORRENTS were created (fix)
Dirk Engling [Sun, 14 Apr 2024 15:33:24 +0000 (17:33 +0200)] 
print when RANDOMTORRENTS were created (fix)

23 months agoprint when RANDOMTORRENTS were created
Dirk Engling [Sun, 14 Apr 2024 15:32:18 +0000 (17:32 +0200)] 
print when RANDOMTORRENTS were created

23 months agoprint when RANDOMTORRENTS were created
Dirk Engling [Sun, 14 Apr 2024 15:32:18 +0000 (17:32 +0200)] 
print when RANDOMTORRENTS were created

23 months agoMake the amount of random torrents a tunable
Dirk Engling [Sun, 14 Apr 2024 15:31:16 +0000 (17:31 +0200)] 
Make the amount of random torrents a tunable

23 months agoSilence warning in debug code
Dirk Engling [Sun, 14 Apr 2024 11:14:00 +0000 (13:14 +0200)] 
Silence warning in debug code

23 months agogzip fullscrapes by default now
Dirk Engling [Sun, 14 Apr 2024 11:13:47 +0000 (13:13 +0200)] 
gzip fullscrapes by default now

23 months agoRevert b8ee3dfec11d1c66bee614bfab171ada9fc2bb78
Dirk Engling [Sun, 14 Apr 2024 11:12:27 +0000 (13:12 +0200)] 
Revert b8ee3dfec11d1c66bee614bfab171ada9fc2bb78

23 months agoremove debug fprintfs used to catch a bug
Dirk Engling [Sun, 14 Apr 2024 11:12:11 +0000 (13:12 +0200)] 
remove debug fprintfs used to catch a bug

23 months agoUse the HELPLINE macro for help lines
Dirk Engling [Sun, 14 Apr 2024 11:09:41 +0000 (13:09 +0200)] 
Use the HELPLINE macro for help lines

23 months agoCall io_dontwantread only once on a socket
Dirk Engling [Sun, 14 Apr 2024 03:12:42 +0000 (05:12 +0200)] 
Call io_dontwantread only once on a socket

23 months agoMerge branch 'chunked-transfers' of erdgeist.org:opentracker into chunked-transfers
Dirk Engling [Sat, 13 Apr 2024 17:22:42 +0000 (19:22 +0200)] 
Merge branch 'chunked-transfers' of erdgeist.org:opentracker into chunked-transfers

23 months agoCancel chunked transfers on dead sockets, too
Dirk Engling [Sat, 13 Apr 2024 17:22:36 +0000 (19:22 +0200)] 
Cancel chunked transfers on dead sockets, too

23 months agowhite space
Dirk Engling [Sat, 13 Apr 2024 14:56:51 +0000 (16:56 +0200)] 
white space

23 months agoInitialise io_batches with their appropiate init function
Dirk Engling [Sat, 13 Apr 2024 14:54:44 +0000 (16:54 +0200)] 
Initialise io_batches with their appropiate init function

23 months agoRemove unused macro
Dirk Engling [Sat, 13 Apr 2024 14:54:20 +0000 (16:54 +0200)] 
Remove unused macro

23 months agoUse asprintf to allocate header instead of fixed array
Dirk Engling [Sat, 13 Apr 2024 14:53:29 +0000 (16:53 +0200)] 
Use asprintf to allocate header instead of fixed array

23 months agoFix type warnings in debug strings
Dirk Engling [Sat, 13 Apr 2024 14:52:46 +0000 (16:52 +0200)] 
Fix type warnings in debug strings

23 months agoAdd proper parsing for the gzip content encoding
Dirk Engling [Sat, 13 Apr 2024 12:04:18 +0000 (14:04 +0200)] 
Add proper parsing for the gzip content encoding

23 months agoMake chunked transfers use gzip also
Dirk Engling [Sat, 13 Apr 2024 10:51:04 +0000 (12:51 +0200)] 
Make chunked transfers use gzip also

23 months agoAllow opentracker to start with a random set of torrents for debugging purposes
Dirk Engling [Sat, 13 Apr 2024 10:26:08 +0000 (12:26 +0200)] 
Allow opentracker to start with a random set of torrents for debugging purposes

23 months agoBetter track current iobatch
Dirk Engling [Sat, 13 Apr 2024 00:54:08 +0000 (02:54 +0200)] 
Better track current iobatch

23 months agoFirst shot on chunked transfers
Dirk Engling [Fri, 12 Apr 2024 22:47:29 +0000 (00:47 +0200)] 
First shot on chunked transfers

23 months agoStart an extra thread to update timer cache. Using signals was unnecessary
Dirk Engling [Fri, 12 Apr 2024 16:10:31 +0000 (18:10 +0200)] 
Start an extra thread to update timer cache. Using signals was unnecessary

2 years agoReserve enough memory to hold all peer timeout buckets
Dirk Engling [Tue, 9 Apr 2024 23:13:50 +0000 (01:13 +0200)] 
Reserve enough memory to hold all peer timeout buckets

2 years agowhite space
Dirk Engling [Tue, 9 Apr 2024 22:25:45 +0000 (00:25 +0200)] 
white space

2 years agoOnly query torrents if we actually found one
Dirk Engling [Tue, 9 Apr 2024 00:50:45 +0000 (02:50 +0200)] 
Only query torrents if we actually found one

2 years agoreport full peer and seed count for both address families
Dirk Engling [Sun, 7 Apr 2024 19:29:36 +0000 (21:29 +0200)] 
report full peer and seed count for both address families

2 years agoSilence warning on older compilers
Dirk Engling [Sat, 6 Apr 2024 22:37:38 +0000 (00:37 +0200)] 
Silence warning on older compilers

2 years agoWhitespace fix
Dirk Engling [Sat, 6 Apr 2024 22:06:54 +0000 (00:06 +0200)] 
Whitespace fix

2 years agoNumber of reported removed peers was too high, correct it by size of peer
Dirk Engling [Sat, 6 Apr 2024 22:06:27 +0000 (00:06 +0200)] 
Number of reported removed peers was too high, correct it by size of peer

2 years agoif copying seeders from behind, use compare_size to advance pointer
Dirk Engling [Sat, 6 Apr 2024 19:35:15 +0000 (21:35 +0200)] 
if copying seeders from behind, use compare_size to advance pointer

2 years agoReturn peer from both address families on announce
Dirk Engling [Sat, 6 Apr 2024 17:21:03 +0000 (19:21 +0200)] 
Return peer from both address families on announce

2 years agoAvoid incompatible pointer type warning
Dirk Engling [Fri, 5 Apr 2024 22:55:24 +0000 (00:55 +0200)] 
Avoid incompatible pointer type warning

2 years agoAdd stddef header
Dirk Engling [Fri, 5 Apr 2024 22:29:45 +0000 (00:29 +0200)] 
Add stddef header

2 years agoImprove example for proxy network addresses
Dirk Engling [Fri, 5 Apr 2024 20:52:18 +0000 (22:52 +0200)] 
Improve example for proxy network addresses

2 years agominor cleanups. Breaks proxy.c
Dirk Engling [Fri, 5 Apr 2024 20:44:30 +0000 (22:44 +0200)] 
minor cleanups. Breaks proxy.c

2 years agoconstify
Dirk Engling [Fri, 5 Apr 2024 14:30:02 +0000 (16:30 +0200)] 
constify

2 years agoIgnore object files
Dirk Engling [Fri, 5 Apr 2024 01:30:00 +0000 (03:30 +0200)] 
Ignore object files

2 years agoMerge branch 'dualstack-opentracker' of erdgeist.org:opentracker into dualstack-opent...
Dirk Engling [Fri, 5 Apr 2024 01:27:17 +0000 (03:27 +0200)] 
Merge branch 'dualstack-opentracker' of erdgeist.org:opentracker into dualstack-opentracker

2 years agoEnable live syncing v6 peers
Dirk Engling [Fri, 5 Apr 2024 01:26:42 +0000 (03:26 +0200)] 
Enable live syncing v6 peers

2 years agogcc is no longer default cc
Dirk Engling [Thu, 4 Apr 2024 16:00:50 +0000 (18:00 +0200)] 
gcc is no longer default cc

2 years ago-pthread needs to be in CFLAGS
Dirk Engling [Thu, 4 Apr 2024 15:56:35 +0000 (17:56 +0200)] 
-pthread needs to be in CFLAGS

2 years ago-pthread is the only necessary linker option for pthread API
Dirk Engling [Thu, 4 Apr 2024 15:55:27 +0000 (17:55 +0200)] 
-pthread is the only necessary linker option for pthread API

2 years agoBind dual stack by default
Dirk Engling [Wed, 3 Apr 2024 21:08:17 +0000 (23:08 +0200)] 
Bind dual stack by default

2 years agoAllow binding to v4 and v6 addresses always
Dirk Engling [Wed, 3 Apr 2024 20:50:01 +0000 (22:50 +0200)] 
Allow binding to v4 and v6 addresses always

2 years agoPrepare opentracker for dual stack capabilities
Dirk Engling [Wed, 3 Apr 2024 20:25:30 +0000 (22:25 +0200)] 
Prepare opentracker for dual stack capabilities

2 years agoMove further towards dual stack capable opentracker, name more constants
Dirk Engling [Mon, 1 Apr 2024 21:00:34 +0000 (23:00 +0200)] 
Move further towards dual stack capable opentracker, name more constants

2 years agoClean up pointer to task object
Dirk Engling [Sun, 31 Mar 2024 22:52:34 +0000 (00:52 +0200)] 
Clean up pointer to task object

2 years agoTidy up v6 handler
Dirk Engling [Sun, 31 Mar 2024 22:48:09 +0000 (00:48 +0200)] 
Tidy up v6 handler

2 years agoPrevent proxied ips of the wrong flavour to poison our clients
Dirk Engling [Sun, 31 Mar 2024 11:36:26 +0000 (13:36 +0200)] 
Prevent proxied ips of the wrong flavour to poison our clients

2 years agoLimit ipv6 udp replies to an amount that does not create too large UDP packets. Credi...
Dirk Engling [Fri, 29 Mar 2024 23:34:28 +0000 (00:34 +0100)] 
Limit ipv6 udp replies to an amount that does not create too large UDP packets. Credits to anonymous donor

2 years agomask bits to be checked in ot_net
Dirk Engling [Fri, 29 Mar 2024 02:58:23 +0000 (03:58 +0100)] 
mask bits to be checked in ot_net

2 years agoDont take address of address
Dirk Engling [Fri, 29 Mar 2024 02:44:31 +0000 (03:44 +0100)] 
Dont take address of address

2 years agoAllow networks to be used instead of ip addresses when blessing is involved
Dirk Engling [Fri, 29 Mar 2024 02:30:13 +0000 (03:30 +0100)] 
Allow networks to be used instead of ip addresses when blessing is involved

2 years agoAdd docs about reverse proxies
Dirk Engling [Sun, 10 Mar 2024 13:45:31 +0000 (14:45 +0100)] 
Add docs about reverse proxies

2 years agoSome clients have added the /stats URL as /announce URL and cause a lot of expensive...
Dirk Engling [Sat, 9 Mar 2024 22:58:41 +0000 (23:58 +0100)] 
Some clients have added the /stats URL as /announce URL and cause a lot of expensive operations. Prevent that

2 years agoFix tasklist iterators erdgeist-fix-tasklists
Dirk Engling [Fri, 8 Mar 2024 15:59:26 +0000 (16:59 +0100)] 
Fix tasklist iterators

2 years agoMerge branch 'master' into erdgeist-fix-top10-stats
Dirk Engling [Thu, 7 Mar 2024 03:10:28 +0000 (04:10 +0100)] 
Merge branch 'master' into erdgeist-fix-top10-stats

2 years agohandle -1 length reads properly
Dirk Engling [Thu, 7 Mar 2024 03:09:42 +0000 (04:09 +0100)] 
handle -1 length reads properly

2 years agoRemember hash and not torrent pointer for use after releasing the lock on torrent...
Dirk Engling [Thu, 7 Mar 2024 02:29:46 +0000 (03:29 +0100)] 
Remember hash and not torrent pointer for use after releasing the lock on torrent vector

3 years agoAdd error if WANT_DYNAMIC_ACCESSLIST is enabled without any accesslist dynamic-accesslists
Dirk Engling [Wed, 22 Feb 2023 21:36:12 +0000 (22:36 +0100)] 
Add error if WANT_DYNAMIC_ACCESSLIST is enabled without any accesslist

3 years agoAdd atomicity qualifier
Dirk Engling [Thu, 24 Nov 2022 23:11:47 +0000 (00:11 +0100)] 
Add atomicity qualifier

3 years agoClean accesslists every five minutes
Dirk Engling [Thu, 24 Nov 2022 15:38:26 +0000 (16:38 +0100)] 
Clean accesslists every five minutes

3 years agoAdd support for dynamic accesslists
Dirk Engling [Thu, 24 Nov 2022 03:20:06 +0000 (04:20 +0100)] 
Add support for dynamic accesslists