Commit Graph

368 Commits

Author SHA1 Message Date
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
dg
d57e34dc4c 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
pst
b161e95bee Clean up makefile 1994-09-30 21:19:58 +00:00
pst
9ae469c2bc make rexecd link against skeyaccess, not authfile 1994-09-30 06:38:43 +00:00
pst
d519ecf47d Move bootp & related stuff 1994-09-30 05:48:52 +00:00
pst
68e1cd350c Rearrange bootpd 1994-09-30 05:45:07 +00:00
pst
f3c3e3b79d Rearrange bootpd 1994-09-30 05:45:07 +00:00
pst
f9c9ebe331 This commit was generated by cvs2svn to compensate for changes in r3229,
which included commits to RCS files with non-trunk default branches.
1994-09-30 05:45:07 +00:00
pst
89d381ac07 Rearrange bootp 1994-09-30 05:43:13 +00:00
pst
5428a72a7f 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
pst
1377090952 Use new skey access routines 1994-09-29 18:59:42 +00:00
csgr
5b269a471e 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
pst
0d0daa6663 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
pst
43af02342e 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
pst
12f4978d79 Port rpc.pcnfsd to FreeBSD and enable 1994-09-28 18:14:57 +00:00
dg
933debd576 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
swallace
d4206754b6 Add LDDESTDIR to ld command.
Add -I${DESTDIR}/usr/include to cpp command.
1994-09-18 19:41:38 +00:00
dg
a108e0dd26 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
bde
dfd9d8220e 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
rgrimes
6bb7e0f83a Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:53:28 +00:00
paul
c3ed0db799 Removed bugfiler.
Submitted by:	Paul Richards
1994-09-09 16:40:27 +00:00
csgr
bf17680a36 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
ache
706c865107 Ignore SIGQUITs, cause getty dumps core on garbadge from modem line 1994-08-29 17:28:58 +00:00
bde
b1f1422cba 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
csgr
b97a110842 add: rpc.rstatd rpc.rusersd rpc.rwalld
Submitted by:	Geoff.
1994-08-28 15:18:51 +00:00
csgr
51bfc86b3e This commit was generated by cvs2svn to compensate for changes in r2341,
which included commits to RCS files with non-trunk default branches.
1994-08-28 14:58:36 +00:00
csgr
8adc1df0cc rwalld from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	Christopher G. Demetriou
1994-08-28 14:58:36 +00:00
csgr
79d61d21e6 rusersd from FreeBSD 1.1.5.1
Reviewed by:	geoff.
Submitted by:	John Brezak
1994-08-28 14:53:45 +00:00
csgr
397bb15b72 This commit was generated by cvs2svn to compensate for changes in r2337,
which included commits to RCS files with non-trunk default branches.
1994-08-28 14:53:45 +00:00
csgr
31c1d9b089 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
csgr
9505c147b4 This commit was generated by cvs2svn to compensate for changes in r2334,
which included commits to RCS files with non-trunk default branches.
1994-08-28 14:49:04 +00:00
wollman
31cefed0f3 Install ld.so immutable. 1994-08-26 19:11:14 +00:00
jkh
ae41d91d59 Whoops - forgot to add this guy.
Reviewed by:
Submitted by:	jkh
1994-08-26 05:32:15 +00:00
jkh
85887dbdbf 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
1a35f2dbaa 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
jkh
6490185817 Add back atrun
Submitted by:	jkh
1994-08-23 03:10:47 +00:00
guido
717a046159 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
cf3d4b3bf1 Add skey support
Reviewed by:
Submitted by:	guido
1994-08-21 19:10:43 +00:00
guido
e83730c5dd Put skey support to ftpd
Reviewed by:
Submitted by:	guido
1994-08-21 19:09:58 +00:00
guido
8b81aa9471 Put skey support in ftpd.
Reviewed by:
Submitted by:	 guido
1994-08-21 19:09:23 +00:00
csgr
71a5e73982 LDADD= -lcrypt
Submitted by:	Geoff
1994-08-20 21:36:40 +00:00
csgr
59dd21860a LDADD= -lcrypt
Submitted by:	Geoff
1994-08-20 21:19:46 +00:00
guido
08f0d29a6b 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
b50d2e09b5 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
csgr
4c23ce64f3 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
jkh
25ead8669c Change bogus --I to -I to make compilation happen again.
Submitted by:	jkh
1994-08-10 04:55:19 +00:00
wollman
406ac1d7a9 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
wollman
e42248dc73 For the moment, don't build kpasswdd until we figure out what
to do with it.
1994-08-04 21:54:38 +00:00
phk
f38b259c34 Reviewed by: phk
changed ^G to \007
1994-07-24 02:44:28 +00:00
rich
c68cd0f655 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
rgrimes
69e1e0e77b 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
rgrimes
f2fd804290 rbootd compiles on i386 too.
Reviewed by:
Submitted by:
1994-05-28 06:21:34 +00:00
rgrimes
758c6e92c9 BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00
rgrimes
7d07d2de2f BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00
rgrimes
62b5f0e1a7 This commit was generated by cvs2svn to compensate for changes in r1592,
which included commits to RCS files with non-trunk default branches.
1994-05-27 12:39:25 +00:00
ats
a0bf786879 Change the private declarations from dlopen,dlclose,dlsym,dlctl
to public. These functions are also used in /usr/include/link.h,
so it looks, like they shouldn't be private.
I will ask Paul about that, if this is correct.
1994-04-13 20:52:40 +00:00
ats
2143f84178 Due to the deletion of the gcc support from libc we need again the
-lgcc_pic library. rtld uses the udivd3 routine from it.
Repeat the bug by simply compiling ld on current.
1994-03-10 23:19:54 +00:00
jkh
a8ce2b831e This is Paul K's latest set of ld changes. A commit was necessary at this
late stage due to the fact that link.h was copyright Sun Microsystems.

