Skip to content

Instantly share code, notes, and snippets.

View brunoakamere's full-sized avatar
🏠
Working from home

Bruno Axel Kamere brunoakamere

🏠
Working from home
View GitHub Profile
@latuminggi
latuminggi / Disable ICMP Timestamp Response Ubuntu LTS
Created July 27, 2021 09:54
Disable ICMP Timestamp Response Ubuntu LTS
### Disable ICMP Timestamp Response Ubuntu LTS ###
# sysctl disable tcp_timestamps
echo 0 > /proc/sys/net/ipv4/tcp_timestamps && \
echo "net.ipv4.tcp_timestamps = 0" > /etc/sysctl.d/tcp_timestamps.conf && \
sysctl -p && \
sysctl -a | grep "net\.ipv4\.tcp_timestamps"
# open icmp to specified segment
iptables -A INPUT -s 10.10.0.0/16 -p icmp -m icmp --icmp-type 8 -j ACCEPT
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active April 23, 2025 14:10
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096