Latest AV code

Trever L. Adams trever at middleearth.sapphiresunday.org
Thu Dec 28 00:06:03 UTC 2017


On 12/27/2017 05:03 PM, Trever L. Adams via samba-technical wrote:
>
> Alright, I have the quarantine functionality working. It works with a
> default relative to connection path of .quarantine and I believe can be
> set to anything absolute.
>
> I am still trying to get this to scan file backed streams (such as
> vfs_streams_depot). Like I said, without an exit strategy for
> non-filebacked streams, I believe it works on open but erases the file
> and all streams, not just the stream. So, it works for now, it just
> ignores ALL streams. This can be fixed if there is a way to find the
> backing file systems file full path name. If it ever replaces the
> smb_fname/base_name in the stack-able modules, then all is good, if not,
> I will need to add some code to try and use whatever functionality is
> provided to export this.
>
> This is NOT a full patch. It is relative to the last full work Ralph did
> as I would like another review of it in patch form before I squash down
> and send the entire thing as five patches.
>
> Thank you.
> Trever

Sorry, this was missed in that patch. It is not commited and will
therefore be in the final.

Trever

diff --git a/docs-xml/manpages/vfs_virusfilter.8.xml
b/docs-xml/manpages/vfs_virusfilter.8.xml
index f1d980126bf..ee49df11575 100644
--- a/docs-xml/manpages/vfs_virusfilter.8.xml
+++ b/docs-xml/manpages/vfs_virusfilter.8.xml
@@ -155,10 +155,10 @@
                <varlistentry>
                <term>virusfilter:quarantine directory = PATH</term>
                <listitem>
-               <para>Where to move infected files. This is relative to, and
-               must be found in, the directory in which the file is
found.</para>
-               <para>If this option is not set, the default is
".quarantine".
-               </para>
+               <para>Where to move infected files. This path must be an
+               absolute path.</para>
+               <para>If this option is not set, the default is
".quarantine"
+               relative to the share path. </para>
                </listitem>
                </varlistentry>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 886 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171227/3148d92d/signature.sig>


More information about the samba-technical mailing list