0.0.8 • Published 7 years ago

blockchina v0.0.8

Weekly downloads
24
License
-
Repository
-
Last release
7 years ago

blockchina.js

CentOS 7의 Firewalld에 중국발 IP를 막는 기능을 추가하는 스크립트입니다. 중국발 IP 대역이 변경될 수 있으므로, 영구적으로 저장되지 않아 서버 재시작 시 업데이트 후 다시 한번 실행해야 합니다.

firewall-cmd --zone=public --add-rich-rule="rule family='ipv4' source address='{{IP}}' drop"
firewall-cmd --reload

설치하기

npm

npm install -g blockchina

업데이트

npm update -g blockchina

실행

blockchina

GeoLite 2

blockchina.js는 GeoLite 2 Free Database를 사용합니다.

This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.

라이센스

MIT

작성자

Young Jae Sim

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago