| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
sprinkle in some closefrom(2); ok deraadt@ beck@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It needs these annotations, to at least run the operations next to them:
stdio: malloc(3)
rpath: open(2)
inet: connect(2)/socket(2)
proc: fork(2)
exec: execvp(3)
While here remove netinet/in.h since all we need is already in arpa/inet.h and
sort the headers alphabetically
OK beck@
|
| |
|
|
|
|
|
| |
is non-portable. Also add missing asprintf() return value checks.
OK deraadt@ guenther@ doug@
|
|
|
|
| |
realloc() which is expensive for large blacklists.
|
| |
|
|
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
| |
standard "Cannot allocate memory" message.
|
| |
|
|
|
|
|
|
|
|
| |
a union that can store either ipv4 or ipv6. The old method used
4x as much memory as was really needed for ipv4. The spamd-setup
protocol has changed from: tag;message;a/m;a/m;a/m...\n
to :tag;message;af;count;a/m;a/m;a/m...[af;count;a/m;a/m;a/m]\n
OK phessler@ "nice" beck@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
large uatraps uses now around 8 times less memory. Other cleanup includes
a fast implementation of imask() (stolen from bgpd), killing some unused
code and try to estimate the memory needed in add_blacklist() to reduce the
realloc() calls.
Tested by many (sthen, matthieu, Stephan A. Rickauer)
OK beck@, sthen@
|
|
|
|
| |
OK millert
|
| |
|
|
|
|
|
|
|
|
| |
spamd-setup hanging if there are various (network?) issues and the system
not proceeding to multiuser so that this can be debugged. We do not use
& for startup in /etc/rc because this makes the spamd-setup a child of the
rc scripts after bootup (that is gross)
Problem reported in PR 5864, change discussed with beck, ok millert
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
| |
We just do no-rdr for things in <spamd-white> and rdr the rest to spamdb.
OK beck@
|
|
|
|
|
|
| |
Also simplify fix_quoted_colons() to avoid realloc entirely since
the output buffer is at most 2x the length of the input buffer.
Parts adapted from a diff from tdeval@. OK ray@, beck@
|
| |
|
|
|
|
| |
ok beck
|
|
|
|
| |
From Andrey Matveev
|
|
|
|
| |
No binary change.
|
|
|
|
| |
ok beck@
|
| |
|
| |
|
|
|
|
| |
by newline. found by Rod Whitworth. ok beck@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
RBL sites being slow, so now we will provide the maps ourselves through
our www mirrors around the world. We can also now write our own internal
translators for maps that are in bad formats, and place them into the www
space in the correct format. tested by beck, djm
|
| |
|
|
|
|
| |
ok dhartmei@ jmc@
|
| |
|
| |
|
| |
|
|
|
|
| |
consisting only of invalid input
|
| |
|
|
|
|
| |
configuration connection.
|
| |
|
| |
|
|
|
|
|
| |
their ports. Adds "spamd" and "spamd-cfg" services to /etc/services.
Mostly from Daniel Lucq <daniel@lucq.org>.
|
| |
|
| |
|
| |
|
|
|