Should the following command work ?
    iptables -t nat -A PREROUTING -i <traffic-incoming interface> -p tcp
--dport <IM-port> -j DNAT --to <local-ip-addr>:<port-on-which-squid-listens>

Btw, does squidguard support the ability to parse IM protocol ?


Thanks,
Babu

On Wed, Jul 2, 2008 at 5:49 AM, Wong <[EMAIL PROTECTED]> wrote:

>
> > ----- Original Message -----
> > From: "Luis Hernán Otegui" <[EMAIL PROTECTED]>
> > To: "ClamAV users ML" <[email protected]>
> > Sent: Monday, June 30, 2008 21:19
> > Subject: Re: [Clamav-users] Scanning IM
> >
> >
> >> Wong:
> >>
> >> 2008/6/30 Wong <[EMAIL PROTECTED]>:
> >>> Dear All,
> >>>
> >>> I need a tools to integrate ClamAV to scan IM such as MSN and/or YM.
> >>
> >> Do you want to scan the traffic from those Instant Messengers, or do
> >> you want to scan locally on a machine the received items? For the
> >> first one, you could try redirecting IM traffic through Squid, and
> >> then use something like DansGuardian, Python-ClamAV, HAVP, etc.
> >> For the later one, run ClamAV as the defaoult virus scanner every time
> >> a file is transferred (you could specify which command should run, et
> >> least in Windows Messenger).
> >
> >
> > Yes, I want to online scanning such as qmail-scanner. I am also a Squid
> > (and
> > SquidGuard) user.
> >
> > Seems I need some info about how to redirecting IM traffic to Squid.
>
> It all depends on your OS/Platform, but in the end, it's a matter of
> running some firewall rules to redirect traffic (making a transparent
> proxy), or properly configure the IMs to use the proxy. You could
> however drop a proxy.pac file which could configure internet settings
> if your users are on Windows machines.
>
> >
>
> Hi Luis,
>
> I'm using Linux with transparent Squid proxy. So far, I use SquidGuard to
> filter content, but I did not see that SquidGuard has feature to be
> integrated with ClamAV.
>
> IM uses TCP ports, am I correct? I still have no idea how to redirect IM to
> Squid.
>
> Please advise.
>
> Thanks a lot.
>
> Awie
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to