Program : Mcafee Virus Update Notify v1.1 Author : G.Krist (g.krist@chello.nl)
Description:
Mcafee Virus Update Notify (mcvu notify in short) will notify you when there is a new virus update file available. You can send a message by smb, local broadcast or mail. And when using the mail method you even get detailed info about the new .dat release! All these option can be set using one simple config file.
- Requirements
- TCL shell (http://www.tcl.tk/software/tcltk/8.4.html)
- ncftp (http://www.ncftp.com/ncftp)
- smb package (advice: use most current version, v2.2.7 atm),
being used to sent smb messages (www.samba.org)
- wall package
- optional package
- Install
Follow these steps: - tar -zxvf mcvu_notify_1.1.tar.gz - Copy mcvu_notify.tcl to some place (prefer in path) - mkdir ~/.mcvu (mcvu will check current user homedir!) - cp mcvu_notify_ftp.sh ~/.mcvu - edit mcvu_notify.conf to your needs (default it won't notify anyone!!!) - cp mcvu_notify.conf ~/.mcvu - Run "mcvu_notify.tcl check" - If it doesn't return errors you can add it to crontab (see below)- Usage
Before you start you have to check the config file. Script won't run without :)
For manual execution you should use:
mcvu_notify.tcl
When this works oke (no errors), you might consider to add this script to crontab jobs. Example below will execute script every day at 0:00:
0 0 * * * <path_to_mcvu_notify_script>
- FAQ
Q: Hmm can I remove this version file sitting in my dir? A: Ofcourse you can! BUT maybe it's not wise. Script uses this file to store the latest dat file it has notified about. Q: I got a lot of messages like "not parsable", uhhh whats wrong? A: Mcafee might have changed there readme.txt completely. If so, please tell me. And will see to get it working again :-) Q: I don't get a: winpopup / mail / broadcast notice! Why that? A: Problem will be in the external programs being used by mcvu. But I will give you some debug tips you can use on the prompt:- for testing mail try: echo "This is a test mail" | mail root -s TEST
- for testing bc try: echo "This is a test BC" | wall
- for testing winpopup: echo "This is a test winpopup" | smbclient -M <netbiosname_of_pc_to_send_message> If all these tips do WORK from the prompt, it's a mallfunction in mcvu. And ofcourse you can mail me about it (as much details as possible)!
- Revision
28-02-2003 v1.1 - changed some docs/faq- Changed location of config file and made it easier to configure
- Ftp can use login/pass/port now
- Now you can define the retrys (and seconds between retrys) between failed connections
- Fixed some little bugs
- check funtcion to see if you don't miss things 27-02-2003 v1.0 - Initial release
- Files
mcvu_notify.conf The sample configuration file mcvu_notify.tcl Main script mcvu_notify_ftp.sh Ext script being used by mcvu DOC/LICENSE GNU license file DOC/README The File you reading now :)
