Up to [local] / src / usr.sbin / smtpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12, Sun Oct 14 11:59:34 2012 UTC (11 years, 7 months ago) by gilles
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
missing from previous commit, byebye map_stdio.c ok eric@ and chl@
Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 27 20:34:15 2012 UTC (11 years, 8 months ago) by chl
Branch: MAIN
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored)
use xstrdup() helper ok eric@ gilles@
Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 27 17:47:49 2012 UTC (11 years, 8 months ago) by chl
Branch: MAIN
Changes since 1.9: +8 -17 lines
Diff to previous 1.9 (colored)
use xmalloc()/xcalloc() helpers while there unify usage of log_trace() in ramstat_set() ok gilles@ eric@
Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 21 16:40:20 2012 UTC (11 years, 8 months ago) by eric
Branch: MAIN
Changes since 1.8: +5 -7 lines
Diff to previous 1.8 (colored)
wrap expandtree into a "struct expand". ok gilles@
Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 21 10:22:29 2012 UTC (11 years, 8 months ago) by eric
Branch: MAIN
Changes since 1.7: +17 -17 lines
Diff to previous 1.7 (colored)
Move ruleset_match() prototype to smtpd.h and make the envelope const. Adapt a lot of functions in chain to use const args where required. ok gilles@
Revision 1.7 / (download) - annotate - [select for diffs], Wed Sep 19 12:59:59 2012 UTC (11 years, 8 months ago) by eric
Branch: MAIN
Changes since 1.6: +1 -3 lines
Diff to previous 1.6 (colored)
expandnodes must be bzero()'d before parsing to be sure there is no bogus data left on return, since the RB compare functions uses memcmp(). While there, remove all calls to bzero() before alias_parse(). ok gilles@
Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 19 12:45:04 2012 UTC (11 years, 8 months ago) by eric
Branch: MAIN
Changes since 1.5: +9 -9 lines
Diff to previous 1.5 (colored)
rename variables for consistency ok gilles@
Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 19 09:06:35 2012 UTC (11 years, 8 months ago) by eric
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)
start cleaning the expansion code: - change expandtree_* prefix to expand_ for better readability and because the structure might change at some point - rename <>_free_nodes() to <>_free() - remove unused <>_remove_node() - refcounting has no purpose at all; just remove it as well as the decrement/increment functions, and replace the latter with <>_insert - expandnode flags is only used to know if it's been processed or not, don't make it a flag but a simple field with clear name. ok gilles@ chl@
Revision 1.4 / (download) - annotate - [select for diffs], Tue May 29 19:53:10 2012 UTC (12 years ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)
- introduce map_static.c as a backend to static maps in parse.y, this has the benefit that we no longer have two code paths whenever we deal with maps, we can always use the backend mechanism. I have not plugged this in yet, I'll do it in a later commit, just get it out of my sandbox
Revision 1.3 / (download) - annotate - [select for diffs], Sun May 13 00:10:49 2012 UTC (12 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.2: +74 -8 lines
Diff to previous 1.2 (colored)
- cleanup parse.y by removing lots of code that should not have been there, but in ruleset.c and util.c instead. - introduce the new map_compare() map API call to allow iterating over keys and comparing them with provided key using provided function. this allows checking a partial key in a key set, very useful for comparing an address to a set of netmask. - introduce new map kind K_NETADDR - implement K_NETADDR for map_db and map_stdio - teach ruleset checking how to use the map_compare() with K_NETADDR we can now do the following: map "srcaddr" source plain "/etc/mail/srcaddr.txt" accept from map srcaddr for domain "openbsd.org" [...]
Revision 1.2 / (download) - annotate - [select for diffs], Sat May 12 15:29:16 2012 UTC (12 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.1: +16 -16 lines
Diff to previous 1.1 (colored)
- rename all occurences of K_SECRET to K_CREDENTIALS - rename all occurences of struct map_secret to map_credentials - do not fatal if the credentials map has disappeared, instead make the auth fail with a lookup failure. the mail will be temporary failed so it stays in queue until admin fixes smtpd.conf, removes mail, or lets it expires
Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 13 23:00:52 2011 UTC (12 years, 6 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1
rename files for consistency. ok gilles@