- applied patch from andreas
- pem loading - secrets file parsing - ikev2 testcase - some other additions here and there
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* RCSID $Id: connections.c,v 1.42 2006/04/22 21:59:20 as Exp $
|
||||
* RCSID $Id: connections.c,v 1.43 2006/04/29 18:16:02 as Exp $
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
@@ -4022,7 +4022,7 @@ show_connections_status(bool all, const char *name)
|
||||
/* sort it! */
|
||||
qsort(array, count, sizeof(struct connection *), connection_compare_qsort);
|
||||
|
||||
for (i=0; i<count; i++)
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
const char *ifn;
|
||||
char instance[1 + 10 + 1];
|
||||
@@ -4076,7 +4076,7 @@ show_connections_status(bool all, const char *name)
|
||||
if (c->spd.that.groups != NULL)
|
||||
{
|
||||
char buf[BUF_LEN];
|
||||
|
||||
|
||||
format_groups(c->spd.that.groups, buf, BUF_LEN);
|
||||
whack_log(RC_COMMENT
|
||||
, "\"%s\"%s: groups: %s"
|
||||
@@ -4097,7 +4097,7 @@ show_connections_status(bool all, const char *name)
|
||||
, (unsigned long) c->sa_keying_tries);
|
||||
|
||||
/* show DPD parameters if defined */
|
||||
|
||||
|
||||
if (c->dpd_action != DPD_ACTION_NONE)
|
||||
whack_log(RC_COMMENT
|
||||
, "\"%s\"%s: dpd_action: %s;"
|
||||
@@ -4141,6 +4141,9 @@ show_connections_status(bool all, const char *name)
|
||||
kernel_alg_show_connection(c, instance);
|
||||
}
|
||||
}
|
||||
if (count > 0)
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
|
||||
pfree(array);
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -12,7 +12,7 @@
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* RCSID $Id: kernel.c,v 1.25 2006/04/17 14:58:09 as Exp $
|
||||
* RCSID $Id: kernel.c,v 1.26 2006/04/29 18:16:02 as Exp $
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
@@ -934,6 +934,8 @@ show_shunt_status(void)
|
||||
, ourst, ourport, hist, hisport, sat, bs->transport_proto
|
||||
, prio, bs->why);
|
||||
}
|
||||
if (bare_shunts != NULL)
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
}
|
||||
|
||||
/* Setup an IPsec route entry.
|
||||
|
||||
+2
-4
@@ -12,7 +12,7 @@
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* RCSID $Id: log.c,v 1.7 2005/07/11 18:33:45 as Exp $
|
||||
* RCSID $Id: log.c,v 1.8 2006/04/29 18:16:02 as Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -770,13 +770,11 @@ show_status(bool all, const char *name)
|
||||
show_ifaces_status();
|
||||
show_myid_status();
|
||||
show_debug_status();
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
}
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
show_connections_status(all, name);
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
show_states_status(name);
|
||||
#ifdef KLIPS
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
show_shunt_status();
|
||||
#endif
|
||||
}
|
||||
|
||||
+3
-1
@@ -12,7 +12,7 @@
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* RCSID $Id: state.c,v 1.12 2006/04/03 15:49:36 as Exp $
|
||||
* RCSID $Id: state.c,v 1.13 2006/04/29 18:16:02 as Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -902,6 +902,8 @@ show_states_status(const char *name)
|
||||
if (IS_PHASE1(st->st_state))
|
||||
show_pending_phase2(st->st_connection->host_pair, st);
|
||||
}
|
||||
if (count > 0)
|
||||
whack_log(RC_COMMENT, BLANK_FORMAT); /* spacer */
|
||||
|
||||
/* free the array */
|
||||
pfree(array);
|
||||
|
||||
+2
-1
@@ -198,7 +198,8 @@ static struct vid_struct _vid_tab[] = {
|
||||
/*
|
||||
* strongSwan
|
||||
*/
|
||||
DEC_MD5_VID(STRONGSWAN, "strongSwan 2.7.0")
|
||||
DEC_MD5_VID(STRONGSWAN, "strongSwan 4.0.0")
|
||||
DEC_MD5_VID(STRONGSWAN_2_7_0, "strongSwan 2.7.0")
|
||||
DEC_MD5_VID(STRONGSWAN_2_6_4, "strongSwan 2.6.4")
|
||||
DEC_MD5_VID(STRONGSWAN_2_6_3, "strongSwan 2.6.3")
|
||||
DEC_MD5_VID(STRONGSWAN_2_6_2, "strongSwan 2.6.2")
|
||||
|
||||
@@ -76,6 +76,7 @@ enum known_vendorid {
|
||||
VID_STRONGSWAN_2_6_2 = 55,
|
||||
VID_STRONGSWAN_2_6_3 = 56,
|
||||
VID_STRONGSWAN_2_6_4 = 57,
|
||||
VID_STRONGSWAN_2_7_0 = 58,
|
||||
|
||||
/* 101 - 200 : NAT-Traversal */
|
||||
VID_NATT_STENBERG_01 =101,
|
||||
|
||||
Reference in New Issue
Block a user