All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Analyzing SSH Protocol Inefficiency: Why Single Keystrokes Generate Excessive Network Packets

By

eieio

4mo ago· 10 min readenInsight

Summary

The article examines SSH protocol inefficiencies, specifically how a single keystroke in an SSH session generates an excessive number of packets (around 100 packets per keystroke). The author analyzes packet capture data showing the back-and-forth communication between client and server for just one keystroke, revealing protocol overhead and latency issues. The article appears to be a technical deep dive into SSH protocol mechanics, likely discussing how the author optimized their game by forking Go's crypto library to address these performance issues.

Key quotes

· 3 pulled
Here are a few lines of summarized tcpdump output for an ssh session where I send a single keystroke
I said a 'few' because there are a lot of these lines
I made my next game twice as fast by forking go's crypto library
Snippet from the RSS feed
I made my next game twice as fast by forking go's crypto library

You might also wanna read