Commit Graph

637 Commits

Author SHA1 Message Date
phk
1cd72c801f The latest round of bugfixes here... 1995-03-29 06:13:08 +00:00
wpaul
af8a974897 Fixed stupid bug in mountd: it would seem that the kernel doesn't allow
you to push the same host into its NFS export lists twice, but mountd
tries to do it anyway. This means that putting:

/some_file_system -ro host1 host1

in your /etc/exports file causes an error. This is bogus: mountd should be
smart enough to ignore the second instance of host1. This can be a problem
in some configurations that use netgroups. For example, each host in my
netgroups database is has two entries:

startide (startide,-,) (startide.ctr.columbia.edu,-,)

When mountd sees this, it tries to put startide.ctr.columbia.edu into the
export list *twice*. Just listing 'startide' /etc/exports list will also
screw up because mountd will try to resolve the netgroup 'startide' instead
of the hostname 'startide.'

My solution is watch for duplicate entries in get_host() and mark them
as grouptype GT_IGNORE, which do_mount() will now cheefully throw away.
This is a bit of a kludge, but it was the least obtrusive fix I could
come up with.

Also silenced a compiler warning: arguments passwd to xdr_long() should
be u_long, not int. :)
1995-03-26 23:36:38 +00:00
phk
24d628f8ae Fixed a bug so that a delta#0 can be applied.
Fixed a typo in the generation of temp filenames.
"Blame" Joerg for the man-pages (and clarify a couple of minor points).
Most appreceiated Joerg!
1995-03-26 20:09:52 +00:00
wpaul
91aac05da2 Stop callbootd from dumping core when attempting to directly query a
bootparam server on a host that isn't running bootparamd: if clnt_create()
comes back with a NULL pointer, bail out with an error.
1995-03-26 03:15:39 +00:00
wpaul
dbe9cf220e Make sure we free() the result returned to us by yp_match(). 1995-03-26 02:37:00 +00:00
joerg
90b59d01f5 Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (as
opposed to 0644 or 0755).  It's finally still masked by the process'
umask(2), and it does not make sense to restrict it further than that.

This (especially for mkdir(2)) was causing major headaches for the CVS
tree, since a member of group cvs was later not able to get cvs
checkout permission for the mirrored tree failed to write the lock file).
1995-03-25 20:46:51 +00:00
joerg
694a8742e7 Added a man page for the ctm(1) command, as well as a format description
for the CTM deltas.

Largely based on Poul-Henning's README, and the source code.
1995-03-25 18:14:26 +00:00
phk
2a40c77737 Make sure exit() is sensible; 1995-03-24 21:36:32 +00:00
phk
6abc04ee90 Modes on dirs were decimal by mistake.
Submitted by:	joerg
1995-03-24 21:33:20 +00:00
jkh
cf9f680883 Add what looks to be the right fix to this bogus code. 1995-03-24 16:07:09 +00:00
jkh
5cd9479b98 kbdfont -> vidfont for greater commonality with kbdcontrol/vidcontrol 1995-03-24 04:36:19 +00:00
jkh
fa2147ddc7 This commit was generated by cvs2svn to compensate for changes in r7302,
which included commits to RCS files with non-trunk default branches.
1995-03-24 00:52:28 +00:00
jkh
499fee9f1f Bring in the kbdmap/kbdfont utilities from Wolfram Schneider.
Renamed them to make them more consistent with kbdcontrol/fdcontrol/etc.
1995-03-24 00:52:28 +00:00
wpaul
a37e0133a6 Re-enable +::::::::: wildcards that I had previously disallowed.
Note: if you put +::0:0:::::: in /etc/master.passwd as your only NIS
entry, it will cause all NIS uids and gids to be remapped to zero. This
is *intentional*. That's the way it's supposed to work. Enabling NIS with
no remapping at all is done with +:::::::::, not +::0:0::::::. Similarly,
+:::::::::/bin/csh will remap the shells of all NIS users to /bin/csh.
Or, you could do +wpaul:::::::::/bin/csh to remap NIS user wpaul's shell
to /bin/csh but leave everyone else alone.
1995-03-23 22:31:11 +00:00
wollman
7a1628aa01 Enable DES if NOCRYPT is not set and and the user has the secure sources. 1995-03-23 19:13:04 +00:00
wpaul
f1a6a16e95 Summarily enable YP as soon as any a '+' is detected instead of generating
special values when +user substitutions are in effect. The new getpwent
code can handle all the special cases itself now.
1995-03-23 17:22:37 +00:00
rgrimes
541129ef5c Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
wpaul
a8b9de3061 - Add support for embedding special entries in the password databases
for +@netgroup/-@netgroup entries. This saves the getpwent functions
from having to do all the work.

