Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadowsocks configuration migration failing in a non-standard case. #7578

Open
noseshimself opened this issue Jun 28, 2024 · 0 comments
Open

Comments

@noseshimself
Copy link

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug
Migration fails.

To Reproduce

/usr/local/opnsense/mvc/script # ./run_migrations.php
*** OPNsense\Shadowsocks\Local Migration failed, check log for details

Relevant configuration section:

   <shadowsocks>
      <general version="1.0.1">
        <enabled>1</enabled>
        <serveraddress>192.168.111.254</serveraddress>
        <serverport>8388</serverport>
        <localport>1080</localport>
        <password>Gerstel-SOCKS-with-holes</password>
        <cipher>aes-256-cfb</cipher>
        <tcpudpmode>tcp_only</tcpudpmode>
      </general>
    </shadowsocks>

Expected behavior

Migration succeeds.

Relevant log files

<147>1 2024-06-28T13:44:53+00:00 gw-ext-1.gerstel.com config 76630 - [meta sequenceId="6"] [OPNsense\Shadowsocks\Local:cipher] Option not in list.{AES-256-CFB}
<147>1 2024-06-28T13:44:53+00:00 gw-ext-1.gerstel.com config 76630 - [meta sequenceId="7"] Model OPNsense\Shadowsocks\Local can't be saved, skip ( OPNsense\Base\ValidationException: [OPNsense\Shadowsocks\Local:cipher] Option not in list.{AES-256-CFB}

Additional context

Add any other context about the problem here.

Environment

FreeBSD 13.2-RELEASE-p11 stable/24.1-n255023-99a14409566 SMP amd64
OPNsense 24.1.9_4 908aac0
Plugins os-OPNProxy-1.0.5_1 os-OPNWAF-1.1 os-OPNcentral-1.7 os-dmidecode-1.1_1 os-dyndns-1.27_3 os-lldpd-1.1_2 os-maltrail-1.10 os-nextcloud-backup-1.0_1 os-redis-1.1_2 os-rfc2136-1.8_2 os-shadowsocks-1.1 os-squid-1.0_2 os-sunnyvalley-1.4_3 os-theme-cicada-1.35 os-theme-rebellion-1.8.10 os-theme-tukan-1.27_1 os-theme-vicuna-1.45_1 os-vnstat-1.3_1
Time Thu, 27 Jun 2024 01:08:27 +0000
OpenSSL 3.0.14
Python 3.11.9
PHP 8.2.20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant