Commit Graph

1855 Commits

Author SHA1 Message Date
mpp
bef6fb830a Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
jkh
d3739879c9 Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
wosch
654c394b55 bye, bye 1996-08-22 17:41:22 +00:00
pst
2cdf366009 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
mpp
52a48de0c5 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00
mpp
357f60e0ec Oops, forgot to actually add the new man page. 1996-08-21 20:47:58 +00:00
mpp
c4fc551727 Add a man page for mailstats(8).
Obtained from:  NetBSD
1996-08-21 20:45:20 +00:00
pst
dc46a50db4 Change DISTDIR to TCPDUMP_DISTDIR 1996-08-21 17:11:41 +00:00
ache
cb3f7aca30 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
pst
ddd2ef851a 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
c5dd58135d 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
85129e1a54 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
gpalmer
1cd0d327ac Pickup VERSION from the tcpdump sources in contrib/tcpdump. Allows
`make world' to work again.
1996-08-21 04:14:36 +00:00
wosch
aeac748e2f add pathnames.h, -Wall cleanup 1996-08-20 23:51:20 +00:00
jkh
b4c0b27579 Clean up the english a little, having made the mistake of reading it. 1996-08-20 21:27:18 +00:00
wosch
938f39425a run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
1996-08-20 19:57:23 +00:00
pst
076318a498 Fix up path 1996-08-20 05:44:01 +00:00
pst
71a339d4dd Grab tcpdump out of src/contrib/tcpdump 1996-08-19 21:57:10 +00:00
wosch
62a6bfaf7a 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
48b09c187d 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
2a946c4c77 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
wosch
331ef39e8f ``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
d489b09360 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
wosch
6aac9eb9ee 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
ache
fcee422588 Remove -p from SYNOPSIS 1996-08-16 12:34:47 +00:00
ache
4d78965cea Remove -p option from getopt string, all corresponding code
already deleted
1996-08-16 12:12:53 +00:00
peter
78010e9735 rpc.rstatd -> rpc.lockd typo
Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
1996-08-16 09:44:40 +00:00
wosch
93f624e1a5 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
021b988ec4 chown(8) and chgrp(1) directories once only 1996-08-14 18:13:58 +00:00
wosch
c36121cb27 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
fenner
5353c9c285 Fix last commit (and PR bin/1489) by creating both sockets before
setuid().
1996-08-13 16:28:59 +00:00
peter
f7b4db0557 Fix a few minor type problems that turned up with gcc-2.7.2 1996-08-13 09:21:38 +00:00
peter
72e76de98b 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
42c8685e61 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
pst
db1a2c98a7 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
53ead71d81 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
3c7c30f3ef was missing @ 1996-08-09 17:55:18 +00:00
fenner
679c08513a Drop setuid ASAP, to minimize code executed as root.
Reviewed by:	pst
1996-08-09 06:00:53 +00:00
phk
8e6b5828cf Make broadcast clients work. 1996-08-06 11:32:25 +00:00
pst
67d02bf67e 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
pst
1386f27d09 Fix up some more buffer overflow problems. 1996-08-05 00:31:27 +00:00
wpaul
d200f0db63 Fix a couple of bogons. The first two were brought to my attention
by Peter Wemm:

- In yppasswdproc_update_1_svc(), I wasn't paying attention and put
  a couple of lines of code _after_ a return() instead of before.
  (*blush*)

- The removal of certain temp files didn't always work (this showed
  up mostly if you were using /etc/master.passwd as your NIS passwd
  template instead of /var/yp/master.passwd). This is because the
  whole temp file creation mechanism I was using was tragically
  broken (you can't rename across filesystems).

This problem I found myself:

- If you have a very large password database (30,000 or more entries),
  there can be a delay of several seconds while pw_copy() copies the
  ASCII template file and subsitutes in the modified/new entry. During
  this time, the clnt_udp() code in the RPC library may get impatient
  and retry its request. This will get queued at the server and be
  treated as a second request. By then the password change will have
  been completed and the second request will fail (the old password is
  no longer valid). To attempt to fix this, we save the IP address and
  port of each request and ignore any subsequent requests from the
  same IP and same port that arrive within five minutes of each other.
1996-08-04 22:13:05 +00:00
phk
c6caa4699e Enhance crunchgens understanding of our new /usr/obj/pwd strategy. 1996-08-04 20:38:53 +00:00
jkh
ff8fc6b664 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
jkh
c13a841e41 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
jkh
05e454700f Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
nate
253c83930a Use the defines and macros defined in /sys/pccard/cis.h to make the code
easier to understand.  LOTS more work needed in this area.

Inspired by:	The Nomad code
1996-08-01 15:45:46 +00:00
jkh
c8828e74f3 Whoops! VTYs return zero values for TIOCGSIZE! Work around this. 1996-08-01 13:47:03 +00:00
jkh
6b1c559b52 Don't query DNS if we haven't got it configured. 1996-08-01 12:59:54 +00:00