nbd.git
20 years agor39: Oops
yoe [Fri, 10 Oct 2003 12:46:59 +0000 (12:46 +0000)]
r39: Oops

20 years agor38: configure.in:
yoe [Fri, 10 Oct 2003 12:45:21 +0000 (12:45 +0000)]
r38: configure.in:
* Added extra checks as suggested by autoscan
* Added --enable-lfs option, to avoid having to play with CFLAGS
config.h.in:
* Updated
nbd-server.c:
* Rectify type of mainloop::size_host, closing sf.net bugs #
  814435 and 817385
* Added socket option SO_KEEPALIVE, so that keepalive packages
  are being sent after "a while" (still two hours with the
  Linux kernel's default settings, but oh well). Closes sf.net
  bug # 819235.
* fclose() the PID file after writing to it, so that other
  processes can actually read our PID from that file. Makes it
  a bit useful, too.
cliserv.h:
* Support for --enable-lfs option.

20 years agor37: CRITICAL BUGFIX: after forking, reset child_arraysize to zero to make
yoe [Mon, 29 Sep 2003 17:57:44 +0000 (17:57 +0000)]
r37: CRITICAL BUGFIX: after forking, reset child_arraysize to zero to make
sure nbd-server doesn't go berserk and start sending SIGTERM to all
processes instead of just its own clients, when killed.

20 years agor36: removed a syntax error, and made the manpage internally consistent.
yoe [Tue, 2 Sep 2003 13:01:45 +0000 (13:01 +0000)]
r36: removed a syntax error, and made the manpage internally consistent.

20 years agor35: Added an option to allow for selecting the .allow file on the command
yoe [Tue, 2 Sep 2003 12:47:49 +0000 (12:47 +0000)]
r35: Added an option to allow for selecting the .allow file on the command
line, instead of relying on compile-time directive.

20 years agor34: Fixed one minor bug
yoe [Mon, 25 Aug 2003 11:18:30 +0000 (11:18 +0000)]
r34: Fixed one minor bug

20 years agor33: use PACKAGE_VERSION to determine what version we are (and output that
yoe [Thu, 21 Aug 2003 13:31:56 +0000 (13:31 +0000)]
r33: use PACKAGE_VERSION to determine what version we are (and output that
in the usage message). Did that in nbd-server too, but forgot to tell
that in the CVS message :-)

20 years agor32: keep track of children and send them SIGTERM if someone sends us that;
yoe [Thu, 21 Aug 2003 13:31:04 +0000 (13:31 +0000)]
r32: keep track of children and send them SIGTERM if someone sends us that;
invoke daemon() before we do anything.

20 years agor31: Relicensed. I've decided to migrate away from FDL licenses, since I
yoe [Sun, 20 Jul 2003 09:46:25 +0000 (09:46 +0000)]
r31: Relicensed. I've decided to migrate away from FDL licenses, since I
agree with the major part of debian-legal's stance on it.

20 years agor30: Winnbd code from Folkert van Heusden <folkert@vanheusden.com>
pavel [Sun, 13 Jul 2003 21:23:55 +0000 (21:23 +0000)]
r30: Winnbd code from Folkert van Heusden <folkert@vanheusden.com>

20 years agor29: NBD server for Windows 2000 ---- winzip format
acrux [Fri, 23 May 2003 15:37:41 +0000 (15:37 +0000)]
r29: NBD server for Windows 2000 ---- winzip format

20 years agor28: A brief README file of nbd server for windows 2000.
acrux [Fri, 23 May 2003 15:09:23 +0000 (15:09 +0000)]
r28: A brief README file of nbd server for windows 2000.

21 years agor27: Rewrote the way we define OFFT_MAX, which would otherwise break on
yoe [Tue, 15 Apr 2003 01:48:16 +0000 (01:48 +0000)]
r27: Rewrote the way we define OFFT_MAX, which would otherwise break on
64bit architectures.

21 years agor26: Modified write() to be send().
yoe [Thu, 14 Nov 2002 22:20:54 +0000 (22:20 +0000)]
r26: Modified write() to be send().
Rationale: when #define'ing _LARGEFILE_SOURCE, and _FILE_OFFSET_BITS
to 64 so as to get Large File Support, some file-related syscalls are
modified to their 64 bit counterparts; write() is one of them. And
there's no such thing as a 'large' socket, which has caused nbd-server
to hang in the write() call. Changing the write() to a send() fixed
this (and I hate ugly bugs. This one took me, like, three days ;-)

21 years agor25: * Added Large File Support to nbd-server.
yoe [Sun, 20 Oct 2002 13:55:41 +0000 (13:55 +0000)]
r25: * Added Large File Support to nbd-server.
* Added -a option to nbd-server's manpage (and removed erroneous '-c
  this' entry)

21 years agor24: COPYONWRITE had horrible coding style. Cleanups still needed.
pavel [Mon, 30 Sep 2002 18:12:10 +0000 (18:12 +0000)]
r24: COPYONWRITE had horrible coding style. Cleanups still needed.

21 years agor23: Automagically switch to readonly mode when device is readonly. Patch
pavel [Sat, 21 Sep 2002 09:47:38 +0000 (09:47 +0000)]
r23: Automagically switch to readonly mode when device is readonly. Patch
by Alberto Marmodoro.

21 years agor22: Reap zombies; make errormsg bit more helpful when connection is
yoe [Wed, 11 Sep 2002 15:51:32 +0000 (15:51 +0000)]
r22: Reap zombies; make errormsg bit more helpful when connection is
dropped before anything is sent.

22 years agor21: Client and server version both set to 2.0 so they are now in step with each...
rohan [Mon, 25 Mar 2002 11:46:37 +0000 (11:46 +0000)]
r21:  Client and server version both set to 2.0 so they are now in step with each other

22 years agor20: Removed since its autogenerated. Will generate it in future for each tar ball...
rohan [Mon, 25 Mar 2002 11:28:55 +0000 (11:28 +0000)]
r20: Removed since its autogenerated. Will generate it in future for each tar ball before release

22 years agor19: Bug fixes for 64bit operation from Anton Altaparmakov
rohan [Sun, 24 Mar 2002 20:23:38 +0000 (20:23 +0000)]
r19: Bug fixes for 64bit operation from Anton Altaparmakov

22 years agor18: o Added configure script at suggestion of Anton Altaparmakov for people
rohan [Sun, 24 Mar 2002 20:12:19 +0000 (20:12 +0000)]
r18:  o Added configure script at suggestion of Anton Altaparmakov for people
   without autoconf installed.

22 years agor17: Option to timeout after certain time of inactivity.
pavel [Mon, 4 Feb 2002 12:08:26 +0000 (12:08 +0000)]
r17: Option to timeout after certain time of inactivity.

22 years agor16: Set SO_REUSEADDR socket option to nbd-server
yoe [Mon, 28 Jan 2002 23:05:08 +0000 (23:05 +0000)]
r16: Set SO_REUSEADDR socket option to nbd-server

22 years agor15: Allow bigger requests and kill ugly warning.
pavel [Fri, 18 Jan 2002 17:01:59 +0000 (17:01 +0000)]
r15: Allow bigger requests and kill ugly warning.

22 years agor14: Explained use of nbd_server.allow file
yoe [Wed, 2 Jan 2002 22:50:39 +0000 (22:50 +0000)]
r14: Explained use of nbd_server.allow file

22 years agor13: Sanitized "AUTHORS" section. Sorry Pavel ;-)
yoe [Wed, 5 Dec 2001 19:50:38 +0000 (19:50 +0000)]
r13: Sanitized "AUTHORS" section. Sorry Pavel ;-)

