Skip to content

freshclam.conf: line comments #1650

@patch-work

Description

@patch-work

man freshclam.conf
...
The file consists of comments and options with arguments.
Each line which starts with a hash (#) symbol is ignored by the parser.
...

It is useful to add a comment at the end of a line, instead of preceding the line with a comment. For example

DatabaseCustomURL https://url/blurl # Blacklisted full urls over the last 7 days, covering malware/spam/phishing
DatabaseCustomURL https://url/badmacro.ndb # Blocks macros in Word/Excel/Xml/RTF/JS

vs

# Blacklisted full urls over the last 7 days, covering malware/spam/phishing.
DatabaseCustomURL https://url/blurl.ndb

 # Blocks macros in Word/Excel/Xml/RTF/JS
DatabaseCustomURL https://url/badmacro.ndb

It may not look like much, but it saves space and keeps lists tidy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions