summaryrefslogtreecommitdiffstats
path: root/src/server/uplink.h
Commit message (Collapse)AuthorAgeFilesLines
* [*] Support hop-counting in request header, protocol version 3Simon Rettberg2017-10-171-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 commitsSebastian2016-02-111-1/+1
|
* [Server] Added statistics of images and uptime to json.Stephan Schwaer2015-05-051-2/+0Star
|
* Removed dnbd3_printClients, added clients to statistics json in rpc.Stephan Schwaer2015-05-041-0/+4
|
* [SERVER] Added counters for received and sent bytes.Stephan Schwaer2015-04-271-0/+2
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-2/+2
| | | | function names
* [SERVER] On-the-fly transparent proxyingSimon Rettberg2013-08-261-1/+1
|
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-1/+2
|
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-7/+0Star
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-1/+3
|
* Work in progress: uplinksr2013-07-251-1/+1
|
* ...Working on proxy mode...sr2013-07-251-0/+2
|
* "It's compiling!"sr2013-07-151-0/+3
|
* Rewriiiiiiiiitesr2013-07-151-0/+14