[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Regular Expressions for IP Address



Hey All,

I am trying to write a regular expression to ban any ip address, so I
can put that into my squidGuard ban lists.  But atm I can not get my
head around how i would do it , without stoping any site that has four
dots in its name e.g. web.mail.someisp.co.uk
Any suggestions at all??

B
-- 
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments. See
http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.