Skip to content

horgh/sshrecordips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Tail SSH logs and record IPs of accepted logins

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages