Thanks very much....I really needed it more as a guideline so I will
experiment with it and see how it goes....Thanks again...

Donnie Bachan
Island Wizards
P: 516-992-1658
C: 646-696-1366
W: www.islandwizards.com
Get Your Mary Kay Cosmetics at http://www.marykay.com/malikab
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Micheal
Espinola Jr
Sent: Friday, December 01, 2006 12:52 PM
To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy
Subject: Re: [Assp-user] HELO

Donnie Bachan (Island Wizards) wrote:
> Micheal,
>
> Can you share those RegExs?
>
> Thanks much.

I have been meaning to finish a wiki article about it, but I have fallen 
behind on it.  I'll post them here for now.  I was really hoping to have 
properly comment them, because some of the things I am going you may not 
want to - or cant without modification.

Be very careful with the first line of the validFormatHeloRe.  You've 
been warned.

validFormatHeloRe (file:lists/validFormatHeloRe.txt):
----------
^(([a-z]|\d(?!\d*\.\b))((([a-z\d)]|-(?!-\b)){0,61})[a-z\d])?\.)+(biz|com|edu
|gov|info|int|mil|name|net|org|pro|aero|cat|coop|jobs|museum|travel|au|ca|eu
|uk|us)\.?$# 
second-level domain name (strict)
^\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[
01]?[0-9][0-9]?)\]$# 
bracketed IP address (strict)
----------

invalidFormatHeloRe (file:lists/invalidFormatHeloRe.txt):
----------
^[^\.]+\.?$# unqualified hostname label (not strict)
^(adsl|c|cm|cable|cust|dsl|dynamic|pool|user|xdsl)(\.|-|\d)# hostnames 
that start with specific words followed by "." or "-" or a number, 
typically dynamically allocated
^(?!\[).*(\.|-|x|^)\d{1,3}(\.|-|x)\d{1,3}\.# two IP octets preceded and 
followed by additional FQDN info, delimted with "." or "-" or "x" (not 
strict)
^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$# IP address, unbracketed (not strict)
127\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25[0-5]|2[0-4][0-9]
|[01]?[0-9][0-9]?)# 
IP address, Loopback (strict)
10\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25[0-5]|2[0-4][0-9]|
[01]?[0-9][0-9]?)# 
IP address, Private Class A (strict)
172\.(?:3[0-1]|2[0-9]|1[6-9]?)\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\
.)(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)# 
IP address, Private Class B (strict)
192\.168\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)(?:25[0-5]|2[0-4][0-
9]|[01]?[0-9][0-9]?)# 
IP address, Private Class C (strict)
(?:23[0-9]|22[4-9]?)\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25
[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)# 
IP address, Private Class D multicast (strict)
(?:24[0-9]|25[0-5]?)\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25
[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)# 
IP address, Private Class E reserved (strict)
169\.254\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)(?:25[0-5]|2[0-4][0-
9]|[01]?[0-9][0-9]?)# 
IP address, Private Link-Local (strict)
----------



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to