External Publication
Visit Post

A honeypot that binds to a large range of dummy TCP and UDP ports to frustrate network fingerprinting.

Lemmy.org - General purpose Lemmy instance. [Unofficial] May 30, 2026
Source

submitted by umutcamliyurt to cybersecurity 49 points | 10 comments

Source code and details: github.com/umutcamliyurt/PortTripper

How it works

On startup PortTripper:

  1. Scans the configured port range and builds a whitelist of ports already in use by real services (first run only).
  2. Binds TCP and UDP listeners on every port in the range that is not in the whitelist.
  3. On TCP: accepts connections, holds them open for a configurable duration, then drops them, wasting the scanner’s threads and file descriptors.
  4. On UDP: reads and discards datagrams without replying, so ports appear open|filtered to scanners rather than closed.

All real service ports are untouched because they are already bound before PortTripper starts, and the auto-generated whitelist tells PortTripper to skip them.

Discussion in the ATmosphere

Loading comments...