[Esa-l] Re: Felix Navidad ... Stripping Attachments

John D. Hardin jhardin at wolfenet.com
Thu Dec 7 20:10:28 PST 2000


On Wed, 6 Dec 2000, Murray L. Crane wrote:

> Getting back to the question, if we assume that your .sanitizerc (for the 
> want of a name) has the kind of format you've been suggesting up to now, 
> with the addition of a Y/N notify flag at the end of the line, you could 
> specify on a per rule basis what you want to be notified about, with a 
> single env. var. (assuming a similar config to the current sanitizer) that 
> specifies the quarantine dir:
> 
> Allow *.jpg,n
> Mangle *.doc,n
> Strip-quarantine *.double.extension, y
> Strip-discard *.vcf, n

It'd be easier to parse if all the options were together:

[handling][modifier(s)] [filespec]

Handling:

A - allow
  L - log
  N - notify
M - mangle
  L - log
  N - notify
S - strip
  Q - quarantine (default discard)
  L - log
  N - notify
P - poison (default notify)
  L - log


Leading to a policy file syntax that looks like:

AL *.jpg
ML *.doc
SQN *.double.extension
S *.cvf

And some new configuration variables:

SECURITY_ATTACHMENT_LOG	(a filename)
SECURITY_ATTACHMENT_QUARANTINE (a directory)


Bjarni, do you have something along these lines for Anomy?

--
 John Hardin KA7OHZ   ICQ#15735746   http://www.wolfenet.com/~jhardin/
 jhardin at wolfenet.com      pgpk -a finger://gonzo.wolfenet.com/jhardin
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
  does quite what I want. I wish Christopher Robin was here."
				-- Peter da Silva in a.s.r
-----------------------------------------------------------------------
   18 days until we celebrate Christmas by killing millions of trees




More information about the esd-l mailing list