Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [KERNEL] Removes duplicate word 'of' in license headers | Manuel Bentele | 2021-04-16 | 1 | -1/+1 |
| | |||||
* | [CLIENT] Use SO_GETPEERCRED instead of braindead setuid crap | Simon Rettberg | 2021-04-14 | 1 | -56/+69 |
| | | | | | | If you need daemon mode, run as root with --daemon, normal users can then request devices to be connected using the same binary WITHOUT havind the suid bit set on it. | ||||
* | [BUILD] Add support in CMake to validate (lint) the source code | Manuel Bentele | 2021-03-04 | 1 | -1/+6 |
| | |||||
* | [BUILD] Fix dnbd3-client build, Fix source-only build | Simon Rettberg | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | [BUILD] Include branch and build timestamp in binaries | Simon Rettberg | 2020-12-02 | 1 | -1/+3 |
| | |||||
* | [CLIENT] print help and version number correctly | Manuel Bentele | 2020-12-02 | 1 | -8/+5 |
| | | | | | | This change prevents the dnbd3-client to print the help text twice if the help parameter is submitted. In addition to that, correct exit codes are set after the help text is printed and the program terminates. | ||||
* | [CLIENT] display proper connected server if multiple servers specified | Manuel Bentele | 2020-11-10 | 1 | -12/+18 |
| | | | | | | | With this change, the dnbd3-client is able to display the selected server (choosen by the Linux kernel module) after successful probing. Therefore, the ioctl call OPEN returns the selected server host as index of the specified dnbd3-server hosts after successful probing. | ||||
* | [KERNEL, CLIENT]: submit and probe multiple dnbd3-server with ioctl OPEN | Manuel Bentele | 2020-11-06 | 1 | -14/+54 |
| | | | | | | | | | | The ioctl OPEN call for DNBD3 devices exposed by the dnbd3 Linux kernel module, is extended with a fixed array of dnbd3 hosts. The fixed array allows the dnbd3-client to submit host information (IP address and port) of multiple dnbd3-servers. This information is used to probe all submitted dnbd3-servers and add them to the alternative dnbd3-server list. If at least one dnbd3-server is not reachable, the OPEN ioctl call will abort with an error code. | ||||
* | [CLIENT] format output of program help text | Manuel Bentele | 2020-10-30 | 1 | -7/+7 |
| | |||||
* | [CLIENT] add documentation for adding/removing dnbd3-server to help | Manuel Bentele | 2020-10-30 | 2 | -10/+9 |
| | |||||
* | [CLIENT] add feature to ignore propagated alternative servers (sticky mode) | Manuel Bentele | 2020-10-29 | 1 | -6/+23 |
| | |||||
* | [BUILD] remove the build requirement for an unused C++ compiler | Manuel Bentele | 2020-10-27 | 1 | -1/+2 |
| | | | | | This patch sets the programming languages of each CMake project to C. With this change, CMake does not search for an unused C++ compiler anymore. | ||||
* | [BUILD] add CMake targets to build binary and source packages with CPack | Manuel Bentele | 2020-10-22 | 2 | -3/+4 |
| | | | | | | | | | | | This patch adds the following CMake targets - package - source to build bundeled packages. Those packages contain either all built binary artifacts or all source files for source code distribution. Both CMake targets are available in Release build configuration. | ||||
* | [BUILD] set build type and stop Release build if repository is dirty | Manuel Bentele | 2020-10-19 | 1 | -2/+2 |
| | |||||
* | [BUILD] fixes issues to build user space programs on FreeBSD 12.1 | Manuel Bentele | 2020-10-19 | 2 | -1/+2 |
| | |||||
* | [BUILD] rewrite CMake build system to track changes of source files | Manuel Bentele | 2020-10-16 | 2 | -5/+19 |
| | | | | | | | | | | 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. | ||||
* | [*] Introduce constants for IPv4/6 in dnbd3_host_t | Simon Rettberg | 2017-10-28 | 1 | -8/+9 |
| | | | | | | | 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. | ||||
* | [*] Continue splitting #defines to clientconfig.h etc. | Simon Rettberg | 2017-09-02 | 1 | -0/+1 |
| | |||||
* | [CLIENT] fix help output for closing a device | Jonathan Bauer | 2016-06-13 | 1 | -1/+1 |
| | |||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -4/+3 |
| | |||||
* | [KERNEL/CLIENT] Several minor tweaks and changes | Simon Rettberg | 2016-01-11 | 1 | -2/+2 |
| | | | | | | | | | | - 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 | ||||
* | [CLIENT] Fix compilation, adapt to stdbool.h | Simon Rettberg | 2015-01-13 | 1 | -25/+25 |
| | |||||
* | [CLIENT] Debug argument handling in daemon mode | Simon Rettberg | 2014-04-15 | 1 | -9/+13 |
| | |||||
* | [*] Add automatic version string generationv2.0 | Simon Rettberg | 2014-01-13 | 1 | -0/+1 |
| | |||||
* | [CLIENT] Add options to add and remove alt-servers | Simon Rettberg | 2013-11-11 | 1 | -31/+94 |
| | |||||
* | [CLIENT] Fix daemon-kill command | Simon Rettberg | 2013-08-22 | 1 | -1/+4 |
| | |||||
* | [CLIENT] Fixes & Tweaks | Simon Rettberg | 2013-08-20 | 1 | -12/+24 |
| | |||||
* | [CLIENT] Fix nullpointer access | Simon Rettberg | 2013-08-20 | 1 | -3/+1 |
| | |||||
* | [CLIENT] Finish daemon-mode support | Simon Rettberg | 2013-08-20 | 1 | -15/+105 |
| | |||||
* | [CLIENT] Start implementing a daemon mode which should make connecting dnbd3 ↵ | Simon Rettberg | 2013-08-19 | 1 | -140/+348 |
| | | | | devices for unprivileged users easier | ||||
* | Completely remove glib as dependency | sr | 2013-07-18 | 1 | -52/+1 |
| | |||||
* | [KERNEL/CLIENT] Add IPv6 supportdnbd3-sr-thesis-final | sr | 2013-01-15 | 1 | -14/+88 |
| | |||||
* | [SERVER] Check which dnbd3 devices are idle and ready to use for proxy mode | sr | 2012-09-03 | 1 | -9/+9 |
| | | | | | | [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 | ||||
* | [*] Fixed and unified formatting | sr | 2012-09-03 | 1 | -216/+217 |
| | |||||
* | [KERNEL] Tell server whether we're a client or a server in proxy mode | sr | 2012-09-01 | 1 | -1/+1 |
| | | | | | [KERNEL] SysFS: Return empty string for current_server if not connected [SERVER] Code refactoring | ||||
* | [KERNEL] Add IOCTLs to add and remove servers | sr | 2012-08-28 | 1 | -0/+1 |
| | | | | | [KERNEL] Detect dead idle connection earlier [KERNEL] Improved debug output | ||||
* | [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode) | sr | 2012-08-27 | 1 | -4/+4 |
| | | | | | | | [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 | ||||
* | [KERNEL] Only update alt-server list if received from initial server | sr | 2012-08-25 | 1 | -4/+4 |
| | | | | [*] Add CMD_KEEPALIVE protocol message type | ||||
* | [KERNEL] Make it possible to receive push messages by the server | sr | 2012-08-25 | 1 | -3/+5 |
| | |||||
* | [*] Fix bug in serializer_get_* | sr | 2012-08-25 | 1 | -7/+10 |
| | | | | | | [CLIENT/KERNEL] Change ioctl to handle volume names instead if vids [*] Make protocol endian safe [CLIENT] Display ioctl errorcode on failure | ||||
* | [*] Cleanup, comments, more error checks | sr | 2012-08-24 | 1 | -24/+40 |
| | | | | | | | | [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] Some cleanup | Johann Latocha | 2012-05-21 | 1 | -17/+10 |
| | |||||
* | [KERNEL] Set proper exit status on connection | Johann Latocha | 2012-05-08 | 1 | -0/+12 |
| | |||||
* | [KERNEL] Read ahead increased | Johann Latocha | 2012-02-23 | 1 | -4/+15 |
| | |||||
* | [CLIENT] Get host by name | Johann Latocha | 2012-02-09 | 1 | -10/+23 |
| | |||||
* | [ALL] Request latest available rid | Johann Latocha | 2012-02-06 | 1 | -6/+6 |
| | |||||
* | [KERNEL] Device can now be closed | Johann Latocha | 2012-02-03 | 1 | -52/+61 |
| | |||||
* | [CLIENT] Connecting via config file | Johann Latocha | 2012-02-03 | 1 | -16/+64 |
| | |||||
* | [SERVER] Parsing config file with glib | Johann Latocha | 2012-02-02 | 1 | -19/+28 |
| | | | | | [KERNEL] Bugfixes [CLIENT] Using vid and rid | ||||
* | [ALL] Some refactoring | Johann Latocha | 2012-01-31 | 1 | -6/+6 |
| |