Commit Graph

14839 Commits

Author SHA1 Message Date
alex
652fd8dd7f If ipfw is enabled, display packet/byte counters for reject/deny rules
that have changed since the last security check.

Make the spacing between sections more consistent.
1996-06-30 19:35:20 +00:00
phk
6f1ef88a92 Update to use modern make meta-variables. Fix the $Id$ both. 1996-06-30 18:02:58 +00:00
phk
fbbce4b758 Add an appendix with policies and insert the maintainer & contrib
policies there.
1996-06-30 18:01:25 +00:00
wosch
c1c553100f Add section LIMITS 1996-06-30 16:09:51 +00:00
wosch
6147912add Add a reference to ident(1). 1996-06-30 16:06:44 +00:00
peter
9b4d02761c If a local ufs filesystem is mounted "nosuid", dont scan it as part of
the /etc/security setuid checks.  This is useful for things like large
news spool partitions that dont have executables.

Reviewed by: pst
1996-06-30 13:16:21 +00:00
peter
1fa1efc979 Correct location of tcl components.. They are installed under
/usr/libdata/tcl (created with mkdir -p), not /usr/lib/tcl (empty).
1996-06-30 13:06:50 +00:00
wosch
662bf44fe2 Add some options which makes lastcomm(1) a better debug tool. 1996-06-30 11:58:20 +00:00
wosch
fdfd212c01 checklog - extract your commits from commitlogs archive 1996-06-30 11:51:41 +00:00
joerg
547a10923e Back out Nate's changes from rev. 1.6; our Perl has not been
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.
1996-06-30 09:47:56 +00:00
joerg
e6299bb9a7 Do always create ktrace.out with mode 0600, to prevent it from
accidentally compromising information confidential to the user running
ktrace.
1996-06-30 09:40:44 +00:00
joerg
17f10d8a38 Enable ktrace by default, accompanied by a small reminder about the
implications (4 KB bloat, slight slowdown of syscalls).

