summaryrefslogtreecommitdiff
path: root/posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php
diff options
context:
space:
mode:
Diffstat (limited to 'posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php')
-rw-r--r--posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php b/posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php
index 1bce63d..9a58b6c 100644
--- a/posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php
+++ b/posts/2021-11-28-write-your-own-ssh-tarpit-in-rust-with-async-std.php
@@ -1,10 +1,5 @@
-<?php
-$title = "Write Your Own SSH Tarpit in Rust with async-std";
-if (!empty($early)) {
- return;
-}
-include($_SERVER['DOCUMENT_ROOT'] . '/includes/head.php');
-?>
+<h1>Write Your Own SSH Tarpit in Rust with async-std</h1>
+
<p class="description">
A software tarpit is simple and fun. Long story short, it's sort of a reverse denial-of-service attack. It usually works by inserting an intentional, arbitrary delay in responding to malicious clients, thus "wasting their time and resources." I recently learned about <a href="https://github.com/skeeto/endlessh"><code>endlessh</code></a>, an SSH tarpit. I decided it would be a fun exercise to use Rust's <code>async-std</code> library to write an SSH tarpit of my own, with my own personal <em>flair</em>. If you want to learn more about <code>endlessh</code> or SSH tarpits I highly recommend reading <a href="https://nullprogram.com/blog/2019/03/22/">this blog post</a> by the <code>endlessh</code> author.