- Fix potential bug: when pwd_mkdb writes the YP-enabled flag to the secure
password database, it uses the wrong database descriptor. (It uses the
descriptor from the non-secure database, which is already closed by the time
things are being written into the secure dastabase).
1995-03-23 00:54:57 +00:00
phk
cd13439f7f Make extra arguments be subdirs to go through. 1995-03-19 21:26:00 +00:00
joerg
44a74c37df Finally applying my own fix. :-)
>Description:

ctm(1) sometimes did not free up all used resources (open pipes and
processes, heap memory).  This happened whenever one of the passes
ended prematurely, and it became very apparent when running it on
a bunch of already applied deltas, resulting in a ``gunzip: resource
temporarily unavailable'' due to the maxproc # exhausted.
1995-03-19 13:42:54 +00:00
roberto
4694967493 Add a missing "\" in a printf before the "n". 1995-03-19 12:01:23 +00:00
phk
6a942ef2ac Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly. 1995-03-19 06:09:01 +00:00
wollman
b6beceae27 This set of patches enables IP multicasting to work under FreeBSD. I am
submitting them as context diffs for the following files:

sys/netinet/ip_mroute.c
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
usr.sbin/mrouted/igmp.c
usr.sbin/mrouted/prune.c

The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely
(tinguely@plains.nodak.edu). I have been running mrouted with these patches
for over a week and nothing has seemed seriously wrong. It is being run in
two places on our network as a tunnel on one and a subnet querier on the
other. The only problem I have run into is that mrouted on the tunnel must
start up last or the pruning isn't done correctly and multicast packets
flood your subnets.

Submitted by:	Soochon Radee <slr@mitre.org>
1995-03-16 16:25:55 +00:00
se
965da3c27a Reading NCR registers is not secure at all times, so prevent
an ordinary user from doing this. (Problem pointed out by
Guido van Rooij).
1995-03-16 15:10:11 +00:00
se
08a779bfe1 Fix "-ssync=xx" option. 1995-03-14 21:12:26 +00:00
amurai
5650a58254 Adding GETTING START and so on.
Submitted by:	amurai@spec.co.jp
1995-03-12 12:03:48 +00:00
cvs2svn
863dd5c6bc This commit was manufactured by cvs2svn to create branch
'unlabeled-1.1.1'.
1995-03-12 10:18:56 +00:00
amurai
570adcddfc Add BUGS and few explanation.
Submitted by:	amurai@spec.co.jp
1995-03-11 16:36:30 +00:00
amurai
4e41b74b9d 1.Reducing cpu usage at off connection.
2.Implment Redail function as working correctly.
3.Clean up a code as I notice.
4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !!

