Hello,

We're trying to use the :peer modifier to minimize the number of macros
in our pf configuration files.

For some reason we can't get it to work:

# cat /etc/pf.conf
set skip on lo

block log

pass in quick on fxp0 inet proto tcp from fxp0:peer to fxp0 port ssh

# pfctl -n -f /etc/pf.conf
no IP address found for fxp0:peer
/etc/pf.conf:5: could not parse host specification

# ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:a0:c9:5c:a6:72
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.1.1 netmask 0xfffffffc broadcast 192.168.1.3
        inet6 fe80::2a0:c9ff:fe5c:a672%fxp0 prefixlen 64 scopeid 0x2

We're testing with OpenBSD 4.2 (Release).

Kind regards,

-- 
Egbert Krook
System/Network Engineer
Amarin Printing and Publishing Public Co., Ltd.

Reply via email to