henning
fcd399814f
read buffer size must be >= max imsg size.
after release we should revisit this issue, we can probably safely shrink
the max imsg size.
Valentin Kozamernik in PR5401
17 years ago
bluhm
20e0203fbe
If NLS is disabled, strerror does not print the correct error string.
No binary change with NLS enabled.
ok otto millert espie
17 years ago
david
cadbe485a3
spamd.conf lives in /etc/mail now; ok millert@ beck@
18 years ago
david
1c3a2cf009
+sasyncd.conf; ok henning@
18 years ago
david
144142f35d
spaces
18 years ago
millert
260e7b6d66
sha2 hashes are not 5 32-bit ints in size. Just leave out the size
in ints since there are multiple flavors. The key point to get
across is that when storing as a type > byte it may be necessary
to do byte swapping depending on the machine's byte order.
Noticed by Tamas TEVESZ.
18 years ago
beck
dbbc769800
catch second instance of spamd_grey - thanks millert and jmc
18 years ago
beck
25cbdb48ee
spamd_grey=YES should really be spamd_black=NO
as disscussed with jmc and millert.
ok millert@
18 years ago
beck
6dd0f56c95
spamd-setup now doesn't take -g - this is the new default.
noticed by jmc@
18 years ago
deraadt
5bafd2aecf
avoid messing with the cvs tag expansion
18 years ago
beck
4d39e28b65
/etc/spamd.conf moves to /etc/mail/spamd.conf
18 years ago
beck
325e364195
Flag day for spamd -
1) config files move to /etc/mail
2) -g option goes away in spamd-setup and spamd - greylisting is now the default
3) option change to spamd, -b addr becomes -l addr.
4) -b option in spamd-setup and spamd to turn on old blacklisting mode.
Man page shortly to be flensed to make this easier to explain
ok deraadt@ millert@
18 years ago
reyk
cfb92608a7
use a variable $ext_addr instead of the hard-coded 192.168.1.1. this
will make it easier for testing (just run hoststated -Dext_addr=X.X.X.X).
18 years ago
reyk
754dc71703
sync the documentation with the latest change to require a 'header'
keyword for default relay actions.
ok pyr@
18 years ago
reyk
14d12619ff
add an relay example
ok pyr@
18 years ago
pyr
12e8f3fddb
reflect configuration parser change.
ok reyk@
18 years ago
marc
67b50b5c96
spaces -> tab; "of course" deraadt@
18 years ago
deraadt
f96e3cde0b
crank size of sparc64 miniroot a wee bit
18 years ago
millert
46a97d1ae5
Make greylisting the default when spamd is enabled. Uses the new -g flag
for spamd-setup. OK beck@
18 years ago
otto
8609f91a61
xref adjfreq(2); from Igor Zinovik
18 years ago
steven
5bf4e59328
we also want GENERIC.MP dmesgs to be submitted.
ok deraadt@
18 years ago
beck
2351f36229
in in, spotted by toby
18 years ago
beck
a329b10e96
Modernize the spamd.conf blacklist examples:
- Nuke SPEWS which is no longer maintained.
- Provide link to U of A traplist
- Provide link to reformatted Nixspam suspicious sources list
ok deraadt@
18 years ago
henning
8f0bda9a94
sample sasyncd.conf, PR5387 sthen at symphytum.spacehopper.org, ok theo
18 years ago
ray
7ad5ecbe16
Change hard coded numbers to sizeof(buf). Also change some
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size.
Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago.
OK millert@.
18 years ago
jmc
5764436686
wording fix from wiz@netbsd, -r1.11;
18 years ago
jmc
ce684f6c93
from hubertf@netbsd:
Try to tell what this really does.
Including a BUGS section on why it doesn't.
*roff code by wiz@, with some input from
Slava Semushin <slava.semushin@gmail.com>
ok millert
18 years ago
deraadt
5baef52d76
ls -g option does nothing, ok to remove; from igor@string1.ciencias.uniovi.es
18 years ago
tsi
cd2383b6bd
s/GZIP/GZIPCMD/g in `make release` structure to avoid conflict with gzip's
use of a GZIP environment variable for extra command flags.
ok deraadt@, millert@
18 years ago
deraadt
ca6a752a40
sync
18 years ago
deraadt
3578c7c010
create "i" partitions for floppies too, in case we need them
18 years ago
reyk
ce40941122
add two carp(4) sysctl examples: net.inet.carp.preempt=1 and
net.inet.carp.log=1. it is so common to enable carp preemption...
yes! henning@, ok mpf@
18 years ago
miod
b2bee506f7
Regen
18 years ago
miod
85478e4bf0
Create the /dev/lcd node; ok aoyama@
18 years ago
pyr
7f85a072e2
fix some typos in the default configuration file.
discussed with reyk@
18 years ago
espie
5130a61c69
remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.
okay millert@
18 years ago
otto
58f0ac45ed
get cheaper random bytes, less waste and no getpid() calls, which are
done by arc4random(); ok millert@ deraadt@
18 years ago
otto
5fef7e5c00
provide an libc internal interface to get random bytes, to be used by malloc
to get random data without calling getpid(), ok millert@ deraadt@
18 years ago
henning
2314517d17
4.1-beta
18 years ago
millert
10c1aa4ccb
g/c __DTF_READALL. It was a flag to the internal __opendir2() but
is never set now that the unionfs support has been removed from
readdir(). OK pedro@
18 years ago
todd
0c965b672e
sync
18 years ago
todd
a2284680e0
add bio(4), ok dlg@
18 years ago
jmc
87c018dfaf
fix some dodgy displays;
18 years ago
ajacoutot
024d4091f5
- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes
ok mk@
18 years ago
ajacoutot
4d3e47221f
- add a new "accounting" variable (default to NO) to enable accouting
(if the file /var/account/acct does not exist it will be created)
ok mk@
18 years ago
kurt
b386eaa7bb
bump DEF_OPENFILES_CUR to 128 so firefox has enough file descriptors
for most uses. 'just do it' millert@
18 years ago
pyr
c2221b0cd4
link hoststated to the builds.
ok miod@, henning@
18 years ago
martin
f19cc901d5
put boot.mac into snapshots, needed for booting old-world macs
ok drahn@ gwk@
18 years ago
claudio
3b46e875e2
Typo in fatal() message found by dunceor @ gmail dot com
18 years ago
steven
2bbbf85772
sync with the code: int -> intmax_t
ok jmc@
18 years ago