/1m-block

[과제] HTTP Request Packet의 Host(URL)를 효율적인 알고리즘으로 검사하여 차단

Primary LanguageC++

1m-block

Requirement

Ubuntu

sudo apt install libpcap-dev libnetfilter-queue-dev

Usage

cmake .
make
./1m-block <host.txt>
  • You must run as root.
  • The program was tested on 5.4.0-42-generic #46-Ubuntu.

host.txt

  • URL to forbid accessing. (only apply to http packet)