How do I virus scan web content that passes through NAT box?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I virus scan web content that passes through NAT box?
Lately I've been looking at scanning web content that passes through my Linux gateway box (SNAT). I'm currently running openSUSE 10.3, using iptables to do the SNAT. I really love iptables and what it is able to do.
But virus scanning... I was thinking about setting up Squid, and then using Virulator to scan proxied data through something like ClamAV (i.e. virulator bridges the gap between Squid (proxy) and the Virus scanner (ClamAV)).
I've looked at some solutions like Untangle or Endian, and considered them, but don't like them. They feel really awkward and clumsy to me (especially Untangle). The other thing is, I am very familiar with SUSE distros, and I know SUSE runs on my hardware. So I'm sorta reluctant to switch.
But one thing that Endian can supposedly do is scan traffic on port 80 without actually setting up a proxy on the gateway machine. So it simply scans content passing through the machine that goes over that port.
So I guess what I'm asking is there something like this (ability to transparently scan web traffic that passes through this box) that can run on a regular distro like openSUSE? If proxy is necessary, is there something better out there than a Squid+Virulator solution?
I didn't know Squid could run as a transparent proxy...
To be honest, I've never run Squid. I know it's considered a very high caliber product, and I've been seriously looking at it. I'm simply trying to find the most effective solution that isn't going to be highly difficult to get working that'll be the most seamless solution to the users involved.
But doesn't Squid need a "middle man" to a virus scanner, much like Amavis is to Postfix and ClamAV?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.