diff options
| author | Sanaei <ho3ein.sanaei@gmail.com> | 2025-09-07 23:35:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-07 23:35:38 +0300 |
| commit | b008ff4ad236f20f0937dd02e747ca6581e776f3 (patch) | |
| tree | efcb43872da9f46f3e6a307424fb5e309e0e7737 /web/html/form/protocol | |
| parent | da6b89fdcd2270aa116297d9ff620b6331f39df9 (diff) | |
Vlessenc (#3426)
* mlkem768
* VlessEnc
Diffstat (limited to 'web/html/form/protocol')
| -rw-r--r-- | web/html/form/protocol/vless.html | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/web/html/form/protocol/vless.html b/web/html/form/protocol/vless.html index 3cebda6e..6f421731 100644 --- a/web/html/form/protocol/vless.html +++ b/web/html/form/protocol/vless.html @@ -18,7 +18,29 @@ </table> </a-collapse-panel> </a-collapse> -<template v-if="inbound.isTcp"> +<template v-if="!inbound.stream.isTLS || !inbound.stream.isReality"> + <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> + <a-form-item label="Authentication"> + <a-select v-model="inbound.settings.selectedAuth" @change="getNewVlessEnc" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option value="X25519, not Post-Quantum">X25519 (not Post-Quantum)</a-select-option> + <a-select-option value="ML-KEM-768, Post-Quantum">ML-KEM-768 (Post-Quantum)</a-select-option> + </a-select> + </a-form-item> + <a-form-item label="decryption"> + <a-input v-model.trim="inbound.settings.decryption"></a-input> + </a-form-item> + <a-form-item label="encryption"> + <a-input v-model="inbound.settings.encryption" disabled></a-input> + </a-form-item> + <a-form-item label=" "> + <a-space> + <a-button type="primary" icon="import" @click="getNewVlessEnc">Get New keys</a-button> + <a-button danger @click="clearKeys">Clear</a-button> + </a-space> + </a-form-item> + </a-form> +</template> +<template v-if="inbound.isTcp && !inbound.settings.encryption"> <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> <a-form-item label="Fallbacks"> <a-button icon="plus" type="primary" size="small" @click="inbound.settings.addFallback()"></a-button> |
