eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

217
active users

#pf

0 posts0 participants0 posts today

After 20 years of using #pf on #BSD and only dabbling in iptables when I absolutely had to in #Linux, nftables looks like an unreadable, incomprehensible shitshow; A crayon scrawl by a toddler of weird nat and mangle chains that make no sense.

The Linux developers would have been much better off porting pf to Linux.

✨ Polêmica na Política: Agente da PF Ataca Moraes!
📝 Um agente da Polícia Federal gerou agitação no governo com críticas contundentes ao ministro Alexandre de Moraes. As declarações acenderam debates sobre a atuação da PF e o papel da Justiça no Brasil. Quer entender o que está por trás dessa controvérsia? Clique aqui e fique por dentro!
.
.
.#Política #Justiça #PF
inkdesign.com.br/agente-da-pf-

INK|DESIGN NEWS · Agente da PF critica Moraes e gera reação no governoBy Tiago F Santiago

For Upcoming PF Tutorials, We Welcome Your Questions
nxdomain.no/~peter/pf_tutorial

"A good tutorial should sound to passersby much like an intense but amicable discussion between colleagues"

#EuroBSDCon #OpenBSD #PF #tutorial, #packetfilter #Ottawa #BookofPF #BSDCan #conferences #networking #security

(Now with actual EuroBSDcon submissions deadline)

nxdomain.noFor Upcoming PF Tutorials, We Welcome Your Questions

"I have yet to meet an admin who plausibly claims to never have been tripped up by their overload rules at some point."

More, and a walk down memory lane, in "The Hail Mary Cloud And The Lessons Learned" nxdomain.no/~peter/hailmary_le
#ssh #passwords #bruteforce #passwordgroping #cybercrime #openbsd #pf #packetfilter #security #guessablepasswords #hailmary #hailmarycloud

nxdomain.noThe Hail Mary Cloud And The Lessons Learned
Comparing firewall syntax for SSH (port 22) with default-deny:
================================================

#iptables (Linux)
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -P INPUT DROP

#nftables (Linux)
nft add rule inet my_filter input tcp dport 22 accept
nft add rule inet my_filter input drop

#ufw (Linux - simplified frontend to iptables)
ufw allow 22/tcp
ufw default deny incoming

#pf (OpenBSD)
pass in proto tcp to port 22
block all

pf’s syntax feels so elegant, human-readable, & minimal!

After 20years scripting iptables, I’m ready to try UFW on my laptop.
#firewall #sysadmin #pf #iptables #ufw #nftables

What do the clever OpenBSD firewall folks use to put up a reasonable defence against known bad actors?

I have an SSH bastion host that gest spammed with connection attempts (it only accepts key authentication but even so...) as well as web server for my blog that gets requests for dot files, PHP, cpanel, etc...

On both I'm currently running a shell script that greps the logs for keywords and feeds those IP's into a temporary blocklist but I'm sure there must be a better way, plus some way to feed in a reputable source of bad IP's before they become a problem would be nice.

Finally run debian12 with gui thanks to vm-bhyve on freebsd14 after several month of tweaking and learning. Really big thank to @vermaden and his article vermaden.wordpress.com/2023/08 ❤️

But one thing I still dont get it. I have a problem with resolving a DNS on the VM. IP addreses works well but domain names like google.com not at all. I solved it by adding "nameserver 8.8.8.8" in /etc/resolv.conf in VM, but I am not sure if I solve it well and dont understabd why I have to solve it anyway, I do not remeber that I would have to set it.
I se vm-bhyve with host wifi wlan interface so I had to set NAT in PF, in article it is a section laptop wifi nat. Is it normal to set resolv.conf file in VM?

𝚟𝚎𝚛𝚖𝚊𝚍𝚎𝚗 · FreeBSD Bhyve VirtualizationThe Bhyve FreeBSD hypervisor (called/spelled ‘beehive’ usually) was created almost 10 years ago. Right now it offers speed and features that other similar solutions provide – such…

Es geht weiter in meiner Artikelreihe: #FreeBSD als Server. Alle bisherigen Artikel wurden nochmal an einer frischen Installation durchgespielt und hier und da kleinere Anpassungen vorgenommen. Netzwerk Einstellungen und #pf Firewall hinzugefügt.

bsdbox.de/blog/2024-12-01-free

Mit Teil 4 kommt dann offiziell Bastille dazu. Bleibt dran.

bsdbox.deArtikelreihe: FreeBSD als Server. Teil 3 | BSDbox.Dieser Server dient uns als eine Informations- bzw. Austauschs-Plattform für alle Menschen, die sich konstruktiv und kreativ mit den Themen FreeBSD, LINUX, IT-Sicherheit und allgemeinen Netzwerkthemen befassen und austauschen möchten.