centos6x openssl 및 nginx 업데이트
# Operation System/Linux2021. 2. 15. 16:38centos6x openssl 및 nginx 업데이트

# wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/updates/x86_64/Packages/openssl-1.0.1e-58.el6_10.i686.rpm # rpm -Uvh openssl-1.0.1e-58.el6_10.i686.rpm # wget https://nginx.org/packages/centos/6/i386/RPMS/nginx-1.18.0-2.el6.ngx.i686.rpm --no-check-certificate # rpm -Uvh nginx-1.18.0-2.el6.ngx.i686.rpm

geoip 자동업데이트 스크립트
# Operation System/Linux2020. 10. 23. 14:16geoip 자동업데이트 스크립트

#!/bin/bash cd /usr/local/src/geolite2legacy rm -f *.zip rm -f *.dat wget "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=[라이센스번호]&suffix=zip" -O GeoLite2-Country-CSV.zip sleep 1 wget "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City-CSV&license_key=[라이센스번호]&suffix=zip" -O GeoLite2-City-CSV.zip sleep 1 wget "https://download.ma..

centos5 wget 업그레이드
# Operation System/Linux2020. 10. 22. 16:36centos5 wget 업그레이드

# wget -V GNU Wget 1.11.4 Red Hat modified Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Originally written by Hrvoje Niksic . Currently maintained by Micah Cowan . # wget http://ftp.gnu.org/gnu/wget/wget-1.16.1.tar.gz # tar -xv..

# Operation System/Linux2020. 10. 5. 17:06openssl command smtp(ssl) 및 imap(ssl) 접속확인

To connect using the TLS protocol on port 587, use:[darksharavim]openssl s_client -starttls smtp -connect smtp.mail.nate.com:587 smtp-ssl(465)[darksharavim]openssl s_client -connect smtp.mail.nate.com:465 imap-ssl(993)[darksharavim]openssl s_client -crlf -connect imap.nate.com:993https://stackoverflow.com/questions/14959461/how-to-talk-to-imap-server-in-shell-via-openssl How to talk to IMAP serv..

centos7 iptables geoip 설치 및 적용
# Operation System/Linux2020. 7. 8. 11:18centos7 iptables geoip 설치 및 적용

# yum -y install perl-NetAddr-IP iptables-devel perl-Text-CSV_XS kernel-devel # wget mirror.koreaidc.com/iptables/xtables-addons-2.10.tar.gz # tar xvfz xtables-addons-2.10.tar.gz # cd xtables-addons-2.10/ # vi mconfig 주석처리 #build_TARPIT=m # ./configure # make && make install cat /tmp/GeoLite2-Country-Blocks-IPv.csv | ./20_convert_geolite2 /tmp/CountryInfo.txt > GeoIP-legacy.csv # ./00_download_g..

image