Project

General

Profile

« Previous | Next » 

Revision a75d1a5f

Added by Ermal Luçi about 10 years ago

Allow to configure new modes for phase1 according to RFC 5903 by manually merging pull request #1501 partially. While here preserve style.

View differences:

etc/inc/ipsec.inc
105 105
	16 => '16 (4096 bit)',
106 106
	17 => '17 (6144 bit)',
107 107
	18 => '18 (8192 bit)',
108
	19 => '19 (nist ecp256)',
109
	20 => '20 (nist ecp384)',
110
	21 => '21 (nist ecp521)',
108 111
	22 => '22 (1024(sub 160) bit)',
109 112
	23 => '23 (2048(sub 224) bit)',
110 113
	24 => '24 (2048(sub 256) bit)'
etc/inc/vpn.inc
89 89
	case '18':
90 90
		$convertion = "modp8192";
91 91
		break;
92
	case '19':
93
		$convertion = "ecp256";
94
		break;
95
	case '20':
96
		$convertion = "ecp384";
97
		break;
98
	case '21':
99
		$convertion = "ecp512";
100
		break;
92 101
	}
93 102

  
94 103
	return $convertion;

Also available in: Unified diff