Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP형식을 체크하는 기능이 필요합니다! #1

Open
JimJeon opened this issue Jul 5, 2017 · 1 comment
Open

IP형식을 체크하는 기능이 필요합니다! #1

JimJeon opened this issue Jul 5, 2017 · 1 comment

Comments

@JimJeon
Copy link
Member

JimJeon commented Jul 5, 2017

  • /etc/hosts.deny $ip
  • /etc/hosts.allow $ip
  • /usr/bin/whois $ip
  • /sbin/iptables -D $ip

4가지 명령어가 현재 IP를 입력 받아 시스템 파일에 해당 IP를 추가합니다. 현재는 굳이 IP가 아닌 모든 텍스트를 추가하고 있어 시스템 적인 개선이 필요합니다.

@minhoryang
Copy link
Member

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants