implementation of an CFG attribute framework, currently supporting virtual IPs

updated ipsec.conf sourceip parameter to support
	CIDR notatation to serve from a pool
	%poolname to query a separate (database?) pool
This commit is contained in:
Martin Willi
2008-04-09 12:54:47 +00:00
parent 4a96521965
commit cdcfe777f4
19 changed files with 466 additions and 145 deletions
+1 -2
View File
@@ -67,12 +67,10 @@ struct starter_end {
char *iface;
ip_address addr;
ip_address nexthop;
ip_address srcip;
ip_subnet subnet;
bool has_client;
bool has_client_wildcard;
bool has_port_wildcard;
bool has_srcip;
bool has_natip;
bool modecfg;
certpolicy_t sendcert;
@@ -84,6 +82,7 @@ struct starter_end {
u_int16_t port;
u_int8_t protocol;
char *virt;
char *srcip;
};
typedef struct also also_t;