Commit Graph

1269 Commits

Author SHA1 Message Date
steve
34a920572b Revert the previous fix. As it turns out Warner Losh is
working a better fix.
1998-05-25 06:53:17 +00:00
steve
6c80bd6a7d Attempt to stop another DoS attack related to ping flooding.
PR:		6649
Submitted by:	Jason Young <doogie@forbidden-donut.anet-stl.com>
1998-05-25 03:50:51 +00:00
jraynard
772c68cbf5 Fix typo in prompt. 1998-05-20 22:23:16 +00:00
danny
ade4291d50 Reminded by: Alex Nash
Bring man page up to date with -q flag behaviour.
1998-05-19 12:50:35 +00:00
phk
00b3b49e1b Make the size of the msgbuf (dmesg) a "normal" option. 1998-05-19 08:58:53 +00:00
peter
24a3627dd7 Support changing the attribute cache limits per-mount. We don't have
many option letters left, I used long names only (like the previous
port= option)
1998-05-19 07:18:28 +00:00
max
1298bb5776 Typo fix. 1998-05-19 03:10:14 +00:00
jb
a7f6042456 Make this safe for an alpha build, leaving out just about everything
that has some sort of kernel issue associated with it.
1998-05-18 04:46:29 +00:00
dt
902ca8e68b Remove extraneous ")" from output. 1998-05-17 21:57:17 +00:00
fenner
e8a137bc32 Turn on TCP_NODELAY on the remote socket, to turn off sender silly window
syndrome avoidance.  The combination of SWS avoidance and ack-every-other
 causes low throughput if the block size divided by the MSS is odd (which
 is true with the default block size and MSS).
Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance.
 The rdump request/response protocol can not invoke Nagle and cannot cause
 SWS, so this has no negative effects.
1998-05-17 06:39:38 +00:00
jb
df402cb252 When a timeval is stored at the beginning of icmp_data, the fields
are unaligned for access by the alpha, so copy the value to a variable
that is aligned.

When checking the returned data, be careful to avoid confusing the
size of the icmp header with the size of a timeval. On i386 these
are both 8, but on alpha, a timeval is 16 bytes. This means that
a packet sent from an alpha contains 48 bytes of data, not 56 like
on i386.
1998-05-16 00:19:27 +00:00
danny
1cc49ca972 PR: 6641
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Make -q work for zeroing a specific rule.
1998-05-15 12:38:07 +00:00
phk
3a84d53923 The SYNOPSYS of mount_umap(8) says
mount_umap [-o options] target mount-point uid-mapfile gid-mapfile

This should read

     mount_umap [-o options] -u uid-mapfile -g gid-mapfile target mount-point

PR:		6586
Reviewed by:	phk
Submitted by:	Amakawa Shuhei amakawa@hoh.t.u-tokyo.ac.jp
1998-05-13 08:02:50 +00:00
phk
72e586cdaa The description of the format of the id mapfile is wrong. You have
to write an original-id and a local-id in the other way around.

PR:		6593
Reviewed by:	phk
Submitted by:	Amakawa Shuhei <amakawa@hoh.t.u-tokyo.ac.jp>
1998-05-13 08:01:00 +00:00
peter
f2c6244512 Fix PR 1607, hopefully without breaking the PR 5208 fixes.
umount() was trying to stat() the mountpoint, this would fail if the
mountpoint was a NFS mountpoint, and the fallback code would try and pass
a hostname:/dir path as the mountpoint to unmount(2), which would fail.

This whole stat() of the name supplied on the command line business is
trouble as it'll wedge on a hung NFS mount.

I'm not entirely sure why we are not simply looking up both arguments
in the mount table and doing the right thing without accessing the
filesystem.  It seems that we're going to a lot of trouble to allow
mountpoints on symlinks and other wierd things.

PR: 1607
1998-05-11 07:38:42 +00:00
steve
71673c47fd Fix minor typo.
PR:		6571
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-05-10 16:35:31 +00:00
jkh
dcef58e481 Well, nobody objected, so here's my -u (unlink) flag to restore. 1998-05-09 05:23:02 +00:00
charnier
64b58ad866 Add usage() and rcsid. Getopt() returns -1 not EOF. Remove unused #includes.
Use .An/.Aq in man page.
1998-05-05 06:24:15 +00:00
peter
4e507d65e9 Mention the 2GB NFS v2 filesize limit.
PR: 6335
Submitted by: tom@sdf.com
1998-05-01 13:52:17 +00:00
peter
17853abae1 Don't give examples or use the depreciated usage to nfsd
PR: 5635
1998-05-01 13:45:04 +00:00
phk
7374868887 say a few words about the -b option.
Reviewed by:	Bill Trost <trost@cloud.rain.com>
1998-04-26 18:15:38 +00:00
phk
395ecbc33a Add warning about root-fs blocksize expectations.
PR:		4485
Reviewed by:	phk
Submitted by:	Kees Jan Koster <kjk1@ukc.ac.uk>
1998-04-26 17:44:23 +00:00
phk
3aab9d8b31 When ipfw reads its rules from an input file, the optind variable is
not reinitialized to 1 after calling getopt. This results in parsing
errors on all but the first rule. An added patch also allows '#'
comments at the end of a line.

