tripwire

command module
v0.0.0-...-10cf06e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Tripwire

A nice usefull tool to create iptable-rules which logs all connections to a given port to detect ip-scanner and hacker. You can use it in combination with the ScanBanServer and Triplink to create a network to collect and block internet scanner

Install

Run

go get
go build -o tripwire

it was tested with go 1.13. If compiling doesn't work, try using go1.13

Usage

Show help
#./tripwire -h

Create a rule to log and allow all connections to port 21 and write them into /var/log/ftpListener.conf
#./tripwire add -p21 -o ftpListener -a

...Block incomming connections (instead of accepting them)
#./tripwire add -p21 -o ftpListener

...Specifies the loglevel
#./tripwire add -p21 -o ftpListener -l5

Delete log and iptable rules for port 21
#./tripwire delete -p21 -o ftpListener

List all tripwire configurations
#./tripwire list

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址