Revision tags: release/2.0.5_cvs |
|
#
6c06b4e2 |
| 30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
95645563 |
| 22-May-1995 |
David Greenman <dg@FreeBSD.org> |
Make last change a little more robust by checking for failure of getcwd().
|
#
82c76939 |
| 22-May-1995 |
David Greenman <dg@FreeBSD.org> |
Set "HOME" so that tilde expands correctly. It previously was always root's directory /root.
|
#
9fc5823a |
| 03-May-1995 |
Garrett Wollman <wollman@FreeBSD.org> |
Speed up ftpd and make it more efficient:
- set TCP_NOPUSH to keep from sending short packets at each write(2) boundary - set SO_SNDBUF to 64k so we have a reasonable amount of buffer space - for a
Speed up ftpd and make it more efficient:
- set TCP_NOPUSH to keep from sending short packets at each write(2) boundary - set SO_SNDBUF to 64k so we have a reasonable amount of buffer space - for a regular file in binary mode which is not being restarted and is . smaller than 16 Meg, use mmap(2) and write(2) the whole file in one big gulp
In the most common circumstances, this should dramatically reduce the system-call load from ftpd, since the call to write() will not return until the entire file has been written, rather than writing just a few K at a time in a loop.
show more ...
|
#
3eb568f2 |
| 26-Feb-1995 |
Guido van Rooij <guido@FreeBSD.org> |
Add some functionality to ftpd so it logs all anonymous file transfers. It only does this when -S is set. Reviewed by: Submitted by: Obtained from: logdaemon package
|
Revision tags: release/2.0 |
|
#
2c60c54c |
| 27-Oct-1994 |
Paul Traina <pst@FreeBSD.org> |
recommit rev 1.5 of ftpd, I fatfingered a command
|
#
bb56d435 |
| 29-Sep-1994 |
Paul Traina <pst@FreeBSD.org> |
Use new skey access routines
|
#
348c7a12 |
| 20-Sep-1994 |
David Greenman <dg@FreeBSD.org> |
Fixed bug where /etc/ftpusers was ineffective. Caused by the wrong pointer being passed to strcmp(). Bug noticed by Matthew Green.
|
#
726040de |
| 21-Aug-1994 |
Guido van Rooij <guido@FreeBSD.org> |
Put skey support in ftpd. Reviewed by: Submitted by: guido
|
Revision tags: release/1.1.5.1_cvs |
|
#
ea022d16 |
| 27-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Libexec Sources
|
#
9f37b1a2 |
| 19-Jan-2010 |
Ed Schouten <ed@FreeBSD.org> |
Really disable wtmp logging when chrooting.
Also perform a small cleanup to ftpd_logwtmp(). Just use a NULL parameter for the username to indicate a logout, instead of an empty string.
Reported by:
Really disable wtmp logging when chrooting.
Also perform a small cleanup to ftpd_logwtmp(). Just use a NULL parameter for the username to indicate a logout, instead of an empty string.
Reported by: Alexey Shuvaev <shuvaev physik uni-wuerzburg de>
show more ...
|
#
80643af0 |
| 13-Jan-2010 |
Ed Schouten <ed@FreeBSD.org> |
Port ftpd to utmpx.
Unfortunately I have to partially wreck its functionality, though. ftpd used to keep a file descriptor to the wtmp, which allowed it to work from within a chroot. The current utm
Port ftpd to utmpx.
Unfortunately I have to partially wreck its functionality, though. ftpd used to keep a file descriptor to the wtmp, which allowed it to work from within a chroot. The current utmpx implementation doesn't offer a way to do this. Maybe we can address this in the future, if it turns out to be a real issue.
show more ...
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
ec85f7fa |
| 07-Apr-2009 |
David E. O'Brien <obrien@FreeBSD.org> |
Move variable externs into extern.h so they are checked against the definitions.
|
Revision tags: release/7.1.0_cvs, release/7.1.0 |
|
#
f0b40b1c |
| 23-Dec-2008 |
Colin Percival <cperciva@FreeBSD.org> |
Prevent cross-site forgery attacks on ftpd(8) due to splitting long commands into multiple requests. [08:12]
Avoid calling uninitialized function pointers in protocol switch code. [08:13]
Merry Chr
Prevent cross-site forgery attacks on ftpd(8) due to splitting long commands into multiple requests. [08:12]
Avoid calling uninitialized function pointers in protocol switch code. [08:13]
Merry Christmas everybody...
Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:12.ftpd, FreeBSD-SA-08:13.protosw
show more ...
|
Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
2ea42282 |
| 19-Apr-2007 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8).
The support for RFC 2640 (UTF8) is optional and rudimentary. The server just advertises its capability to handle UTF-8 file names and
Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8).
The support for RFC 2640 (UTF8) is optional and rudimentary. The server just advertises its capability to handle UTF-8 file names and relies on its own 8-bit cleanness, as well as on the backward compatibility of UTF-8 with ASCII. So uploaded files will have UTF-8 names, but the initial server contents should be prepared in UTF-8 by hand, no on-the-fly conversion of file names will be done.
PR: bin/111714 Submitted by: Zhang Weiwu <see email in the PR> MFC after: 1 week
show more ...
|
#
32072720 |
| 09-Feb-2007 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Let automatic TCP send buffer sizing do its job for ftpd(8): stop setting the SO_SNDBUF socket option. Using a hard-coded value for it was a poor idea anyway in the face of diverse network condition
Let automatic TCP send buffer sizing do its job for ftpd(8): stop setting the SO_SNDBUF socket option. Using a hard-coded value for it was a poor idea anyway in the face of diverse network conditions.
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
2c9fd5f2 |
| 01-Mar-2006 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
- Reduce needless DNS query by lookup only appropriate address family. [1] - Specify appropriate hints to getaddrinfo(3). [1] - Obtain address family from peername in inet mode.
Submitted by: Rost
- Reduce needless DNS query by lookup only appropriate address family. [1] - Specify appropriate hints to getaddrinfo(3). [1] - Obtain address family from peername in inet mode.
Submitted by: Rostislav Krasny <rosti.bsd__at__gmail.com> [1] Tested by: yar, Rostislav Krasny <rosti.bsd__at__gmail.com> MFC after: 1 week
show more ...
|
#
a599a64a |
| 21-Jan-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
In the daemon code, check for and report possible errors from accept(2) and fork(2). Also close all unneeded fds in the child process, namely listening sockets for all address families and the fd in
In the daemon code, check for and report possible errors from accept(2) and fork(2). Also close all unneeded fds in the child process, namely listening sockets for all address families and the fd initially obtained from accept(2). (The main ftpd code operates on stdin/stdout anyway as it has been designed for running from inetd.)
MFC after: 5 days
show more ...
|
#
8eb0508f |
| 21-Jan-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
The daemon's child shouldn't go on with the for loop over ctl_sock's -- it is solely the parent daemon's job. So just break out of the loop in the child.
MFC after: 5 days
|
#
125b9635 |
| 21-Jan-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Use pidfile(3) provided by libutil to manage the deamon's pid file.
By default, create a pid file at the standard location, /var/run/ftpd.pid, in accord with the expected behavior of a stock system
Use pidfile(3) provided by libutil to manage the deamon's pid file.
By default, create a pid file at the standard location, /var/run/ftpd.pid, in accord with the expected behavior of a stock system daemon.
MFC after: 5 days
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0 |
|
#
f9036ce6 |
| 16-Feb-2005 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Add some consistency checks to the signal-related code.
MFC: along with rev. 1.202
|
#
91ae7779 |
| 16-Feb-2005 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
A call to maskurg() makes sense only when a transfer is under way, the function will emit an annoying log message otherwise.
Reported by: kris MFC: along with rev. 1.202
|
#
78e3eed0 |
| 14-Feb-2005 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Fix most cases where the address of an int is passed to a function expecting a socklen_t * argument.
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
220223fd |
| 19-Jan-2005 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Respect the `logging' flag.
Pointed out by: Nick Leuta MFC after: 3 days
|