wollman
6d930a0647
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.
1995-05-03 16:58:12 +00:00
ache
7a51aec8bd
Fix bug:
...
When hostname len > 8, name replaced with dot notation when -u flag
not specified (default case).
Use _PATH_* for utmp/wtmp.
1995-04-26 22:33:15 +00:00
nate
46d19266f4
Sync. up bits with Paul K. Cascade support plus some cosmetic changes.
...
Obtained from: NetBSD
1995-04-21 04:57:50 +00:00
jkh
6420b5e5d1
Extensive updates to this package.
...
Submitted by: Gene Stark <gene@starkhome.cs.sunysb.edu>
1995-04-18 01:54:25 +00:00
gpalmer
5d90a4d5a7
Fix two more references to /etc/motd that I overlooked. PR #29
1995-04-15 07:05:07 +00:00
gpalmer
9bccc3682f
Close PR #29 . The file should be /etc/ftpmotd, not /etc/motd.
1995-04-15 07:02:22 +00:00
ache
7b675adc9a
Add some useful sendmail options
1995-04-12 19:21:43 +00:00
ache
60e98115e5
Upgrade.
...
Close security holes reported.
1995-04-12 02:52:21 +00:00
gpalmer
09f3963ab6
The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
...
references in the man page.
1995-04-12 00:24:48 +00:00
ache
3d4e112ce8
Fix truncating hostname using MAXHOSTNAMELEN
...
Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
1995-03-24 05:15:09 +00:00
ache
ab794d0e53
Fix wtmp logout
...
Submitted by: Gil Kloepfer Jr. <gil@limbic.ssdl.com>
1995-03-20 05:58:37 +00:00
nate
f793dc61f0
Removed /usr/local/lib from the standard library search path to be
...
consistant. Programs shouldn't rely on non-standard paths for bringing
in default libraries.
Suggested by: Andreas Schulz <ats@freebsd.first.gmd.de>
1995-03-19 21:20:09 +00:00
bde
5f09d26e4a
Restore the 4.4lite version which apparently was clobbered by a repository
...
copy. The differences are trivial. I have no backups of the clobbered
history.
1995-03-18 17:38:43 +00:00
nate
65de51ac02
Don't rely on the shared library bringing in libmd, do it explicitly.
...
Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command. This only occurs when
linking statically.
1995-03-18 06:50:00 +00:00
nate
d4f9bb4f44
Change the library order so libcrypt is the last library in the list.
...
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command. This only occurs when
linking statically.
1995-03-18 06:41:08 +00:00
nate
71e213cb06
Weak symbol support from NetBSD. This should bring us in sync with the
...
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs. We should be binary
compatible now with all their libraries.
Obtained from: NetBSD
1995-03-04 17:49:20 +00:00
jkh
c4b721ba0c
I think the security check to invalidate ALL write requests was just a little
...
excessive, and violates the specification defined in the manpage to boot.
1995-02-26 23:28:00 +00:00
guido
f76739d1fa
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
1995-02-26 19:36:59 +00:00
ats
37e002b3ba
Add a description for the np flag.
1995-02-15 13:59:56 +00:00
jkh
4593c8efb1
Support for >32 PTYs.
...
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:11:01 +00:00
jkh
66560f242c
Support for more Sun compatible dlopen() and friends. Also added proper error
...
handling.
Reviewed by: gj
Submitted by: Mark Diekhans <markd@grizzly.com>
1995-02-07 13:33:42 +00:00
phk
08cfb22f58
fixed spelling error.
1995-02-04 19:11:14 +00:00
dfr
283e4c3dd3
Discard any messages which are buffered on the routing socket before using
...
it otherwise the response to one of our routing messages could be lost due
to buffer overflow.
1995-01-30 11:11:43 +00:00
dfr
321d2bf131
Change to use RTM_CHANGE when an arp entry already exists. This closes
...
problem bin/57 which was caused when an incomplete entry was present for the
host which was booting.
1995-01-16 18:57:45 +00:00
joerg
207b352215
Make ldconfig and ld.so not hashing the shared lib minor number. This
...
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed. Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.
Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
1995-01-12 19:12:29 +00:00
swallace
464dcda558
Change to
...
#define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.
1995-01-05 02:36:29 +00:00
gibbs
57a609cb01
Remove -DDIAGNOSTIC in makefile. The DIAGNOSTIC code is severly broken and
...
will change if I have more time to look at it. Keep at least 5 segments
cleaned if possible (instead of 2 which is a bare minimum for FS operation).
1995-01-04 23:54:06 +00:00
nate
047d3abc50
Updated to recent version of Paul K.'s shlib code. This code has better
...
warning handling and allows for link-time warnings with a modified
version of gas.
Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.
Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
ache
ecbbb5a5cf
Fix hostnames >32 chars
...
Submitted by: cstruble@singularity.bevc.blacksburg.va.us
1994-12-15 01:21:06 +00:00
ache
ea789b7e79
Remove -u argument, does nothing for non-priviliged user.
...
Write LOGNAME in addition to USER as sun uucpd does.
1994-11-25 02:27:08 +00:00
ache
0a7c4d0ed4
mass fixes from 1.1.5.1 + better log erros and incorrect logins
1994-11-23 19:33:17 +00:00
ache
d1b2fa0ec8
Fix uucico path
...
Submitted by: Gene Stark
1994-11-23 17:48:31 +00:00
wollman
6f83a72187
Add distribution=krb for P-HK
1994-11-20 23:23:28 +00:00
ats
f6e2919bdd
Make two variables static so that the compiler warnings are
...
vanishing. As far as i know rpc.rusersd is single_threaded, so
this shouldn't be a problem.
1994-11-18 23:36:18 +00:00
ats
1fdc9655a5
Reviewed by: Roger Holst roger@first.gmd.de
...
Add an initialization of the len parameter for the getsockname call.
Now rpc.rwalld can run under inetd.
1994-11-18 22:50:22 +00:00
ats
6eef72c55e
Reviewed by: Roger Holst roger@first.gmd.de
...
Add an initialization of the len parameter for the getsockname call.
Now rpc.rusersd can run under inetd.
1994-11-18 22:40:11 +00:00
ats
f10d5a6ab5
Reviewed by: Roger Holst roger@first.gmd.de
...
Add an initialization of the len parameter for the getsockname call.
Now rpc.rstatd can run under inetd.
1994-11-18 22:31:05 +00:00
phk
75dacf32da
Relativized a ".PATH:" directive.
1994-11-18 02:26:15 +00:00
jkh
5446d45c75
__386BSD__ -> __FreeBSD__
...
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
pst
2c7f0613ba
recommit rev 1.5 of ftpd, I fatfingered a command
1994-10-27 19:36:01 +00:00
pst
daa09629cc
Printing out /etc/motd when a ftp login occurs is a security hole
...
(as is printing out a version number at the telnet login banner).
Don't print out /etc/motd when people login, instead if present,
print out /etc/ftpmotd. It looks like 4.4lite2 has done something similar
(perhaps for different reasons) because /etc/motd no longer shows up
on vangogh.
Folks who like the old behavior can create a symbolic link to motd.
1994-10-27 19:14:39 +00:00
ache
25681f34a9
Implement security fix correctly: via isprint()
1994-10-22 17:37:06 +00:00
phk
d87b862881
A nice little security fix. Things must be rough in moscow...
...
Submitted by: dima@demos.su (Dima Ruban)
1994-10-22 17:19:49 +00:00
jkh
e2e5bea1c2
Add xtend.
1994-10-22 14:58:56 +00:00
jkh
f054836e23
This commit was generated by cvs2svn to compensate for changes in r3779,
...
which included commits to RCS files with non-trunk default branches.
1994-10-22 09:53:33 +00:00
jkh
d5c5338901
The X-10 demon. From 1.1.5.1.
1994-10-22 09:53:33 +00:00
pst
a1edb96c4a
Figured it out, misapplied a patch, ftpd now works again.
1994-10-22 06:23:15 +00:00
pst
8181408e04
Fix broken command parser (fall back 10 yards and scratch head).
1994-10-22 06:19:53 +00:00
pst
e3801229c7
Include most of the logdaemon v4.4 S/key changes
1994-10-19 00:03:45 +00:00
ache
007113ddde
Extend message format to user@offset[:file]
...
Obtained from: FreeBSD 1.x
1994-10-15 17:39:23 +00:00