CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

$9736.22 of $21422.68
left sidedonated so farneed $11686.46 donated to reach our goalright side, our goal
Help CastleCops serve the community on new servers, Donate Here to reach our goal.

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
Survey
spacer
Was 2007 a good year?

Yes it was a wonderful year
Yes, but there is always room for improvement
Status quo
It was a challenge
Other (leave comment)



Results
Polls

Votes: 951
Comments: 28
block bottom
spacer spacer

Complex Filters

 
Post new topic   Reply to topic       All -> FavForums -> Product Suggestions [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
Eggman5X

Captain
Captain


Joined: Mar 13, 2003
Posts: 699
Location: HOU TX USA

PostPosted: Fri Jun 06, 2003 5:38 pm    Post subject: Complex Filters
Reply with quote

This may be a little tricky to describe, so please bear with me ... (or, if you don't care for bears, you could just duck ... )

Revise the "Rules" area as follows:

1. First, we'll put headings on the existing boxes for each rule. From left to right, we'll call them "Where", "When", and "What". So, "The 'From' field" is "Where", "contains" is "When", and "spammersall.com" is "What".

2. Next, on the right, we'll add a drop down labeled "Next", with the values (blank), "and", "or", and "unless". This tells how we want to combine the preceeding rule with the next one.

3. Also, on the left we'll add a checkbox labeled "Drop". When checked this allows us to remove any rule, not just the last one.

So an example might look like this ([_] indicates a checkbox):

Code:

Drop   Where...........   When...........   What...........   Next
[__]   The 'From' field   contains          spammersall.com   and
[__]   The 'From' field   does not contain  abuse             (blank)


We could complicate things further by adding the following values to the "Next" options: "and (", "or (", "unless (", ") and", ") or", ") unless", ")" ...

Or, maybe something like this:

Code:

Drop   (   Where...........  When............  What...........   )   Next
[__]  [_]  The 'From' field  contains          spammersall.com  [_]  and
[__]  [_]  The 'From' field  does not contain  abuse            [_]  (blank)


... but that may be going just a bit too far, eh? Laughing


_________________
Lightly scrambled, over-easy and stuffed with all sorts of goodies.
Back to top
View users profile Send private message
Eggman5X

Captain
Captain


Joined: Mar 13, 2003
Posts: 699
Location: HOU TX USA

PostPosted: Fri Jun 13, 2003 2:26 pm    Post subject: Addendum
Reply with quote

I forgot to mention ...

Yes, this would require an expanded format for the filters file, because of the extra ANDs and ORs, in which case it would be nice if someone would write a small utility to convert "old format" filters to the "new format", but that shouldn't be all that difficult since it's really just a matter of propagating the existing condition as many times as needed.

Or, the "new filters" be given a different file name - say "nufilter" perhaps - which would allow MW to still process both formats.


_________________
Lightly scrambled, over-easy and stuffed with all sorts of goodies.
Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Product Suggestions All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer