summaryrefslogtreecommitdiff
path: root/ot_accesslist.c
AgeCommit message (Collapse)Author
3 daysRemove CVS version tags, they did not work anymore after moving to gitDirk Engling
5 daysclang-formatDirk Engling
2024-03-29mask bits to be checked in ot_netDirk Engling
2024-03-29Dont take address of addressDirk Engling
2024-03-29Allow networks to be used instead of ip addresses when blessing is involvedDirk Engling
2022-11-25Add atomicity qualifierDirk Engling
2022-11-24Clean accesslists every five minutesDirk Engling
2022-11-24Add support for dynamic accesslistsDirk Engling
2021-08-22Mark return code of write() as intentionally unusedDirk Engling
2021-06-05Make accesslists work again by testing the actual result of bsearch. Thanks to HannoDirk Engling
2021-04-20accesslist checker should not operate on an empty listDirk Engling
2021-04-19unmap file if a memory allocation error occursDirk Engling
2021-04-19Make accesslist reload thread safe. The last commit actually would make a free possible while another thread was bsearching that memoryDirk Engling
2021-04-19Try accessing the access lists without locks by making the replacement process as atomic as possible.Dirk Engling
2010-08-26Prevent infinite loop if whitelist ends in several returnserdgeist
2010-07-30We have been too overly cautious not to read beyond the boundary.erdgeist
2010-05-05Make whitelist parser more robust against comments. I assumed perfectly arranged white lists until nowerdgeist
2009-08-26Introducing the concept of vectors of nets into opentrackererdgeist
2009-07-17Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals.erdgeist
2009-07-17Debug information only in debug mode.erdgeist
2009-07-17Make opentracker HUGE-accesslist-ready. Parse, then sort.erdgeist
2009-07-15Missed the last info_hasherdgeist
2009-07-14Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux.erdgeist
2009-07-14Be more verbose if the accesslist can not be founderdgeist
2009-07-14Only get old accesslist value shortly before freeing iterdgeist
2009-07-14Reloading accesslists left a wide window for race conditions.erdgeist
2009-07-01Make accesslist function check for the correct signalerdgeist
2009-06-17Remove unnecessary =NULL initialization of static pointers.erdgeist
2009-06-16Display v4 addresses in v4 mode nicererdgeist
2009-03-17Fix white spaceserdgeist
Introduce loading tracker states with -l Alter tracker state to a human readable form
2009-03-04Add a stat option the count bucket stallserdgeist
Add an iterator for all torrents. It's slower but for stats it's okay. Move some stats collection stuff to the new iterator. More to come. Start a "report all stats" page. Start fixing the code to identify "busy" networks. Add the concept of hosts allowed to proxy. Add a parser for the X-Forwarded-For: HTTP header. Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
2009-01-13V6erdgeist
2009-01-02Fix incorrect prototype for accesslist_deiniterdgeist
2008-12-07Handle program end more politelyerdgeist
2008-12-06Renamed OT_FLAG to OT_PEERFLAG to make code easier to readerdgeist
Introduced READ16/32 and WRITE16/32 makros to abstract loading/storing from unaligned addresses away on cpu's that can actually load/store everywhere Removed all unnecessary memmoves, especially where it only moved 6 bytes in inner loop. I replaced them with WRITE16/32(READ16/32()) makros
2008-11-28The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.erdgeist
2008-10-28Whitespace fixeserdgeist
2008-10-17Fix debug output for addresses >127erdgeist
2008-10-05Enabled debug output, fixed blessed ip permissionserdgeist
2008-10-04added live sync codeerdgeist
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,
2007-12-20Introduce some kind of versioningerdgeist
2007-12-03Move blessed IP handling code to accesslist objectserdgeist
2007-11-21static bufs are not shared anymore, even if that means more memory.erdgeist
2007-11-13missing includeerdgeist
2007-11-12Moving accesslist stuff to its own objecterdgeist