RE: script help please

  • From: "Ara" <ara@xxxxxxxxxx>
  • To: "'[ISAserver.org Discussion List]'" <isalist@xxxxxxxxxxxxx>
  • Date: Sun, 7 Nov 2004 17:14:46 -0500

Hello
I already asked from the author. Also I found out on how to do it on my
FreeBSD machine so should be good for now till I figure out the proper way
of doing it

ruby -p -i -e '$_.gsub!(/^(\d{1,3}.){3}\d{1,3}.+$/m, "")' list.txt

Thank you


-----Original Message-----
From: Jim Harrison [mailto:Jim@xxxxxxxxxxxx] 
Sent: November 7, 2004 4:42 PM
To: [ISAserver.org Discussion List]
Subject: [isalist] RE: script help please

http://www.ISAserver.org

(I've answered this privately) you should be talking to Sergey because he's
the author of that script.

In fact, he recently sent me one for ISA 2004 that I'll be posting soon.

-------------------------------------------------------
   Jim Harrison
   MCP(NT4, W2K), A+, Network+, PCG
   http://isaserver.org/Jim_Harrison/
   http://isatools.org
   Read the help / books / articles!
-------------------------------------------------------
 
-----Original Message-----
From: Ara [mailto:ara@xxxxxxxxxx] 
Sent: Saturday, November 06, 2004 15:51
To: [ISAserver.org Discussion List]
Subject: [isalist] script help please

http://www.ISAserver.org

Can some one help me with this issue here?
If you go to http://www.squidguard.org/download/
then there is a link to download blacklisted sites. After extracting you
will get different categories. Let's say you go to porn categories and there
is a file which has all links. 
The problem is they are formatted in a way that only works with squad guard
installed. As an example,

101tits.com/lesbian
12.105.86.9/amateurlesbians

I want to convert these to destination sets but it is complaining that there
shouldn't be any ip in list. Only domains are allowed. 
So if someone is good in writing scripts, may I ask to make something that
deletes line with ip address keeping the one with url's. 

Or

Script is posted
http://forums.isaserver.org/ultimatebb.cgi?ubb=get_topic;f=33;t=000056
 But it gives me hard time. Maybe I am doing something wrong and help is
appreciated

Thank you




------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
World of Windows Networking: http://www.windowsnetworking.com
Leading Network Software Directory: http://www.serverfiles.com
No.1 Exchange Server Resource Site: http://www.msexchange.org
Windows Security Resource Site: http://www.windowsecurity.com/
Network Security Library: http://www.secinf.net/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this ISAserver.org Discussion List as:
jim@xxxxxxxxxxxx
To unsubscribe visit http://www.webelists.com/cgi/lyris.pl?enter=isalist
Report abuse to listadmin@xxxxxxxxxxxxx

All mail to and from this domain is GFI-scanned.


------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
World of Windows Networking: http://www.windowsnetworking.com
Leading Network Software Directory: http://www.serverfiles.com
No.1 Exchange Server Resource Site: http://www.msexchange.org
Windows Security Resource Site: http://www.windowsecurity.com/
Network Security Library: http://www.secinf.net/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this ISAserver.org Discussion List as:
ara@xxxxxxxxxx
To unsubscribe visit http://www.webelists.com/cgi/lyris.pl?enter=isalist
Report abuse to listadmin@xxxxxxxxxxxxx





Other related posts: