diff --git a/.github/workflows/stb_check.yml b/.github/workflows/stb_check.yml new file mode 100644 index 00000000..5353250e --- /dev/null +++ b/.github/workflows/stb_check.yml @@ -0,0 +1,16 @@ +on: [push, pull_request] + +permissions: + contents: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Check + run: | + cd developer_tools/stbchecker + dotnet run ../../src/bin/hamcore \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 00cbf76a..25553258 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,16 +38,6 @@ matrix: before_install: - sudo apt-get -y install libsodium-dev - bash .ci/build-libressl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1) - - env: LABEL="check stb files" - os: linux - language: csharp - mono: none - dotnet: 2.2.203 - before_install: - - true - script: - - cd developer_tools/stbchecker - - dotnet run ../../src/bin/hamcore cache: directories: diff --git a/developer_tools/stbchecker/stbchecker.csproj b/developer_tools/stbchecker/stbchecker.csproj index 3483b250..077d3d65 100644 --- a/developer_tools/stbchecker/stbchecker.csproj +++ b/developer_tools/stbchecker/stbchecker.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + net7.0 diff --git a/src/bin/hamcore/strtable_pt_br.stb b/src/bin/hamcore/strtable_pt_br.stb index f78a8179..89083eeb 100644 --- a/src/bin/hamcore/strtable_pt_br.stb +++ b/src/bin/hamcore/strtable_pt_br.stb @@ -479,7 +479,7 @@ NATT_MSG ** Connected with NAT traversal - might be unstable **\r\n\r\nThis VPN # Virtual HUB Admin Options HUB_AO_CLICK Select an item to view the description here. HUB_AO_UNKNOWN The description of the item was not found. Refer to the documents, or speculate the meaning and purpose of the item from the name of the item. -HUB_AO_allow_eap_tls_match_user_by_cert If you enable (set to 1) this option, the Virtual Hub will attempt to match the EAP Identity not only with usernames, but also with user certificate CNs during the PPP EAP authentication flow. +HUB_AO_allow_hub_admin_change_option This is a special item. If you are enable (set to 1) this option, then not only the VPN Server's global administrator but also the Virtual Hub's administrator will be granted to modify the Virtual Hub Admin Options by himself. HUB_AO_deny_hub_admin_change_ext_option If you are enable (set to 1) this option, the Virtual Hub's administrator will be forbidden to modify any values on the Virtual Hub Extended Options, then only the VPN Server's global administrator can modify them. HUB_AO_no_delay_jitter_packet_loss If you set this option to non-zero value, then all parameters of delay, jitter and packet-loss on the access-list entry will be ignored even if these parameters are set when the administrator adds a new access list entry. Therefore, delay, jitter and packet-loss generating function will be virtually disabled. Because of the delay generating function sometimes make a high volume of load on the CPU and RAM, a Virtual Hub which is shared by several users should have this option enabled. HUB_AO_max_users If you set this option to non-zero value, the maximum number of user objects registered on the Virtual Hub will be limited to this value, then greater number of user objects than this value cannot be added. diff --git a/src/bin/hamcore/strtable_ru.stb b/src/bin/hamcore/strtable_ru.stb index 1916982f..bc29456c 100644 --- a/src/bin/hamcore/strtable_ru.stb +++ b/src/bin/hamcore/strtable_ru.stb @@ -989,7 +989,7 @@ CM_TRAY_MENU_ABOUT &О VPN клиенте... CM_TRAY_MENU_SETTING Изменить режим работы... CM_TRAY_MENU_CANCEL Закрыть это меню CM_EXIT_MESSAGE Это действие закроет VPN клиент. \r\nВы действительно хотите это сделать? -CM_IMPORT_MESSAGE Настройки VPN подключения "%s" из файла "%S" были установлены. +CM_IMPORT_MESSAGE Из файла "%S" были импортированы настройки "%s". CM_VLAN_CREATING Создание нового Виртуального Сетевого Адаптера для Windows. \r\n\r\nЭтот процесс может занять несколько секунд или более минуты. \r\nПожалуйста, подождите...\r\n\r\n(Пожалуйста, не выполняйте другие операции во время создания Виртуального Сетевого Адаптера.) CM_SETTING_PASSWORD Настройки заблокированы. Чтобы отключить блокировку, необходимо ввести пароль. CM_EASY_MODE_NOT_ON_REMOTE Невозможно подключиться, так как VPN клиент на удаленном компьютере работает в Упрощенном режиме. diff --git a/src/bin/hamcore/strtable_tw.stb b/src/bin/hamcore/strtable_tw.stb index 69dc3818..0eec56e3 100644 --- a/src/bin/hamcore/strtable_tw.stb +++ b/src/bin/hamcore/strtable_tw.stb @@ -574,6 +574,7 @@ HUB_AO_NoPhysicalIPOnPacketLog If you set this option to non-zero value, then HUB_AO_UseHubNameAsDhcpUserClassOption If you set this option to non-zero value, then the Virtual Hub Name will be added to a DHCP request to an external DHCP server as the "User-Class" option. This allows to use separate pools of IP addresses for each Virtual Hub. (For only L2TP/IPsec and OpenVPN sessions.) HUB_AO_UseHubNameAsRadiusNasId If you set this option to non-zero value, then the NAS-Identifier RADIUS attribute will be set to a name of the Virtual Hub. This allows to determine on RADIUS server whether access to the Virtual Hub should be granted or denied. HUB_AO_AllowEapMatchUserByCert If you enable (set to 1) this option, the Virtual Hub will attempt to match the EAP Identity not only with usernames, but also with user certificates during the PPP EAP authentication flow. +HUB_AO_AllowSameUserInPrivacyFilterMode Allow packets if both the source and destination session users are the same, even in PrivacyFilter mode. #關於失敗連接對話方塊