Bookmarks, 02019-03

Last month’s bookmarks from pinboard.in:

  • How I’m able to take notes in mathematics lectures using LaTeX and Vim | Gilles Castel Uses context-aware snippets (and per-course special snippets).

  • Endlessh: an SSH Tarpit « null program “This program opens a socket and pretends to be an SSH server. However, it actually just ties up SSH clients with false promises indefinitely — or at least until the client eventually gives up. After cloning the repository, here’s how you can try it out for yourself (default port 2222):

      $ make
      $ ./endlessh &
      $ ssh -p2222 localhost
    

    Your SSH client will hang there and wait for at least several days before finally giving up. Like a mammoth in the La Brea Tar Pits, it got itself stuck and can’t get itself out. As I write, my Internet-facing SSH tarpit currently has 27 clients trapped in it. A few of these have been connected for weeks. In one particular spike it had 1,378 clients trapped at once, lasting about 20 hours.”