Skip to content

Instantly share code, notes, and snippets.

@jdoupe
jdoupe / iptables-cheatsheet.md
Last active November 7, 2021 16:31 — forked from egernst/iptables-cheatsheet.md
iptables-cheatsheet

The netfilter hooks in the kernel and where they hook in the packet flow

The figure below calls out

  • The netfilter hooks
  • The order of table traversal
@jdoupe
jdoupe / how-to-generate-and-use-private-keys-with-openssl-tool.md
Created January 11, 2018 21:43 — forked from briansmith/how-to-generate-and-use-private-keys-with-openssl-tool.md
How to generate & use private keys using the OpenSSL command line tool

How to Generate & Use Private Keys using OpenSSL's Command Line Tool

These commands generate and use private keys in unencrypted binary (not Base64 “PEM”) PKCS#8 format. The PKCS#8 format is used here because it is the most interoperable format when dealing with software that isn't based on OpenSSL.

OpenSSL has a variety of commands that can be used to operate on private key files, some of which are specific to RSA (e.g. openssl rsa and openssl genrsa) or which have other limitations. Here we always use

@jdoupe
jdoupe / keybase.md
Created September 29, 2016 14:43
Keybase

Keybase proof

I hereby claim:

  • I am jdoupe on github.
  • I am jdoupe (https://keybase.io/jdoupe) on keybase.
  • I have a public key whose fingerprint is 5F5F 5E80 99CF 5026 67B1 D829 F5EF C734 8381 4222

To claim this, I am signing this object: