immortalwrt / homeproxy

The modern ImmortalWrt proxy platform for ARM64/AMD64 (powered by sing-box)
GNU General Public License v2.0
463 stars 139 forks source link

ECH Protocol Option Missing in HomeProxy LuCI UI #59

Closed devAlikhani closed 9 months ago

devAlikhani commented 9 months ago

In the LuCI UI for HomeProxy, I cannot find an option to enable the ECH protocol in the node settings while TLS is enabled.

HomeProxy version: git-23.356.21884-c03d6fb

Based on this code in node.js , I was expecting to find an ECH option in the LuCI UI of HomeProxy:

if (features.with_ech) {
            so = ss.option(form.Flag, 'tls_ech', _('Enable ECH'),
                _('ECH (Encrypted Client Hello) is a TLS extension that allows a client to encrypt the first part of its ClientHello message.'));
            so.depends('tls', '1');
            so.default = so.disabled;
            so.modalonly = true;

            so = ss.option(form.Flag, 'tls_ech_tls_disable_drs', _('Disable dynamic record sizing'));
            so.depends('tls_ech', '1');
            so.default = so.disabled;
            so.modalonly = true;

            so = ss.option(form.Flag, 'tls_ech_enable_pqss', _('Enable PQ signature schemes'));
            so.depends('tls_ech', '1');
            so.default = so.disabled;
            so.modalonly = true;

            so = ss.option(form.Value, 'tls_ech_config', _('ECH config'));
            so.depends('tls_ech', '1');
            so.modalonly = true;
        }
1715173329 commented 9 months ago

you need build sb with ech support