updown: remove description of unsupported PLUTO_ variables
These have been set by pluto, but are not by charons updown plugin.
This commit is contained in:
@@ -41,10 +41,6 @@
|
|||||||
# is the name of the connection for which we are
|
# is the name of the connection for which we are
|
||||||
# routing.
|
# routing.
|
||||||
#
|
#
|
||||||
# PLUTO_NEXT_HOP
|
|
||||||
# is the next hop to which packets bound for the peer
|
|
||||||
# must be sent.
|
|
||||||
#
|
|
||||||
# PLUTO_INTERFACE
|
# PLUTO_INTERFACE
|
||||||
# is the name of the ipsec interface to be used.
|
# is the name of the ipsec interface to be used.
|
||||||
#
|
#
|
||||||
@@ -66,15 +62,6 @@
|
|||||||
# host's own IP address / max (where max is 32 for
|
# host's own IP address / max (where max is 32 for
|
||||||
# IPv4 and 128 for IPv6).
|
# IPv4 and 128 for IPv6).
|
||||||
#
|
#
|
||||||
# PLUTO_MY_CLIENT_NET
|
|
||||||
# is the IP address of our client net. If the client
|
|
||||||
# is just the host, this will be the host's own IP
|
|
||||||
# address.
|
|
||||||
#
|
|
||||||
# PLUTO_MY_CLIENT_MASK
|
|
||||||
# is the mask for our client net. If the client is
|
|
||||||
# just the host, this will be 255.255.255.255.
|
|
||||||
#
|
|
||||||
# PLUTO_MY_SOURCEIP
|
# PLUTO_MY_SOURCEIP
|
||||||
# PLUTO_MY_SOURCEIP4_$i
|
# PLUTO_MY_SOURCEIP4_$i
|
||||||
# PLUTO_MY_SOURCEIP6_$i
|
# PLUTO_MY_SOURCEIP6_$i
|
||||||
@@ -96,25 +83,12 @@
|
|||||||
# PLUTO_PEER_ID
|
# PLUTO_PEER_ID
|
||||||
# is the ID of our peer.
|
# is the ID of our peer.
|
||||||
#
|
#
|
||||||
# PLUTO_PEER_CA
|
|
||||||
# is the CA which issued the cert of our peer.
|
|
||||||
#
|
|
||||||
# PLUTO_PEER_CLIENT
|
# PLUTO_PEER_CLIENT
|
||||||
# is the IP address / count of the peer's client sub-
|
# is the IP address / count of the peer's client sub-
|
||||||
# net. If the client is just the peer, this will be
|
# net. If the client is just the peer, this will be
|
||||||
# the peer's own IP address / max (where max is 32
|
# the peer's own IP address / max (where max is 32
|
||||||
# for IPv4 and 128 for IPv6).
|
# for IPv4 and 128 for IPv6).
|
||||||
#
|
#
|
||||||
# PLUTO_PEER_CLIENT_NET
|
|
||||||
# is the IP address of the peer's client net. If the
|
|
||||||
# client is just the peer, this will be the peer's
|
|
||||||
# own IP address.
|
|
||||||
#
|
|
||||||
# PLUTO_PEER_CLIENT_MASK
|
|
||||||
# is the mask for the peer's client net. If the
|
|
||||||
# client is just the peer, this will be
|
|
||||||
# 255.255.255.255.
|
|
||||||
#
|
|
||||||
# PLUTO_PEER_PROTOCOL
|
# PLUTO_PEER_PROTOCOL
|
||||||
# is the IP protocol that will be transported.
|
# is the IP protocol that will be transported.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -44,10 +44,6 @@
|
|||||||
# is the name of the connection for which we are
|
# is the name of the connection for which we are
|
||||||
# routing.
|
# routing.
|
||||||
#
|
#
|
||||||
# PLUTO_NEXT_HOP
|
|
||||||
# is the next hop to which packets bound for the peer
|
|
||||||
# must be sent.
|
|
||||||
#
|
|
||||||
# PLUTO_INTERFACE
|
# PLUTO_INTERFACE
|
||||||
# is the name of the ipsec interface to be used.
|
# is the name of the ipsec interface to be used.
|
||||||
#
|
#
|
||||||
@@ -63,15 +59,6 @@
|
|||||||
# host's own IP address / max (where max is 32 for
|
# host's own IP address / max (where max is 32 for
|
||||||
# IPv4 and 128 for IPv6).
|
# IPv4 and 128 for IPv6).
|
||||||
#
|
#
|
||||||
# PLUTO_MY_CLIENT_NET
|
|
||||||
# is the IP address of our client net. If the client
|
|
||||||
# is just the host, this will be the host's own IP
|
|
||||||
# address.
|
|
||||||
#
|
|
||||||
# PLUTO_MY_CLIENT_MASK
|
|
||||||
# is the mask for our client net. If the client is
|
|
||||||
# just the host, this will be 255.255.255.255.
|
|
||||||
#
|
|
||||||
# PLUTO_MY_SOURCEIP
|
# PLUTO_MY_SOURCEIP
|
||||||
# if non-empty, then the source address for the route will be
|
# if non-empty, then the source address for the route will be
|
||||||
# set to this IP address.
|
# set to this IP address.
|
||||||
@@ -89,25 +76,12 @@
|
|||||||
# PLUTO_PEER_ID
|
# PLUTO_PEER_ID
|
||||||
# is the ID of our peer.
|
# is the ID of our peer.
|
||||||
#
|
#
|
||||||
# PLUTO_PEER_CA
|
|
||||||
# is the CA which issued the cert of our peer.
|
|
||||||
#
|
|
||||||
# PLUTO_PEER_CLIENT
|
# PLUTO_PEER_CLIENT
|
||||||
# is the IP address / count of the peer's client sub-
|
# is the IP address / count of the peer's client sub-
|
||||||
# net. If the client is just the peer, this will be
|
# net. If the client is just the peer, this will be
|
||||||
# the peer's own IP address / max (where max is 32
|
# the peer's own IP address / max (where max is 32
|
||||||
# for IPv4 and 128 for IPv6).
|
# for IPv4 and 128 for IPv6).
|
||||||
#
|
#
|
||||||
# PLUTO_PEER_CLIENT_NET
|
|
||||||
# is the IP address of the peer's client net. If the
|
|
||||||
# client is just the peer, this will be the peer's
|
|
||||||
# own IP address.
|
|
||||||
#
|
|
||||||
# PLUTO_PEER_CLIENT_MASK
|
|
||||||
# is the mask for the peer's client net. If the
|
|
||||||
# client is just the peer, this will be
|
|
||||||
# 255.255.255.255.
|
|
||||||
#
|
|
||||||
# PLUTO_PEER_PROTOCOL
|
# PLUTO_PEER_PROTOCOL
|
||||||
# is the IP protocol that will be transported.
|
# is the IP protocol that will be transported.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -303,7 +303,6 @@ METHOD(listener_t, child_updown, bool,
|
|||||||
(my_ts->get_type(my_ts) == TS_IPV6_ADDR_RANGE);
|
(my_ts->get_type(my_ts) == TS_IPV6_ADDR_RANGE);
|
||||||
|
|
||||||
/* build the command with all env variables.
|
/* build the command with all env variables.
|
||||||
* TODO: PLUTO_PEER_CA and PLUTO_NEXT_HOP are currently missing
|
|
||||||
*/
|
*/
|
||||||
snprintf(command, sizeof(command),
|
snprintf(command, sizeof(command),
|
||||||
"2>&1 "
|
"2>&1 "
|
||||||
|
|||||||
Reference in New Issue
Block a user