Revision f5736d98
Added by Viktor Gurov over 4 years ago
src/etc/inc/openvpn.inc | ||
---|---|---|
1832 | 1832 |
$conn['user_name'] = $list[9]; |
1833 | 1833 |
$conn['client_id'] = $list[10]; |
1834 | 1834 |
$conn['peer_id'] = $list[11]; |
1835 |
$conn['cipher'] = $list[12]; |
|
1835 | 1836 |
$server['conns'][] = $conn; |
1836 | 1837 |
} |
1837 | 1838 |
/* parse routing table lines */ |
src/usr/local/www/status_openvpn.php | ||
---|---|---|
108 | 108 |
<th><?=gettext("Connected Since"); ?></th> |
109 | 109 |
<th><?=gettext("Bytes Sent")?></th> |
110 | 110 |
<th><?=gettext("Bytes Received")?></th> |
111 |
<th><?=gettext("Cipher")?></th> |
|
111 | 112 |
<th><!-- Icons --></th> |
112 | 113 |
</tr> |
113 | 114 |
</thead> |
... | ... | |
137 | 138 |
<td><?=$conn['connect_time'];?></td> |
138 | 139 |
<td data-value="<?=trim($conn['bytes_sent'])?>"><?=format_bytes($conn['bytes_sent']);?></td> |
139 | 140 |
<td data-value="<?=trim($conn['bytes_recv'])?>"><?=format_bytes($conn['bytes_recv']);?></td> |
141 |
<td data-value="<?=trim($conn['cipher'])?>"><?=$conn['cipher'];?></td> |
|
140 | 142 |
<td> |
141 | 143 |
<a |
142 | 144 |
onclick="killClient('<?=$server['mgmt'];?>', '<?=$conn['remote_host'];?>');" style="cursor:pointer;" |
Also available in: Unified diff
Display negotiated cipher on Status / OpenVPN page. Implements #7077