+ Post New Thread
Results 1 to 3 of 3
Internet Related/Filtering/Firewall Thread, Custom Content Scanners in DansGuardian in Technical; I've been playing with DGAV on Linux Mint 9 and from the tests I've conducted discovered it's not that effective ...
  1. #1
    mrcrazy04's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire/Cheltenham, UK
    Posts
    258
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    17

    Custom Content Scanners in DansGuardian

    I've been playing with DGAV on Linux Mint 9 and from the tests I've conducted discovered it's not that effective at catching drive by downloads, as ClamAV doesn't have quite a lot of the exploits in it's virus database. I'm therefore trying to get Avast! Linux Home Edition working with DansGuardian 2.10.1.1.
    I've created a file called "avast.conf" in /etc/dansguardian/contentscanners and modified the contents of the commandlinescan.conf file to suit, but DansGuardian fails to load with the error message:
    Unable to load plugin: /etc/dansguardian/contentscanners/avast.conf
    cs_plugin_load() returned NULL pointer with config file: /etc/dansguardian/contentscanners/avast.conf
    Error loading CS plugins
    Error parsing the dansguardian.conf file or other DansGuardian configuration files


    I've had a look on Google but couldn't find anything, so does anybody know what I'm doing wrong? If I comment out the line in dansguardian.conf and uncomment the clamAV line, it works fine, so I'm pretty sure the issue is with my config file.
    The config file is below:

    plugname = 'avast'

    # Standard lists of file types & websites not to scan
    exceptionvirusmimetypelist = '/etc/dansguardian/lists/contentscanners/exceptionvirusmimetypelist'
    exceptionvirusextensionlist = '/etc/dansguardian/lists/contentscanners/exceptionvirusextensionlist'
    exceptionvirussitelist = '/etc/dansguardian/lists/contentscanners/exceptionvirussitelist'
    exceptionvirusurllist = '/etc/dansguardian/lists/contentscanners/exceptionvirusurllist'

    # Program to run & initial arguments - filename for scanning will be appended
    progname = '/usr/bin/avast --console'

    # At least one of the following three options must be defined!
    # They are checked in the following order, with the first match determining
    # the scan result:
    # virusregexp - regular expression for extracting virus names from
    # the scanner's output
    # cleancodes - program return code(s), as a comma-separated list, for
    # uninfected files
    # infectedcodes - program return code(s), as a comma-separated list, for
    # infected files

    virusregexp = [infected by[ -/a-zA-Z0-9\.]+)]

    # Which submatch of the above contains the virus name? (0 = all matched text)
    submatch = 1

    #cleancodes = 0
    # infectedcodes = 1,2,3

    # Default result when none of the other options triggers a match
    # Valid values are "infected" and "clean"
    defaultresult = infected

  2. #2

    Join Date
    Feb 2011
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi,
    avastd content scanning has just been implemented.
    You can check it out in dansguardian-dev mailing list.

  3. #3

    Join Date
    Feb 2011
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    You can find it here:

    Yahoo! Groups

    P.S.: sorry for the double reply, but it was my first post and I was forbidden from posting links.

SHARE:
+ Post New Thread

Similar Threads

  1. Barcode scanners
    By Little-Miss in forum Hardware
    Replies: 4
    Last Post: 11th February 2009, 02:44 PM
  2. Replies: 13
    Last Post: 4th October 2006, 10:42 AM
  3. scanners
    By roymorden in forum Wireless Networks
    Replies: 6
    Last Post: 30th June 2006, 08:03 PM
  4. network scanners
    By russdev in forum Windows
    Replies: 9
    Last Post: 24th August 2005, 06:38 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •