Summary: | [pf] [panic] PF route-to causes kernel panic | ||
---|---|---|---|
Product: | Base System | Reporter: | Slava <slava> |
Component: | kern | Assignee: | freebsd-pf (Nobody) <pf> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | cmb, kp |
Priority: | Normal | ||
Version: | 8.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Slava
2010-02-04 10:00:02 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-pf Over to maintainer(s). I have the similar problem but in a bit different situation... the rule is: pass out quick route-to (vlan2 192.168.0.1) from 192.168.0.2 to any where 192.168.0.2 is binded to the vlan2 interface. The default gateway is 192.168.1.1 and is accessible through another interface. The "ping -S 192.168.0.2 192.168.0.1" command is used for test purposes, and (sic!) the 192.168.0.1 is unreachable (really down...). Without that rule we have: PING 192.168.0.1 (192.168.0.1) from 192.168.0.2: 56 data bytes <some timeout there> ping: sendto: Host is down <this message is repeated until Ctrl-C is pressed> With the rule we obtain the kernel panic (in "ping" process) instead of the "ping: sendto: Host is down" message after the same timeout as in the case without rule. I'm now using ipfw setfib command as workaround, PF as NAT + ipfw works fine for me. --=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC, =C1=E5=EB=EE=E3=F3=F0=EE=E2 =D1=E2=FF=F2=EE=F1=EB=E0=E2 8 (81555) 7-40-99 =D0=E5=EB=E0=ED=F2, http://www.relant.ru mailto:slava@aprec.ru Hmm... Im my case "ipfw fwd" command doesn't work too - it forwards locally generated packets using the routing table (???)... but yes, it has some effect - it changes the interface where the packets are originated. PF's "route-to" command works fine, but only if the destination host is reachable... The examples provided here definitely work fine on all currently supported FreeBSD versions. This is safe to close unless there's some unusual edge case not detailed here. Closing based on the report in comment #5. |