Reviewed by:	amurai@spec.co.jp
Submitted by:	amurai@spec.co.jp
1995-03-11 15:18:55 +00:00
phk
9cd847bbf3 The changes to support the new flags in the vn driver. 1995-03-11 09:33:25 +00:00
phk
fe55610d5f Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00
rgrimes
f415486037 Need /usr/src/sbin/i386 in srcdirs to get fdisk. 1995-03-10 08:36:19 +00:00
pst
f767c7b6b0 Remove Matt Day patch (handled elsewhere in 8.6.11) 1995-03-10 05:12:47 +00:00
pst
74e14200fd Merge CSRG branch changes into main branch 1995-03-10 05:08:18 +00:00
pst
488e20d44d This commit was generated by cvs2svn to compensate for changes in r6973,
which included commits to RCS files with non-trunk default branches.
1995-03-10 04:50:28 +00:00
pst
e2bc8b6f14 Merge sendmail 8.6.11 patches into CSRG branch 1995-03-10 04:50:28 +00:00
ache
644d3b582f Fix suspended vipw hangs
Obtained from: NetBSD
1995-03-09 21:53:12 +00:00
olah
aad57cc134 Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
ache
ed3b852197 o more options
o less restrictive, you can choise uid, gid ...
	o invite user into some groups
	o encrypted passwords with crypt
	o batch mode (for instance, this works now:
	  $ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
	  see manpage for more details)

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-03-08 22:44:37 +00:00
olah
82f9d23eb5 Make tcpdump understand the T/TCP (RFC-1644) options. Some extra sanity
checks were also introduced to the tcp_print function so it doesn't try
to interpret TCP options beyond the length of the sniffed packet.
1995-03-08 13:13:01 +00:00
olah
48fc7bedf7 Upgrade tcpdump and tcpslice to version 3.0
Obtained from: ftp.ee.lbl.gov and Vern Paxson <vern@ee.lbl.gov>
1995-03-08 12:53:42 +00:00
dufault
4d2c29c2b2 Change warning message for when a device is wired to a floating
host adapter to something hopefully clearer.  Take into account
that "wnum()" writes into a static buffer in the warning.
1995-03-07 11:03:42 +00:00
joerg
874ecc50c1 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:50:24 +00:00
joerg
3c6939a443 Upgrade to beta 3.20/b22 1995-03-05 22:47:12 +00:00
joerg
d86ddf5411 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:44:03 +00:00
wpaul
a7d260fe54 ether_addr.c:
- Implement ether_hostton()
- Implement ether_aton()
- Modify ether_aton() and ether_ntoa() to match the semantics of the
SunOS versions of these functions.
- Neaten up ether_hostton() and ether_ntohost() a little.
- Get rid of ether_print() since it isn't needed for rarpd and it isn't
documented as a standard ethers(5) function.

rarpd.8:

- Make it clear that the 'ipaddr' that rarpd looks for in /tftpboot
is actually in hexadecimal (as in /tftpboot/803B4032) since those who
are not versed in the black art of system administration are not likely
to know this.
1995-03-05 22:04:05 +00:00
bde
3404bd722e Don't depend on <stdio.h> bogusly including <sys/types.h>. 1995-03-05 02:19:21 +00:00
phk
504389ec94 Look at the .ctm_status file and ignores all patches already applied.
Reviewed by:	phk
Submitted by:	J Wunsch <j@uriah.heep.sax.de>
1995-03-04 20:36:46 +00:00
ache
80b136e25d Use ASCII lock, like everything else does
Submitted by: John Capo <jc@irbs.com>
1995-03-04 00:05:30 +00:00
wpaul
dfafbf1a37 Gave rarpd back the ability to poke temporary entries into the arp
table; arptab.c is really a hacked up version of arp.c that only
supports adding temporary entries. (This stuff is nasty -- I wish I
knew what was so wrong with SIOCSARP/SIOCGARP/etc... that made the
BSD developers decide to take it out.) The idea here is that the
client issuing the rarp is expected to be in the middle of booting
and would therefore be unable to answer arp queries from other machines
on the wire. Having rarpd stuff a temporary entry for the booting
host into the local arp table helps keep arp requests from going unanswered.

Also added ether_print() and ether_ntoa() to the ether_addr.c module.
Eventually I'll get ether_aton() and ether_hostton() written and
then this file can be dropped straight into libc. (Assuming no one
objects, of course. :)
1995-03-03 22:20:15 +00:00