Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [*] Support hop-counting in request header, protocol version 3 | Simon Rettberg | 2017-10-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | 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. | ||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -1/+1 |
| | |||||
* | [Server] Added statistics of images and uptime to json. | Stephan Schwaer | 2015-05-05 | 1 | -2/+0 |
| | |||||
* | Removed dnbd3_printClients, added clients to statistics json in rpc. | Stephan Schwaer | 2015-05-04 | 1 | -0/+4 |
| | |||||
* | [SERVER] Added counters for received and sent bytes. | Stephan Schwaer | 2015-04-27 | 1 | -0/+2 |
| | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -2/+2 |
| | | | | function names | ||||
* | [SERVER] On-the-fly transparent proxying | Simon Rettberg | 2013-08-26 | 1 | -1/+1 |
| | |||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -1/+2 |
| | |||||
* | [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵ | Simon Rettberg | 2013-07-31 | 1 | -7/+0 |
| | | | | yet, so prepare for lots of fixes ;)) | ||||
* | [SERVER] Still working on the uplink... Almost there | sr | 2013-07-26 | 1 | -1/+3 |
| | |||||
* | Work in progress: uplink | sr | 2013-07-25 | 1 | -1/+1 |
| | |||||
* | ...Working on proxy mode... | sr | 2013-07-25 | 1 | -0/+2 |
| | |||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -0/+3 |
| | |||||
* | Rewriiiiiiiiite | sr | 2013-07-15 | 1 | -0/+14 |