https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162022-01-20T10:21:15ZpfSense bugtrackerpfSense - Bug #12703: pf ``hostid`` value is handled inconsistentlyhttps://redmine.pfsense.org/issues/12703?journal_id=584422022-01-20T10:21:15ZJim Pingle
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-3 priority-4 priority-default closed" href="/issues/12702">Feature #12702</a>: Use consistent pf host ID and add GUI option to set a custom host ID in state synchronization settings</i> added</li></ul> pfSense - Bug #12703: pf ``hostid`` value is handled inconsistentlyhttps://redmine.pfsense.org/issues/12703?journal_id=584972022-01-21T11:37:47ZKristof Provost
<ul></ul><p><a class="external" href="https://reviews.freebsd.org/D33989">https://reviews.freebsd.org/D33989</a></p> pfSense - Bug #12703: pf ``hostid`` value is handled inconsistentlyhttps://redmine.pfsense.org/issues/12703?journal_id=597732022-03-17T07:32:24ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Target version</strong> changed from <i>CE-Next</i> to <i>2.7.0</i></li></ul><p>This is good on the latest snapshot which was built after our recent upstream merge.</p>
<pre>
: grep hostid /tmp/rules.debug
set hostid 0x1
: pfctl -vsi | grep -i host
Hostid: 0x00000001
:pfctl -vvss
[...]
all icmp 198.51.100.12:24252 -> 198.51.100.1:24252 0:0
age 00:00:02, expires in 00:00:10, 5:5 pkts, 145:145 bytes, rule 103
id: fe29336200000000 creatorid: 00000001 gateway: 0.0.0.0
origif: vtnet0
[...]
: pfctl -k id -k fe29336200000000/1
killed 1 states
</pre>