This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/html/setup/virscan.html

106 lines
4.9 KiB
HTML
Raw Normal View History

2003-11-09 14:46:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2001-10-25 15:05:28 +00:00
<HTML>
2002-02-17 13:24:26 +00:00
<!-- $Id$ -->
2001-10-25 15:05:28 +00:00
<HEAD>
2003-11-09 14:46:31 +00:00
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
2001-10-25 15:05:28 +00:00
<META http-equiv="Content-Style-Type" content="text/css">
2003-11-09 14:46:31 +00:00
<META NAME="Language" content='en'>
2001-10-25 15:05:28 +00:00
<META name="author" lang="en" content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek">
<META name="description" lang="en" content="MBSE BBS Manual">
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
<TITLE>MBSE BBS Setup - Virus scanners.</TITLE>
<LINK rel=stylesheet HREF="../manual.css">
</HEAD>
<BODY>
<BLOCKQUOTE>
<div align='right'><h5>Last update 17-Feb-2008</h5></div>
2003-11-09 14:46:31 +00:00
<div align='center'><H1>MBSE BBS Setup - virus scanners</H1></div>
2001-10-25 15:05:28 +00:00
Once upon a time there was no DOS and no computer virusses. But since DOS was
invented as a small OS which was easily extensible, virus writers saw their
2003-08-15 20:05:34 +00:00
chance to easy spread their hacks. Although running a GNU/Linux system is
2001-10-25 15:05:28 +00:00
relative safe, most of the files that you have available on your bbs
2004-04-11 12:36:02 +00:00
are DOS/Windows based programs. And before you put them available for download, they
2001-10-25 15:05:28 +00:00
should be checked for virusses. Macro virusses are a relative new danger,
this can also hurt Unix/Linux users.<P>
2004-04-11 12:36:02 +00:00
There are several scanners for GNU/Linux available. Default only four of them
2001-10-25 15:05:28 +00:00
are setup. You may consult <A HREF="http://www.openantivirus.org/">
http://www.openantivirus.org</A> for more scanners mentioned in a mini-FAQ
maintained by Rainer Link.
2002-06-15 14:09:15 +00:00
<p>
When you configured the sources and build mbse, the configure script searched
for excisting scanners. When mbsetup was run the first time, when mbtask was
started, the scanners found on your system are already configured with the
right paths and enabled.
2001-10-25 15:05:28 +00:00
<P>
2002-06-15 14:09:15 +00:00
The following scanners are default installed in the setup:
2001-10-25 15:05:28 +00:00
<p>
<UL>
2003-08-15 20:05:34 +00:00
<LI><b>NAI Virus Scan</b> (uvscan) for Unix (GNU/Linux) made by <A HREF="http://www.nai.com">
2001-10-25 15:05:28 +00:00
Network Associates, USA.</A>
Not free for personal use. Uses the same DAT files as for Windows and DOS.
<LI><strong>AntiVir/Linux</strong> made by <A HREF="http://www.hbedv.com">
H+BEDV Datentechnik GmbH.</A>
Can also be installed in sendmail or Postfix to scan incoming
and outgoing email. This may be a good idea if you run a email gateway.
This version can be registered for personal use.
<LI><strong>F-PROT</strong> available from <A
HREF="http://www.frisk.is">http://www.frisk.is</A>. There is a free version for personal use.
2004-04-11 12:36:02 +00:00
<LI><strong>Clam AntiVirus</strong> is a GNU licensed virus scanner for Unix. It
2004-05-03 18:45:26 +00:00
is available from <A HREF="http://www.clamav.net">www.clamav.net</A>. It has one
slight disadvantage over other scanners (or just the opposite), when it tests a
file with the Eicar testvirus signature it will report that and triggers the
virus detection. This happens with NAI DAT files.
2001-10-25 15:05:28 +00:00
</UL>
<P>
2002-06-15 14:09:15 +00:00
As soon as you have made one scanner available in the setup and you receive files
2001-10-25 15:05:28 +00:00
in tic areas where the scan flag is set, then these files will be checked.
As soon as one of the scanners detects a virus the received file will not be imported.
Uploads from users will be checked with the installed virus scanners as well.
<p>&nbsp;<p>
<H3>Stream scanners</H3>
<P>
A new feature is stream scanning. In this setup you need a virus scanner loaded as a daemon and it
must listen to a TCP/IP port to receive commands and data to scan. Currently this is only implemented
for ClamAV, but F-Prot may follow. First you need a machine where <b>clamd</b> is running, this
can be a remote machine but of course also the bbs machine itself. ClamAV needs to be configured
so that it listens to a TCP/IP port, and depending on other things on the local socket too.
Recent versions of ClamAV can do both together. Change your <code>/etc/clamav/clamd.conf</code> to
contain the following lines:
<pre>
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
LocalSocket /var/run/clamav/clamd
# Remove stale socket after unclean shutdown.
# Default: no
#FixStaleSocket yes
# TCP port address.
# Default: no
TCPSocket 3310
# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
# Default: no
#TCPAddr 127.0.0.1
</pre>
I left the comment for the TCPaddr, but it's up to you to protect the clamd server. After you
restart <b>clamd</b> test the connection with <code>telnet host.where.clamd.runs 3310</code>,
type VERSION followed by a return and you should see the ClamAV version. If that works, you can enable
the ClamAV stream scanner in mbsetup and disable the old commandline scanner.<BR>
So why would you use this. It's about 10 times faster then the commandline scanner.
<P>
2001-10-25 15:05:28 +00:00
2003-11-09 14:46:31 +00:00
<A HREF="./"><IMG SRC="../images/larrow.png" ALT="Back" Border="0">Back to index</A>&nbsp;
<A HREF="../"><IMG SRC="../images/b_arrow.png" ALT="Home" Border="0">Back to main index</A>
2001-10-25 15:05:28 +00:00
</BLOCKQUOTE>
</BODY>
</HTML>