home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2383 
 Andrew Leary to Vincent Coen 
 Using clamd in stream mode 
 20 Jul 24 05:51:01 
 
REPLY: 2:250/1@fidonet 669a88de
MSGID: 1:320/219@fidonet 669b8f1d
CHRS: UTF-8 2
TZUTC: -0400
TID: MBSE-FIDO 1.1.0 (Linux-x86_64)
Hello Vincent!

19 Jul 24 15:19, you wrote to all:

 VC> I have been trying to get this to work since upgrading mga v8 to v9
 VC> last year without success as access to the port is refused.

 VC> Has any one have this work and if so can you provide the clamd.conf
 VC> file so I can compare mine and likewise the settings in /etc/service
 VC> if not showing the defaults :

 VC> dyna-access     3310/tcp                # Dyna Access
 VC> dyna-access     3310/udp                # Dyna Access

I don't have any entries in /etc/services for port 3310.

 VC> tfido           60177/tcp                       # Ifmail
 VC> tfido           60177/udp                       # Ifmail
 VC> fido            60179/tcp                       # Ifmail
 VC> fido            60179/udp                       # Ifmail

 VC> There may well be other setting files that need updating but I have
 VC> forgotten what ones.

 VC> My clamd conf lines that relate are :

 VC> PidFile /var/run/clamav/clamd.pid

 VC> TemporaryDirectory /home/system-jobs/tmp
 VC> LocalSocket /var/lib/clamav/clamd.socket

I have LocalSocket /var/run/clamav/clamd.socket on both of my Linux systems.

 VC> FixStaleSocket yes

 VC> TCPSocket 3310
 VC> TCPAddr 127.0.0.1
 VC> #TCPAddr localhost
 VC> #   here I have tried both settings (one at a time) but should be the
 VC> same as far as I know.

I have TCPAddr localhost here.

 VC> as for the test :

 VC> ssh localhost -p 3310
 VC> ssh: connect to host localhost port 3310: Connection refused

I used telnet to connect to mine.  It connects, and then disconnects with an 
UNKNOWN COMMAND message when I hit ENTER.

 VC> ssh 127.0.0.0 -p 3310
 VC> ssh: connect to host 127.0.0.0 port 3310: Connection refused

This should be 127.0.0.1 I'm thinking.

 VC> I do NOT run any Doors but do run apache for a web interface at
 VC> applewoodbbs.linkpc.net
 VC> .

 VC> Log /var/log/clamd.log shows it is running but with these .

 VC> Using systemadm shows that these are running :
 VC> clamav-daemon.service
 VC> clamav-daemon.socket
 VC> clamav-freshclam.service

 VC> Doing a ps aux | grep clam   produces :

 VC> clamav   1770582  0.0  0.0 103752 14976 ?        SLs  Jul07   0:09
 VC> /usr/bin/freshclam -d --foreground=true
 VC> clamav   1770616  0.0  8.3 1576280 1353088 ?     Ssl  Jul07   4:50
 VC> /usr/sbin/clamd --foreground=true

My startup script for clamav does not use the --foreground switch for either 
clamd or freshclam.

 VC> vince    3034322  0.0  0.0  14368  2432 pts/4    S+   15:28   0:00
 VC> less /etc/clamd.conf

This was just you viewing your clamd.conf ...

Try removing --foreground=true from your command lines in the startup scripts, 
and then see if telnet will connect to port 3310.

Andrew

--- GoldED+/LNX 1.1.5-b20240209
 * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)
SEEN-BY: 1/19 16/0 18/200 19/37 80/1 90/1 105/81 106/201 123/130 128/260
SEEN-BY: 129/305 142/104 153/7715 203/0 218/700 221/0 226/30 227/114
SEEN-BY: 229/110 112 113 206 275 317 400 426 428 470 550 664 700 240/5832
SEEN-BY: 266/512 282/1038 291/111 292/854 320/119 219 319 2119 322/757
SEEN-BY: 322/762 342/200 396/45 460/58 633/280 712/848 5020/400 5075/35
PATH: 320/219 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca