Skip to content

Instantly share code, notes, and snippets.

View rlaager's full-sized avatar

Richard Laager rlaager

View GitHub Profile
@rlaager
rlaager / ipsec2wireshark.py
Last active June 3, 2021 05:00 — forked from rectalogic/ipsec2wireshark.py
Parse spis and keys from "ip xfrm state" output and generate a Wireshark ESP decryption config that can decrypt an ESP capture.
Moved to https://github.com/rlaager/ipsec2wireshark
@rlaager
rlaager / bgpd.conf
Last active November 17, 2023 21:28 — forked from dotysan/spamhaus2quagga.sh
This fork does BGP announcements in a manner intended to be compatible with SpamHaus's BGPf BGP feed. The router you're connecting to should set the next-hop to a null-routed IP (e.g. 192.0.2.1).
hostname HOSTNAME
log syslog
router bgp 65190
bgp router-id IP
neighbor ROUTER remote-as AS
neighbor ROUTER password PASSWORD
neighbor ROUTER ebgp-multihop 255
neighbor ROUTER prefix-list deny-all in