On Mon, 18 Nov 2002, Greg Thomas wrote:
I screwed up and entered a couple of netmasks wrong but for the life
of
me I can't figure out how to get them deleted. Here's one of the
offending flows (note the mask of 255.255.255.255 even though it's
for
a network):
Encap:
Source Port Destination Port Proto
SA(Address/Proto/Type/
Direction)
0/0 0 192.168.2.0/32 0 0
192.168.1.1/50/use/in
I've tried the following (with error messages shown):
root_(_at_)_oats:/root# ipsecadm flow -dst 192.168.1.1 -proto esp \
-addr 192.168.2.0 255.255.255.255 0.0.0.0 0.0.0.0 \
Did you try to switch src and dst above? I.e
-addr 0.0.0.0 0.0.0.0 192.168.2.0 255.255.255.255
("-addr 0/0 192.168.2.0/32" should work as well nowadays)
-delete -in
pfkey: No such process