Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Cybersecurity Blue Team
  3. Endlessh

Endlessh

UnlicenseC1.0

An SSH tarpit that slowly sends an endless banner to trap and waste attackers' time.

GitHubGitHub
8.6k stars305 forks0 contributors

What is Endlessh?

Endlessh is an SSH tarpit that slowly sends an endless, random SSH banner to trap and waste the time of attackers attempting to brute-force SSH servers. It operates before cryptographic exchange occurs, keeping malicious clients connected indefinitely while protecting real SSH services. The tool is designed as a lightweight, single-threaded C program that can be deployed alongside production servers.

Target Audience

System administrators and security professionals looking to protect SSH servers from brute-force attacks and automated scanning tools. It's particularly useful for those managing internet-exposed servers who want to add an additional layer of defense.

Value Proposition

Endlessh provides a unique, resource-efficient approach to SSH security by wasting attackers' time without consuming significant system resources. Unlike traditional intrusion detection systems, it requires no cryptographic libraries and operates with minimal overhead while effectively neutralizing automated attacks.

Overview

SSH tarpit that slowly sends an endless banner

Use Cases

Best For

  • Protecting SSH servers from brute-force attacks
  • Trapping automated SSH scanning tools and bots
  • Reducing noise in server logs from failed login attempts
  • Adding a lightweight security layer to internet-exposed servers
  • Wasting resources of malicious actors with minimal system overhead
  • Deploying as a honeypot to study attack patterns

Not Ideal For

  • Deployments requiring immediate, authenticated SSH access for legitimate users
  • Systems needing active threat blocking or integration with intrusion prevention systems (IPS)
  • Environments where comprehensive, real-time logging and alerting for all attack attempts is mandatory

Pros & Cons

Pros

Minimalist Efficiency

Uses a single-threaded C program with poll() to handle multiple clients efficiently, keeping system overhead low as described in the README's design philosophy.

Zero Cryptographic Dependencies

Operates before SSH cryptographic exchange, eliminating the need for cryptographic libraries and reducing complexity, as highlighted in the key features.

Flexible Configuration

Allows tuning of delay, line length, client limits, and logging via command-line or config file, with examples provided in the README for adaptability.

Graceful Signal Handling

Supports signals like SIGTERM for clean shutdown, SIGHUP for config reload, and SIGUSR1 for connection stats, ensuring easy management as detailed in the usage section.

Cons

Complex Build on Niche Systems

The README admits that systems like RHEL 6, Solaris, and OpenBSD require extra linker flags or patches, complicating deployment and maintenance.

Passive Defense Only

Merely traps attackers without blocking, alerting, or integrating with other security tools, leaving systems vulnerable to persistent or multi-vector threats.

Scalability Constraints

Single-threaded design with a configurable MaxClients limit (default 4096) may bottleneck under extreme connection floods, despite using poll() for efficiency.

Frequently Asked Questions

Quick Stats

Stars8,564
Forks305
Contributors0
Open Issues26
Last commit2 years ago
CreatedSince 2019

Tags

#honeypot#server-hardening#c-program#system-administration#intrusion-detection#security-tool#network-security

Built With

S
Syslog
C
C++

Included in

Honeypots10.2kCybersecurity Blue Team5.2k
Auto-fetched 1 day ago

Related Projects

T-PotT-Pot

🍯 T-Pot - The All In One Multi Honeypot Platform 🐝

Stars9,625
Forks1,403
Last commit1 day ago
CowrieCowrie

Cowrie SSH/Telnet Honeypot https://docs.cowrie.org/

Stars6,615
Forks1,082
Last commit3 days ago
AndroguardAndroguard

Reverse engineering and pentesting for Android applications

Stars6,369
Forks1,172
Last commit1 day ago
OpenCanaryOpenCanary

Modular and decentralised honeypot

Stars3,064
Forks415
Last commit17 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub