Commit graph

1806 commits

Author SHA1 Message Date
Adam David 718737f0fb typo police
I couldn't make any sense of the sentence "Eval variables in this file." so I
left it alone.

also allow creation of new local group when NIS groups are used.
this can probably be done more elegantly, and needs more thought.
1996-08-28 17:54:14 +00:00
Wolfram Schneider 5a80fb277e sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
Garrett Wollman 95aa1d06a2 Merge new routed from vendor branch. 1996-08-27 16:22:05 +00:00
Garrett Wollman 776589ccad Initial revision 1996-08-27 16:12:46 +00:00
Paul Traina 30959c76e0 Run as daemon.daemon, not nobody.daemon 1996-08-26 17:01:58 +00:00
Paul Traina 28f0ced1ee Fix buffer overrun, and run as nobody 1996-08-25 21:37:11 +00:00
Bill Paul 81ff470f7a It appears that with FreeBSD-current, we need to set the ethernet
frame type in network byte order. The htons() that wasn't needed in
2.1 is now required in 2.2.

Ultimately, this rarpd should be replaced with the more recent one
supplied with the new BPF distribution.
1996-08-24 23:05:08 +00:00
Mike Pritchard 1f8be615ce Convert to mdoc format. 1996-08-24 16:34:23 +00:00
Mike Pritchard c0b0bcf4d3 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
Jordan K. Hubbard fc8cb16597 Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
Mike Pritchard 85cf659a76 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
Wolfram Schneider aa7e9146d7 bye, bye 1996-08-22 17:41:22 +00:00
Paul Traina 6ea43f98e3 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
Mike Pritchard c200bf2b82 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00
Mike Pritchard c993b63599 Oops, forgot to actually add the new man page. 1996-08-21 20:47:58 +00:00
Mike Pritchard 96d93606b9 Add a man page for mailstats(8).
Obtained from:  NetBSD
1996-08-21 20:45:20 +00:00
Paul Traina 768bb613dd Change DISTDIR to TCPDUMP_DISTDIR 1996-08-21 17:11:41 +00:00
Andrey A. Chernov 17c2b3452d Bugfix: all device counts >= 256 was broken, they truncated by % 255
because of u_char count field size. It hits when device
header file already present.
1996-08-21 17:00:54 +00:00
Paul Traina 9f6ca50ce7 Uniquely name the distribution directory variable so that it can be overridden
for multiple packages at the same time.
1996-08-21 16:50:15 +00:00
Peter Wemm 3f22340731 Decode ICMP_UNREACH_FILTER_PROHIB responses as !F, from RFC1812.
Suggested by: Bill Fenner <fenner@parc.xerox.com>

Additionally, print unrecognised ICMP_UNREACH codes numerically. eg, code
15 would show up as !<15>.
1996-08-21 05:59:19 +00:00
Peter Wemm e86f5a4cd3 Back out part of my previous commit. The bug was fixed over 12 months
ago in FreeBSD more cleanly.
1996-08-21 04:31:28 +00:00
Gary Palmer 2f425539d6 Pickup VERSION from the tcpdump sources in contrib/tcpdump. Allows
`make world' to work again.
1996-08-21 04:14:36 +00:00
Wolfram Schneider 7e0b7d4a87 add pathnames.h, -Wall cleanup 1996-08-20 23:51:20 +00:00
Jordan K. Hubbard d17e19f475 Clean up the english a little, having made the mistake of reading it. 1996-08-20 21:27:18 +00:00
Wolfram Schneider f99f7b462b run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
1996-08-20 19:57:23 +00:00
Paul Traina 9f3816ea5d Fix up path 1996-08-20 05:44:01 +00:00
Paul Traina 3629a694ff Grab tcpdump out of src/contrib/tcpdump 1996-08-19 21:57:10 +00:00
Wolfram Schneider e2ab8bac10 New option: [-c]
Check if the password file is in the correct format. Do not
        change, add, or remove any files.
1996-08-19 16:03:15 +00:00
Peter Wemm c3944f3dd1 Fix a bug, it was returning a pointer to a variable on the stack, instead
of the specially strdup()'ed version.
1996-08-19 14:28:48 +00:00
Peter Wemm 1340e5b6fe Define ETHERS_SERVICE, since our OS provides it. Otherwise, you
can't do a "tcpdump 'gateway foo'" unless it's in /etc/ethers - it wasn't
reading the NIS tables.
1996-08-19 14:27:14 +00:00
Wolfram Schneider 4b2b2ee3e1 ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
Peter Wemm b011f9fd8f Fixes from NetBSD:
- inet_ntoa() returns a pointer to a static buffer, dont use it twice
   in the same printf().
 - prevent the possibility of never timing out
 - Report two more ICMP error types (prohibited nets etc)
And some (commented out) enhancements that I use, but some don't like.
1996-08-17 10:37:28 +00:00
Wolfram Schneider b4356447c7 New options
-K      Run as command kbdmap(1).
    -V      Run as command vidfont(1).
    -p, -print
            Print description  of available keymaps or fonts to
            stdout and exit.

Document that users should not choose MSDOS codepage keymaps or fonts.
1996-08-16 13:26:44 +00:00
Andrey A. Chernov 0d9bb52dbb Remove -p from SYNOPSIS 1996-08-16 12:34:47 +00:00
Andrey A. Chernov de1fd44033 Remove -p option from getopt string, all corresponding code
already deleted
1996-08-16 12:12:53 +00:00
Peter Wemm 28c28b06ed rpc.rstatd -> rpc.lockd typo
Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
1996-08-16 09:44:40 +00:00
Wolfram Schneider 8a368b34b0 Do not add an user to a group if the group is also the login group. 1996-08-14 19:06:04 +00:00
Adam David 7ba57172c1 chown(8) and chgrp(1) directories once only 1996-08-14 18:13:58 +00:00
Wolfram Schneider 2e8b782306 Do not send "welcome mail" as default. If you want this feature
you can still enable it. Better, use mail client like elm or pine.

Requested by: Jordan
1996-08-13 21:50:51 +00:00
Bill Fenner aba3a4ce1b Fix last commit (and PR bin/1489) by creating both sockets before
setuid().
1996-08-13 16:28:59 +00:00
Peter Wemm 403b820b67 Fix a few minor type problems that turned up with gcc-2.7.2 1996-08-13 09:21:38 +00:00
Peter Wemm 2db86e5b74 Add RTF_STATIC to default route's flags in the hope that routed will no
longer remove it while it is running.
1996-08-13 09:19:45 +00:00
Peter Wemm b49090e691 Add RTF_STATIC to flags when creating a default route. Hopefully this
will stop routed from removing it if it is also running.
1996-08-13 09:16:49 +00:00
Paul Traina 7e31b4b1be Previously, if the dial script had any problems, pppd would simply
bomb out.  Unfortunately, FreeBSD's sio driver and certain internal
modems don't get along very well, which can cause the serial port to
wedge until it is closed and reopened.

Add new variable, connect-max-attempts, default = 1 (to mimic previous
behavior).  If > 1, will try up to "n" times to dial remote site before
aborting.
1996-08-11 17:29:37 +00:00
Julian Elischer 7356460fe3 Reviewed by: various
Submitted by:	archie@whistle.com

changes to allow inetd to bind to a single interface
for more complicated options see xinetd in ports.

Obtained from: whistle.com
1996-08-09 22:20:24 +00:00
Adam David d91013b58d was missing @ 1996-08-09 17:55:18 +00:00
Bill Fenner f1284d7a51 Drop setuid ASAP, to minimize code executed as root.
Reviewed by:	pst
1996-08-09 06:00:53 +00:00
Poul-Henning Kamp 4b7d97414e Make broadcast clients work. 1996-08-06 11:32:25 +00:00
Paul Traina 18fb104c5a Gratuitous whitespace change so that I can commit the source of the recent
buffer overflow patch.
Reviewed by:	pst
Submitted by:	Dave Andersen <angio@aros.net>
1996-08-05 00:50:02 +00:00
Paul Traina b04b7cf55d Fix up some more buffer overflow problems. 1996-08-05 00:31:27 +00:00