Re: OBSD 4.7 and Via C7 motherboards problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Geoff Steckel
Date: Sunday, August 8, 2010 - 11:24 am

I've got a C7 board running 4.7 as my firewall.
The configuration is a lot more baroque than yours...

A couple of thoughts:

Your pf.conf should only hold state on one side. Multiple conflicting
state table entries for the same connection ensure flaky failures.

I use "quick" wherever possible to eliminate hidden dependencies

"label" entries on pf.conf rules can help show unexpected paths

when testing, do before and after runs of
    netstat -ss
    pfctl -s labels
    pfctl -s state
   and diff them to check where packets are going
Also tcpdump of pflog

I.E.

pass out quick log on $ext_if from ! ($ext_if) to any nat-to \
      ($ext_if:0) label nat-rule
pass out quick log on $ext_if all label ext-out
pass out quick log on $int_if all flags any no-state label int-out

pass in quick log on $ext_if all label ext-in
pass in quick log on $int_if all flags any no-state label int-in

This should show where things go.

Geoff Steckel
curmudgeon for hire

My system:


The pf.conf is 160 lines - if anyone is interested, I'll forward it.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OBSD 4.7 and Via C7 motherboards problem, Peter Merritt, (Sun Aug 1, 1:49 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Robert, (Sun Aug 1, 4:30 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Peter Merritt, (Sun Aug 1, 6:43 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Andrew Klettke, (Mon Aug 2, 3:26 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Peter Merritt, (Mon Aug 2, 5:20 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Geoff Steckel, (Sun Aug 8, 11:24 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Henning Brauer, (Sun Aug 8, 12:28 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Geoff Steckel, (Sun Aug 8, 1:37 pm)
Re: OBSD 4.7 and Via C7 motherboards problem, Henning Brauer, (Mon Aug 9, 3:19 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Toni Mueller, (Thu Aug 12, 3:46 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Stuart Henderson, (Thu Aug 12, 5:09 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Toni Mueller, (Fri Aug 13, 3:55 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Stuart Henderson, (Sat Aug 14, 2:45 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Toni Mueller, (Mon Aug 16, 3:51 am)
Re: OBSD 4.7 and Via C7 motherboards problem, Martin Schröder, (Mon Aug 16, 4:05 am)