Windows Proxy configuration

If you use your own Apache HTTP Proxy for caching ESET Dynamic Threat Defense files, you need to modify your httpd.conf file. It is usually located in the Apache in the conf folder.

Add the segments of configuration in the order as they are listed below.

 

1.ESET Dynamic Threat Defense requires SSL, headers, alias modules available and enabled in your proxy. Make sure modules are present and Add following lines to the proxy configuration file to load required modules:

LoadModule alias_module ..\modules\mod_alias.dll

LoadModule ssl_module ..\modules\mod_ssl.dll

LoadModule headers_module ..\modules\mod_headers.dll

 

<IfModule ssl_module>

SSLRandomSeed startup builtin

SSLRandomSeed connect builtin

</IfModule>

 

LoadModule proxy_module ..\modules\mod_proxy.dll

LoadModule proxy_http_module  ..\modules\mod_proxy_http.dll

LoadModule proxy_connect_module ..\modules\mod_proxy_connect.dll

LoadModule cache_module ..\modules\mod_cache.dll

LoadModule cache_disk_module ..\modules\mod_cache_disk.dll

 

2.Enable caching, Agent connection and HTTPS connection, set the log file.

CacheEnable disk http://

CacheDirLevels 4

CacheDirLength 2

CacheDefaultExpire 3600

CacheMaxFileSize 200000000

CacheMaxExpire 604800

CacheQuickHandler Off

 

AllowCONNECT 443 563 2222 

 

ProxyRequests On

ProxyVia On

SetEnv proxy-initial-not-pooled 1

 

ErrorLog "logs/error.log"

LogLevel warn

ErrorLog and LogLevel may be adjusted for your system, if necessary.

 

3.Add following segment of code after the last line of code listed above. It enables caching of ESET Dynamic Threat Defense data on your proxy:

AcceptFilter https none

AcceptFilter http none

EnableSendfile Off

EnableMMAP off

 

<VirtualHost *:3128>

 ProxyRequests On

</VirtualHost>

 

<VirtualHost *:3128>

        ServerName r.edtd.eset.com

 

        <If "%{REQUEST_METHOD} == 'CONNECT'">

           Require all denied

        </If>

 

        ProxyRequests Off

        CacheEnable disk /        

        SSLProxyEngine On

 

        RequestHeader set Front-End-Https "On"

        ProxyPass / https://r.edtd.eset.com/ timeout=300 keepalive=On ttl=100 max=100 smax=10

        ProxyPassReverse / http://r.edtd.eset.com/ keepalive=On

</VirtualHost>

 

4.Save the configuration file and restart the proxy service.