Author Topic: Help with Useragent and REG EXP  (Read 1593 times)

0 Members and 1 Guest are viewing this topic.

Offline fulla

  • Newbie
  • *
  • Posts: 1
Help with Useragent and REG EXP
« on: February 14, 2009, 01:31:41 AM »
Hi everyone,

I am trying out Avast on my network - I have been using NOD32 but I think it is compromised...
Any way, I have a network with IPcop acting as the firewall, I also have ADVproxy addon for IPcop installed...My problem is that I need to get Avast to update through my proxy.

In ADVProxy, I am suppose to create a custom web browser client to allow Avast through the proxy. 

I need to add to the useragent file within IPcop the following data:

name,display,(reg exp)

Advproxy help says to log useragent so I view the logs and setup the rule to allow Avast to update, this is what my log shows me:

192.168.0.249 [13/Feb/2009:14:04:16 -1000] "Syncer/4.80 (av_pro-1335;p)"

Could someone please assist in setting up this rule to allow Avast useragent to go thru the proxy?

Here is the Useragent file so you can see how other web clients are setup:
APTGET,apt-get,(APT\-HTTP)
AOL,AOL,(AOL)
AVANT,AvantBrowser,(avantbrowser)
CFNETWORK,MacOSX Update,(CFNetwork)
CHROME,Google Chrome,(Chrome)
FIREFOX,Firefox,(Firefox)
FRONTPAGE,FrontPage,(FrontPage)
GEARTH,Google Earth,(kh_lt\/LT)
GECKO,Gecko compatible,(Gecko)
GETRIGHT,GetRight,(GetRight)
GOZILLA,Go!Zilla,(Go!Zilla)
GOOGLE,Google Toolbar,(Google\sToolbar)
JAVA,Java,(Java)
KONQUEROR,Konqueror,(Konqueror)
LYNX,Lynx,(Lynx)
MSIE,Internet Explorer,(MSIE.*[)]$)
NETSCAPE,Netscape,(^Mozilla\/4.[7|8])|(Netscape)
OPERA,Opera,(Opera)
SAFARI,Safari,(Safari)
WGA,WGA,(LegitCheck)
WGET,Wget,(Wget)
WINUPD,Windows Update,(Industry\sUpdate\sControl)|(Windows\sUpdate)|(Service\sPack\sSetup)|(Progressive\sDownload)|(Windows\-Update\-Agent)|(Microsoft\sBITS)
WMP,Media Player,(Windows\-Media\-Player)|(NSPlayer)

Thanks, I hope someone can help...

regards,
Fula