I'm no LinuxShield expert - but certainly passing the filename in the command line like you've done works on Windows-based machines.
Can I ask what happens when you specify the filename in the command line? Do you get an error message or does the scan simply not run?
Hopefully someone familar with LinuxShield will pop in here with some advice for you!
Thanks for your reply. I even try to figure out what program to use - and what arguments are expected.
My process list tells me there is a program running named "scanner" so I tried this entry from the command line (while I stopped the entry from the process list before):
/opt/NAI/LinuxShield/libexec/scanner -e /opt/NAI/LinuxShield/engine/lib/liblnxfv.so -D /opt/NAI/LinuxShield/engine/dat -L /opt/NAI/LinuxShield/engine/lib -p 11 -i 18016 -I 0
But that gives me:
scanner: SocketEndpoint.cc:184: virtual void Nails::SocketEndpoint::enablerecv(bool): Assertion `m_fd >= 0' failed.
I'm still searching.
Good morning Stefan,
LinuxShield is pretty much run from the web interface, as the product runs as a daemon or service.
If you check chapter 7 of the Product guide - Advanced Features, you can see what command line options are supported, if an on demand scan isn't in there (and appears not to be) then it's not a supported option - I've just had a word with support and they advise to use the web interface and they are not aware of any supported command line on demand commands. Alternatively use the Unix command line scanner if your license allows.
If there's anything you've heard otherwise I'd raise a case with McAfee and if there are supported commands, we can create something regarding them in the Knowledgebase. Please let us know if you do log a case and support advise otherwise.
I finally also talked to the McAfee support line (btw. they had nice music there while I had to wait in the line- I think it was George Winston ).
They also advised me to use "McAfee VirusScan Command Line Scanner". Too bad we already bought licences for LinuxShield ...
Thanks for letting us know the outcome, Stefan.
This is another issue which needs documenting in our KnowledgeBase I think!
Best regards - and glad you enjoyed the music
So; this doesn't really seem to have a resolution. My take away form this is that the binary exists and is called form the webgui but they don't want to provide documentation on how to invoke it form the command line?
Cmdline functionality mentioned/required is not provided in VSEL
McAfee Virus Command line Scanner for Linux would provide that functionality
Ok, that still doesn't address the issue that the binary exists, and takes arguments. You're literally saying pay no attention to the man behind the curtain and just use the GUI.