This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed).  Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
1994-02-13 20:43:13 +00:00
rgrimes
a0a74841bf Remove /usr/X386/lib and /usr/local/lib from the default locations,
these are handled by /etc/rc and this was causing errors on a new
install as these places do NOT exsist by default!
1994-02-09 02:29:31 +00:00
dg
dc667448a8 Removed dependance on EX_DYNAMIC in making decisions on the magic number. 1994-01-19 15:00:37 +00:00
jkh
577116d414 More proper fix for for shared lib debugging support. 1994-01-14 11:47:00 +00:00
jkh
68812be9e0 1. Fix bug where duplicate symbol warnings were suppressed. This often
caued ld to `exit silently', to general confusion.

2. Add Gary Jennejohn's fix to support debugging of shared libraries.
1994-01-12 23:16:19 +00:00
nate
75d311d517 Modified Os string to be FreeBSD instead of NetBSD 1994-01-05 01:03:58 +00:00
nate
c9973d90e2 Added the Linux atrun command as hacked by Chris Demetriou for NetBSD. 1994-01-05 01:03:02 +00:00
dg
8bc542a60d Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.
1994-01-03 18:35:54 +00:00
jkh
702ab5f886 C++ support changes (+misc fixes) from Paul K. 1993-12-22 23:28:35 +00:00
jkh
21bd3205d7 Broke sbrk() out of rtld as part of general cleanup. 1993-12-11 21:06:00 +00:00
jkh
84469c1a08 Omitted 4th argument to findshlib() [thanks Rich!]. Our ld is a bit
different from NetBSD's here and it squeaked through the update.
1993-12-11 20:08:39 +00:00
jkh
00abba10e4 Sync up with Paul K's latest ld from cesium. 1993-12-11 12:02:10 +00:00
jkh
34ba236a67 makedepend fails for ld. I think it because the .S files are
preprocessed the same as when they are compiled.  I just remove the
single-quotes from the offending comments.  Rich
1993-12-10 10:16:00 +00:00
jkh
f6d9ea7142 David Greenman's latest changes to eliminate much stack-walking jazz
(no more sbrk_init()!).
1993-12-09 17:45:43 +00:00
jkh
77d7c59c0a More changes to bring FreeBSD in sync with Paul K's latest. 1993-12-04 00:53:16 +00:00
jkh
be6c0e105f More changes to bring FreBSD in sync with Paul K's latest. 1993-12-04 00:53:02 +00:00
jkh
f83f5b8177 Second attempt to integrate Paul K's changes. 1993-12-02 01:03:47 +00:00
ache
102a70260f Remove hanging #else part (with second sbrk()) without #if & #endif
Add missing argument to findshlib, I am not shure,
but it seems that it is 1.
!!! Does anybody compile it before commit?
1993-12-01 15:05:31 +00:00
jkh
e4f5027592 Many recent fixes from Paul K, add support for chaining of shared lib deps. 1993-11-30 20:47:54 +00:00
jkh
7385db1ac7 Added -lgcc_pic back again. 1993-11-25 01:06:42 +00:00
jkh
e5b5f8b38c Some of the latest changes from Paul K (taken from NetBSD-current). 1993-11-22 19:05:31 +00:00
paul
6e29330177 Incorporated fixes from Paul to make -Z option work. Emits old-style
ZMAGIC magic numbers in a long.
1993-11-15 20:58:20 +00:00
paul
926686b57c Added -lgcc_pic to Makefile -- Why do we need this and NetBSD don't ??
Incorporated patch by Guido (inspired by Davidg) that fixes stack
problem. May not be final fix but it works more than the current method.
1993-11-09 04:44:30 +00:00
paul
ad80b1947a Updated to newest ld from pk.
lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.
1993-11-09 04:19:36 +00:00
paul
2928461055 Added -lgcc_pic to LDFLAGS in rtld/Makefile 1993-11-07 03:25:25 +00:00
paul
c086748db3 Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
nate
22079ffb5e Libcrypt upgrade 1993-07-20 23:49:11 +00:00
root
743047b740 New manual page system 1993-07-02 05:48:19 +00:00
rgrimes
25062ba061 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00