Reviewed by:	freebsd-hackers
1996-06-30 09:39:29 +00:00
andreas
f333befaa9 fixed two typos (s/iss/is/) 1996-06-30 08:03:35 +00:00
dg
6b8e4c8ac2 Fixed a major bug that caused various pmap related panics, hangs, and reboots.
The i386 pmap module uses a special area of kernel virtual memory for mapping
of page tables pages when it needs to modify another process's virtual
address space. It's called the 'alternate page table map'. There is only one
of them and it's expected that only one process will be using it at once and
that the operation is atomic.
When the merged VM/buffer cache was implemented over a year ago, it became
necessary to rundown VM pages at I/O completion. The unfortunate and
unforeseen side effect of this is that pmap functions are now called at bio
interrupt time. If there happend to be a process using the alternate page
table map when this I/O completion occurred, it was possible for a different
process's address space to be switched into the alternate page table map -
leaving the current pmap process with the wrong address space mapped when
the interrupt completed. This resulted in BAD things happening like pages
being mapped or removed from the wrong address space, etc.. Since a very
common case of a process modifying another process's address space is during
fork when the kernel stack is inserted, one of the most common manifestations
of this bug was the kernel stack not being mapped properly, resulting in a
silent hang or reboot. This made it VERY difficult to troubleshoot this bug
(I've been trying to figure out the cause of this for >6 months). Fortunately,
the set of conditions that must be true before this problem occurs is
sufficiently rare enough that most people never saw the bug occur. As I/O
rates increase, however, so does the frequency of the crashes. This problem
used to kill wcarchive about every 10 days, but in more recent times when
the traffic exceeded >100GB/day, the machine could barely manage 6 hours of
uptime.
The fix is to make certain that no process has the pages mapped that are
involved in the I/O, before the I/O is started. The pages are made busy, so
no process will be able to map them, either, until the I/O has finished.
This side-steps the issue by still allowing the pmap functions to be called
at interrupt time, but also assuring that the alternate page table map won't
be switched.
Unfortunately, this appears to not be the only cause of this problem. :-(

Reviewed by:	dyson
1996-06-30 05:17:08 +00:00
peter
792c06a513 Fix typo that prevented the initial/lock state devices from working
correctly (accessing the lock device was not possible).
1996-06-30 04:56:05 +00:00
alex
ea00d7543c Correct command line and port range syntax. Define the 'log' option.
Expand definition of 'established' and 'icmptypes.'  Correct examples
which still used the old syntax.  Add a pointer to the CERT packet
filtering checklist.
1996-06-30 02:46:44 +00:00
peter
de937c496c Make %CPU add up closer to 100%.. At least, it now agrees with top.. :-)
Pointed out by: bde
1996-06-29 10:25:31 +00:00
dg
5b37bd13e0 Make sure we have an object in the map entry before trying to trim pages
from it.
1996-06-29 09:17:17 +00:00
peter
70d631930f Fix (I think) the %MEM count in 'ps -u'. It was bogusly taking the
vm_rssize (in pages, not bytes), then dividing (bogusly) by the page size,
then using that as a fraction of the total pages.
1996-06-29 08:04:05 +00:00
jkh
9a6bae5c15 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
e0a4a16767 Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
alex
ee1f52e852 Reject rules which try to mix ports with incompatible protocols. 1996-06-29 03:33:20 +00:00
phk
6d4faa5ec8 Make cleandirs more safe
Suggested by:	bde
1996-06-29 03:12:49 +00:00
jkh
0d2b2ebbd5 Sync with 2.1-stable (I commited my changes there first by mistake due to
an errant CVS tag file).
1996-06-29 02:53:09 +00:00
jkh
090d9e9546 Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
1996-06-29 02:22:48 +00:00
peter
9619e29bba Add my pgp key.. 1996-06-29 01:52:00 +00:00
alex
edea64b844 Formatting fixes for 'in' and 'out' while listing.
Prevent ALL protocol from being used with port specifications.

Allow 'via' keyword at any point in the options list.  Disallow
multiple 'via' specifications.
1996-06-29 01:28:19 +00:00
alex
153deea5fa Fix port specification syntax.
Submitted by:	nate
1996-06-29 01:21:07 +00:00
jkh
3635564be3 Document the fact that changes with -c need to be made twice at install
time (once for floppy, once for initial boot).
1996-06-28 22:03:18 +00:00
peter
d2f1239d4c Add back missing backslash in SUBDIR list, it got lost when libtcl was
added.  (also align the text block, it looked odd with variable indent)
1996-06-28 12:07:01 +00:00
phk
2a36059e6a Add tclsh to Makefile.
(If you havn't updated your supfile Make world will croak.  CTM is ok)
1996-06-28 05:36:32 +00:00
phk
15d17e07c2 Add beforeinstall decent into libtcl 1996-06-28 05:36:00 +00:00
phk
7233f293d1 Add libtcl to makefile 1996-06-28 05:35:44 +00:00
smpatel
75a18de70c Added missing prototype for sigaltstack() 1996-06-28 04:27:04 +00:00
jkh
f77db63be9 Remove code which overrode the opinion of getcwd() with an often bogus
value for $PWD.
1996-06-27 21:59:25 +00:00
nate
3b624192af Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so
make sure STRIP is defined if you plan on using it.
1996-06-27 21:48:50 +00:00
joerg
02519a6da0 Bump various timeouts in scprobe(). This finally fixes the broken
keyboard reset one of my earlier commits has been causing.
1996-06-27 21:36:11 +00:00
jkh
6efdfdb671 Add Jim Lowe to FreeBSD contributors list - jeeze, was this ever overdue! 1996-06-27 20:52:06 +00:00
jkh
e9093f28a5 Add credit to Calweb for the P6 we used to build packages. 1996-06-27 07:13:45 +00:00
jkh
e208e25159 Add 3rd South Africa mirror. 1996-06-27 07:03:44 +00:00
markm
db668817fc Add new South African mirror - ftp3. 1996-06-27 06:33:02 +00:00
peter
00e94608b4 Comment out the:
.if exists(contrib)
 SUBDIR+= contrib
 .endif
because it now tries to decend into the new contrib dir which doesn't
have a Makefile.
1996-06-27 06:00:52 +00:00
wpaul
0a24e0fafd Improve performance with very large user databases by increasing
hash table size from 256 to 1024.

Generate output that looks more like the SunOS mknetid: uses a space
instead of tabs for white space.

Fix typo in comment in hash.h: Groupit -> Groupid.
1996-06-27 05:42:01 +00:00
nate
b32a0b2af8 Added libftpio to 'includes'. 1996-06-26 22:47:52 +00:00
gpalmer
149b699e14 Add a missing space in a comment 1996-06-26 21:12:28 +00:00
gpalmer
b99c167c70 Add -Wall to CFLAGS 1996-06-26 20:49:41 +00:00
gpalmer
9b4f6d4a7a Makefile:
Add -Wall to CFLAGS

ftpio.h:
		It's ftpGetModTime, not ftpModTime
1996-06-26 20:31:11 +00:00
gpalmer
c308570548 Correct comment relating to pty's. There can be 256 (probably
higher actually, but that's all our MAKEDEV supports at this time)
1996-06-26 19:42:06 +00:00
nate
301b6a60ff Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"
Submitted by:	The Perl Gods as described in the advisory
1996-06-26 19:12:25 +00:00
jkh
3763aacda3 Correct minor syntactical error. 1996-06-26 19:06:11 +00:00