mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Only display supported encryption in Shadowsocks-Rust
This commit is contained in:
parent
aecc558e9d
commit
18e99ca95c
1 changed files with 8 additions and 8 deletions
|
@ -41,13 +41,13 @@ var modes = [
|
||||||
var methods = [
|
var methods = [
|
||||||
'none',
|
'none',
|
||||||
// aead
|
// aead
|
||||||
'aes-128-gcm',
|
// 'aes-128-gcm',
|
||||||
'aes-256-gcm',
|
// 'aes-256-gcm',
|
||||||
'chacha20-ietf-poly1305',
|
// 'chacha20-ietf-poly1305',
|
||||||
'2022-blake3-aes-128-gcm',
|
// '2022-blake3-aes-128-gcm',
|
||||||
'2022-blake3-aes-256-gcm',
|
'2022-blake3-aes-256-gcm',
|
||||||
'2022-blake3-chacha8-poly1305',
|
// '2022-blake3-chacha8-poly1305',
|
||||||
'2022-blake3-chacha20-poly1305',
|
// '2022-blake3-chacha20-poly1305',
|
||||||
];
|
];
|
||||||
|
|
||||||
function ucival_to_bool(val) {
|
function ucival_to_bool(val) {
|
||||||
|
@ -72,7 +72,7 @@ return L.Class.extend({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
o.value('', '<unset>');
|
o.value('', '<unset>');
|
||||||
o.value('all', 'all');
|
//o.value('all', 'all');
|
||||||
o.default = '';
|
o.default = '';
|
||||||
},
|
},
|
||||||
values_serverlist: function(o) {
|
values_serverlist: function(o) {
|
||||||
|
@ -133,7 +133,7 @@ return L.Class.extend({
|
||||||
o.datatype = 'port';
|
o.datatype = 'port';
|
||||||
o.size = 5;
|
o.size = 5;
|
||||||
|
|
||||||
o = optfunc(form.ListValue, 'method', _('Method'),_('Only 2022-blake3-aes-256-gcm is supported by OpenMPTCProuter Shadowsocks-GO'));
|
o = optfunc(form.ListValue, 'method', _('Method'));
|
||||||
methods.forEach(function(m) {
|
methods.forEach(function(m) {
|
||||||
o.value(m);
|
o.value(m);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue