Posts

IPv4 regexp improvements

I saw quite nice post and answer on StackOverflow about an IPv4 address regexp. This made me improve a little address and prefix regexps.

Regexp for an IPv4 address with a prefix (CIDR notation)

New regexp for future use - an IPv4 address with a prefix (CIDR notation)

Make TMUX display colors

 How to make TMUX display colors? In

MTU for IPv6 traffic sent over tunnel

 Yesterday I discovered that due to default LAN IPv6 interface MTU (1500 bytes) being greater than IPv6 uplink interface (tunnel) MTU (1420 bytes) and misconfiguration(?) on remote sites some connections didn't work properly.

IPv4 address regexp

I've got tired of googling IPv4 regexp. So I've decided to take a moment and pracitice my regexp writing skills. After a few iterations I came up with complex and simplified regular expressions matching IPv4 address.

Learning how to use nftables and move from iptables to nftables

Recently I've decided to configure firewall (from scratch) on my new Raspberry Pi 4B running Raspberry Pi OS (previously called Raspbian, Debian Buster based, 64-bit beta in my case). On Debian based systems I used to use netfilter-persistent (along with iptables-persistent), so I went the same way this time.