목록2020/12/15 (3)
변군이글루

nc 명령어 nc 패키지 설치 yum install -y nc $ yum install -y nc nc 포트 오픈 확인 nc -z -v [hostname/IP address] [port number] ###접속 성공(TCP 53 포트) $ nc -zvw10 8.8.8.8 53 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 8.8.8.8:53. Ncat: 0 bytes sent, 0 bytes received in 0.05 seconds. ###접속 성공(UDP 53 포트) $ nc -zvw10 8.8.8.8 -u 53 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 8.8..

아파치 액세스 로그 설정 아파치 설정(httpd.conf) 편집 - vcombined 추가 $ vim /usr/local/apache2/conf/httpd.conf ... # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t %v:%p \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %Ts %Dμs" vcombined LogFormat "%..

apache 다운로드 대역폭 속도 제한 httpd.conf 편집(mod_ratelimit 모듈 활성화) $ vim /usr/local/apache2/conf/httpd.conf ... #LoadModule data_module modules/mod_data.so LoadModule ratelimit_module modules/mod_ratelimit.so LoadModule reqtimeout_module modules/mod_reqtimeout.so #LoadModule ext_filter_module modules/mod_ext_filter.so ... configuration 편집 $ vim /usr/local/apache2/conf/extra/httpd-vhosts.conf ... ServerAd..