杂记

cip.cc

nmap

select user,authentication_string from mysql.user where user ='root' ;

SELECT @@datadir

select @@max_allowed_packet;

show variables like '%secure%';

 

whatweb yum install ruby ruby-devel rubygems

 

vi   /etc/profile

export http_proxy=http://172.30.254.56:3128
export ftp_proxy=http://172.30.254.56:3128
export https_proxy=http://172.30.254.56:3128

 

vi /etc/yum.conf

proxy=http://172.30.254.56:3128

proxy_username=username


proxy_password=password

 

 

分析 当前代理使用健康情况

cat /var/log/squid/access.log|gawk '{print $4}'|sort|uniq -c|sort -nr   如下8221 次TCP_MISS 不正常

 8221 TCP_MISS/200
    675 TCP_MISS/401
    509 TCP_MISS/503
    244 TCP_MEM_HIT/200
    157 TCP_MISS/302
    131 TCP_MISS/000
    113 TCP_CLIENT_REFRESH_MISS/200
     90 TCP_REFRESH_UNMODIFIED/200
     85 TCP_REFRESH_UNMODIFIED/304
     78 TCP_REFRESH_MODIFIED/200
     68 TCP_MISS/304
     55 TCP_MISS/504
     23 TCP_MISS/301
     14 TCP_MISS/404
     12 TCP_MISS/202
     12 TCP_MISS/201
     11 TCP_MISS/206
     11 TCP_DENIED/403
      8 TCP_IMS_HIT/304
      7 TCP_MISS/502
      7 TCP_MISS/500
      7 TCP_HIT/000
      6 TCP_MISS/403
      4 TCP_MISS/204

 

posted @ 2019-04-15 12:44  NHZ-M  阅读(323)  评论(3编辑  收藏  举报