22 years agor12: Removed template-clutter
yoe [Sun, 18 Nov 2001 09:32:28 +0000 (09:32 +0000)]
r12: Removed template-clutter
Changed reference to linux to be politically a bit more correct, and
included reference to The Hurd as a client.

22 years agor11: Manpages from Wouter Verhelst <wouter@debian.org>.
pavel [Thu, 20 Sep 2001 21:07:16 +0000 (21:07 +0000)]
r11: Manpages from Wouter Verhelst <wouter@debian.org>.

22 years agor10: Changes from Wouter Verhelst to use nbd.h from linux tree, instead of
pavel [Wed, 13 Jun 2001 09:58:44 +0000 (09:58 +0000)]
r10: Changes from Wouter Verhelst to use nbd.h from linux tree, instead of
nonexistent local copy.

23 years agor9: Support for changing blocksize.
pavel [Wed, 28 Feb 2001 13:39:45 +0000 (13:39 +0000)]
r9: Support for changing blocksize.

23 years agor8: Makefile.in is needed to build nbd.
pavel [Wed, 28 Feb 2001 13:38:38 +0000 (13:38 +0000)]
r8: Makefile.in is needed to build nbd.

23 years agor7: Added gzipped nbd code from marc <marc@jade.cs.uct.ac.za>.
pavel [Sun, 10 Dec 2000 21:37:05 +0000 (21:37 +0000)]
r7: Added gzipped nbd code from marc <marc@jade.cs.uct.ac.za>.

23 years agor3: Initial revision
pavel [Fri, 27 Oct 2000 07:41:13 +0000 (07:41 +0000)]
r3: Initial revision