Modify

Opened 5 years ago

#13461 new defect

iproute2 deal wrong with xfrm template

Reported by: anesth@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

Hi, got this issue at r36542 on TP-Link WR842ND.

Address of src endpoint looks 16-bit shifted left like 12.1.0.0 instead 10.7.12.1 here:

src 192.168.0.0/24 dst 192.168.1.0/24

dir in priority 0 ptype main
tmpl src 12.1.0.0 dst 10.7.12.2

proto esp reqid 0 mode tunnel

or 43f:ffff:540::2:0 instead 2cc2:43f:ffff:53f::2 here:
src 2cc2:570:46:361::/64 dst 2cc2:43f:ffff:53f::2/128

dir in priority 0 ptype main
tmpl src 43f:ffff:540::2:0 dst 2cc2:43f:ffff:53f::2

proto esp reqid 0 mode tunnel

setkey installs proper policies but those policies created with ip looks invalid.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.