<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dnbd3.git/src/shared/protocol.h, branch isfant</title>
<subtitle>Distributed Network Block Device 3 --rewrite for Kernel 3.x</subtitle>
<id>https://git.openslx.org/dnbd3.git/atom/src/shared/protocol.h?h=isfant</id>
<link rel='self' href='https://git.openslx.org/dnbd3.git/atom/src/shared/protocol.h?h=isfant'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/'/>
<updated>2020-10-16T15:15:49+00:00</updated>
<entry>
<title>[BUILD] rewrite CMake build system to track changes of source files</title>
<updated>2020-10-16T15:15:49+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-10-16T15:15:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=969496f15e1e0359e26c2c6e995ad4ef82720f86'/>
<id>urn:sha1:969496f15e1e0359e26c2c6e995ad4ef82720f86</id>
<content type='text'>
This change restructures the source code directories, separates shared
form non-shared application code and adds CMake dependencies. These
dependencies allow the tracking of changes and trigger a rebuild of
those build targets where changed files are involved.

WARNING: Note that the support of the DNBD3_SERVER_AFL build option is
not supported yet. Thus, the option should be never turned on.
</content>
</entry>
<entry>
<title>[SHARED] Fix 16 byte information leakage in select image message</title>
<updated>2020-06-30T09:21:31+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2020-06-30T09:21:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=dcece877215a0d909553ae9301a02d031b37b715'/>
<id>urn:sha1:dcece877215a0d909553ae9301a02d031b37b715</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SERVER] Fix compiler warnings</title>
<updated>2019-09-02T11:26:47+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2019-09-02T11:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=0edf0a0888b1e40769e19eee031c2cefdcf37d26'/>
<id>urn:sha1:0edf0a0888b1e40769e19eee031c2cefdcf37d26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SERVER] Add pretendClient config option</title>
<updated>2019-07-23T15:24:27+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2019-07-23T15:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=a61b4f18a1f9dcb78dba4bcde48a9318b04a45ec'/>
<id>urn:sha1:a61b4f18a1f9dcb78dba4bcde48a9318b04a45ec</id>
<content type='text'>
This makes the server not set the FLAGS8_SERVER flag
when establishing an uplink connection. Useful mostly
for running a proxy on localhost for local caching.
</content>
</entry>
<entry>
<title>[SERVER] Only set BGR flag in handshake for BGR_FULL</title>
<updated>2018-11-16T09:42:22+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2018-11-16T09:42:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=a28448bce13f0d3c71e0b11e3d7c33663d1a2ee9'/>
<id>urn:sha1:a28448bce13f0d3c71e0b11e3d7c33663d1a2ee9</id>
<content type='text'>
_backgroundReplication was still treated as a boolean flag, so a server
with BGR_NONE would reject a server with BGR_HASHBLOCK. While this still
forces the BGR_NONE proxy to replicate more than it normally would, it
seems reasonable to allow this.
</content>
</entry>
<entry>
<title>[SHARED] Reset errno</title>
<updated>2018-04-05T16:31:22+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2018-04-05T16:31:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=de824f77fcf7a9164d0e52cf9979c285174426db'/>
<id>urn:sha1:de824f77fcf7a9164d0e52cf9979c285174426db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SERVER] Support finer control over replication when a proxy connects to a proxy</title>
<updated>2017-11-02T12:41:35+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2017-11-02T12:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=1587f73c38c9228a1a93889aae6351eff891cbe8'/>
<id>urn:sha1:1587f73c38c9228a1a93889aae6351eff891cbe8</id>
<content type='text'>
Introduce new flag in "select image" message to tell the uplink server
whether we have background replication enabled or not. Also reject
a connecting proxy if the connecting proxy uses BGR but we don't, as this
would basically force the image to be replicated locally too.
</content>
</entry>
<entry>
<title>[SERVER] Fix types or add explicit casts everywhere we might have type conversion problems</title>
<updated>2017-10-24T09:27:44+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2017-10-24T09:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=a0fbfe1c6d6f42b4c2704c882beda1c4cafe5016'/>
<id>urn:sha1:a0fbfe1c6d6f42b4c2704c882beda1c4cafe5016</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[*] Support hop-counting in request header, protocol version 3</title>
<updated>2017-10-17T10:08:55+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2017-10-17T10:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=102705470366b871109d2c3bf182c151ab71eb01'/>
<id>urn:sha1:102705470366b871109d2c3bf182c151ab71eb01</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>[SERVER] Fix formatting</title>
<updated>2016-03-22T14:58:13+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2016-03-22T14:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=549a53070ae03b47e11943727afe4f8927cb6c42'/>
<id>urn:sha1:549a53070ae03b47e11943727afe4f8927cb6c42</id>
<content type='text'>
</content>
</entry>
</feed>
