# Operation System/Linux2019. 1. 18. 08:53geoip 유료화

geoIP 유료화 됨 ㅜㅜhttps://www.maxmind.com/en/geoip2-country-database

crontab을 이용한 geoip 자동업데이트 스크립트
# Operation System/Linux2015. 8. 16. 05:36crontab을 이용한 geoip 자동업데이트 스크립트

## /bin/runbuildgeodb rm -r /usr/share/xt_geoip mkdir /usr/share/xt_geoip cd /usr/share/xt_geoip xt_geoip_dl xt_geoip_build *.csv ## /etc/crontab 0 6 * * 6 root runbuildgeodb &> /dev/null 출처 : http://www.fyzix.net/index.php?title=Geolocate_Iptables_logs_by_country

# Operation System/Linux2015. 8. 16. 05:33geoip설치

#설치환경 - CentOS 6.2 x64bit - xtables-addons는 CentOS 5.x에서는 지원이 안되었으나 CentOS 6.0부터 지원됩니다. 5.x에서는 여러가지 설정을 해야지만 가능하다네요 - iptables : 1.4.7 - kernel : 2.6.32-220.2.1.el6.x86_64 1. 기본 설정 selinux를 disabled 로 설정 [root@localhost ~]# vi /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enf..

image