]> git.sesse.net Git - betaftpd/log
betaftpd
20 years agoFixed a security problem where the custom snprintf() would always be used. Thanks... master
sgunderson [Sat, 1 Nov 2003 12:32:27 +0000 (12:32 +0000)]
Fixed a security problem where the custom snprintf() would always be used. Thanks to Alexis Wilke for pointing this out.

20 years agoFixed a compile error with --disable-upload.
sgunderson [Thu, 29 May 2003 20:05:34 +0000 (20:05 +0000)]
Fixed a compile error with --disable-upload.

21 years agoFixed a few problems reported by Valgrind (still not sure if BetaFTPD is totally...
sgunderson [Sat, 12 Apr 2003 12:43:40 +0000 (12:43 +0000)]
Fixed a few problems reported by Valgrind (still not sure if BetaFTPD is totally Valgrind-clean, though).

22 years agoNow actually _uses_ CPPFLAGS instead of abusing CFLAGS for preprocessing flags and...
sgunderson [Mon, 18 Feb 2002 02:42:24 +0000 (02:42 +0000)]
Now actually _uses_ CPPFLAGS instead of abusing CFLAGS for preprocessing flags and using the ugly REAL_CFLAGS solution.

22 years agoFixed a file transfer bug, where the initial "150 Opening connection (...)" message...
sgunderson [Tue, 9 Oct 2001 21:33:46 +0000 (21:33 +0000)]
Fixed a file transfer bug, where the initial "150 Opening connection (...)" message would never be sent in time (again related to numeric fixes).

22 years agoFixed a problem where unknown commands would just cause the connection to hang, more...
sgunderson [Tue, 9 Oct 2001 21:17:39 +0000 (21:17 +0000)]
Fixed a problem where unknown commands would just cause the connection to hang, more or less (related to the numeric cleanups).

22 years agoFixed a problem where a trailing null byte would be sent.
sgunderson [Tue, 9 Oct 2001 21:10:53 +0000 (21:10 +0000)]
Fixed a problem where a trailing null byte would be sent.

22 years agoFixed a problem where the server might segfault if there was an error occuring while...
sgunderson [Tue, 9 Oct 2001 14:28:20 +0000 (14:28 +0000)]
Fixed a problem where the server might segfault if there was an error occuring while sending the numeric() results (this patch is not 100% tried and stable yet, unfortunately). Thanks to Dominic Rath <drath@chip.de> and the rest of the chip.de team for finding and tracking down this bug.

22 years agoRemoved some non-used Debian files from the CVS server.
sgunderson [Thu, 20 Sep 2001 15:18:24 +0000 (15:18 +0000)]
Removed some non-used Debian files from the CVS server.

22 years agoFixed another ordering bug with respect to seteuid() vs. setegid().
sgunderson [Thu, 30 Aug 2001 17:52:38 +0000 (17:52 +0000)]
Fixed another ordering bug with respect to seteuid() vs. setegid().

22 years agoFixed a bug where option parsing would begin parse the file name as options.
sgunderson [Fri, 20 Jul 2001 14:49:25 +0000 (14:49 +0000)]
Fixed a bug where option parsing would begin parse the file name as options.

22 years agoUpdated the LSM entry with new dates and sizes, as I guess a 0.0.8 release is imminen...
sgunderson [Sat, 26 May 2001 20:38:07 +0000 (20:38 +0000)]
Updated the LSM entry with new dates and sizes, as I guess a 0.0.8 release is imminent. (Will probably be a final update before release, though.)

22 years agoIncreased the bzip2 block size to 400kB (the raw tar dump has become a little bigger...
sgunderson [Sat, 26 May 2001 20:36:50 +0000 (20:36 +0000)]
Increased the bzip2 block size to 400kB (the raw tar dump has become a little bigger with all the new features and fixes).

22 years agoFixed a bug, where passive mode FTP would leave a random IP address in the xferlog...
sgunderson [Sat, 26 May 2001 20:33:21 +0000 (20:33 +0000)]
Fixed a bug, where passive mode FTP would leave a random IP address in the xferlog. Thanks to Thor Bernhardsen <oscar@comports.com> for notifying me of this.

22 years agoMakefile now honours CPPFLAGS (C preprocessor flags).
sgunderson [Sat, 26 May 2001 20:27:11 +0000 (20:27 +0000)]
Makefile now honours CPPFLAGS (C preprocessor flags).

22 years agoRemoved some non-existant Debian files from the package building.
sgunderson [Sat, 26 May 2001 20:19:09 +0000 (20:19 +0000)]
Removed some non-existant Debian files from the package building.

23 years agoFixed the order of a leftover seteuid()/setegid() pair.
sgunderson [Sat, 21 Apr 2001 00:05:20 +0000 (00:05 +0000)]
Fixed the order of a leftover seteuid()/setegid() pair.

23 years agoFinally fixed (hopefully) upload hang bug -- it was a SPELLING ERROR...
sgunderson [Fri, 20 Apr 2001 13:31:17 +0000 (13:31 +0000)]
Finally fixed (hopefully) upload hang bug -- it was a SPELLING ERROR...

23 years agoNow does setegid() before seteuid(), since you can't setegid() if you aren't root.
sgunderson [Fri, 20 Apr 2001 12:58:48 +0000 (12:58 +0000)]
Now does setegid() before seteuid(), since you can't setegid() if you aren't root.

23 years agoMade xferlog support slightly more standards-compliant and useful.
sgunderson [Mon, 26 Mar 2001 14:40:03 +0000 (14:40 +0000)]
Made xferlog support slightly more standards-compliant and useful.

23 years agoIf the xferlog file doesn't exist, BetaFTPD will now try to create one. Thanks to...
sgunderson [Sat, 10 Mar 2001 18:03:14 +0000 (18:03 +0000)]
If the xferlog file doesn't exist, BetaFTPD will now try to create one. Thanks to Thor Bernhardsen <oscar@comports.com> and Per-Arne Holtmon Akø <perarneh@online.no> for notifying me of this.

23 years agoAdded FreeBSD support for sendfile() (thanks to <liangyi@netchina.com.cn>), and updat...
sgunderson [Sat, 10 Mar 2001 14:46:06 +0000 (14:46 +0000)]
Added FreeBSD support for sendfile() (thanks to <liangyi@netchina.com.cn>), and updated the credits accordingly.

23 years agoUpdated cmd_exit() to fit with the others' prototypes.
sgunderson [Sat, 10 Mar 2001 13:20:59 +0000 (13:20 +0000)]
Updated cmd_exit() to fit with the others' prototypes.

23 years agoAdded credit for the working FreeBSD port, changed credit for the previous FreeBSD...
sgunderson [Fri, 9 Mar 2001 19:24:01 +0000 (19:24 +0000)]
Added credit for the working FreeBSD port, changed credit for the previous FreeBSD port sligtly.

23 years agoUpdated info on Linux libc5, SunOS and FreeBSD.
sgunderson [Fri, 9 Mar 2001 19:21:22 +0000 (19:21 +0000)]
Updated info on Linux libc5, SunOS and FreeBSD.

23 years agoRemoved the obsolete instructions saying that one should change FTP_PORT to 21 to...
sgunderson [Fri, 9 Mar 2001 19:17:41 +0000 (19:17 +0000)]
Removed the obsolete instructions saying that one should change FTP_PORT to 21 to run BetaFTPD as the standard ftpd.

23 years agoAdded some system header files and changed the order (\!) of others -- this makes...
sgunderson [Fri, 9 Mar 2001 19:16:18 +0000 (19:16 +0000)]
Added some system header files and changed the order (\!) of others -- this makes BetaFTPD compile and run quite nicely on FreeBSD (tested on 4.3-BETA).

23 years agoBetaFTPD now switches group ID properly, not just user ID (also fixed a microscopic...
sgunderson [Fri, 23 Feb 2001 14:23:51 +0000 (14:23 +0000)]
BetaFTPD now switches group ID properly, not just user ID (also fixed a microscopic possible problem if the real user ID wasn't 0, but some other weird powerful user). Thanks to Spider <spider@bahnhof.se> for pointing this out.

23 years agoMoved LIBS last on command line -- this fixes a problem with some weird gcc versions.
sgunderson [Sat, 3 Feb 2001 18:15:06 +0000 (18:15 +0000)]
Moved LIBS last on command line -- this fixes a problem with some weird gcc versions.

23 years agoFixed a minor typo in the license.
sgunderson [Sat, 3 Feb 2001 18:09:34 +0000 (18:09 +0000)]
Fixed a minor typo in the license.

23 years agoFixed a gcc (2.97) warning.
sgunderson [Sat, 3 Feb 2001 18:06:44 +0000 (18:06 +0000)]
Fixed a gcc (2.97) warning.

23 years agoFixed a typo -- the sentence is 5 lines long, not 6 lines long :-)
sgunderson [Sat, 3 Feb 2001 18:06:36 +0000 (18:06 +0000)]
Fixed a typo -- the sentence is 5 lines long, not 6 lines long :-)

23 years agoUpdated the version number to 0.0.8pre18 (forgot to do so upon the release of 0.0...
sgunderson [Sun, 5 Nov 2000 01:51:25 +0000 (01:51 +0000)]
Updated the version number to 0.0.8pre18 (forgot to do so upon the release of 0.0.8pre17).

23 years agoFixed a license typo (all files were saying "version 2 _if_ the License" instead...
sgunderson [Sun, 5 Nov 2000 01:51:02 +0000 (01:51 +0000)]
Fixed a license typo (all files were saying "version 2 _if_ the License" instead of "version 2 _of_ the License". Thanks to Romain Guilleret <romain@buffy.wanadoo.fr> for pointing this out.

23 years ago(Hopefully) fixed a bug that prevented uploading from working properly (thanks to...
sgunderson [Sun, 5 Nov 2000 01:48:51 +0000 (01:48 +0000)]
(Hopefully) fixed a bug that prevented uploading from working properly (thanks to Andreas Marienborg <omega@palle.net>).

23 years agoFixed the ls -R' seems to ignore its argument.
sgunderson [Sat, 30 Sep 2000 20:42:24 +0000 (20:42 +0000)]
Fixed the ls -R' seems to ignore its argument.

23 years agoDidn't make use of the new code separation in dcache.c (?)
sgunderson [Sat, 30 Sep 2000 20:41:45 +0000 (20:41 +0000)]
Didn't make use of the new code separation in dcache.c (?)

23 years agoAdded a notice about a (not yet fixed) dcache bug.
sgunderson [Sat, 30 Sep 2000 10:53:22 +0000 (10:53 +0000)]
Added a notice about a (not yet fixed) dcache bug.

23 years agoMore dcache separation.
sgunderson [Sun, 17 Sep 2000 01:02:30 +0000 (01:02 +0000)]
More dcache separation.

23 years agoASSMS and CPPS are now derived directly from OBJS automatically, instead of spelling...
sgunderson [Sun, 17 Sep 2000 01:02:00 +0000 (01:02 +0000)]
ASSMS and CPPS are now derived directly from OBJS automatically, instead of spelling them out manually as before.

23 years agoAll header files should now be self-contained (ie. you shouldn't need to do any syste...
sgunderson [Sun, 17 Sep 2000 01:01:29 +0000 (01:01 +0000)]
All header files should now be self-contained (ie. you shouldn't need to do any system #includes before #including them), and are now properly guarded against double inclusion.

23 years agoNew files.
sgunderson [Sun, 17 Sep 2000 00:59:57 +0000 (00:59 +0000)]
New files.

23 years agoMoved most of the dcache stuff into its own file. Updated Makefile.in accordingly.
sgunderson [Sun, 17 Sep 2000 00:57:51 +0000 (00:57 +0000)]
Moved most of the dcache stuff into its own file. Updated Makefile.in accordingly.

23 years agoget_num_files(): Fixed a memory leak (thanks, mtrace ;-) ).
sgunderson [Sun, 17 Sep 2000 00:55:26 +0000 (00:55 +0000)]
get_num_files(): Fixed a memory leak (thanks, mtrace ;-) ).

23 years agoIncluded <linux/tcp.h> (if needed), for libc5 users.
sgunderson [Fri, 15 Sep 2000 19:56:24 +0000 (19:56 +0000)]
Included <linux/tcp.h> (if needed), for libc5 users.

23 years agoMultiple fixes for sendfile() where running kernel is not the same on the compilation...
sgunderson [Sat, 2 Sep 2000 15:08:30 +0000 (15:08 +0000)]
Multiple fixes for sendfile() where running kernel is not the same on the compilation machine and the running machine (mainly packages): sendfile() support is checked more thoroughly for (a runtime check at configure checking that we just don't have a libc wrapper). A sendfile()-enabled version can now also survive without sendfile(). There is a new flag (--with(out)-linux-sendfile) that forces the status to on/off (both RH and Debian packages now supply this flag).

23 years agoVERSION is now set to be the next release version (without any -dev suffixes). This...
sgunderson [Sat, 2 Sep 2000 15:08:10 +0000 (15:08 +0000)]
VERSION is now set to be the next release version (without any -dev suffixes). This should make it easier to make and test the packages correctly.

23 years agodo_download(): Removed the check for f->upload :-D
sgunderson [Sat, 2 Sep 2000 15:07:49 +0000 (15:07 +0000)]
do_download(): Removed the check for f->upload :-D

23 years agoForgot to commit ftpd.h last time -- recursive-directory patches committed for that...
sgunderson [Sun, 20 Aug 2000 20:36:39 +0000 (20:36 +0000)]
Forgot to commit ftpd.h last time -- recursive-directory patches committed for that file as well now.

23 years agoUpdated the lines regarding general RFC compliance -- BetaFTPD should now be consider...
sgunderson [Sun, 20 Aug 2000 17:28:21 +0000 (17:28 +0000)]
Updated the lines regarding general RFC compliance -- BetaFTPD should now be considered fully RFC compliant for all practical uses.

23 years agoUpdated documentation: Tell about recursion in internal ls; tell that we have Debian...
sgunderson [Sun, 20 Aug 2000 17:27:40 +0000 (17:27 +0000)]
Updated documentation: Tell about recursion in internal ls; tell that we have Debian packages again.

23 years agoImplemented directory listing recursion (not very much testing yet). Both mmap()...
sgunderson [Sun, 20 Aug 2000 17:26:49 +0000 (17:26 +0000)]
Implemented directory listing recursion (not very much testing yet). Both mmap() and non-mmap() now use mwrite(). We no longer depend on the return value of snprintf().

23 years agocmd_type(), cmd_stru(): Unknown arguments are now refused instead of being ignored...
sgunderson [Sun, 20 Aug 2000 17:22:51 +0000 (17:22 +0000)]
cmd_type(), cmd_stru(): Unknown arguments are now refused instead of being ignored; documentation also updated on this point.

23 years agoprocess_all_clients(): Made the poll() checking code a little bit clearer.
sgunderson [Sun, 20 Aug 2000 17:21:41 +0000 (17:21 +0000)]
process_all_clients(): Made the poll() checking code a little bit clearer.

23 years agoChangeLog is generated from CVS logs on make package; debian/ directory is included...
sgunderson [Thu, 17 Aug 2000 23:10:20 +0000 (23:10 +0000)]
ChangeLog is generated from CVS logs on make package; debian/ directory is included in packaging.

23 years agoprocess_all_clients(): Fixed a bug (reporting and much tracing by Sean MacLennan...
sgunderson [Thu, 17 Aug 2000 22:59:14 +0000 (22:59 +0000)]
process_all_clients(): Fixed a bug (reporting and much tracing by Sean MacLennan <seanm@netwinder.org>) where the server could refuse to send a reply on a finished uploading when using poll() mode, and generally not handle both POLLHUP/ERR and POLLIN at the same time.

23 years agoFreshly made debian/ directory, from a potato (2.2) machine, originally made with...
sgunderson [Thu, 17 Aug 2000 22:46:36 +0000 (22:46 +0000)]
Freshly made debian/ directory, from a potato (2.2) machine, originally made with debmake.

23 years agoUpdated the .spec file to reflect the change in executable placement (from /usr/bin...
sgunderson [Thu, 17 Aug 2000 22:08:23 +0000 (22:08 +0000)]
Updated the .spec file to reflect the change in executable placement (from /usr/bin to /usr/sbin).

23 years agoInstall in PREFIX/sbin/ instead of PREFIX/bin/.
sgunderson [Thu, 17 Aug 2000 22:04:30 +0000 (22:04 +0000)]
Install in PREFIX/sbin/ instead of PREFIX/bin/.

23 years agodo_upload(): Removed unused variable `avail\'.
sgunderson [Thu, 17 Aug 2000 22:02:30 +0000 (22:02 +0000)]
do_upload(): Removed unused variable `avail\'.

23 years agoCFLAGS can now be overridden on the command line without compilation problems (eases...
sgunderson [Thu, 17 Aug 2000 21:58:50 +0000 (21:58 +0000)]
CFLAGS can now be overridden on the command line without compilation problems (eases Debian package building, among others).

23 years agoAdded a note that BSD sendfile() isn't utilized yet; added an extended discussion...
sgunderson [Thu, 17 Aug 2000 21:55:08 +0000 (21:55 +0000)]
Added a note that BSD sendfile() isn't utilized yet; added an extended discussion on problems with mmap() and the 32-bit 2GB address space.

23 years agocmd_rnfr(), cmd_nrto(): Better cleanup (RNFR,RNTO,RNTO gives 503 instead of 550 on...
sgunderson [Thu, 17 Aug 2000 21:54:05 +0000 (21:54 +0000)]
cmd_rnfr(), cmd_nrto(): Better cleanup (RNFR,RNTO,RNTO gives 503 instead of 550 on the last RNTO, for instance), both on error and on success. Also fixed a typo in the RNTO 250 reply.

23 years agoAdded some flags to configure that the average user would expect; incremented version...
sgunderson [Thu, 17 Aug 2000 21:52:57 +0000 (21:52 +0000)]
Added some flags to configure that the average user would expect; incremented version number again.

23 years agoconfig.h is no longer included twice.
sgunderson [Thu, 17 Aug 2000 21:51:53 +0000 (21:51 +0000)]
config.h is no longer included twice.

23 years agoIt is now possible to build in a different directory than the sourcedirectory again...
sgunderson [Thu, 17 Aug 2000 21:50:07 +0000 (21:50 +0000)]
It is now possible to build in a different directory than the sourcedirectory again. Also included a workaround for broken systems with a (wrong) config.h in the include path.

23 years agonr_intperm(): Code cleanup, simplification and optimization.
sgunderson [Thu, 17 Aug 2000 21:47:34 +0000 (21:47 +0000)]
nr_intperm(): Code cleanup, simplification and optimization.

23 years agoThe --help text now says that nonroot is experimental (which it is).
sgunderson [Thu, 17 Aug 2000 21:45:40 +0000 (21:45 +0000)]
The --help text now says that nonroot is experimental (which it is).

23 years agolist_readmes(): Replace temp with pglob.gl_pathv[i] all the way. Looks cleaner.
sgunderson [Thu, 17 Aug 2000 21:37:46 +0000 (21:37 +0000)]
list_readmes(): Replace temp with pglob.gl_pathv[i] all the way. Looks cleaner.

23 years agolist_readmes(): Allocate less memory, use snprintf() to avoid a buffer overflow from...
sgunderson [Thu, 17 Aug 2000 21:12:51 +0000 (21:12 +0000)]
list_readmes(): Allocate less memory, use snprintf() to avoid a buffer overflow from very long README-names and --enable-message.

23 years agodump_file(): Allocate slightly less memory. Comment is slightly more descriptive...
sgunderson [Thu, 17 Aug 2000 20:59:37 +0000 (20:59 +0000)]
dump_file(): Allocate slightly less memory. Comment is slightly more descriptive now.

23 years agoThe check for sys/sendfile.h is no longer done twice.
sgunderson [Wed, 16 Aug 2000 22:22:58 +0000 (22:22 +0000)]
The check for sys/sendfile.h is no longer done twice.

23 years agoContact section changes: Changed homepage URL, added some information about the new...
sgunderson [Wed, 16 Aug 2000 22:22:20 +0000 (22:22 +0000)]
Contact section changes: Changed homepage URL, added some information about the new homepage, added my real name and moved the e-mail address to the bottom.

23 years agoReport "File not found" etc. instead of just "Not a plain file" (contrary to traditio...
sgunderson [Wed, 16 Aug 2000 21:03:23 +0000 (21:03 +0000)]
Report "File not found" etc. instead of just "Not a plain file" (contrary to traditional FTP daemons).

23 years agoAdded betaftpd.spec, updated documentation accordingly.
sgunderson [Wed, 16 Aug 2000 21:00:36 +0000 (21:00 +0000)]
Added betaftpd.spec, updated documentation accordingly.

23 years agoUse S_IS*() macros instead of testing the bitflags ourselves.
sgunderson [Thu, 27 Jul 2000 01:56:17 +0000 (01:56 +0000)]
Use S_IS*() macros instead of testing the bitflags ourselves.

23 years agoASCII mode is now displayed in STAT replies (it used to say Image all the time
sgunderson [Thu, 27 Jul 2000 00:03:42 +0000 (00:03 +0000)]
ASCII mode is now displayed in STAT replies (it used to say Image all the time

23 years agoFixed percentages display.
sgunderson [Thu, 27 Jul 2000 00:02:07 +0000 (00:02 +0000)]
Fixed percentages display.

23 years agoUpdated documentation to tell that root can't FTP anymore.
sgunderson [Wed, 26 Jul 2000 17:47:52 +0000 (17:47 +0000)]
Updated documentation to tell that root can't FTP anymore.

23 years agoInitial revision.
sgunderson [Wed, 26 Jul 2000 17:40:37 +0000 (17:40 +0000)]
Initial revision.

23 years agoroot (or in fact, any user with uid=0) can no longer login.
sgunderson [Wed, 26 Jul 2000 02:02:29 +0000 (02:02 +0000)]
root (or in fact, any user with uid=0) can no longer login.

23 years agoRe-indenting, homepage changed.
sgunderson [Tue, 25 Jul 2000 23:52:37 +0000 (23:52 +0000)]
Re-indenting, homepage changed.

23 years agoDocumentation re-linebreaking and updating.
sgunderson [Tue, 25 Jul 2000 23:50:58 +0000 (23:50 +0000)]
Documentation re-linebreaking and updating.

23 years agoInitial revision
sgunderson [Tue, 25 Jul 2000 23:38:21 +0000 (23:38 +0000)]
Initial revision