Author Topic: Problem with deftasks.xml and sound files  (Read 7361 times)

0 Members and 1 Guest are viewing this topic.

Jeccu

  • Guest
Problem with deftasks.xml and sound files
« on: March 01, 2004, 07:12:57 PM »
Hi!

I have a problem again  :)
I did this:
Quote
Look at the deftasks.xml file in the avast folder - all you need to do to enable scanning of archives on-access is to add the line

<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers>

after the line
<STANDARD--InvalidEntry>1</STANDARD--InvalidEntry>

My problem is that deftasks.xml is changed back to normal when avast checks definitions update (even if there were not any updates).  ???
Same problem if I edited the sound files. All files are changed back to normal ones after checking definitions update.

So, what is this?

Thanx.

-- Jeccu --

Windows XP Home
Avast! 4.1.357 Home
Celeron 2.4 GHz 512 RAM

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Problem with deftasks.xml and sound files
« Reply #1 on: March 01, 2004, 10:15:16 PM »
It doesn't matter. You just need to change the XML file and restart the avast antivirus service (or entire system, if you prefer). That's all. It doesn't make any difference that the file will be reverted to the original state.

Sound files -- you need to pick different names for your custom files.
If at first you don't succeed, then skydiving's not for you.

S.Z.Craftec

  • Guest
Re:Problem with deftasks.xml and sound files
« Reply #2 on: March 02, 2004, 12:06:55 PM »
Just as Vlk said... Just make another directory with your sounds in it, and then recall them from Sound events and audio devices (control panel) under avast! antivirus sounds... it will never ever change those sounds again.

Btw, you can download some additional female voice sounds I made few days ago, from here:

http://cat.asw.cz/~vlk/sasha_avast_sounds.zip

Cheers !

Jeccu

  • Guest
Re:Problem with deftasks.xml and sound files
« Reply #3 on: March 02, 2004, 01:18:32 PM »
Thanks guys!

Yes, I noticed too late that there were own settings for avast! sounds in Control Panel where you can change them.  :) :)

Thanks S.Z.Craftec! I'll use your additional sound files.

-- Jeccu --

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re:Problem with deftasks.xml and sound files
« Reply #4 on: March 02, 2004, 09:00:04 PM »
It doesn't matter. You just need to change the XML file and restart the avast antivirus service (or entire system, if you prefer). That's all. It doesn't make any difference that the file will be reverted to the original state.

Where is the new info stored. The "STANDARD" settings for scanning archives wasn't added to the avast4.mdb database either (found the other settings from the deftasks.xml files there :-)

Or did I do something wrong so that the new settings weren't stored anyway :-(
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Problem with deftasks.xml and sound files
« Reply #5 on: March 02, 2004, 09:06:08 PM »
You need to restart the avast service (Control Panel -> Administrative Tools -> Services) after making changes to the XML file. Or restart the machine, if you prefer...

That should commit the changes to the storage (the MDB file)
If at first you don't succeed, then skydiving's not for you.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re:Problem with deftasks.xml and sound files
« Reply #6 on: March 02, 2004, 09:20:11 PM »
You need to restart the avast service (Control Panel -> Administrative Tools -> Services) after making changes to the XML file. Or restart the machine, if you prefer...
That should commit the changes to the storage (the MDB file)
Yep, thanks. BTW. Will the ZIP files be scanned automaticly on all tyes of access, or do you need to add the file type to the "Scan files with these extension" list to make it try to scan the file at all (or will that make avast! scan the file twice - it takes some time now)
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Problem with deftasks.xml and sound files
« Reply #7 on: March 02, 2004, 09:28:30 PM »
The XML thing affects the unpacker engines that are used. ALL files (regardless of their extensions) are feeded to the engines, regardless of their extension. HOWEVER, the Standard Shield of course only hands to the engines files with the extensions in the list.

In other words, if there's TXT in the extension list, and there's a file.txt that is in fact a ZIP, it will be decompressed. However if there is file.zip and ZIP is not in the extension list, it will not be decompressed?

Capisce? :)
If at first you don't succeed, then skydiving's not for you.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re:Problem with deftasks.xml and sound files
« Reply #8 on: March 02, 2004, 09:32:48 PM »
In other words, if there's TXT in the extension list, and there's a file.txt that is in fact a ZIP, it will be decompressed. However if there is file.zip and ZIP is not in the extension list, it will not be decompressed?

Capisce? :)
Yes sir!  Does that mean that enabling archive file scanning for "STANDARD" will slow down on-access scanning a lot since all file-types in the list must be fed to all archive-unpackers (to check if it's an archive)?  And is that why it's disabled as a default :-)
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Problem with deftasks.xml and sound files
« Reply #9 on: March 02, 2004, 09:35:10 PM »
That's pretty much it. :)
But slow-down for non-compressed files should be very low - the IsPacked functions are optimized for speed.
If at first you don't succeed, then skydiving's not for you.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re:Problem with deftasks.xml and sound files
« Reply #10 on: March 02, 2004, 09:38:10 PM »
That's pretty much it. :)
But slow-down for non-compressed files should be very low - the IsPacked functions are optimized for speed.

OK, everything OK then.  Just one last question to be 100% sure:  The mail-scanning check all files regardless of extenison through all the unpackers, right. No need to setup anything to scan ZIP files there (so no matter your on-access extension-list mail-files are always scanned)?
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Problem with deftasks.xml and sound files
« Reply #11 on: March 02, 2004, 09:43:43 PM »
Correct.

But beware that the latest Beagle viruses (not very widely spread really) send themselves as password-protected archives, so neither the mail scanner nor the Standard Shield can handle the archived variant...
If at first you don't succeed, then skydiving's not for you.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re:Problem with deftasks.xml and sound files
« Reply #12 on: March 02, 2004, 09:49:22 PM »
But beware that the latest Beagle viruses (not very widely spread really) send themselves as password-protected archives, so neither the mail scanner nor the Standard Shield can handle the archived variant...

But if you enter the password and unpack the archive it will be caught anyway, right. So it shouldn't be any real problem, or...
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Problem with deftasks.xml and sound files
« Reply #13 on: March 02, 2004, 09:51:47 PM »
It's not a big problem in terms of real possibility of infection, but it may be a bit of surprise that neither the mail scanner nor the Standard Shield is picking it up in the first place (because of course, it won't tell you that it was password protected [I guess]).
« Last Edit: March 02, 2004, 09:52:11 PM by Vlk »
If at first you don't succeed, then skydiving's not for you.