Actions
Bug #16764
openIPSec VTI assigned interfaces generating an incorrect table for /32 addresses
Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Aliases / Tables
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
If I create an IPSEC VTI tunnel and assign it as interface using strictly /32 interfaces as p2p in phase2, the resulting interface network table in pf would be /30.
Files
Updated by aleksei prokofiev 3 months ago
- File clipboard-202604031440-2ev9t.png clipboard-202604031440-2ev9t.png added
- File clipboard-202604031440-zz9wz.png clipboard-202604031440-zz9wz.png added
Tested on 26.03-RELEASE (amd64)
built on Wed Apr 1 20:20:00 MSK 2026
FreeBSD 16.0-CURRENT
Can not reproduce

Updated by Lev Prokofev 3 months ago
- File clipboard-202604111812-t5wrm.png clipboard-202604111812-t5wrm.png added
- File clipboard-202604111813-hcmin.png clipboard-202604111813-hcmin.png added
- File clipboard-202604111813-sf1dr.png clipboard-202604111813-sf1dr.png added
I'm not able to replicate this on 26.03



Updated by Georgiy Tyutyunnik 20 days ago
- File status_output_vti.tgz status_output_vti.tgz added
- Status changed from Incomplete to Ready To Test
I still can consistently reproduce it, with the exact phase2 config from the attached s_o
you need to have local and remote traffic selector type set to "address" type, and assign the resulting tunnel as the interface
Updated by Lev Prokofev 20 days ago
- Status changed from Ready To Test to Confirmed
Updated by Lev Prokofev 17 days ago
- File clipboard-202606271234-fhyhc.png clipboard-202606271234-fhyhc.png added
- File clipboard-202606271235-vbazn.png clipboard-202606271235-vbazn.png added
Can confirm that it is reproducible on
26.07-BETA (amd64) built on Fri Jun 26 1:40:00 UTC 2026 FreeBSD 16.0-CURRENT
P2 set as address, rules generated with /30
block drop in log on ! ipsec1 inet from 172.10.0.4/30 to any label "descr=antispoof protection" ridentifier 1000003581 pass out inet from 172.10.0.4 to ! 172.10.0.4/30 flags S/SA keep state (if-bound) allow-opts label "descr=let out anything from firewall host itself" ridentifier 1000005822
vpn_networks table shows /32

OPT5_NETWORK shows /30

Actions