본문 바로가기

728x90

전체 글

일반적으로 권장되는 웹 서버의 SSL 프로토콜과 암호화 알고리즘(Cipher Suite) 설정 일반적으로 권장되는 웹 서버의 SSL 프로토콜과 암호화 알고리즘(Cipher Suite) 설정 웹 서버의 SSL 프로토콜과 암호화 알고리즘(Cipher Suite) 설정은 보안을 강화하고 보안 취약점을 방지하기 위해 중요합니다. 하지만 권장 값은 시간이 지남에 따라 변경될 수 있으며, 보안 관련 업데이트와 취약점을 감지하고 개선하기 위해 지속적인 모니터링이 필요합니다. 일반적으로 권장되는 SSL 프로토콜 및 Cipher Suite 설정입니다. 최신 보안 지침을 따르기 위해 웹 서버를 설정할 때는 최신 정보를 확인하고 적용하는 것이 좋습니다. 참고 - SSL주요 웹 브라우저(Chrome, IE, Edge 등)에서 2020년부터 TLS 1.0, TLS 1.1 암호화 프로토콜 통신 지원이 중단되어 있습니다. .. 더보기
Apache(HTTP) 및 PHP 버전 정보 노출 막기 Apache(HTTP) 및 PHP 버전 정보 노출 막기 HTTP 헤더에서 Apache 및 PHP 버전 확인 curl -I http://localhost $ curl -I localhost HTTP/1.1 302 Found Date: Fri, 28 Jan 2022 01:57:45 GMT Server: Apache/2.4.46 (Unix) OpenSSL/1.1.1k PHP/7.3.25 Location: http://www.sangchul.kr/404.html Content-Type: text/html; charset=iso-8859-1 wget --server-response --spider http://localhost -S,--server-response : HTTP 서버에서 보낸 헤더와 FTP 서버에서.. 더보기
[linux] rpcgen install for centos 8 rpcgen install for centos 8 CentOS-PowerTools.repo create file $ vim /etc/yum.repos.d/CentOS-PowerTools.repo # CentOS-PowerTools.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other m.. 더보기
screen 명령어 screen 명령어 Summary : A screen manager that supports multiple logins on one terminal screen 설치 yum install -y screen screen 세션 시작 세션 생성 screen -S [session name] screen -S sangchul $ screen -S sangchul [detached from 4008445.sangchul] 세션 나기기 Ctrl + a, d 세션 리스트 확인 screen -ls $ screen -ls There are screens on: 4008445.sangchul(Detached) 4008392.sangchu(Detached) 2 Sockets in /var/run/screen/S-root. .. 더보기
nmap 명령어 nmap 명령어 Nmap은 네트워크 스캐닝 및 서비스 탐지 도구로서, 시스템 및 네트워크 보안 테스트 및 관리에 매우 유용한 도구 중 하나입니다. Nmap은 다양한 운영 체제에서 작동하며, 네트워크에서 호스트 및 서비스 정보를 수집할 수 있습니다. nmap 설치 centos yum install -y nmap ubuntu apt install -y nmap nmap 버전 $ nmap -V Nmap version 6.40 ( http://nmap.org ) Platform: x86_64-redhat-linux-gnu Compiled with: nmap-liblua-5.2.2 openssl-1.0.2k libpcre-8.32 libpcap-1.5.3 nmap-libdnet-1.12 ipv6 Compiled .. 더보기
nc 명령어 nc 명령어 nc 패키지 설치 yum install -y nc (또는) yum install -y nmap-ncat nc 명령어로 포트 확인하기(오픈) nc -z -v [hostname/IP address] [port number] 접속 성공(TCP 53 포트) nc -zvw10 8.8.8.8 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 $ nc -zvw10 8.8.8.8 -u 53 Ncat: Vers.. 더보기
curl 명령어로 웹사이트 로딩 속도를 테스트하는 방법 curl 명령어로 웹사이트 로딩 속도를 테스트하는 방법 curl 버전 정보 $ curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets http code 출력 curl -s -o /dev/nul.. 더보기
리눅스에서 LVM으로 구성된 ROOT(centos-root) 파티션을 확장 LVM으로 구성된 ROOT(centos-root) 파티션을 확장 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ df -Th | egrep -v tmpfs Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/centos-root xfs 8.0G 1.6G 6.5G 19% / /dev/sda1 xfs 1014M 167M 848M 17% /boot 물리적 디스크 증설 - 10GB DISK 증설 추가된 DISK(sdb 디스크) lsblk $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 10G 0 disk ├─sda1 8:1.. 더보기

728x90