Test for Antivirus and Firewall
|Category:||General||Estimated time:||4.00 hours|
|Target version:||040 - FarfarAway|
|Resolution:||To be discussed|
In order to reduce support requirements, a test that Java and Javaw can participate in HTTP requests, is necessary. An HTTP 1.1 request with keep-alive should be sent on an unusual port (maybe 8083) to a JDownloader.org server. The request should be for an HTML page that is is about 2000 bytes (after gzip). The HTML file should be normal, except that it displays the EICAR string. Any error or failure of the transmission means there is an error.
One-button click should start the test with both a spawned java and spawned javaw. They should report TCP errors (which mean a firewall or server problem) or a failed checksum (meaning the antivirus messed with the file). If the spawned program is killed, this is likely an antivirus problem.
An additional antivirus test can be performed. The file can be saved to a temp directory. An attempt to open the file should result in an error (access denied or file not found). Again, this should be performed by a spawned program. If the file can be opened and read, then the antivirus is not doing its job.
Target: Public release after the next release (next+1).