Nп/п : 3 из 16
От : Andrew Leary 1:320/219 20 июл 24 05:51:01
К : Vincent Coen 20 июл 24 13:43:01
Тема : Using clamd in stream mode
----------------------------------------------------------------------------------
@MSGID: 1:320/219@fidonet 669b8f1d
@REPLY: 2:250/1@fidonet 669a88de
@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 19/37 50/109 80/1 123/130
142/104 203/0 221/0 1 6 360
SEEN-BY: 229/426 240/1120 5832 280/464 5003 292/854
301/1 113 320/119 219 319
SEEN-BY: 320/2119 322/762 335/364 341/66 423/81
467/888 3634/12 5000/111
SEEN-BY: 5001/100 5005/49 5019/40 5020/715 846 848
1042 4441 12000 5030/49
SEEN-BY: 5030/1081 5054/8 5058/104 5061/133 5075/128
5083/444
@PATH: 320/219 221/1 301/1 5020/1042 4441