Tech

You are here:-Tech

OpenSSH 8.3p1 update with OpenSSL 1.1.1g on CentOS 7

What's new? OpenSSL 1.1.1g & OpenSSH 8.3p1 https://www.openssl.org/blog/blog/2018/09/11/release111/ https://www.openssh.com/releasenotes.html   1. remove openssl yum remove openssl -y 2. compiler yum group install 'Development Tools' yum install perl-core zlib-devel -y 3. openssl download cd /usr/local/src wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz gzip -d openssl-1.1.1g.tar.gz tar -xvf openssl-1.1.1g.tar.gz 4. openssl compile cd openssl-1.1.1g ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib make make test

By |2024-02-24T11:17:26+09:008월 14th, 2020|Categories: Tech|OpenSSH 8.3p1 update with OpenSSL 1.1.1g on CentOS 7 댓글 닫힘

CentOS 의 yum command lock 현상

CentOS 시스템 운영 상의 문제로 /var/run/yum.pid 파일이 있는 상태에서 yum 이 강제 종료되면 이후 모든 yum 명령이 영구적으로 lock 상태로 남아있게 됩니다. 1. /var/run/yum.pid 파일이 남아있는 상태   2. yum 프로세스가 강제로 종료된 상태   3. 문제점 이런 상태에서 yum 명령이 실행되면 lock 상태로 계속 남아있어 실행되지 않으며, 반복 실행 시 프로세스가 누적되어 시스템 자원을

By |2024-02-24T11:17:26+09:008월 5th, 2020|Categories: Tech|CentOS 의 yum command lock 현상 댓글 닫힘

NTP 설정

모든 로깅 시스템에서 가장 중요한 것은 시간 동기화입니다. 1. NTP 동기화를 설정하기 CentOS 7 yum -y install ntpdate ntpdate time.google.com systemctl enable ntpdate timedatectl CentOS 8 dnf -y install chrony   vi /etc/chrony.conf #pool 2.centos.pool.ntp.org iburst pool time.google.com iburst   systemctl enable --now chronyd chronyc sources dnf -y install ntpstat ntpstat timedatectl   chronyd -q

By |2021-08-25T11:03:20+09:006월 10th, 2020|Categories: Tech|NTP 설정 댓글 닫힘

일부 리눅스 시스템 부팅 시점에서 일시적으로 date 변경되는 현상

ntpdate 등의 시간 동기화 명령어를 사용하는 일부 리눅스 환경에서 시스템 리부팅을 할 때 부팅 시점에서 일시적으로 시스템의 시간이 변경되었다가 다시 동기화될 수 있습니다. 시간이 변경되는 시점의 Syslog 예) { "timegenerated": "2019-09-02T15:40:57.645025+09:00", "programname": "systemd", "hostname": "localhost", "syslogtag": "systemd[1]:", "pri": "30", "pri-text": "daemon.info", "syslogfacility": "3", "syslogfacility-text": "daemon", "syslogseverity": "6", "syslogseverity-text": "info", "msg": "Time has been changed" }

By |2021-06-24T16:19:04+09:0010월 16th, 2019|Categories: Tech|일부 리눅스 시스템 부팅 시점에서 일시적으로 date 변경되는 현상 댓글 닫힘

.git 디렉터리 취약점

.git 디렉터리 : Git 의 데이터를 저장하고 관리하는 디렉터리입니다. 이 디렉터리를 복사하기만 해도 저장소가 백업됩니다. 전세계에 2억3천만 개가 넘는 웹 도메인을 검색한 결과 39만 개의 웹페이지에서 .git 공개 디렉터리가 발견되었습니다. 이는 민감한 정보가 노출될 수 있는 걱정스러운 상황입니다. 많은 웹 개발자는 오픈 소스 개발 도구 Git 을 사용하여 페이지를 작성합니다. 프로젝트의 표준 정보 저장소 .git

By |2024-02-24T11:17:28+09:0010월 8th, 2019|Categories: Tech|.git 디렉터리 취약점 댓글 닫힘

How to configure “Promiscuous Mode” on CentOS/RHEL

주소값을 무시하고 모든 패킷을 받아 들이는 상태를 설정하는 명령어입니다. 주로 네트워크 감시 목적으로 사용됩니다.   1. ifconifg로 설정하는법 ifconfig [interface] promisc ifconfig [interface] -promisc   2. ip로 설정하는법 ip link set [interface] promisc on ip link set [interface] promisc off   3. Promicuous Mode 상태 확인하는 법 ifconfig [interface] | grep PROMISC   PLURA V5

By |2024-02-24T11:17:28+09:007월 17th, 2019|Categories: Tech|How to configure “Promiscuous Mode” on CentOS/RHEL 댓글 닫힘

Windows .Net Framework 버전 및 종속성

OS별 기본 .Net Framework 버전 OS Version Windows Server 2008 .NET Framework 3.0 Windows Server 2008 R2 .NET Framework 3.5.1 Windows Server 2012 .NET Framework 4.5 Windows Server 2012 R2 .NET Framework 4.5 Windows Server 2016 .NET Framework 4.6 Windows Server 2019 .NET Framework 4.7 Windows Server 2022 .NET Framework 4.8 Windows 7 .NET Framework

By |2024-02-24T11:17:28+09:007월 1st, 2019|Categories: Tech|Windows .Net Framework 버전 및 종속성 댓글 닫힘

NGINX install support tls v1.3 in CentOS 7

0. Prerequisites openssl 1.1.1 http://blog.plura.io/?p=9209 1. Install redhat-lsb-core yum install redhat-lsb-core yum -y install wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel pcre-devel 2. User add useradd builder groupadd builder 3. download wget http://nginx.org/packages/mainline/centos/7/SRPMS/nginx-1.15.8-1.el7_4.ngx.src.rpm 4. Configuration rpm -ivh nginx-1.15.8-1.el7_4.ngx.src.rpm sed -i "s|--with-http_ssl_module|--with-http_ssl_module --with-openssl=/usr/local/src/openssl-1.1.1a --with-openssl-opt=enable-tls1_3 |g" /root/rpmbuild/SPECS/nginx.spec 5. Compile rpmbuild -ba /root/rpmbuild/SPECS/nginx.spec 6. Install rpm -ivh /root/rpmbuild/RPMS/x86_64/nginx-1.15.8-1.el7_4.ngx.x86_64.rpm

By |2024-02-24T11:17:29+09:002월 5th, 2019|Categories: Tech|NGINX install support tls v1.3 in CentOS 7 댓글 닫힘