# # ChangeLog # # v0.7.2 - 12/11/2007 - Changed default path to clamd socket # # v0.7.1 - 1/30/2005 - Fixed ownership issue with the temporary file. # # v0.7 - 1/27/2005 - Fixed typo (-l != -L) # # v0.7rc1 - 12/09/2004 - replaced eicar with the reverse() # - a temp file is scanned instead of the script itself # - now uses getopt to parse cmd line options # - (-s /path/to/socket || port #) added switch to # specify the socket path # - (-t seconds) added switch to specify timeout # - (-l) added logging function that can use syslog # - (-h) added help switch # - (-L /path/to/lockfile) now checks for the # lockfile to see if clamd was administratively # shutdown # # v0.7test1 - 01/22/2004 - added support for clamd on a TCP socket # # v0.6 - 01/09/2004 - changed exit codes so that it can be used in # cron with && (as shown in the INSTALL file) # - added -q switch for same reason as above # # v0.5 - 01/09/2004 - another attempt at fixing the path finding code # # v0.4 - 01/08/2004 - fixed the code that finds the path of the script # # v0.3 - 01/07/2004 - added a timeout for the result from the RAWSCAN # # v0.2 - 01/07/2004 - added the Eicar signature and the code to have # clamd scan the script itself # # v0.1 - 01/07/2004 - initial hack #