Technical article 105839

Restricting ftp to local users on my server fails with InterScan VirusWall.

OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

I have installed the SCO InterScan VirusWall product on my SCO
OpenServer Release 5.0.4. system. I have also altered the settings
in my system's "/etc/ftpaccess" file in order to restrict ftp(TC)
access to the system to local users, that is, those users on the
same IP subnet.  If I try to use ftp to connect to my own system,
I'm refused. For example:

# ftp scotest Connected to scotest.test.sco.com. 220-InterScan VirusWall 1.5++ FTP server: (get: L, put: L): Ready 220- 220 localhost FTP server (Version 2.1WU(1)) ready. Name (scotest:jbloggs): jbloggs 530 User jbloggs access denied. Login failed. ... ...

The system "/usr/adm/syslog" file also shows the following error:

[127.0.0.1] Nov 12 04:07:24 scotest ftpd[5348]: ACCESS DENIED (not in any class) TO loopback [127.0.0.1] Nov 12 04:07:24 scotest ftpd[5348]: FTP LOGIN REFUSED (access denied) FROM loopback [127.0.0.1], jbloggs

The "/etc/ftpaccess" file format used for class is as follows:

class   all  local,real,guest,anonymous 193.168.20.*

This format is acceptable on SCO OpenServer 5.0.4 when the InterScan VirusWall product is not installed.

Cause

If the InterScan VirusWall product is installed on OpenServer 5.0.4, it replaces the default ftp daemon ftpd(ADMN) with its own ftp daemon within the system "/etc/inetd.conf" file:

...
ftp     stream  tcp     nowait  root    /etc/iscan/in.ftpd ftpd
...

It appears that this ftp daemon does not correctly understand the "/etc/ftpaccess" file format, specifically the use of a wildcard IP address at the end of the line.

Solution

This problem is scheduled to be addressed in a future release of SCO OpenServer.

From the Xinuos technical article database, record 105839. Reproduced with permission. The original is at www.sco.com/ta/105839, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.