#
1.12 |
|
14-Jun-2021 |
eric |
add required headers for smtpd.h and remove unnecessary ones in other files.
ok jung@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
|
#
1.11 |
|
31-May-2018 |
gilles |
remove 'where' parameter from all x*() functions in utils.c, it doesn't really help us with anything, propagate the change in codebase
ok millert@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.10 |
|
20-Jan-2015 |
deraadt |
use <limits.h> comprehensively. For now try to push <> includes to each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
19-Apr-2014 |
gilles |
(void) cast strlcpy() calls that cannot truncate
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.8 |
|
24-May-2013 |
eric |
sync with OpenSMTPD 5.3.2
ok gilles@
|
#
1.7 |
|
08-Mar-2013 |
chl |
Add missing $OpenBSD$ RCS tags
ok gilles@
|
Revision tags: OPENBSD_5_3_BASE
|
#
1.6 |
|
26-Jan-2013 |
gilles |
Sync with our smtpd repo:
* first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright
FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.
smtpd.conf(5) simplified, it will require adaptations
ok eric@
|
#
1.5 |
|
27-Sep-2012 |
chl |
use xmalloc()/xcalloc() helpers
while there unify usage of log_trace() in ramstat_set()
ok gilles@ eric@
|
#
1.4 |
|
25-Aug-2012 |
gilles |
- introduce struct stat_value - statistics can now have a type (counter, timestamp, timeval, timespec and possibly others in the future) - stat_increment() / stat_decrement() now take an increment/decrement value and are at the moment only of type counter - stat_set() now takes a stat_value - provide helpers to convert raw values to stat_value
ok eric@, ok chl@
while at it fix a rq_queue_dump() call using a bogus timestamp in scheduler ramqueue.
|
#
1.3 |
|
24-Aug-2012 |
chl |
fix smtpctl show stats crash seen on -portable
reported by todd@
ok gilles@
|
#
1.2 |
|
20-Aug-2012 |
eric |
start iterating from min, not root.
ok gilles@
|
#
1.1 |
|
18-Aug-2012 |
gilles |
- introduce stat_backend, an API for pluggable statistic backends > statistics are no longer static structures in shared memory > statistics are only set, smtpd never uses them in its logic > each statistic is a key/value where key can be any (dynamic) string - convert all uses of the former API to use the new one - implement stat_ramstat that keeps non-persistent stats in ram structure
ok eric@, ok chl@
|
#
1.11 |
|
31-May-2018 |
gilles |
remove 'where' parameter from all x*() functions in utils.c, it doesn't really help us with anything, propagate the change in codebase
ok millert@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.10 |
|
20-Jan-2015 |
deraadt |
use <limits.h> comprehensively. For now try to push <> includes to each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
19-Apr-2014 |
gilles |
(void) cast strlcpy() calls that cannot truncate
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.8 |
|
24-May-2013 |
eric |
sync with OpenSMTPD 5.3.2
ok gilles@
|
#
1.7 |
|
08-Mar-2013 |
chl |
Add missing $OpenBSD$ RCS tags
ok gilles@
|
Revision tags: OPENBSD_5_3_BASE
|
#
1.6 |
|
26-Jan-2013 |
gilles |
Sync with our smtpd repo:
* first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright
FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.
smtpd.conf(5) simplified, it will require adaptations
ok eric@
|
#
1.5 |
|
27-Sep-2012 |
chl |
use xmalloc()/xcalloc() helpers
while there unify usage of log_trace() in ramstat_set()
ok gilles@ eric@
|
#
1.4 |
|
25-Aug-2012 |
gilles |
- introduce struct stat_value - statistics can now have a type (counter, timestamp, timeval, timespec and possibly others in the future) - stat_increment() / stat_decrement() now take an increment/decrement value and are at the moment only of type counter - stat_set() now takes a stat_value - provide helpers to convert raw values to stat_value
ok eric@, ok chl@
while at it fix a rq_queue_dump() call using a bogus timestamp in scheduler ramqueue.
|
#
1.3 |
|
24-Aug-2012 |
chl |
fix smtpctl show stats crash seen on -portable
reported by todd@
ok gilles@
|
#
1.2 |
|
20-Aug-2012 |
eric |
start iterating from min, not root.
ok gilles@
|
#
1.1 |
|
18-Aug-2012 |
gilles |
- introduce stat_backend, an API for pluggable statistic backends > statistics are no longer static structures in shared memory > statistics are only set, smtpd never uses them in its logic > each statistic is a key/value where key can be any (dynamic) string - convert all uses of the former API to use the new one - implement stat_ramstat that keeps non-persistent stats in ram structure
ok eric@, ok chl@
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.10 |
|
20-Jan-2015 |
deraadt |
use <limits.h> comprehensively. For now try to push <> includes to each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
19-Apr-2014 |
gilles |
(void) cast strlcpy() calls that cannot truncate
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.8 |
|
24-May-2013 |
eric |
sync with OpenSMTPD 5.3.2
ok gilles@
|
#
1.7 |
|
08-Mar-2013 |
chl |
Add missing $OpenBSD$ RCS tags
ok gilles@
|
Revision tags: OPENBSD_5_3_BASE
|
#
1.6 |
|
26-Jan-2013 |
gilles |
Sync with our smtpd repo:
* first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright
FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.
smtpd.conf(5) simplified, it will require adaptations
ok eric@
|
#
1.5 |
|
27-Sep-2012 |
chl |
use xmalloc()/xcalloc() helpers
while there unify usage of log_trace() in ramstat_set()
ok gilles@ eric@
|
#
1.4 |
|
25-Aug-2012 |
gilles |
- introduce struct stat_value - statistics can now have a type (counter, timestamp, timeval, timespec and possibly others in the future) - stat_increment() / stat_decrement() now take an increment/decrement value and are at the moment only of type counter - stat_set() now takes a stat_value - provide helpers to convert raw values to stat_value
ok eric@, ok chl@
while at it fix a rq_queue_dump() call using a bogus timestamp in scheduler ramqueue.
|
#
1.3 |
|
24-Aug-2012 |
chl |
fix smtpctl show stats crash seen on -portable
reported by todd@
ok gilles@
|
#
1.2 |
|
20-Aug-2012 |
eric |
start iterating from min, not root.
ok gilles@
|
#
1.1 |
|
18-Aug-2012 |
gilles |
- introduce stat_backend, an API for pluggable statistic backends > statistics are no longer static structures in shared memory > statistics are only set, smtpd never uses them in its logic > each statistic is a key/value where key can be any (dynamic) string - convert all uses of the former API to use the new one - implement stat_ramstat that keeps non-persistent stats in ram structure
ok eric@, ok chl@
|