[Swan-dev] 330c23037e9d3 whack: For --trafficstatus display the "lease" IPv4 address
Antony Antony
antony at phenome.org
Fri Jun 24 03:00:06 UTC 2016
"whack: For --trafficstatus display the "lease" IPv4 address"
lease would be nicer before the id instead of at the end.
with x509 id could be very long. e.g.
-006 #2: "road-east-x509-ipv4"[1] 192.1.2.23, type=ESP, add_time=1234567890, inBytes=336, outBytes=336, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=testing at libreswan.org', lease=192.0.2.100/32
If it is before this would look like:
006 #2: "road-east-x509-ipv4"[1] 192.1.2.23, type=ESP, add_time=1234567890, inBytes=336, outBytes=336, lease=192.0.2.100/32 id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=testing at libreswan.org'
Also lease IP address seems to appear twice in some cases? I think with NAT it is already there. trafficstatus line is getting confusing.
newoe-25-cat-1/road.console.txt
also why is it twice with id null?
006 #2: "private-or-clear#192.1.2.0/24"[1] 10.0.10.1/32=== ...192.1.2.23, type=ESP, add_time=1234567890, inBytes=252, outBytes=252, id='ID_NULL', lease=10.0.10.1/32
-antony
More information about the Swan-dev
mailing list