GithubHelp home page GithubHelp logo

peterburnett / moodle-antivirus_savdi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonof/moodle-antivirus_savdi

0.0 1.0 0.0 93 KB

Sophos SAVDI antivirus plugin for Moodle

License: GNU General Public License v3.0

PHP 100.00%

moodle-antivirus_savdi's Introduction

Sophos SAVDI antivirus plugin for Moodle 3.2+

Copyright © 2017 The University of Southern Queensland (https://www.usq.edu.au)

This plugin adds virus scanner support for the Sophos SAVDI daemon to Moodle 3.2 and newer. Note that the savdid daemon must run on the same host as the Moodle instance. Communication with the daemon may be via TCP/IP or Unix domain socket.

The Sophos Simple Scanning Protocol is documented at https://www.sophos.com/en-us/medialibrary/PDFs/documentation/savi_sssp_13_meng.pdf

An example savdid configuration (see https://www.sophos.com/en-us/medialibrary/PDFs/documentation/SAVDI_User_Manual.pdf for full documentation):

threadcount: 30
maxqueuedsessions: 2
virusdatadir: /opt/sophos-av/lib/sav
idedir: /opt/sophos-av/lib/sav
onexception: REQUEST
onrequest: REQUEST

log {
    type: FILE
    logdir: /var/log/savdi
    loglevel: 2
}

channel {
    commprotocol {
        type: UNIX
        socket: /var/run/savdid.sock
        mode: all

        # type: IP
        # address: 127.0.0.1
        # port: 4010

        requesttimeout: 5
    }

    scanprotocol {
        type: SSSP
        allowscanfile: SUBDIR
        allowscandata: NO
        logrequests: YES
    }

    scanner {
        type: SAVI
        inprocess: YES
        maxscantime: 3
        maxrequesttime: 10
        allow: /var/tmp/php
        savigrp: GrpExecutable 1
        savigrp: GrpArchiveUnpack 1
        savigrp: GrpSelfExtract 1
        savigrp: GrpInternet 1
        savigrp: GrpMSOffice 1
    }
}

moodle-antivirus_savdi's People

Contributors

usqfowlerj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.