| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
AF_INET luckily was "2" on all platforms checked, so no problems
there with interoperation, but AF_INET6 is different between
Linux, BSD, Windows and possibly others, so map back and forth
between AF_INET/AF_INET6 and HOST_IP4/HOST_IP6 to fix this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
- ACL is defined in new file rpc.acl
- Queries are still WIP, for now something like
/query?q=stats&q=images
/query?q=clients
works, although the parsing is still ugly
- Also supports HTTP keep-alive
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Disable panic timeout that reports errors to block layer by default
- Get rid of "is_server" used by old proxy mode, introduce
"honor_server_alts" that just controls whether we use alts provided by
the server
- Allow switching servers when we only have 3 RTT measurements
- If using alts provided by server, don't ignore those that come from
other servers than the initial one
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
function names
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
tracked and debugged
Fix compilation of kernel module
|
| |
|
|
|
|
| |
[SERVER] Restructure RPC functions, add helpers
|
|
|
|
|
|
| |
[SERVER] Skeleton of server-to-server communication
[SERVER] Update access-time of images in use by actual clients
[*] Add dnbd3_host_t type to handle address+port+addrtype consistently across the project
|
| |
|
| |
|
|
|
|
|
| |
[KERNEL] SysFS: Return empty string for current_server if not connected
[SERVER] Code refactoring
|
|
|
|
|
| |
[KERNEL] Detect dead idle connection earlier
[KERNEL] Improved debug output
|
|
|
|
|
|
|
| |
[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
|
|
|
|
| |
[*] Add CMD_KEEPALIVE protocol message type
|
|
|
|
|
|
| |
[CLIENT/KERNEL] Change ioctl to handle volume names instead if vids
[*] Make protocol endian safe
[CLIENT] Display ioctl errorcode on failure
|
|
|
|
|
|
|
|
| |
[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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
[ALL] Send and receive servers
[TODO] Config file reloading is broken
|
| |
|
|
|
|
|
| |
[KERNEL] Bugfixes
[CLIENT] Using vid and rid
|
| |
|
| |
|
|
|
|
| |
[KERNEL] Send keep alive
|
|
|
|
| |
[SERVER] Build error/warning on x64 fixed
|
| |
|
| |
|
|
|