jvinet/knock
소개
포트 노킹 데몬
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalknock: A port-knocking implementation
Copyright (c) 2004, Judd Vinet [email protected]
ABOUT
This is a port-knocking server/client. Port-knocking is a method where a server can sniff one of its interfaces for a special "knock" sequence of port-hits. When detected, it will run a specified event bound to that port knock sequence. These port-hits need not be on open ports, since we use libpcap to sniff the raw interface traffic.
BUILDING
To build knockd, make sure you have libpcap and the autoconf tools installed. Then run the following:
$ autoreconf -fi
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
EXAMPLE
The example below could be used to run a strict (DENY policy) firewall that can only be accessed after a successful knock sequence.
- Client sends four TCP SYN packets to Server, at the following ports: 38281, 29374, 4921, 54918
- Server detects this and runs an iptables command to open port 22 to Client.
- Client connects to Server via SSH and does whatever it needs to do.
- Client sends four more TCP SYN packets to Server: 37281, 8529, 40127, 10100
- Server detects this and runs another iptables command to close port 22 to Client.
KNOCKING CLIENTS
The accompanying knock client is very basic. If you want to do more advanced knocks (eg, setting specific tcp flags) then you should take look at more powerful clients.
OTHER IMPLEMENTATIONS
Here are some other implementations of port-knocking:
관련 프로젝트 살펴보기
불러오는 중…