PR:		6379
Reviewed by:	phk
Submitted by:	Neal Fachan <kneel@ishiboo.com>
1998-04-22 06:20:20 +00:00
rnordier
d8a676d94e Check bytes read to prevent random error message. 1998-04-20 14:09:40 +00:00
phk
c85e9550d3 Problem whith "subnet=" statement in /etc/gateways.
routed discards the first character of the network address.
Example: "subnet=10.0.0.0/24,1"
The network address is interpreted as 0.0.0.0/24,1.
PR:		4825
Reviewed by:	phk
Submitted by:	Mike E. Matsnev <mike@azog.cs.msu.su>
1998-04-19 17:53:16 +00:00
brian
4b10a45736 Fix incorrect flag spec
PR:		6339 (part of)
Submitted by:	Chris Dillon <cdillon@wolves.k12.mo.us>
1998-04-18 10:05:38 +00:00
phk
8a4252919b If ping write fails with short packet count, the
error message prints the two numbers backwards.
PR:		6313
Reviewed by:	phk
Submitted by:	Archie Cobbs
1998-04-15 19:55:14 +00:00
phk
47df445492 Remove these copies, they now live the right place. 1998-04-12 10:45:11 +00:00
phk
bc1d47f23b Change noc-tun to nos-tun after Peter did the repository copy to cover
up the tracks of my blunder.
1998-04-12 10:44:24 +00:00
ache
a82f906952 Implement Helbig idea of offset calculation reducing mktime() calls
Immediately exit if /etc/wall_cmos_clock not present
1998-04-11 21:18:55 +00:00
phk
6f704f2c66 Add noc-tun to list 1998-04-11 20:03:05 +00:00
phk
deed9c099f Program which implements "nos" alias "ka9q" alias "IP-IP" tunnels.
PR:		1154
Reviewed by:	phk
Manpage by:	phk
Submitted by:	Nickolay N. Dudorov nnd@itfs.nsk.su
1998-04-11 19:33:06 +00:00
wosch
e3aed30232 New mount option nosymfollow. If enabled, the kernel lookup()
function will not follow symbolic links on the mounted
file system and return EACCES (Permission denied).
1998-04-08 18:31:59 +00:00
cracauer
0009308669 (evil) hackers -> crackers 1998-04-08 12:00:48 +00:00
bde
0c33af9265 Guess the position of the drive number in the device name better so
that `fsck -p' doesn't check multiple slices on the same drive
concurrently.  Don't invoke undefined behaviour when searching for
the drive number in strange device names.

PR:		6129
Reviewed by:	phk
Submitted by:	Yuichi MATSUTAKA <matutaka@osa.att.ne.jp>, but rewritten
		by me.
1998-04-07 12:43:57 +00:00
imp
4b46ef5a49 Add aback in a line a accidentally killed in my last commit.
Submitted by:	Bill Fenner
1998-04-02 04:33:18 +00:00
eivind
2e3938a9b7 Make this compile (and seemingly work). 1998-04-02 01:12:55 +00:00
imp
64af92eaa5 A fairly rare possible buffer overflow:
Theo fixed this and tqbf reported it
Obtained from: OpenBSD
1998-04-01 00:32:18 +00:00
phk
1e95007485 Pickup _time_second instead of _time 1998-03-30 10:10:29 +00:00
ache
add2782c4e Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
obrien
ab7e5a8f6b Add NTFS partition type.
Add "." at the end of some sentances.
Also print "flag 80" in English.
Give hint that "sysid" for FreeBSD is 165 decimal.
Ensure active partition specified by user is 1-4.
1998-03-29 23:41:51 +00:00
peter
d978ab5c83 Don't print the 'writes: sync & async' stuff if we're mounted readonly
or if the fs isn't keeping the stats..
1998-03-27 10:52:13 +00:00
jkh
16c0eec428 The logic in tape.c:getfile() doesn't allow for a filesystem
with a blocksize smaller than the tape block size. The problem
        seems to be most easily fixed by changeing where fssize is set.

PR:		5704
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1998-03-23 23:19:14 +00:00
charnier
6e321f37d4 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
danny
1b827ab5e8 PR: 6104
Submitted by:	Anatoly Vorobey <mellon@pobox.com>
Fix typo
1998-03-23 06:36:57 +00:00
peter
52325b1595 Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
1998-03-21 13:53:18 +00:00
eivind
7be3e77c0a Make 'ifconfig -l ether' only list Ethernet interfaces. This is
useful, intuitive, and match the old comments in the source.
Previously, 'ifconfig -l ether' and 'ifconfig -l' were equal.
1998-03-19 20:58:45 +00:00
charnier
b0b8c2ff22 Use .An/.Aq. 1998-03-19 07:47:10 +00:00
charnier
8e69ba3343 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-19 07:46:04 +00:00
ache
fb0b69a9d2 Add more DOS/Win95 partition types 1998-03-14 21:22:09 +00:00