Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clamav: install conflict w/ luci-app-statistics on libltdl.so #4512

Closed
gacallea opened this issue Jun 25, 2017 · 7 comments
Closed

clamav: install conflict w/ luci-app-statistics on libltdl.so #4512

gacallea opened this issue Jun 25, 2017 · 7 comments

Comments

@gacallea
Copy link

gacallea commented Jun 25, 2017

Maintainer: @lucize
Environment: armv7l, Linksys WRT3200ACM / LEDE Reboot (17.01.2, r3435-65eec8bd5f)

Description:

If trying to install ClamAV when luci-app-statistcs is already installed this happens (and vice versa: openwrt/luci#1218).

root@lede-wyn:~# opkg install clamav
Installing clamav (0.98.7-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/packages/arm_cortex-a9_vfpv3/packages/clamav_0.98.7-1_arm_cortex-a9_vfpv3.ipk
Collected errors:
 * check_data_file_clashes: Package clamav wants to install file /usr/lib/libltdl.so.7
	But that file is already provided by package  * libltdl
 * check_data_file_clashes: Package clamav wants to install file /usr/lib/libltdl.so.7.3.0
	But that file is already provided by package  * libltdl
 * opkg_install_cmd: Cannot install package clamav.
@lucize
Copy link
Contributor

lucize commented Jun 25, 2017

did you tried with the updated version ? please use the snapshots, I can't control what is going into the stable branch


root@LEDE:/tmp# opkg install clamav_0.99.2-1_x86_64.ipk
Installing clamav (0.99.2-1) to root...
Installing uclibcxx (0.2.4-3) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/base/uclibcxx_0.2.4-3_x86_64.ipk
Installing libpcre2 (10.23-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/packages/libpcre2_10.23-1_x86_64.ipk
Installing musl-fts (1.2.7-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/packages/musl-fts_1.2.7-1_x86_64.ipk
Configuring libpcre2.
Configuring uclibcxx.
Configuring musl-fts.
Configuring clamav.
root@LEDE:/tmp# opkg install luci-app-statistics
Installing luci-app-statistics (git-17.174.41033-de2e92a-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/x86_64/luci/luci-app-statistics_git-17.174.41033-de2e92a-1_all.ipk
Configuring luci-app-statistics.
root@LEDE:/tmp#

Regards

@gacallea
Copy link
Author

hi @lucize

thank you for the quick reply.

I'm on stable at the minute but I plan to install a snapshot ASAP since stable doesn't support wifi on my router yet. No ETA tho. I'm still making sure everything else is setup correctly and works. I also need a good script to backup/restore settings and packages before that too.

However, If you think this is solved in current and want to close it, then ok for me.

@bobmseagithub
Copy link

I just suggested a workaround for this in https://github.com/openwrt/luci/issues/1218

@lucize
Copy link
Contributor

lucize commented Jul 7, 2017

the updated package doesn't contain any reference to libltdl in ipk file

@gacallea
Copy link
Author

gacallea commented Jul 9, 2017

confirmed working on a custom built snapshot with Image Builder:

cat /etc/os-release
NAME="LEDE"
VERSION="SNAPSHOT, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r4542-0b493ed"
LEDE_BOARD="mvebu/generic"
LEDE_ARCH="arm_cortex-a9_vfpv3"
LEDE_TAINTS="no-all"
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot SNAPSHOT r4542-0b493ed"

@gacallea gacallea closed this as completed Jul 9, 2017
@diogosimao
Copy link

diogosimao commented Mar 21, 2018

I have looked into this page ClamAV ArchLinux and I "tried" the Testing the software section instructions, not exactly as it says, because on openwrt it works in another way. No info was logged by clamav when I accessed EICAR test file url.

I have installed the latest package as suggested on GitHub Issue. I could find the latest package on Snapshots -- e.g.: http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/

Is ClamAV installed on LEDE OpenWRT directed and created to deal with this kind of threats? I mean: if I access a malicious URL via wireless on my smartphone in my home network for instance, should it be blocked by ClamAV?

I also installed freshclam_0.99.3-1_mips_24kc.ipk since It was available and described in the Updating database section.

@lucize
Copy link
Contributor

lucize commented Mar 21, 2018

Clamav usually runs against files, it's not scanning real-time memory, you should have a proxy set-up, and run clamav against the proxy, search for this on Google

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants