camield
1331f9dd50
Allow outbound ping in initial pf rules.
dhclient needs this to validate old (but valid) leases in
/var/db/dhclient.leases in case it needs to fall back to such a
lease. (the dhcp server can be down or not responding)
Reported by Chris Jepeway.
"makes sense" henning dhartmei
22 years ago
jakob
ed7cd40416
use /var/tmp as default temporary directory when building locate database. ok millert@
22 years ago
millert
949ecbd97d
Add sanity check to prevent int oflow for very large allocations.
Also fix a signed vs. unsigned issue while I am at it.
Found by Jim Geovedi. OK deraadt@
22 years ago
millert
36f3924c0e
Move the rounds into separate functions on sparc64 so gcc's optimizer
doesn't blow up. This is a hack but is better than compiling sha1.c
with -O0 on sparc64. From NetBSD (mrg).
deraadt@ OK
22 years ago
marc
9d5f57f691
Handle wsconsctl.conf entries that contain spaces, e.g.
22 years ago
todd
b8e8dc2b9f
sync
22 years ago
todd
12d73b3244
one more tweak for _lkm; ok deraadt@
22 years ago
miod
b2bf5e43fb
syncronous -> synchronous
22 years ago
deraadt
83341f4e9e
sync
22 years ago
deraadt
11fcc6bd00
_lkm group for modstat(8); millert ok
22 years ago
miod
58ea7af422
Remove screenblank section; reported by Andrey Matveev.
22 years ago
miod
08c1785488
amiga and sun3 turned out to not be y2k+3 compliant here. Remove them, as
well as the few userland tools which were only used on these platforms.
22 years ago
miod
f41f4e8b13
Prepare for the removal of amiga and sun3 platforms from the tree.
There has not been enough activity and interest towards these platform
to keep them lying in the tree.
22 years ago
dhartmei
e704f94eb4
#set limit states unlimited -> 10000, as unlimited is not valid syntax.
22 years ago
mcbride
b8214d526b
Add icmp6 as an alias for ipv6-icmp. This helps clear up confusion about
icmp protocol naming particularly with pfctl, since the manpage is
icmp6(4) (not ipv6-icmp(4)).
suggested by espie@, cleared with deraadt@, ok dhartmei@
22 years ago
millert
e504a8f014
Back out __EOF stuff and just use -1 in ctype.h. This is OK since
we don't want any user defines to change how the inlined ctype
functions behave.
22 years ago
millert
8736cb4dab
put bin dirs before sbin dirs in PATH for consistency with other cron scripts
22 years ago
millert
a9949c0ab0
Don't define EOF In ctype.h, some 3rd party code checks whether or
not EOF is defined to determine if stdio.h has been included.
Instead, use __EOF which should be OK wrt namespace safety.
22 years ago
danh
f938d34a51
add _spamd pseudo-account; ok deraadt@
22 years ago
lebel
a31f5f4ec8
spewd-setup should read spamd-setup
22 years ago
deraadt
2b5c5bc6fb
spamd startup stuff
22 years ago
miod
d40308e632
Regen.
22 years ago
miod
2a1fd40bb0
Fix st(4) block major. Gasp.
22 years ago
deraadt
5c9d1d7e5b
_spamd
22 years ago
mcbride
a493f9a1f4
Simpler default block.
ok deraadt@
22 years ago
henning
4fccd6e031
default optimization is "normal", not "default"
22 years ago
henning
e4642529fb
missing }
22 years ago
henning
f4d17cceb7
-list options with default values
-correct order
-various spelling/grammar/consistency
from David Krause with feedback from dhartmei@
22 years ago
millert
bd747228df
o Ansi function headers
o Add __BEGIN_DECLS/__END_DECLS to include files
o Safe macros
o Remove useless variable assignment in the End function of *hl.c
o Some minor KNF, needs more
From Dan Weeks
22 years ago
deraadt
ad4f9c1261
sample spamd stuff
22 years ago
deraadt
705f4b5a8c
indent so it is more clear, add spews thing
22 years ago
millert
1463abd039
s/maxium/maximum/g ; Jesper Louis Andersen
22 years ago
jakob
559cbb1eef
add /etc/ntp.conf. ok deraadt@
22 years ago
jakob
a00bdb3404
add ssdp 1900/{tcp.udp}. ok deraadt@
22 years ago
fgsch
cb4f26b188
record failed login attemps by default, aka enable /var/log/failedlogin.
pval@ millert@ ok.
22 years ago
millert
bb2be83ea8
Casting to unsigned int in isfoo() causes problems on alpha and
sparc64. Change cast back to unsigned char but do a bitwise AND
with 0xff to avoid any sign extension weirdness and to make it
impossible for us to overflow _C_ctype_. The bitwise AND is probably
not needed and may be removed later if this does not trigger compiler bugs.
22 years ago
henning
e07978f161
writeable -> writable; torh at bogus dot net
22 years ago
millert
67eb2617d7
fix typo; noticed by David Krause
22 years ago
millert
b663735ec7
Instead of doing "if (c == EOF) return 0;" use the hook ('?') operator
instead to make these one-liners. Works around a compiler bug on vax
that affects both the libc and inline versions identically.
22 years ago
millert
4ed53a5fc2
Less stupid check for 7-bit ascii in toupper/tolower
Remove useless check for EOF in isascii
22 years ago
millert
95d7cf1ebf
Cast to unsigned int, not unsigned char, since what is being cast is an
int, not a char.
22 years ago
henning
36e2191245
kill whitespace at EOL; David Krause
22 years ago
millert
5f83b56e7a
Convert ctype.h macros into inline functions. This fixes the issues we
currently have with the macro versions and makes the ctype.h versions
100% identical to what is in libc.
Discussed with pjanzen@ and OK'd by deraadt@.
22 years ago
millert
bae6371d6e
Make x_handy in XDR u_int, not int since there are places in the
code that assign a u_int value to x_handy. However, this means
that we need to be careful checking for overflow as we can no longer
subtract a value and check the result for < 0. We reorder the
expression instead to avoid this problem (basic algebra).
deraadt@ OK
22 years ago
henning
d22d64bc94
update URL and fix a typo; David Krause
22 years ago
mickey
b20c936570
use proper __findenv() prototype; millert@ ok
22 years ago
millert
b0758fbef2
Document BSD behavior of accepting '-' within optstring as long as
it is not the fist character of optstring (since that would conflict
with GNU semantics).
Update the bit on "W;" within optstring when called as getopt (not
getopt_long) to current reality.
22 years ago
millert
8cbc8395f9
When doing permutation, only treat "-" as an option if it was specified
in optstring. Problem noticed by Theo.
22 years ago
millert
dccaef8649
Fix pasto, spotted by lebel@
22 years ago
marc
7ad26b539b
Remove special case code for sun/xterm that faked a DISPLAY and
22 years ago