OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/filter.h


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8, Thu Jun 14 21:56:13 2012 UTC (11 years, 11 months ago) by gilles
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED

- rename filter.h -> filter_api.h to be consistent with upcoming changes

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 18 13:41:54 2012 UTC (12 years, 4 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.6: +31 -13 lines
Diff to previous 1.6 (colored)

Add new filters callbacks for:
- network events (CONNECT/CLOSE)
- commands (QUIT/RSET)

ok gilles@ eric@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 28 22:13:27 2011 UTC (12 years, 6 months ago) by chl
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

use STATUS_* filter codes, instead of -1/0/1 hard coded values

ok gilles@

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 16 10:24:41 2011 UTC (12 years, 6 months ago) by chl
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

fix obvious variable substitution mistake
change code type back to int8_t

ok gilles@

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 15 23:22:47 2011 UTC (12 years, 6 months ago) by gilles
Branch: MAIN
Changes since 1.3: +13 -7 lines
Diff to previous 1.3 (colored)

- change callback prototypes in filter.c to allow stricter checks
- introduce STATUS_WAITING, filters will reroute async DNS queries through
  LKA in a near future
- filter_api.c will contain our filter API (empty for now)
- Makefile to build libsmtpdfilter (not linked to the build,dev stuff only)

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 12 20:47:15 2011 UTC (12 years, 8 months ago) by gilles
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

- introduce filtermask in struct smtpd
- do not forward lines to mfa when FILTER_DATALINE is not set in filtermask

prevents smtpd from handling mails slowly while I'm hacking on filters
support

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 31 18:56:30 2011 UTC (12 years, 9 months ago) by gilles
Branch: MAIN
Changes since 1.1: +6 -13 lines
Diff to previous 1.1 (colored)

add support for per-line DATA callbacks, this allows filters to take their
decisions *while* the message is being received by the client.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 27 22:32:41 2011 UTC (12 years, 9 months ago) by gilles
Branch: MAIN

initial support for a session-time filtering API

currently only HELO/EHLO, MAIL, RCPT are supported, however ... I have
voluntarily disabled filters at smtpd.conf level so people don't play with
it until the API has stabilized a bit

discussed with several people in private, no one opposed the feature

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.