head -n 2 /dev/urandom | uuencode -m -
Read more...
Yet another networking blog


mkdir -p demoCA/private
echo 01 > demoCA/serial
echo 01 > demoCA/crlnumber
openssl pkcs12 -nocerts -in My_Macbook_CA.p12 -out demoCA/private/cakey.pem
-----BEGIN RSA PRIVATE KEY-----
openssl ca -gencrl -out crl.pem -cert exported_cert.pem
| PHB Value | ToS Byte | String | DSCP Value |
| CS0 | 0 | Routine | 0 |
| CS1 | 32 | PRIORITY | 8 |
| AF11 | 40 | 10 | |
| AF12 | 48 | 12 | |
| AF13 | 56 | 14 | |
| CS2 | 64 | IMMEDIATE | 16 |
| AF21 | 72 | 18 | |
| AF22 | 80 | 20 | |
| AF23 | 88 | 22 | |
| CS3 | 96 | FLASH | 24 |
| AF31 | 104 | 26 | |
| AF32 | 112 | 28 | |
| AF33 | 120 | 30 | |
| CS4 | 128 | FLASHOVERRIDE | 32 |
| AF41 | 136 | 34 | |
| AF42 | 144 | 36 | |
| AF43 | 152 | 38 | |
| CS5 | 160 | CRITICAL | 40 |
| EF | 184 | 46 | |
| CS6 | 192 | INTERNETWORK CONTROL | 48 |
| CS7 | 224 | NETWORK CONTROL | 56 |
There are loads of cheap USB serial adapters around, the difficulty can be working out what chipset they use.
Example output for this prolific one, drivers available from the manufacturor for OSX.[ 6786.920018] usb 2-1: new full speed USB device using ohci_hcd and address 5
[ 6787.146546] usb 2-1: configuration #1 chosen from 1 choice
[ 6787.204328] usbcore: registered new interface driver usbserial
[ 6787.204346] USB Serial support registered for generic
[ 6787.204414] usbcore: registered new interface driver usbserial_generic
[ 6787.204417] usbserial: USB Serial Driver core
[ 6787.211673] USB Serial support registered for pl2303
[ 6787.211740] pl2303 2-1:1.0: pl2303 converter detected
[ 6787.243536] usb 2-1: pl2303 converter now attached to ttyUSB0
[ 6787.243559] usbcore: registered new interface driver pl2303
[ 6787.243562] pl2303: Prolific PL2303 USB to serial adaptor driver

[ 6922.152793] USB Serial support registered for FTDI USB Serial Device
[ 6922.152913] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[ 6922.152944] usb 2-1: Detected FT232BM
[ 6922.152947] usb 2-1: Number of endpoints 2
[ 6922.152949] usb 2-1: Endpoint 1 MaxPacketSize 64
[ 6922.152952] usb 2-1: Endpoint 2 MaxPacketSize 64
[ 6922.152955] usb 2-1: Setting MaxPacketSize 64
[ 6922.154724] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 6922.154752] usbcore: registered new interface driver ftdi_sio
[ 6922.154755] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
FTDIUSBSerialDriver: 0 4036001 start - ok
echo "show run" > /dev/tty.USBSERIAL && cat /dev/tty.USBSERIAL
Matts-Macbook:~ matt$ ls /dev/tty.*
/dev/tty.Bluetooth-Modem
/dev/tty.Bluetooth-PDA-Sync
/dev/tty.usbserial-FTCC130A
screen /dev/tty.USBSERIAL