David Greenman
ecf74fe675
The final negotiation of DO_BINARY in the LINEMODE portion of the telnetd code
...
causes some clients that do not support linemode to mis-interpret the return
key (i.e. double returns).
The fix is to only do the state check for binary options if linemode will
be used.
Closes PR#505.
Submitted by: Charles Henrich
1995-06-17 05:50:47 +00:00
Rodney W. Grimes
6c06b4e2aa
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
Rodney W. Grimes
4399be3cbd
Remove trailing whitespace.
1995-05-30 05:05:38 +00:00
David Greenman
956455631c
Make last change a little more robust by checking for failure of getcwd().
1995-05-22 11:03:55 +00:00
David Greenman
82c76939c1
Set "HOME" so that tilde expands correctly. It previously was always root's
...
directory /root.
1995-05-22 09:53:02 +00:00
Garrett Wollman
9fc5823a7a
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
Andrey A. Chernov
d3e6b9f393
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 Williams
110aea11f2
Sync. up bits with Paul K. Cascade support plus some cosmetic changes.
...
Obtained from: NetBSD
1995-04-21 04:57:50 +00:00
Jordan K. Hubbard
bcca63cba4
Extensive updates to this package.
...
Submitted by: Gene Stark <gene@starkhome.cs.sunysb.edu>
1995-04-18 01:54:25 +00:00
Gary Palmer
7253b58b7b
Fix two more references to /etc/motd that I overlooked. PR #29
1995-04-15 07:05:07 +00:00
Gary Palmer
025362a70b
Close PR #29 . The file should be /etc/ftpmotd, not /etc/motd.
1995-04-15 07:02:22 +00:00
Andrey A. Chernov
4f7ac4bd57
Add some useful sendmail options
1995-04-12 19:21:43 +00:00
Andrey A. Chernov
c70e5825aa
Upgrade.
...
Close security holes reported.
1995-04-12 02:52:21 +00:00
Gary Palmer
fa877a53cb
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
Andrey A. Chernov
c568fce986
Fix truncating hostname using MAXHOSTNAMELEN
...
Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de>
1995-03-24 05:15:09 +00:00
Andrey A. Chernov
e86fff2c4a
Fix wtmp logout
...
Submitted by: Gil Kloepfer Jr. <gil@limbic.ssdl.com>
1995-03-20 05:58:37 +00:00
Nate Williams
8af57ca9dd
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
Bruce Evans
ac6776236b
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 Williams
50dfa3861b
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 Williams
79f5f586ac
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 Williams
c79eac4c4c
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
Jordan K. Hubbard
23adc6b882
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 van Rooij
3eb568f24c
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
Andreas Schulz
b019cc8f8e
Add a description for the np flag.
1995-02-15 13:59:56 +00:00
Jordan K. Hubbard
1338e00966
Support for >32 PTYs.
...
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:11:01 +00:00
Jordan K. Hubbard
19c408ae08
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
Poul-Henning Kamp
1adb7b0dca
fixed spelling error.
1995-02-04 19:11:14 +00:00
Doug Rabson
7cb18415b8
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
Doug Rabson
c48edefb3c
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 Wunsch
d5453ba5c4
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
Steven Wallace
e86257e166
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
Justin T. Gibbs
b77430dcb0
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 Williams
61f9ce8d32
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
Andrey A. Chernov
58328669a3
Fix hostnames >32 chars
...
Submitted by: cstruble@singularity.bevc.blacksburg.va.us
1994-12-15 01:21:06 +00:00
Andrey A. Chernov
879732b84c
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
Andrey A. Chernov
1573231708
mass fixes from 1.1.5.1 + better log erros and incorrect logins
1994-11-23 19:33:17 +00:00
Andrey A. Chernov
768c5595a8
Fix uucico path
...
Submitted by: Gene Stark
1994-11-23 17:48:31 +00:00
Garrett Wollman
a38c3127e1
Add distribution=krb for P-HK
1994-11-20 23:23:28 +00:00
Andreas Schulz
bc9c7467df
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
Andreas Schulz
7c760cfd4f
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
Andreas Schulz
053efb2d12
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
Andreas Schulz
dc2e984f57
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
Poul-Henning Kamp
32b4794aff
Relativized a ".PATH:" directive.
1994-11-18 02:26:15 +00:00
Jordan K. Hubbard
fb59d6ab65
__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
Paul Traina
2c60c54cc4
recommit rev 1.5 of ftpd, I fatfingered a command
1994-10-27 19:36:01 +00:00
Paul Traina
29e92c359a
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
Andrey A. Chernov
5a2162043c
Implement security fix correctly: via isprint()
1994-10-22 17:37:06 +00:00
Poul-Henning Kamp
b6cbdb1d7d
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
Jordan K. Hubbard
df747cc167
Add xtend.
1994-10-22 14:58:56 +00:00
Jordan K. Hubbard
5b8113b5e8
The X-10 demon. From 1.1.5.1.
1994-10-22 09:53:33 +00:00
Paul Traina
9e53ab00d2
Figured it out, misapplied a patch, ftpd now works again.
1994-10-22 06:23:15 +00:00
Paul Traina
0d78c1c051
Fix broken command parser (fall back 10 yards and scratch head).
1994-10-22 06:19:53 +00:00
Paul Traina
2ddadf840c
Include most of the logdaemon v4.4 S/key changes
1994-10-19 00:03:45 +00:00
Andrey A. Chernov
87fe4a3ae4
Extend message format to user@offset[:file]
...
Obtained from: FreeBSD 1.x
1994-10-15 17:39:23 +00:00
David Greenman
3e54d2c866
Updated to changes in struct vmmeter. There is a slight bogosity here:
...
"pageins/outs" now refers to vnode paging.
1994-10-15 13:39:54 +00:00
Paul Traina
28dc19771b
Clean up makefile
1994-09-30 21:19:58 +00:00
Paul Traina
9c48498989
make rexecd link against skeyaccess, not authfile
1994-09-30 06:38:43 +00:00
Paul Traina
ad0e3007f6
Move bootp & related stuff
1994-09-30 05:48:52 +00:00
Paul Traina
44099b7b1e
Rearrange bootpd
1994-09-30 05:45:07 +00:00
Paul Traina
e56de50e26
This commit was generated by cvs2svn to compensate for changes in r3227,
...
which included commits to RCS files with non-trunk default branches.
1994-09-30 05:43:13 +00:00
Paul Traina
dbd221904d
Rearrange bootp
1994-09-30 05:43:13 +00:00
Paul Traina
bb56d435e3
Use new skey access routines
1994-09-29 18:59:42 +00:00
Geoff Rehmet
c368d11dd2
First level of changes for bringing in eBones (kerberos).
...
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions,
and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.
1994-09-29 13:06:54 +00:00
Paul Traina
cda3118c2e
Tighen up rexecd(8) security (see manual page for details).
...
Rexecd is a crock, it never should have been written, however make it so
that people who have a need to run it don't hurt themselves so badly.
Obtained from: Ideas obtained from logdaemon 4.3 from Wietse Venema
1994-09-29 09:23:58 +00:00
Paul Traina
15c4b6fd4a
Forget it. pcnfsd is too ugly for words because of the hand edited
...
rpc files and other cruft. It's not important enough to have it in the
source distribution and I don't feel comfortable with this, as it's below
the standards of CSRG.
Disable & remove pcnfsd. Either I'll rewrite this so it can all be
generated with rpcgen or stuff it in ports and let it rot there.
1994-09-28 18:22:08 +00:00
Paul Traina
1323638cb5
Port rpc.pcnfsd to FreeBSD and enable
1994-09-28 18:14:57 +00:00
David Greenman
348c7a1250
Fixed bug where /etc/ftpusers was ineffective. Caused by the wrong
...
pointer being passed to strcmp(). Bug noticed by Matthew Green.
1994-09-20 15:53:30 +00:00
Steven Wallace
504e8b978b
Add LDDESTDIR to ld command.
...
Add -I${DESTDIR}/usr/include to cpp command.
1994-09-18 19:41:38 +00:00
David Greenman
802265809c
Fix from John Kohl:
...
/usr/libexec/getty doesn't properly interpret the '%d' escape. It tries
to use %P to get AM or PM, but instead all it gets is "P".
Submitted by: John Kohl
1994-09-18 04:14:54 +00:00
Bruce Evans
dd8e0158cf
Unmap hints file when finished with it, so that it can go away
...
completely when ldconfig unlinks it. If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.
1994-09-15 20:48:55 +00:00
Rodney W. Grimes
6897a8a75d
Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
1994-09-11 21:53:28 +00:00
Paul Richards
ba2f438c49
Removed bugfiler.
...
Submitted by: Paul Richards
1994-09-09 16:40:27 +00:00
Geoff Rehmet
216ce1f66d
Don't define KLUDGELINEMODE.
...
(If you do, you will have problems trying to telnet into a FreeBSD-2.0
box from a Sun, and I WANT TO DO THAT.)
Submitted by: Geoff
1994-09-05 20:36:34 +00:00
Andrey A. Chernov
dd3065a57a
Ignore SIGQUITs, cause getty dumps core on garbadge from modem line
1994-08-29 17:28:58 +00:00
Bruce Evans
2577a8acef
Add dependencies on libraries to DPADD. Someday this should be done
...
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
Geoff Rehmet
b2a2ed5c95
add: rpc.rstatd rpc.rusersd rpc.rwalld
...
Submitted by: Geoff.
1994-08-28 15:18:51 +00:00
Geoff Rehmet
935a002483
rwalld from FreeBSD 1.1.5.1
...
Reviewed by: Geoff
Submitted by: Christopher G. Demetriou
1994-08-28 14:58:36 +00:00
Geoff Rehmet
825be05ec4
rusersd from FreeBSD 1.1.5.1
...
Reviewed by: geoff.
Submitted by: John Brezak
1994-08-28 14:53:45 +00:00
Geoff Rehmet
0c0b205ceb
rstatd -- from FreeBSD-1.1.5.1, with changes for 4.4-Lite kvm interface.
...
Original rstatd by John Brezak
Submitted by: Geoff.
1994-08-28 14:49:04 +00:00
Garrett Wollman
e410457b74
Install ld.so immutable.
1994-08-26 19:11:14 +00:00
Jordan K. Hubbard
e0661b603f
Whoops - forgot to add this guy.
...
Reviewed by:
Submitted by: jkh
1994-08-26 05:32:15 +00:00
Jordan K. Hubbard
fef0aded64
Replace this with the 1.1.5.1 getty. David says that the 4.4 version is too
...
broken to live.
Submitted by: jkh
1994-08-26 05:19:17 +00:00
Guido van Rooij
6c27ceb40e
Add -DBSD4.2 and -DBSDINETD so uucpd makes sense. Further correct a
...
warning at compil time.
This actually makes uucpd at tcp port 540 work, so slippers can poll
over tcp.
Reviewed by:
Submitted by: guido
1994-08-23 20:13:32 +00:00
Jordan K. Hubbard
540122a1ed
Add back atrun
...
Submitted by: jkh
1994-08-23 03:10:47 +00:00
Guido van Rooij
2313673135
Implement fbtab ala SunSO.
...
Could not compile it (on thud) because ttychar.h was still broken.
Reviewed by:
Submitted by: guido
1994-08-22 19:55:08 +00:00
Guido van Rooij
a670645c57
Add skey support
...
Reviewed by:
Submitted by: guido
1994-08-21 19:10:43 +00:00
Guido van Rooij
d007582cfe
Put skey support to ftpd
...
Reviewed by:
Submitted by: guido
1994-08-21 19:09:58 +00:00
Guido van Rooij
726040de0e
Put skey support in ftpd.
...
Reviewed by:
Submitted by: guido
1994-08-21 19:09:23 +00:00
Geoff Rehmet
f64bb9afa4
LDADD= -lcrypt
...
Submitted by: Geoff
1994-08-20 21:36:40 +00:00
Geoff Rehmet
4714bb15be
LDADD= -lcrypt
...
Submitted by: Geoff
1994-08-20 21:19:46 +00:00
Guido van Rooij
e27eb9e8ec
Plug already known security hole. (Brought over from 1.1.5):
...
Fixed security problem with telnetd, which allowed
telnet -l -hcert.org localhost
to change the user's host in utmp.
Thanks to Matthew Green <mrgreen@@mame.mu.oz.au> for showing me this one.
Reviewed by: karl, guido
Submitted by: mrgreen@@mame.mu.oz.au
1994-08-15 20:06:13 +00:00
Guido van Rooij
9496903032
Plug security hole that was already fixed in 1.1. It prevents
...
user from specifying their hostname when rlogin()-ing in
(using rlogin -f-h<host>)
Reviewed by:
Submitted by:
1994-08-15 19:44:50 +00:00
Geoff Rehmet
46592ab983
Remove the scary bits from telnetd - no more encryption left here.
...
Only crypt.c in libc remains.
Reviewed by: Geoff Rehmet
1994-08-12 23:00:04 +00:00
Jordan K. Hubbard
5670e75738
Change bogus --I to -I to make compilation happen again.
...
Submitted by: jkh
1994-08-10 04:55:19 +00:00
Garrett Wollman
2a3c26c889
Update to new make macros and disable Kerberos because we haven't got it
...
set up right yet.
1994-08-05 21:24:58 +00:00
Garrett Wollman
cee788c7d9
For the moment, don't build kpasswdd until we figure out what
...
to do with it.
1994-08-04 21:54:38 +00:00
Poul-Henning Kamp
331d599d36
Reviewed by: phk
...
changed ^G to \007
1994-07-24 02:44:28 +00:00
Rich Murphey
699e1b82fb
Changes from Paul Kranenburg which bring us into sync with his sources:
...
handling of errors through the standard err() and warn()
more fixes for Geoff Rehmet's NULL pointer bug.
fixes NULL pointer bugs when linking mono and nested X servers.
supports a `-nostdlib' option.
accept object files without a symbol table
don't attempt dynamic linking when `-A' is given
a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.
I tested 'make world' for /usr/src and X twice with these changes.
1994-06-15 22:41:19 +00:00
Rodney W. Grimes
79bd0a6516
Disable afterinstall rule as it is broken when you have CVS files around.
...
Reviewed by:
Submitted by:
1994-05-30 14:01:24 +00:00
Rodney W. Grimes
17b3a49182
rbootd compiles on i386 too.
...
Reviewed by:
Submitted by:
1994-05-28 06:21:34 +00:00