Код: Выделить всё
# uname -a
FreeBSD gate 9.1-RC1 FreeBSD 9.1-RC1 #1 r240390: Wed Sep 12 23:22:28 MSD 2012 pr0l@gate:/usr/obj/usr/src/sys/GEN i386Код: Выделить всё
# cat /etc/pf.conf
ext_if="rl0"
localhost="127.0.0.1"
table <goodguys> { 192.168.1.0/24 }
set skip on lo0
#inet
nat on $ext_if from <goodguys> to any -> ($ext_if)
pass on $ext_if inet proto gre from any to any
pass in all
pass out allсяпятся
Код: Выделить всё
pf: state key linking mismatch! dir=OUT, if=rl0, stored af=2, a0: 192.168.1.201:1184, a1: 87.106.211.200:5938, proto=6, found af=2, a0: 87.106.211.200:5938, a1: 192.168.0.10:53376, proto=6.
pf: state key linking mismatch! dir=OUT, if=rl1, stored af=2, a0: 87.106.211.200:5938, a1: 192.168.0.10:53376, proto=6, found af=2, a0: 192.168.1.201:1184, a1: 87.106.211.200:5938, proto=6.
pf: state key linking mismatch! dir=OUT, if=rl0, stored af=2, a0: 192.168.1.201:1184, a1: 87.106.211.200:5938, proto=6, found af=2, a0: 87.106.211.200:5938, a1: 192.168.0.10:53376, proto=6.
pf: state key linking mismatch! dir=OUT, if=rl0, stored af=2, a0: 192.168.1.201:1184, a1: 87.106.211.200:5938, proto=6, found af=2, a0: 87.106.211.200:5938, a1: 192.168.0.10:53376, proto=6.
pf: state key linking mismatch! dir=OUT, if=rl1, stored af=2, a0: 87.106.211.200:5938, a1: 192.168.0.10:53376, proto=6, found af=2, a0: 192.168.1.201:1184, a1: 87.106.211.200:5938, proto=6.
pf: state key linking mismatch! dir=OUT, if=rl0, stored af=2, a0: 192.168.1.201:1184, a1: 87.106.211.200:5938, proto=6, found af=2, a0: 87.106.211.200:5938, a1: 192.168.0.10:53376, proto=6.Код: Выделить всё
/usr/src/sys/contrib/pf/net/pf.c:
/* mismatch. must not happen. */
printf("pf: state key linking mismatch! dir=%s, "
"if=%s, stored af=%u, a0: ",
dir == PF_OUT ? "OUT" : "IN", kif->pfik_name, a->af);http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/163208JF>> Причём если на хрен закомментить мусор - всё работает нормально,но
JF>> без него - СТРАШHО тормозит ибо дёргает debug в консоль чуть ли не на каждый обработанный пакет.
