Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] Add AFL support | Simon Rettberg | 2017-10-30 | 1 | -3/+36 |
| | | | | | | | | | | | AFL is an instrumenting fuzzer. It expects to pass input to the program to be tested via command line (file name) or via stdin. This adds support for reading messages that normally would arrive via network directly from stdin. In this mode, the server is pretty useless otherwise. http://lcamtuf.coredump.cx/afl/ | ||||
* | [SERVER] Missed occurence of AF_INET(6) -> HOST_IP[46] | Simon Rettberg | 2017-10-30 | 1 | -3/+6 |
| | |||||
* | [SERVER] Fix types or add explicit casts everywhere we might have type ↵ | Simon Rettberg | 2017-10-24 | 1 | -1/+1 |
| | | | | conversion problems | ||||
* | [SERVER] Use monotonic clock for measuring time | Simon Rettberg | 2017-10-19 | 1 | -4/+8 |
| | | | | | Introduces new shared source unit timing.[ch] Closes #3214 | ||||
* | [SERVER] Refactor: Move client list to net.* and isolate | Simon Rettberg | 2017-09-07 | 1 | -125/+15 |
| | |||||
* | [SERVER] Fix formatting | Simon Rettberg | 2016-03-22 | 1 | -15/+15 |
| | |||||
* | dnbd3server build success on freebsd :) | Sebastian | 2016-02-11 | 1 | -10/+15 |
| | |||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -18/+10 |
| | |||||
* | [SERVER] Fix a lot of (mostly harmless) data races | Simon Rettberg | 2016-01-11 | 1 | -7/+6 |
| | |||||
* | [SERVER] Cancel scanning of image dir if _shutdown is set | Simon Rettberg | 2015-12-16 | 1 | -2/+4 |
| | | | | So you can cancel image loading on startup via Ctrl-C | ||||
* | [SERVER] More fine grained locking for RPC; better error logging | Simon Rettberg | 2015-12-16 | 1 | -1/+6 |
| | |||||
* | [SERVER] Make listen port configurable | Simon Rettberg | 2015-12-14 | 1 | -1/+1 |
| | |||||
* | [SERVER] Free memory on exit to get new valgrind high score | Simon Rettberg | 2015-12-14 | 1 | -1/+4 |
| | |||||
* | [SERVER] Update includes for moved log.h | Simon Rettberg | 2015-12-02 | 1 | -1/+1 |
| | |||||
* | [FUSE] Mid-refactoring, does not compile | Simon Rettberg | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | [SERVER] Reload images in another thread when triggered by signal | Simon Rettberg | 2015-05-12 | 1 | -6/+12 |
| | | | | | | | The server used to reload all images on the main thread, which is also responsible for accepting connections. While reloading the list, no new connections were accepted, which lead to clients marking the server as bad during their RTT measurements, then switching away from it. | ||||
* | [Server] Added statistics of images and uptime to json. | Stephan Schwaer | 2015-05-05 | 1 | -1/+0 |
| | |||||
* | Removed dnbd3_printClients, added clients to statistics json in rpc. | Stephan Schwaer | 2015-05-04 | 1 | -15/+0 |
| | |||||
* | [SERVER] Added counters for received and sent bytes. | Stephan Schwaer | 2015-04-27 | 1 | -1/+3 |
| | |||||
* | [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵ | Simon Rettberg | 2015-02-23 | 1 | -34/+20 |
| | | | | delay feature | ||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 1 | -21/+18 |
| | | | | | | - Added message type parameter - Log to file and stdout, no more logging in memory - Added options to server.conf to filter which messages show up where | ||||
* | [SERVER] Set client connection timeout in client thread | Simon Rettberg | 2015-01-07 | 1 | -2/+0 |
| | |||||
* | [SERVER] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 1 | -52/+51 |
| | |||||
* | [SERVER] Use a thread pool for client connections | Simon Rettberg | 2015-01-05 | 1 | -7/+7 |
| | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -15/+15 |
| | | | | function names | ||||
* | [SERVER] Minor tweaks and improvements | Simon Rettberg | 2014-12-31 | 1 | -2/+2 |
| | |||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -2/+2 |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | ||||
* | Improve uplink handling, add code to debug thread creation/destruction, ↵ | Simon Rettberg | 2014-06-16 | 1 | -5/+6 |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | ||||
* | [SERVER] Thread and uplink handling | Simon Rettberg | 2014-02-13 | 1 | -4/+3 |
| | |||||
* | [*] Add automatic version string generationv2.0 | Simon Rettberg | 2014-01-13 | 1 | -0/+1 |
| | |||||
* | [SERVER] Don't wait forever on shutdown | Simon Rettberg | 2014-01-13 | 1 | -1/+2 |
| | |||||
* | [SERVER] SIGHUP triggers reload aswell. Some changes to server shutdown ↵ | Simon Rettberg | 2014-01-02 | 1 | -21/+18 |
| | | | | function. | ||||
* | [SERVER] Fix possible deadlock through printf usage in signal handler | Simon Rettberg | 2013-12-10 | 1 | -15/+21 |
| | |||||
* | [SERVER] Once again rework locking in uplink and freeing of resources to ↵ | Simon Rettberg | 2013-11-15 | 1 | -1/+1 |
| | | | | fight messups when the uplink is shut down | ||||
* | [SERVER] Create client threads detached instead of detaching them after ↵ | Simon Rettberg | 2013-11-14 | 1 | -5/+4 |
| | | | | creation to prevent a race condition where a thread dies faster than we can call pthread_detach, which leads to a use-after-free | ||||
* | [SERVER] Shut down altservers finder properly | Simon Rettberg | 2013-11-12 | 1 | -0/+2 |
| | |||||
* | Joey style commit | Simon Rettberg | 2013-11-07 | 1 | -1/+1 |
| | |||||
* | [SERVER] Add --bind parameter to specify bind interface (currently IPv4 only) | Simon Rettberg | 2013-11-07 | 1 | -2/+8 |
| | |||||
* | [SERVER] Block signals on network threads | Simon Rettberg | 2013-09-17 | 1 | -1/+2 |
| | |||||
* | [SERVER] Typo... | Simon Rettberg | 2013-09-16 | 1 | -1/+1 |
| | |||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -29/+44 |
| | | | | too often | ||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -2/+11 |
| | | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB | ||||
* | [SERVER] On-the-fly transparent proxying | Simon Rettberg | 2013-08-26 | 1 | -4/+7 |
| | |||||
* | [SERVER] Formatting | Simon Rettberg | 2013-08-19 | 1 | -5/+16 |
| | |||||
* | [SERVER] Remove dead code | Simon Rettberg | 2013-08-15 | 1 | -2/+0 |
| | |||||
* | Test your coke, dork! | Simon Rettberg | 2013-08-13 | 1 | -2/+0 |
| | |||||
* | [SERVER] Fix race condition in uplink request aggregation, other small ↵ | Simon Rettberg | 2013-08-13 | 1 | -0/+2 |
| | | | | improvements and debugging features | ||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -2/+12 |
| | |||||
* | [SERVER] Fix use-after-free, improve cleanup | Simon Rettberg | 2013-08-02 | 1 | -9/+28 |
| | |||||
* | [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵ | Simon Rettberg | 2013-08-02 | 1 | -1/+3 |
| | | | | corruption |