2603.3 - Slowing down connections

This commit is contained in:
2026-03-11 20:48:49 -04:00
parent ee77eb23c8
commit b00c8d736c
3 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
"""portspoof_py — asyncio Python rewrite of the portspoof TCP honeypot."""
__version__ = '2603.2'
__version__ = '2603.3'

View File

@@ -59,10 +59,10 @@ async def _handle(
)
try:
await asyncio.sleep(random.uniform(_DELAY_MIN, _DELAY_MAX))
if banner:
writer.write(banner)
await writer.drain()
await asyncio.sleep(random.uniform(_DELAY_MIN, _DELAY_MAX))
except (ConnectionResetError, BrokenPipeError):
pass
finally:

View File

@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
[project]
name = "portspoof-py"
version = "2603.2"
version = "2603.3"
description = "Python asyncio rewrite of the portspoof TCP honeypot"
readme = "README.md"
requires-python = ">=3.11"