|
|
|
Re: Introducing Antivirus SDK for Kerio products [message #95915 is a reply to message #95913] |
Wed, 14 November 2012 17:50   |
NorthernAlberta
Messages: 18 Registered: November 2005
|
|
|
|
Hi Kerio,
It's nice these initiatives are seeing light.
I can understand sedell's concern that the examples are Linux focused, but you have to start somewhere, eh?
While I would have preferred ClamAV stayed an official integrated part of Connect (I always felt it had low uptake due to its difficulty to implement), this is a nice middle ground.
I haven't agreed will all the things Kerio has been doing this year, but this is a definite step in the right direction.
|
|
|
Re: Introducing Antivirus SDK for Kerio products [message #102528 is a reply to message #95915] |
Thu, 09 May 2013 15:54   |
scottwilkins
Messages: 103 Registered: May 2006 Location: Tulsa, OK
|
|
|
|
I hope at some point we can see something written up on the installation of ClamAV or similar back into Kerio with this. I've been missing the 3rd party AV ability since it was removed. Having multiple AV scans on e-mails may be over-kill, but you can't say it isn't a bad thing in today's times.
|
|
|
|
|
Re: Introducing Antivirus SDK for Kerio products [message #121878 is a reply to message #95909] |
Tue, 09 June 2015 09:30   |
pavik
Messages: 2 Registered: June 2015
|
|
|
|
Hi.
I downloaded the master.zip from https :// github.com/Kerio/antivirus-sdk.
I tried to test your plugin "avir.so" which is in the folder "test".
The command "avplugins_generate_test_data" has successfully created a folder "av_test_data" with files.
After entering the command "avplugins_scanning_test" appears message:
Error: Failed to download test configuration data.
file: /home/jpraus/devel/libs/devel/repository/CommonInternalLibs/libktest/TestConfiguration.cpp
line: 52
return: 100
**Failed**
After that, I tried again to execute the command "avplugins_scanning_test",
and at the same time to run the "lsof | grep tests" in console.
That's what I got:
tests 22837 root cwd DIR 253,0 4096 3145981 /antivirus-sdk-master/test
tests 22837 root rtd DIR 253,0 4096 2 /
tests 22837 root txt REG 253,0 2038984 3145988 /antivirus-sdk-master/test/tests
tests 22837 root mem REG 253,0 1415028 3145985 /antivirus-sdk-master/test/libktcrypto.so.0.9.8
tests 22837 root mem REG 253,0 202040 2884634 /lib/libm-2.12.so
tests 22837 root mem REG 253,0 122232 2884755 /lib/libgcc_s-4.4.6-20110824.so.1
tests 22837 root mem REG 253,0 942040 13897173 /usr/lib/libstdc++.so.6.0.13
tests 22837 root mem REG 253,0 302300 2887489 /lib/libfreebl3.so
tests 22837 root mem REG 253,0 77100 3145995 /antivirus-sdk-master/test/libktz.so.1
tests 22837 root mem REG 253,0 40292 2887490 /lib/libcrypt-2.12.so
tests 22837 root mem REG 253,0 1876580 2884628 /lib/libc-2.12.so
tests 22837 root mem REG 253,0 58704 2884594 /lib/libnss_files-2.12.so
tests 22837 root mem REG 253,0 16868 2887498 /lib/libuuid.so.1.3.0
tests 22837 root mem REG 253,0 142480 2884626 /lib/ld-2.12.so
tests 22837 root mem REG 253,0 297016 3145986 /antivirus-sdk-master/test/libktssl.so.0.9.8
tests 22837 root mem REG 253,0 19784 2884636 /lib/libdl-2.12.so
tests 22837 root mem REG 253,0 133136 2884630 /lib/libpthread-2.12.so
tests 22837 root mem REG 253,0 41724 2884632 /lib/librt-2.12.so
tests 22837 root mem REG 253,0 105280 2884764 /lib/libresolv-2.12.so
tests 22837 root 0u CHR 136,3 0t0 6 /dev/pts/3
tests 22837 root 1u CHR 136,3 0t0 6 /dev/pts/3
tests 22837 root 2u CHR 136,3 0t0 6 /dev/pts/3
tests 22837 root 3u IPv4 13974532 0t0 TCP mycomp:56089->192.168.41.143:http (SYN_SENT)
tests 22837 root 7w FIFO 0,8 0t0 12334911 pipe
Line with "mycomp:56089->192.168.41.143:http (SYN_SENT)" shows that there is a connection
to the server 192.168.41.143 on port 80.
Then I execute a command "strings tests | grep 192.168" and to see the line
http :// 192.168.41.143/testsconfig/testsconfiguration.php
Then I ran the "strings avir.so" and at the end of the output to see the lines
Address
192.168.41.142
Port
3310
StartupTimeout
Thus, the program "tests" does not use file "avir.so", but uses internal settings?
----
Regards
[Updated on: Tue, 09 June 2015 09:49] Report message to a moderator
|
|
|
One more question about test plugin [message #121909 is a reply to message #95909] |
Wed, 10 June 2015 07:42   |
pavik
Messages: 2 Registered: June 2015
|
|
|
|
Hi.
I set up a clamav daemon on the server 192.168.41.142:3310.
In the program "tests" I entered the command "avplugins_server_test".
The program "tests" always makes three attempts to scan the file "av_test_data/huge.file".
After the first attempt, it hangs around for a minute.
At the second attempt displays a message "I'm not able to get complete message header EOF".
At the third attempt, a message is displayed "Avserver has been detached. Test is waiting
for his death. it is because of some strange crashes in products."
I compiled your skeleton of a new plugin in the folder "sample/", put it in the folder "test/"
and renamed to "avir.so". When in the program "tests" I entered the command "avplugins_server_test",
also occurs three attempts to scan the file "av_test_data/huge.file" with the same errors.
The two attached files are output for the standard "avir.so" and for the compiled "avir.so".
Question.
This is an errors in the plugins "avir.so", and so the plugins can not be used for real work?
Or is this an errors in the program "tests", and the plugins can be used for real work?
-----
Regards
-
Attachment: Output1.txt
(Size: 7.70KB, Downloaded 593 times)
-
Attachment: Output2.txt
(Size: 5.31KB, Downloaded 445 times)
|
|
|
|