Re: encrypted zips / sophie
Yevgeniy Miretskiy <[email protected]>
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Message-ID | <[email protected]> |
I installed this suggested fix, and it worked fine. However, there is a problem: sweek will return SOPHIE_SAVI_ERROR_FILE_ENCRYPTED error on any encrypted file -- this includes password protected word/xls/etc documents. So, if your clients exchange such documents, you probably should revert back to original behavior. On [03/03/04 08:39], CertaintyTech-Ed wrote: > You also need to add the line: > > sophie_log_virus(scan_file, scan_results); > > So that sophie returns a virus description as well as a the status code > or sophie dies (at least it does in my setup since I access sophie thru > a UNIX socket). Here is what I am currently using: > > case SOPHOS_SAVI_ERROR_FILE_ENCRYPTED: > sophie_print(0, "%s %s", WARNSTR, > SOPHIE_SAVI_ERROR_FILE_ENCRYPTED); > strncpy(ret_error_string, > SOPHIE_SAVI_ERROR_FILE_ENCRYPTED, sizeof(ret_error_string)-1); -- Eugene Miretskiy <[email protected]> INVISION.COM, INC. (631) 543-1000 www.invision.net / www.longisland.com _______________________________________________ vtools mailing list [email protected] http://www.vanja.com/list/listinfo.cgi/vtools
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQFASOgMbdWhgMNo07URAg6rAKCJckgE/34C+YlO8b06iwNQOWs6egCfZhUY x4rs9vFkXYhvR/Te6GotQO8= =dYV2 -----END PGP SIGNATURE-----