Giter Club home page Giter Club logo

moodle-antivirus_savdi's People

Contributors

jonof avatar peterburnett avatar usqfowlerj avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

peterburnett

moodle-antivirus_savdi's Issues

Indicate noteworthy SCANDATA vs SCANFILE result

I really like the test client to check if everything is working. But I have antivirus_savdi | scannerisremote enabled and wondered what is wrong here:
image
At least until I noticed that for scannerisremote only the SCANDATA result is noteworthy.

Probably I should just disable the SCANFILE feature on SAVDID. But I didn't and I was very confused :-). So it might be helpful to indicate which of SCANDATA/SCANFILE is actually the interesting one (depending on scannerisremote).

Remote access does not use Moodle's proxy settings

As you are using stream_socket_client directly you should probably check Moodle's web proxy settings ($CFG->proxyhost, $CFG->proxyuser etc) and use them when the rquest is going out externally.

I don't think this is a blocker for approval in the plugins db at this stage because the plugin is usable on localhost without the proxy settings.

Scanner error on remote daemon

We have been encountering a lot of scanner errors due to Data sent was shorter than expected. These seem to primarily occur with large video files from 100Mb to 1.4Gb. I haven't done a deep dive on it, but my best guess its just failing due to network flakiness occasionally. I propose we just have a configurable retry option similar to ClamAV, that will allow for these to be rerun before failing. While this might be a lot of extra time during the upload process for a user, it should generally be lower than the time taken to actually do the file upload in the first place.

I won't have capacity to fix this for the next few weeks, but I may be able to PR this in the next few months.

Moodle 3.9 compatibility

On [https://moodle.org/plugins/antivirus_savdi] the plugin is not yet listed as 3.9 compatible. I guess no serious changes (if any at all) have to be made for 3.9 compatibility, though I did not yet check if it works.

Implement a status check

https://docs.moodle.org/dev/Check_API

ie do a raw-ish direct data only eicar submission, and make sure it connects, and detects the failure, and does so in some reasonable time limit (maybe < 1 sec for a pure data check)

This doesn't need to be run on every check, it could be cached for say 1 hour

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.