5
votes
there is empty ips in netstat
Your picking up ipv6 network connections which often have a number of colons in them. The cut command doesnt take this into account when snipping the colons out from the IP address.
Might be more ...
3
votes
Apache: compressing as zip (not gzip)
I think you misunderstood what the compression in the HTTP protocol is for. It is not for downloading archives. It is to reduce the data that is transferred when you are just browsing. The files that ...
1
vote
Accepted
Apache: compressing as zip (not gzip)
As pointed out in the question's citation of the apache documentation it is not possible to configure apache to serve content compressed as zip with the mod_deflate and client's header set to Accept-...
1
vote
Accepted
Setting a custom value to the DeflateBufferSize results in 500 internal server error
The manual will show you that that particular directive is only valid in the context of the server config and the virtual host and it is not valid in a .htaccess file.
So add those directives to /...
1
vote
there is empty ips in netstat
Its the problem with awk & cut command. You have to analyse the output of netstat first.
Follow this question.
1
vote
there is empty ips in netstat
My guess is that the problem lies with 'awk' and/or 'cut' commands. What I would do is run the following command:
netstat -ntu | awk '{print $5}' | egrep -v '127.0.0.1|95.80.176.162|199.201.121.153'
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
deflate × 28gzip × 15
apache-2.2 × 14
compression × 9
mod-deflate × 9
nginx × 3
centos × 3
ssl × 3
apache-2.4 × 3
.htaccess × 3
php × 2
css × 2
windows × 1
debian × 1
web-server × 1
logging × 1
tomcat × 1
iis-7 × 1
centos6 × 1
openssl × 1
httpd × 1
ddos × 1
httpd.conf × 1
lighttpd × 1
internet-explorer × 1