sshrecordips

command module
v0.0.0-...-cbc9e2e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

README

Summary

Purpose of this program: I firewall off several ports where only whitelisted IPs may access them. I want to automatically permit IPs that login via SSH.

This program tails the ssh auth log and records IPs as they log in. A separate program (iptables-manage) ingests these IPs and updates the firewall.

It runs as a daemon and tails a log, typically /var/log/auth.log.

Documentation

Overview

Package main

Purpose of this program: I firewall off several ports where only whitelisted IPs may access them. I want to automatically permit IPs that login via SSH.

This program tails the ssh auth log and records IPs as they log in. A separate program (iptables-manage) ingests these IPs and updates the firewall.

Jump to

Keyboard shortcuts

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