Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CMake: Hide kernel option on BSD, make kernel dir configurable | Simon Rettberg | 2018-07-06 | 1 | -6/+7 |
| | |||||
* | [SERVER] cmake: Add config option for extra compiler opptions | Simon Rettberg | 2018-07-04 | 1 | -5/+6 |
| | |||||
* | [SERVER] Add AFL support | Simon Rettberg | 2017-10-30 | 1 | -0/+6 |
| | | | | | | | | | | | 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] Use picohttpparser from h2o | Simon Rettberg | 2017-10-26 | 1 | -1/+1 |
| | | | | | | | Simple and lean interface, no bloat, noice. Slighly modified to use a simple string struct for passing around strings that are not null terminated, instead of separate char* and length. | ||||
* | [SERVER] Get rid of zlib dependency | Simon Rettberg | 2017-10-24 | 1 | -9/+3 |
| | | | | | | We only used it for CRC-32, so now the source tree includes a stripped down version of the crc32 code from the zlib project. | ||||
* | cmake: Move sample config to /etc/dnbd3-server aswell | Simon Rettberg | 2017-10-20 | 1 | -2/+2 |
| | |||||
* | [SERVER] Install example config to /etc/dnbd3/sample | Simon Rettberg | 2017-10-19 | 1 | -1/+1 |
| | |||||
* | [*] Support hop-counting in request header, protocol version 3 | Simon Rettberg | 2017-10-17 | 1 | -4/+4 |
| | | | | | | | | | | | | | | We steal 8 bits from the request offset to count hops when requests get relayed by proxies. This still leaves plenty of bits for the offset (56 bits, supporting images of up to 72 petabytes). This is used to detect proxy cycles. The algorithm is not perfect but should prevent endless relays of the same request. This is backwards compatible to old clients and servers, as the server only ever sets the hopcount in relayed requests if the upstream server is using protocol version 3 or newer, and clients are automatically upwards compatible as there is practically no image larger than 74PB, so the newly introduced hop count field is always 0 even in requests from old clients. | ||||
* | [cmake] Rewrote handling of individual modules; they now have options to ↵ | Simon Rettberg | 2016-07-22 | 1 | -30/+70 |
| | | | | | | turn them on/off Use either cmake -DBUILD_*=ON/OFF, or handle via ccmake's gui | ||||
* | Don't enable address sanitizer by default in debug mode with clang | Simon Rettberg | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | Added rudimentary benchmark tool. | Christian Klinger | 2016-07-15 | 1 | -0/+5 |
| | |||||
* | [SERVER] Get rid of .sample for config files (saves you the rename orgy ↵ | Simon Rettberg | 2016-03-22 | 1 | -2/+2 |
| | | | | after install) | ||||
* | cmake: Don't fail setup if more than one server lib is missing | Janosch Dobler | 2016-03-01 | 1 | -3/+3 |
| | | | | | "If Zlib AND Jansson are not found, JANSSON_INCLUDE_DIR is not set to an empty string and cmake configuring fails." | ||||
* | fix error in version.h inclusion | Sebastian | 2016-02-11 | 1 | -1/+10 |
| | |||||
* | Cmake tuning; move cfg folder | Sebastian | 2016-02-11 | 1 | -35/+46 |
| | |||||
* | [SHARED] Implement pipe() based signalling | Simon Rettberg | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | [SERVER] Performance: Optimized some functions (gprof) | Simon Rettberg | 2015-12-17 | 1 | -1/+1 |
| | | | | | | | A run with gprof revealed that background replication is a huge CPU hog. The block selection was very slow and has been improved a lot. Minor improvements were made to other functions that scan the cache map of an image and are thus relatively slow. | ||||
* | [SERVER] image_markComplete now handles locking so we remove() unlocked | Simon Rettberg | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | [FUSE] Start refactoring so we can handle multithread fuse | Simon Rettberg | 2015-11-21 | 1 | -3/+3 |
| | |||||
* | [SERVER] Fix dependency checks for dnbd3-server | Simon Rettberg | 2015-05-12 | 1 | -7/+17 |
| | |||||
* | [SERVER] PoC RPC interface | schwaers | 2015-04-30 | 1 | -3/+4 |
| | |||||
* | Fix cmake when missing libs | Simon Rettberg | 2015-04-24 | 1 | -11/+15 |
| | |||||
* | [FUSE] Integrate into cmake build process | Simon Rettberg | 2015-04-24 | 1 | -9/+32 |
| | |||||
* | Get rid of unneccessary volatile | Simon Rettberg | 2015-02-22 | 1 | -4/+4 |
| | | | | Some minor debugging code, mostly commented out | ||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -1/+1 |
| | | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition. | ||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -1/+1 |
| | | | | function names | ||||
* | [*] Add automatic version string generationv2.0 | Simon Rettberg | 2014-01-13 | 1 | -0/+20 |
| | |||||
* | [SERVER] Let's try compiler detection again | Simon Rettberg | 2014-01-09 | 1 | -5/+7 |
| | |||||
* | [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txt | Simon Rettberg | 2014-01-09 | 1 | -2/+9 |
| | | | | | | Use 'CC=/usr/local/bin/clang cmake -D_CMAKE_TOOLCHAIN_PREFIX=llvm- ..' to compile using clang. Requires LLVM 3.1 since AddressSanitizer is used for clang debug builds. | ||||
* | Refine CMakeLists: Tell cmake it's a C only project | Simon Rettberg | 2013-11-10 | 1 | -5/+4 |
| | |||||
* | [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵ | Simon Rettberg | 2013-07-31 | 1 | -0/+3 |
| | | | | yet, so prepare for lots of fixes ;)) | ||||
* | [SERVER] Still working on the uplink... Almost there | sr | 2013-07-26 | 1 | -3/+7 |
| | |||||
* | Implement CRC-32 list generation; fix quick CRC-32 check on image loading | sr | 2013-07-23 | 1 | -2/+2 |
| | |||||
* | Completely remove glib as dependency | sr | 2013-07-18 | 1 | -3/+3 |
| | |||||
* | Remove all glib dependencies from server | sr | 2013-07-17 | 1 | -1/+1 |
| | |||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -3/+4 |
| | |||||
* | [SERVER] Add IPv6 support (clients and RPC connections) | sr | 2013-01-15 | 1 | -4/+5 |
| | |||||
* | [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled ↵ | sr | 2012-08-30 | 1 | -0/+1 |
| | | | | | | | | | properly on 32bit [SERVER] Change IPC interface to be able to handle more than 1 request per connection [SERVER] Change IPC interface to use select() so it can handle multiple connections at the same time [SERVER] Re-Implement dnbd3_add_image() to work with image list [SERVER] Add lots of sanity/safety checks and error messages when loading/adding an image | ||||
* | [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode) | sr | 2012-08-27 | 1 | -2/+2 |
| | | | | | | | [SERVER] Use MSG_MORE instead of cork/uncork to save two syscalls [KERNEL] Fail-Counter for alt servers, ignore servers that fail too often [KERNEL] Add new alt servers to list, instead of replacing the old list [*] Add CMD_LATEST_RID to tell client about new revisions | ||||
* | [*] Cleanup, comments, more error checks | sr | 2012-08-24 | 1 | -1/+2 |
| | | | | | | | | [SERVER] Fix a few off-by-one bugs [SERVER] Make log available through IPC [KERNEL] Hot-Swap to faster connection on load-balance [KERNEL] Report I/O error to block layer if no server replies within a given time frame [*] Modified network protocol to handle volume names instead of ids | ||||
* | [SERVER] IPC over TCP | Johann Latocha | 2012-07-25 | 1 | -0/+2 |
| | |||||
* | [SERVER] IPC is using xml now. NEW DEPENDENCY: libxml2-dev | Johann Latocha | 2012-07-24 | 1 | -2/+3 |
| | |||||
* | [SERVER] Set groupid and permissions on ipc socket | Johann Latocha | 2012-07-18 | 1 | -1/+1 |
| | |||||
* | [ALL] Some cleanup | Johann Latocha | 2012-05-21 | 1 | -1/+1 |
| | |||||
* | [ALL] Warning warn_unused_result removed | Johann Latocha | 2012-05-08 | 1 | -4/+4 |
| | |||||
* | Debug => Release | Johann Latocha | 2012-05-01 | 1 | -1/+1 |
| | |||||
* | [BUILD] Don't overwrite existing config files | Johann Latocha | 2012-02-16 | 1 | -1/+1 |
| | |||||
* | [CLIENT] Connecting via config file | Johann Latocha | 2012-02-03 | 1 | -0/+3 |
| | |||||
* | [BUILD] Install target added | Johann Latocha | 2012-02-03 | 1 | -1/+17 |
| | |||||
* | [ALL] Some refactoring | Johann Latocha | 2012-01-31 | 1 | -3/+8 |
| |