[Openswan dev] RFC: Changes to whack's --status output
Ken Bantoft
ken at xelerance.com
Thu Nov 25 03:32:31 CET 2004
While debugging the Cisco VPN Client interop stuff, mcr and I decided we
need update the output of whack's --status output.
Current Examples:
Cisco VPN connection (PSK, Aggresive Mode, Mode Config)
"cisco": 66.203.195.97[@xelerance,MC+XC+S=C]:0/0---66.203.195.1...205.150.200.188[MS+XS+S=C]:0/0===205.150.200.0/24; unrouted; eroute owner: #0
X.509
"kb-to-bp-10": 10.0.30.125/32===66.203.195.97[C=CA, ST=Ontario, L=Toronto, Blah Blah...]:0/0---66.203.195.1...38.112.109.70[C=CA, ST=Ontario, L=Toronto, Blah Blach ....]:0/0===10.0.0.0/24; erouted; eroute owner: #5
RSASig
"toronto-net": 209.112.44.130/32===66.203.195.97[@kbantoft.toronto.xelerance.com]:0/0---66.203.195.1...216.191.140.38[@toronto.xelerance.com]:0/0===209.112.44.0/24; erouted; eroute owner: #4
I've come up with a few ideas, so I'm looking for 'yes/no/what about
this?' comments.
1) Minor Rearrange
"cisco": [@xelerance,MC+XC+S=C]66.203.195.97:0/0---66.203.195.1...205.150.200.188:0/0[MS+XS+S=C]===205.150.200.0/24; unrouted; eroute owner: #0
2) Split on 2 lines:
"cisco": 66.203.195.97[@xelerance,MC+XC+S=C]:0/0---66.203.195.1
205.150.200.188[MS+XS+S=C]:0/0===205.150.200.0/24; unrouted; eroute owner: #0
"kb-to-bp-10": 10.0.30.125/32===66.203.195.97[C=CA, ST=Ontario, L=Toronto, Blah Blah...]:0/0---66.203.195.1
38.112.109.70[C=CA, ST=Ontario, L=Toronto, Blah Blach ....]:0/0===10.0.0.0/24; erouted; eroute owner: #5
3) Start Fresh, multiline
"cisco"
Local ID: @xelerance
Remote ID:
Local Options: MC+XC+S=C
Remote Options: MS+XS+S=C
Local Addresses: 66.203.195.97:0/0--->66.203.195.1
Remote Addresses: 205.150.200.188===205.150.200.0/24:0/0
Algorithm: 3DES_CBC_192-MD5-MODP1536
Status: unrouted; eroute owner: #0
"kb-to-bp-10"
Local ID: C=CA, ST=Ontario, L=Toronto, Blah Blah
Remote ID: C=CA, ST=Ontario, L=Toronto, Blah Blah
Local Options:
Remote Options:
Local IP: 10.0.30.125/32
Remote IP:
Local Addresses: 66.203.195.97--->66.203.195.1
Remote Addresses: 38.112.109.70===10.0.0.0/24:0/0
Algorithm: 3DES_CBC_192-MD5-MODP1536
Status: erouted; eroute owner: #5
Other suggestions welcome. We only want to change this once, as we have
to update all of the test cases to match the new output.
--
Ken Bantoft VP Business Development
ken at xelerance.com Xelerance Corporation
sip://toronto.xelerance.com http://www.xelerance.com
The future is here. It's just not evenly distributed yet.
-- William Gibson
More information about the Dev
mailing list