40 Commits (ede702c7ffc90f1635c069d20c8a46b0b2a6ab66)

Author SHA1 Message Date
Dirk Engling 6e591d7437 Add atomicity qualifier 2 years ago
Dirk Engling f62398c748 Clean accesslists every five minutes 2 years ago
Dirk Engling be825f5759 Add support for dynamic accesslists 2 years ago
Dirk Engling e89905166c Mark return code of write() as intentionally unused 3 years ago
Dirk Engling 298fe52f52 Make accesslists work again by testing the actual result of bsearch. Thanks to Hanno 3 years ago
Dirk Engling 27f8189d84 accesslist checker should not operate on an empty list 4 years ago
Dirk Engling 00bd3b2009 unmap file if a memory allocation error occurs 4 years ago
Dirk Engling 102ba9075b Make accesslist reload thread safe. The last commit actually would make a free possible while another thread was bsearching that memory 4 years ago
Dirk Engling fde79836e6 Try accessing the access lists without locks by making the replacement process as atomic as possible. 4 years ago
erdgeist 09adf4a9e1 Prevent infinite loop if whitelist ends in several returns 14 years ago
erdgeist 426c5f30c2 We have been too overly cautious not to read beyond the boundary. 15 years ago
erdgeist 3636be6cc7 Make whitelist parser more robust against comments. I assumed perfectly arranged white lists until now 15 years ago
erdgeist 20955311d1 Introducing the concept of vectors of nets into opentracker 15 years ago
erdgeist bb770a45a6 Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals. 16 years ago
erdgeist 57f85fc7cc Debug information only in debug mode. 16 years ago
erdgeist 06e89257a1 Make opentracker HUGE-accesslist-ready. Parse, then sort. 16 years ago
erdgeist 6819db7e98 Missed the last info_hash 16 years ago
erdgeist 553f62329a Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux. 16 years ago
erdgeist d729c88d88 Be more verbose if the accesslist can not be found 16 years ago
erdgeist 274a03f3d7 Only get old accesslist value shortly before freeing it 16 years ago
erdgeist a9c25b9fed Reloading accesslists left a wide window for race conditions. 16 years ago
erdgeist dfa173b071 Make accesslist function check for the correct signal 16 years ago
erdgeist 877e3cfbb0 Remove unnecessary =NULL initialization of static pointers. 16 years ago
erdgeist 2a94892890 Display v4 addresses in v4 mode nicer 16 years ago
erdgeist c7ed890222 Fix white spaces 16 years ago
erdgeist 9297967f85 Add a stat option the count bucket stalls 16 years ago
erdgeist 131211b4da V6 16 years ago
erdgeist 20257202af Fix incorrect prototype for accesslist_deinit 16 years ago
erdgeist c6947b160f Handle program end more politely 16 years ago
erdgeist 08c7162783 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read 16 years ago
erdgeist 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
erdgeist f4283be677 Fix debug output for addresses >127 16 years ago
erdgeist 01c9c3695c Enabled debug output, fixed blessed ip permissions 16 years ago
erdgeist e534db03c6 added live sync code 16 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist 5d18bf211c Move blessed IP handling code to accesslist objects 17 years ago
erdgeist 8bee224dc0 static bufs are not shared anymore, even if that means more memory. 17 years ago
erdgeist 04214491ee missing include 17 years ago
erdgeist 697e239027 Moving accesslist stuff to its own object 17 years ago