Re: encrypted zips / sophie
Darren <[email protected]>
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Message-ID | <[email protected]> |
Hello, I've tried this and it doesn't seem to work for me. Is there anything else that I'd need to change? sophie.savi ? I modified the .c file and recompiled. Killed sophie and run sophie -D. I sent a test email and it allowed it through. I'm using Amavisd-new. Thanks, - Darren On Wed, 2004-03-03 at 04:43, Chris Edwards wrote: > Hi, > > If anyone's interested, its easy to make sophie block encrypted zips. > > In sophie_core.c find the "case SOPHOS_SAVI_ERROR_FILE_ENCRYPTED:" and set > the return value to 1. > > > 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); > #ifdef ONLY_FATAL_ERRORS > retval = 1; > #else > retval = 1; > #endif > > > Hope this is (some) use. > > I guess it would nice to have this as a run-time config option ( Hi Vanja! ) > > Chris > > -- > Chris Edwards, Glasgow University Computing Service > _______________________________________________ > vtools mailing list > [email protected] > http://www.vanja.com/list/listinfo.cgi/vtools