Click to See Complete Forum and Search --> : FreeBSD ipfw hostname wildcard matching


Alex Cavnar, aka alc6379
11-02-2003, 02:35 AM
So, I'm trying to log my pesky little brother as he logs into a VNC server I've setup. He's using a dialup connection, so his IP address is different every time he logs in. I know that is address is always in the *.bna.bellsouth.net domain, so I'd like to write an ipfw rule that logs all activity to me from *.bna.bellsouth.net .

I've got the syntax correct, but I'm too lazy to figure out how to write a correct host address mask for *.bna.bellsouth.net, because it covers an entire Class A subnet. Does anyone know of a way I can just use a * wildcard or something to match part of a fully qualified domain name?