In article <(E-Mail Removed)>,
"Stephen Zilliox" <(E-Mail Removed)> writes:
>
> I have a broadband connection to the Internet. I dual boot to Linux and
> WinXP. With XP I use a firewall and a virus scanner. When I'm in Linux I
> use just a firewall with no virus scanner. Since almost all viruses affect
> the Windows Os and not Linux is there any reason to use a virus scanner
> under Linux?
Few or no viruses affect Linux. (A few have been documented, but AFAIK
none are common "in the wild." Also, some Windows viruses might run
successfully under Linux using WINE -- say, Word macro viruses. I don't
have specifics on this, though.) Thus, virus scanners to protect Linux
are pretty pointless. There ARE virus scanners for Linux, but mostly
they're intended to block e-mail worms intended for Windows clients of
Linux mail servers or to scan files on Samba shares, again for the
benefit of Windows clients.
That said, Linux isn't without its security problems, but they come in
different forms. The closest things to virus scanners for Linux are
intrusion detection kits, like Tripwire or chkrootkit. Tripwire records a
checksum for all the files in directories you specify, and you can
compare that checksum whenever you like (say, daily in a cron job). That
should detect intruders. The chkrootkit program is more like Windows
virus scanners, in that it scans your hard disk for known intrusion
"signatures." You might run it periodically, much as you'd run a virus
scanner.
Because of the way Linux systems tend to be compromised (namely, by
intruders who take advantage of bugs in common Linux servers), the
greatest risk is when the system is connected directly to the Internet.
If you've got a broadband (NAT) router, the risk is greatly reduced. If
you're careful to run no servers on your Linux system, the risk is also
very low -- but it's easy to overlook a server or accidentally run one.
Also, some common programs, like Linux's mail queues, function as
servers, so if they're not configured to ignore network access and if
they have bugs, that's a potential way in. A local iptables firewall can
provide good protection if it's properly configured, but that's a
potentially big "if." Overall, if you're not an expert (and if you were,
you wouldn't have posted your question), I recommend you get yourself a
broadband NAT router and connect to the Internet through it, if you don't
already have one. It'll help protect both Windows and Linux, as well as
multiple computers if you've got more than one.
--
Rod Smith,
(E-Mail Removed)
http://www.rodsbooks.com
Author of books on Linux, FreeBSD, and networking