On Sun, Jun 12, 2005 at 03:41:15PM +0200, Michael Below wrote:
> Package: swat
> Version: 3.0.14a-3
> Severity: normal

> I just removed samba and the swat package. When I ran nmap
> afterwards, I wondered what was listening on the swat port. When I
> tried to connect to that port using telnet, I got a message from
> swat in the syslog "refused connect from <my IP>". Trying to
> connect to the port via http fails.

> Looks like "something" was left over after removal, probably not
> the whole program. Or is this the way things are meant to be?

There appears to be a bug in the swat package, whereby the inetd.conf entry
for the service is not removed when the package is uninstalled.  The program
itself is no longer present; inetd is just listening on the port, and will
either reject the connection with the error you listed (which is caused by
hosts.allow/hosts.deny settings), or with an error saying that it cannot
execute /usr/sbin/swat.

FWIW, purging the swat package does seem to remove the service.  I'll look
into fixing things so that the service is also correctly disabled on
'remove'.

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to