Denyssh
:skull: Blocks SSH brute force attacks using PF. Unmaintained.
Install / Use
/learn @rgrove/DenysshREADME
h1. DenySSH
DenySSH monitors the auth log of a BSD system for failed SSH login attempts and adds repeat attackers to a Packet Filter table, allowing you to define PF rules to block the attacking hosts or redirect them to a honeypot for your amusement.
Attackers are only blocked temporarily to minimize the inconvenience if a false positive occurs. Each consecutive failed login attempt results in the attacking host being blocked for a longer time period. If a successful login occurs, that host's record is wiped clean and it is given a little more leeway.
DenySSH is written in Ruby and has been tested on FreeBSD (but should work on any BSD with PF support).
h2. Requirements
- Ruby 1.8.4+
- Packet Filter
If you’re running a recent version of OpenBSD, FreeBSD, NetBSD, or DragonFlyBSD, you probably already have PF installed. If you’re running Linux, you’re out of luck. Sorry.
Note: DenySSH is no longer actively maintained. Feel free to use it and modify it to meet your needs, but please don't expect support.
There's a similar project (named "deny-ssh") with Linux support here: "https://github.com/qrux/deny-ssh":https://github.com/qrux/deny-ssh
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
