procmail
[Top] [All Lists]

Re: looking for clue, checking for recorded ip address

2000-03-23 14:22:39
++ 22/03/00 18:54 -0500 - Rik Kabel:
Note that 0 is a perfectly valid value, but excluded in your definition
of QUAD.

I know. The QUAD was copied from someone else and slightly adopted. Now
you're mentioning the zero... is a quad like 041 valid? I guess not, but
i'm not sure.

I mean an address like 212.223.234.0

I know, that's what i understood from your first posting already. I must
have fogotten those zero's in my procmailrc. I have added them now.
Thanks for noticing. 

The regexps are now:

QUAD = "([0-9]|[1-9][0-9]|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))"
IP = "${QUAD}\.${QUAD}\.${QUAD}\.${QUAD}"

The thing i was asking was, is 212.223.034.0 a valid address? 
Lichtensteiger already answered that question by private mail saying it
is legal but rare.

        -Rejo.


-- 
= Rejo Zenger                                           
rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl
= http://mediaport.org/~sister (and my_urls.html)               PGP: see headers
--------------------------------------------------------------------------------