mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Compare commits
2 Commits
82a1d5eef3
...
08213b7f0e
Author | SHA1 | Date | |
---|---|---|---|
|
08213b7f0e | ||
|
98852b77d9 |
33
.appveyor.yml
Normal file
33
.appveyor.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
version: '{build}'
|
||||||
|
|
||||||
|
image: Ubuntu2004
|
||||||
|
|
||||||
|
configuration: Release
|
||||||
|
|
||||||
|
skip_branch_with_pr: true
|
||||||
|
clone_depth: 1
|
||||||
|
|
||||||
|
skip_commits:
|
||||||
|
files:
|
||||||
|
- .travis.yml
|
||||||
|
- .gitlab-ci.yml
|
||||||
|
- .azure-pipelines.yml
|
||||||
|
- .cirrus.yml
|
||||||
|
|
||||||
|
init:
|
||||||
|
- ps: Update-AppveyorBuild -Version "build-$env:APPVEYOR_BUILD_NUMBER-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
|
||||||
|
|
||||||
|
install:
|
||||||
|
- sudo apt-get -y install libsodium-dev libcap-ng-dev
|
||||||
|
before_build:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- ./configure
|
||||||
|
build_script:
|
||||||
|
- make package -C build -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
||||||
|
- .ci/memory-leak-test.sh
|
||||||
|
test_script:
|
||||||
|
- .ci/appveyor-deb-install-test.sh
|
||||||
|
- sudo apt-get update && sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip liblz4-dev libnl-genl-3-dev # openvpn build deps
|
||||||
|
- sudo .ci/start-se-openvpn.sh
|
||||||
|
- sudo .ci/run-openvpn-tests.sh
|
||||||
|
|
4
.azure-pipelines.yml
Normal file
4
.azure-pipelines.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
jobs:
|
||||||
|
- template: .ci/azure-pipelines/linux.yml
|
||||||
|
- template: .ci/azure-pipelines/windows.yml
|
||||||
|
- template: .ci/azure-pipelines/macos.yml
|
20
.ci/azure-pipelines/linux.yml
Normal file
20
.ci/azure-pipelines/linux.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
jobs:
|
||||||
|
- job: Ubuntu_x64
|
||||||
|
pool:
|
||||||
|
vmImage: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
|
persistCredentials: true
|
||||||
|
- script: sudo apt update && sudo apt-get -y install cmake gcc g++ ninja-build libncurses5-dev libreadline-dev libsodium-dev libssl-dev make zlib1g-dev liblz4-dev libnl-genl-3-dev
|
||||||
|
displayName: 'Prepare environment'
|
||||||
|
- script: "$(Build.SourcesDirectory)/.ci/azure-pipelines/linux_build.sh"
|
||||||
|
env:
|
||||||
|
SE_BUILD_NUMBER_TOKEN: $(BUILD_NUMBER_TOKEN)
|
||||||
|
displayName: 'Build'
|
||||||
|
- script: |
|
||||||
|
.ci/appveyor-deb-install-test.sh
|
||||||
|
sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip libcap-ng-dev # To build OpenVPN
|
||||||
|
sudo BUILD_BINARIESDIRECTORY=$BUILD_BINARIESDIRECTORY .ci/start-se-openvpn.sh
|
||||||
|
sudo BUILD_BINARIESDIRECTORY=$BUILD_BINARIESDIRECTORY .ci/run-openvpn-tests.sh
|
||||||
|
displayName: 'Test'
|
15
.ci/azure-pipelines/linux_build.sh
Executable file
15
.ci/azure-pipelines/linux_build.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ "${#SE_BUILD_NUMBER_TOKEN}" -eq 64 ]]; then
|
||||||
|
VERSION=$(python3 "version.py")
|
||||||
|
BUILD_NUMBER=$(curl "https://softether.network/get-build-number?commit=${BUILD_SOURCEVERSION}&version=${VERSION}&token=${SE_BUILD_NUMBER_TOKEN}")
|
||||||
|
else
|
||||||
|
BUILD_NUMBER=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ${BUILD_BINARIESDIRECTORY}
|
||||||
|
|
||||||
|
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_NUMBER=${BUILD_NUMBER} ${BUILD_SOURCESDIRECTORY}
|
||||||
|
cmake --build .
|
||||||
|
|
||||||
|
cpack -C Release -G DEB
|
14
.ci/azure-pipelines/macos.yml
Normal file
14
.ci/azure-pipelines/macos.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
jobs:
|
||||||
|
- job: macOS
|
||||||
|
pool:
|
||||||
|
vmImage: macOS-latest
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
|
persistCredentials: true
|
||||||
|
- script: brew install pkg-config cmake ninja ncurses readline libsodium openssl zlib
|
||||||
|
displayName: 'Prepare environment'
|
||||||
|
- script: '$(Build.SourcesDirectory)/.ci/azure-pipelines/macos_build.sh'
|
||||||
|
env:
|
||||||
|
SE_BUILD_NUMBER_TOKEN: $(BUILD_NUMBER_TOKEN)
|
||||||
|
displayName: 'Build'
|
13
.ci/azure-pipelines/macos_build.sh
Executable file
13
.ci/azure-pipelines/macos_build.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ "${#SE_BUILD_NUMBER_TOKEN}" -eq 64 ]]; then
|
||||||
|
VERSION=$(python3 "version.py")
|
||||||
|
BUILD_NUMBER=$(curl "https://softether.network/get-build-number?commit=${BUILD_SOURCEVERSION}&version=${VERSION}&token=${SE_BUILD_NUMBER_TOKEN}")
|
||||||
|
else
|
||||||
|
BUILD_NUMBER=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ${BUILD_BINARIESDIRECTORY}
|
||||||
|
|
||||||
|
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_NUMBER=${BUILD_NUMBER} -DOPENSSL_ROOT_DIR="/usr/local/opt/openssl" ${BUILD_SOURCESDIRECTORY}
|
||||||
|
cmake --build .
|
41
.ci/azure-pipelines/windows-steps.yml
Normal file
41
.ci/azure-pipelines/windows-steps.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
parameters:
|
||||||
|
- name: architecture
|
||||||
|
type: string
|
||||||
|
- name: compilerPath
|
||||||
|
type: string
|
||||||
|
- name: vcpkgTriplet
|
||||||
|
type: string
|
||||||
|
- name: vcvarsPath
|
||||||
|
type: string
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: Cache@2
|
||||||
|
inputs:
|
||||||
|
key: '"vcpkg-manifest" | "$(Agent.OS)" | "${{parameters.vcpkgTriplet}}" | C:/vcpkg/.git/refs/heads/master'
|
||||||
|
path: '$(Build.BinariesDirectory)/vcpkg_installed'
|
||||||
|
displayName: 'Environment storage'
|
||||||
|
- script: '$(Build.SourcesDirectory)/.ci/azure-pipelines/windows_build.bat'
|
||||||
|
env:
|
||||||
|
ARCHITECTURE: ${{parameters.architecture}}
|
||||||
|
COMPILER_PATH: ${{parameters.compilerPath}}
|
||||||
|
VCPKG_TRIPLET: ${{parameters.vcpkgTriplet}}
|
||||||
|
VCVARS_PATH: ${{parameters.vcvarsPath}}
|
||||||
|
SE_BUILD_NUMBER_TOKEN: $(BUILD_NUMBER_TOKEN)
|
||||||
|
displayName: 'Build'
|
||||||
|
- powershell: |
|
||||||
|
. .ci/appveyor-vpntest.ps1
|
||||||
|
displayName: 'Test'
|
||||||
|
- task: CopyFiles@2
|
||||||
|
inputs:
|
||||||
|
sourceFolder: '$(Build.BinariesDirectory)'
|
||||||
|
contents: '?(*.exe|*.se2|*.pdb)'
|
||||||
|
TargetFolder: '$(Build.StagingDirectory)/binaries/${{parameters.architecture}}'
|
||||||
|
flattenFolders: true
|
||||||
|
- task: PublishBuildArtifacts@1
|
||||||
|
inputs:
|
||||||
|
pathtoPublish: '$(Build.StagingDirectory)/binaries/${{parameters.architecture}}'
|
||||||
|
artifactName: 'Binaries_${{parameters.architecture}}'
|
||||||
|
- task: PublishBuildArtifacts@1
|
||||||
|
inputs:
|
||||||
|
pathtoPublish: '$(Build.StagingDirectory)/installers'
|
||||||
|
artifactName: 'Installers'
|
27
.ci/azure-pipelines/windows.yml
Normal file
27
.ci/azure-pipelines/windows.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
jobs:
|
||||||
|
- job: Windows_x64
|
||||||
|
pool:
|
||||||
|
vmImage: windows-latest
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
|
persistCredentials: true
|
||||||
|
- template: "windows-steps.yml"
|
||||||
|
parameters:
|
||||||
|
architecture: "x64"
|
||||||
|
compilerPath: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe"
|
||||||
|
vcpkgTriplet: "x64-windows-static"
|
||||||
|
vcvarsPath: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
|
||||||
|
- job: Windows_x86
|
||||||
|
pool:
|
||||||
|
vmImage: windows-latest
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
|
persistCredentials: true
|
||||||
|
- template: "windows-steps.yml"
|
||||||
|
parameters:
|
||||||
|
architecture: "x86"
|
||||||
|
compilerPath: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/bin/clang-cl.exe"
|
||||||
|
vcpkgTriplet: "x86-windows-static"
|
||||||
|
vcvarsPath: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars32.bat"
|
26
.ci/azure-pipelines/windows_build.bat
Normal file
26
.ci/azure-pipelines/windows_build.bat
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
@echo on
|
||||||
|
|
||||||
|
:: The method we use to store a command's output into a variable:
|
||||||
|
:: https://stackoverflow.com/a/6362922
|
||||||
|
for /f "tokens=* USEBACKQ" %%g in (`python "version.py"`) do (set "VERSION=%%g")
|
||||||
|
|
||||||
|
:: https://stackoverflow.com/a/8566001
|
||||||
|
echo %SE_BUILD_NUMBER_TOKEN%> "%tmp%\length.txt"
|
||||||
|
for %%? in ("%tmp%\length.txt") do ( set /A SE_BUILD_NUMBER_TOKEN_LENGTH=%%~z? - 2 )
|
||||||
|
|
||||||
|
if %SE_BUILD_NUMBER_TOKEN_LENGTH% equ 64 (
|
||||||
|
for /f "tokens=* USEBACKQ" %%g in (`curl "https://softether.network/get-build-number?commit=%BUILD_SOURCEVERSION%&version=%VERSION%&token=%SE_BUILD_NUMBER_TOKEN%"`) do (set "BUILD_NUMBER=%%g")
|
||||||
|
) else (
|
||||||
|
set BUILD_NUMBER=0
|
||||||
|
)
|
||||||
|
|
||||||
|
cd %BUILD_BINARIESDIRECTORY%
|
||||||
|
|
||||||
|
call "%VCVARS_PATH%"
|
||||||
|
|
||||||
|
cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=%VCPKG_TRIPLET% -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER="%COMPILER_PATH%" -DCMAKE_CXX_COMPILER="%COMPILER_PATH%" -DBUILD_NUMBER=%BUILD_NUMBER% "%BUILD_SOURCESDIRECTORY%"
|
||||||
|
cmake --build .
|
||||||
|
|
||||||
|
mkdir "%BUILD_STAGINGDIRECTORY%\installers"
|
||||||
|
vpnsetup /SFXMODE:vpnclient /SFXOUT:"%BUILD_STAGINGDIRECTORY%\installers\softether-vpnclient-%VERSION%.%BUILD_NUMBER%.%ARCHITECTURE%.exe"
|
||||||
|
vpnsetup /SFXMODE:vpnserver_vpnbridge /SFXOUT:"%BUILD_STAGINGDIRECTORY%\installers\softether-vpnserver_vpnbridge-%VERSION%.%BUILD_NUMBER%.%ARCHITECTURE%.exe"
|
34
.github/workflows/linux.yml
vendored
34
.github/workflows/linux.yml
vendored
@ -1,34 +0,0 @@
|
|||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: sudo apt update && sudo apt-get -y install cmake gcc g++ ninja-build libncurses5-dev libreadline-dev libsodium-dev libssl-dev make zlib1g-dev liblz4-dev libnl-genl-3-dev
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
|
||||||
cmake --build .
|
|
||||||
|
|
||||||
- name: Build deb packages
|
|
||||||
run: |
|
|
||||||
cd build
|
|
||||||
cpack -C Release -G DEB
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: |
|
|
||||||
.ci/appveyor-deb-install-test.sh
|
|
||||||
sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip libcap-ng-dev # To build OpenVPN
|
|
||||||
sudo .ci/start-se-openvpn.sh
|
|
||||||
sudo .ci/run-openvpn-tests.sh
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
build_and_test:
|
build_and_test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-14, macos-13, macos-12, macos-11]
|
os: [macos-13, macos-12, macos-11]
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
63
.github/workflows/windows.yml
vendored
63
.github/workflows/windows.yml
vendored
@ -1,63 +0,0 @@
|
|||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_test:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform: [
|
|
||||||
{ ARCHITECTURE: x86, COMPILER_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/bin/clang-cl.exe", VCPKG_TRIPLET: "x86-windows-static", VCVARS_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars32.bat"},
|
|
||||||
{ ARCHITECTURE: x64, COMPILER_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe", VCPKG_TRIPLET: "x64-windows-static", VCVARS_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"}
|
|
||||||
]
|
|
||||||
runs-on: windows-latest
|
|
||||||
name: ${{ matrix.platform.ARCHITECTURE }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: Cache vcpkg
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: 'build/vcpkg_installed/'
|
|
||||||
key: vcpkg-${{ matrix.platform.VCPKG_TRIPLET }}
|
|
||||||
- name: Set version variables
|
|
||||||
run: |
|
|
||||||
$v = python version.py
|
|
||||||
echo "VERSION=$v" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
|
||||||
shell: pwsh
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
ARCHITECTURE: ${{ matrix.platform.ARCHITECTURE }}
|
|
||||||
COMPILER_PATH: ${{ matrix.platform.COMPILER_PATH }}
|
|
||||||
VCPKG_TRIPLET: ${{ matrix.platform.VCPKG_TRIPLET }}
|
|
||||||
VCVARS_PATH: ${{ matrix.platform.VCVARS_PATH }}
|
|
||||||
run: |
|
|
||||||
set BUILD_NUMBER=0
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
call "%VCVARS_PATH%"
|
|
||||||
cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=%VCPKG_TRIPLET% -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER="%COMPILER_PATH%" -DCMAKE_CXX_COMPILER="%COMPILER_PATH%" -DBUILD_NUMBER=%BUILD_NUMBER% ..
|
|
||||||
cmake --build .
|
|
||||||
mkdir installers
|
|
||||||
vpnsetup /SFXMODE:vpnclient /SFXOUT:"installers\softether-vpnclient-%VERSION%.%BUILD_NUMBER%.%ARCHITECTURE%.exe"
|
|
||||||
vpnsetup /SFXMODE:vpnserver_vpnbridge /SFXOUT:"installers\softether-vpnserver_vpnbridge-%VERSION%.%BUILD_NUMBER%.%ARCHITECTURE%.exe"
|
|
||||||
shell: cmd
|
|
||||||
- name: Test
|
|
||||||
shell: powershell
|
|
||||||
run: |
|
|
||||||
. .ci/appveyor-vpntest.ps1
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
if-no-files-found: error
|
|
||||||
name: Binaries-${{ matrix.platform.ARCHITECTURE }}
|
|
||||||
path: |
|
|
||||||
build/*.exe
|
|
||||||
build/*.pdb
|
|
||||||
build/*.se2
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
if-no-files-found: error
|
|
||||||
name: Installers-${{ matrix.platform.ARCHITECTURE }}
|
|
||||||
path: build/installers
|
|
94
.github/workflows/windows_release.yml
vendored
94
.github/workflows/windows_release.yml
vendored
@ -1,94 +0,0 @@
|
|||||||
name: "Release"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: windows-latest
|
|
||||||
outputs:
|
|
||||||
upload_url: "${{ steps.create_release.outputs.upload_url }}"
|
|
||||||
steps:
|
|
||||||
- name: "Checkout repository"
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: "Create GitHub release"
|
|
||||||
id: create_release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
build-windows:
|
|
||||||
name: ${{ matrix.platform.ARCHITECTURE }}
|
|
||||||
runs-on: windows-latest
|
|
||||||
needs: ["release"]
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform: [
|
|
||||||
{ ARCHITECTURE: x86, COMPILER_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/bin/clang-cl.exe", VCPKG_TRIPLET: "x86-windows-static", VCVARS_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars32.bat"},
|
|
||||||
{ ARCHITECTURE: x64, COMPILER_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe", VCPKG_TRIPLET: "x64-windows-static", VCVARS_PATH: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"}
|
|
||||||
]
|
|
||||||
steps:
|
|
||||||
- name: "Checkout repository"
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: Cache vcpkg
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: 'build/vcpkg_installed/'
|
|
||||||
key: vcpkg-release-${{ matrix.platform.VCPKG_TRIPLET }}
|
|
||||||
- name: Set version variables
|
|
||||||
run: |
|
|
||||||
$b=(Get-Content CMakeSettings.json | Out-String | ConvertFrom-Json).environments.BuildNumber
|
|
||||||
echo "BUILD_NUMBER=$b" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
|
||||||
$v = python version.py
|
|
||||||
echo "VERSION=$v" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
|
||||||
shell: pwsh
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
ARCHITECTURE: ${{ matrix.platform.ARCHITECTURE }}
|
|
||||||
COMPILER_PATH: ${{ matrix.platform.COMPILER_PATH }}
|
|
||||||
VCPKG_TRIPLET: ${{ matrix.platform.VCPKG_TRIPLET }}
|
|
||||||
VCVARS_PATH: ${{ matrix.platform.VCVARS_PATH }}
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
call "%VCVARS_PATH%"
|
|
||||||
cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="C:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=%VCPKG_TRIPLET% -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER="%COMPILER_PATH%" -DCMAKE_CXX_COMPILER="%COMPILER_PATH%" -DBUILD_NUMBER=%BUILD_NUMBER% ..
|
|
||||||
cmake --build .
|
|
||||||
mkdir installers
|
|
||||||
vpnsetup /SFXMODE:vpnclient /SFXOUT:"installers\softether-vpnclient-%VERSION%.%BUILD_NUMBER%.%ARCHITECTURE%.exe"
|
|
||||||
vpnsetup /SFXMODE:vpnserver_vpnbridge /SFXOUT:"installers\softether-vpnserver_vpnbridge-%VERSION%.%BUILD_NUMBER%.%ARCHITECTURE%.exe"
|
|
||||||
shell: cmd
|
|
||||||
|
|
||||||
- name: dir
|
|
||||||
run: |
|
|
||||||
Get-ChildItem -Recurse build/installers
|
|
||||||
shell: pwsh
|
|
||||||
|
|
||||||
- name: "Upload softether-vpnclient"
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: "${{ github.token }}"
|
|
||||||
with:
|
|
||||||
upload_url: "${{ needs.release.outputs.upload_url }}"
|
|
||||||
asset_path: "build/installers/softether-vpnclient-${{ env.VERSION }}.${{ env.BUILD_NUMBER }}.${{ matrix.platform.ARCHITECTURE }}.exe"
|
|
||||||
asset_name: "softether-vpnclient-${{ env.VERSION }}.${{ env.BUILD_NUMBER }}.${{ matrix.platform.ARCHITECTURE }}.exe"
|
|
||||||
asset_content_type: "application/octet-stream"
|
|
||||||
- name: "Upload softether-vpnserver_vpnbridge"
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: "${{ github.token }}"
|
|
||||||
with:
|
|
||||||
upload_url: "${{ needs.release.outputs.upload_url }}"
|
|
||||||
asset_path: "build/installers/softether-vpnserver_vpnbridge-${{ env.VERSION }}.${{ env.BUILD_NUMBER }}.${{ matrix.platform.ARCHITECTURE }}.exe"
|
|
||||||
asset_name: "softether-vpnserver_vpnbridge-${{ env.VERSION }}.${{ env.BUILD_NUMBER }}.${{ matrix.platform.ARCHITECTURE }}.exe"
|
|
||||||
asset_content_type: "application/octet-stream"
|
|
||||||
|
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"cmake.configureOnOpen": false
|
|
||||||
}
|
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10)
|
|||||||
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
||||||
|
|
||||||
if ("${BUILD_NUMBER}" STREQUAL "")
|
if ("${BUILD_NUMBER}" STREQUAL "")
|
||||||
set(BUILD_NUMBER "5185")
|
set(BUILD_NUMBER "5182")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_NUMBER LESS 5180)
|
if (BUILD_NUMBER LESS 5180)
|
||||||
@ -53,7 +53,7 @@ if(UNIX)
|
|||||||
#
|
#
|
||||||
# use rpath for locating installed libraries
|
# use rpath for locating installed libraries
|
||||||
#
|
#
|
||||||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
|
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
||||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
|
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"environments": [ { "BuildNumber": "5185" } ],
|
"environments": [ { "BuildNumber": "5182" } ],
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "x64-native",
|
"name": "x64-native",
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
||Badges|
|
||Badges|
|
||||||
|---|---|
|
|---|---|
|
||||||
|
|AppVeyor|[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/softethervpn/softethervpn?branch=master&svg=true)](https://ci.appveyor.com/project/softethervpn/softethervpn) |
|
||||||
|GitLab CI|[![GitLab CI build status](https://gitlab.com/SoftEther/SoftEtherVPN/badges/master/pipeline.svg)](https://gitlab.com/SoftEther/SoftEtherVPN/pipelines)|
|
|GitLab CI|[![GitLab CI build status](https://gitlab.com/SoftEther/SoftEtherVPN/badges/master/pipeline.svg)](https://gitlab.com/SoftEther/SoftEtherVPN/pipelines)|
|
||||||
|Coverity Scan|[![Coverity Scan build status](https://scan.coverity.com/projects/16304/badge.svg)](https://scan.coverity.com/projects/softethervpn-softethervpn)|
|
|Coverity Scan|[![Coverity Scan build status](https://scan.coverity.com/projects/16304/badge.svg)](https://scan.coverity.com/projects/softethervpn-softethervpn)|
|
||||||
|
|Azure Pipelines|[![Azure Pipelines build status for Nightly](https://dev.azure.com/SoftEther-VPN/SoftEther%20VPN/_apis/build/status/6?api-version=6.0-preview.1)](https://dev.azure.com/SoftEther-VPN/SoftEther%20VPN/_build?definitionId=6)|
|
||||||
|Cirrus CI|[![Cirrus CI build status](https://api.cirrus-ci.com/github/SoftEtherVPN/SoftEtherVPN.svg)](https://cirrus-ci.com/github/SoftEtherVPN/SoftEtherVPN)|
|
|Cirrus CI|[![Cirrus CI build status](https://api.cirrus-ci.com/github/SoftEtherVPN/SoftEtherVPN.svg)](https://cirrus-ci.com/github/SoftEtherVPN/SoftEtherVPN)|
|
||||||
|
|
||||||
- [SoftEther VPN](#softether-vpn)
|
- [SoftEther VPN](#softether-vpn)
|
||||||
|
@ -216,8 +216,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
<li><a href="#getspeciallistener">GetSpecialListener - Get Current Setting of the VPN over ICMP / VPN over DNS Function</a></li>
|
<li><a href="#getspeciallistener">GetSpecialListener - Get Current Setting of the VPN over ICMP / VPN over DNS Function</a></li>
|
||||||
<li><a href="#getazurestatus">GetAzureStatus - Show the current status of VPN Azure function</a></li>
|
<li><a href="#getazurestatus">GetAzureStatus - Show the current status of VPN Azure function</a></li>
|
||||||
<li><a href="#setazurestatus">SetAzureStatus - Enable / Disable VPN Azure Function</a></li>
|
<li><a href="#setazurestatus">SetAzureStatus - Enable / Disable VPN Azure Function</a></li>
|
||||||
<li><a href="#getddnsinternetsetting">GetDDnsInternetSetting - Get the Proxy Settings for Connecting to the DDNS server</a></li>
|
<li><a href="#getddnsinternetsettng">GetDDnsInternetSettng - Get the Proxy Settings for Connecting to the DDNS server</a></li>
|
||||||
<li><a href="#setddnsinternetsetting">SetDDnsInternetSetting - Set the Proxy Settings for Connecting to the DDNS server</a></li>
|
<li><a href="#setddnsinternetsettng">SetDDnsInternetSettng - Set the Proxy Settings for Connecting to the DDNS server</a></li>
|
||||||
<li><a href="#setvgsconfig">SetVgsConfig - Set the VPN Gate Server Configuration</a></li>
|
<li><a href="#setvgsconfig">SetVgsConfig - Set the VPN Gate Server Configuration</a></li>
|
||||||
<li><a href="#getvgsconfig">GetVgsConfig - Get the VPN Gate Server Configuration</a></li>
|
<li><a href="#getvgsconfig">GetVgsConfig - Get the VPN Gate Server Configuration</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -305,7 +305,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerBuildInt_u32": 0,
|
"ServerBuildInt_u32": 0,
|
||||||
"ServerHostName_str": "serverhostname",
|
"ServerHostName_str": "serverhostname",
|
||||||
"ServerType_u32": 0,
|
"ServerType_u32": 0,
|
||||||
"ServerBuildDate_dt": "2024-08-01T12:24:36.123",
|
"ServerBuildDate_dt": "2020-08-01T12:24:36.123",
|
||||||
"ServerFamilyName_str": "serverfamilyname",
|
"ServerFamilyName_str": "serverfamilyname",
|
||||||
"OsType_u32": 0,
|
"OsType_u32": 0,
|
||||||
"OsServicePack_u32": 0,
|
"OsServicePack_u32": 0,
|
||||||
@ -460,9 +460,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Send.BroadcastCount_u64": 0,
|
"Send.BroadcastCount_u64": 0,
|
||||||
"Send.UnicastBytes_u64": 0,
|
"Send.UnicastBytes_u64": 0,
|
||||||
"Send.UnicastCount_u64": 0,
|
"Send.UnicastCount_u64": 0,
|
||||||
"CurrentTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentTick_u64": 0,
|
"CurrentTick_u64": 0,
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"TotalMemory_u64": 0,
|
"TotalMemory_u64": 0,
|
||||||
"UsedMemory_u64": 0,
|
"UsedMemory_u64": 0,
|
||||||
"FreeMemory_u64": 0,
|
"FreeMemory_u64": 0,
|
||||||
@ -1136,7 +1136,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"result": {
|
"result": {
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1283,7 +1283,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1296,7 +1296,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1309,7 +1309,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1422,9 +1422,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"StartedTime_dt": "2024-08-01T12:24:36.123",
|
"StartedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumTry_u32": 0,
|
"NumTry_u32": 0,
|
||||||
"NumConnected_u32": 0,
|
"NumConnected_u32": 0,
|
||||||
"NumFailed_u32": 0
|
"NumFailed_u32": 0
|
||||||
@ -1918,9 +1918,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1941,9 +1941,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1964,9 +1964,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -2309,7 +2309,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2317,7 +2317,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2325,7 +2325,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -2450,7 +2450,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ServerStr_str": "serverstr",
|
"ServerStr_str": "serverstr",
|
||||||
"ServerVer_u32": 0,
|
"ServerVer_u32": 0,
|
||||||
"ServerBuild_u32": 0,
|
"ServerBuild_u32": 0,
|
||||||
@ -2620,9 +2620,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Send.UnicastBytes_u64": 0,
|
"Send.UnicastBytes_u64": 0,
|
||||||
"Send.UnicastCount_u64": 0,
|
"Send.UnicastCount_u64": 0,
|
||||||
"SecureNATEnabled_bool": false,
|
"SecureNATEnabled_bool": false,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0
|
"NumLogin_u32": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2992,19 +2992,19 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -4348,7 +4348,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
},
|
},
|
||||||
@ -4357,7 +4357,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
},
|
},
|
||||||
@ -4366,7 +4366,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
}
|
}
|
||||||
@ -4668,9 +4668,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerProductBuild_u32": 0,
|
"ServerProductBuild_u32": 0,
|
||||||
"ServerX_bin": "SGVsbG8gV29ybGQ=",
|
"ServerX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"ClientX_bin": "SGVsbG8gV29ybGQ=",
|
"ClientX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectionEstablisiedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectionEstablisiedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectionEstablishTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectionEstablishTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumConnectionsEatablished_u32": 0,
|
"NumConnectionsEatablished_u32": 0,
|
||||||
"HalfConnection_bool": false,
|
"HalfConnection_bool": false,
|
||||||
"QoS_bool": false,
|
"QoS_bool": false,
|
||||||
@ -5996,7 +5996,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6057,9 +6057,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6247,7 +6247,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
<tr>
|
<tr>
|
||||||
<td><code>Send.UnicastCount_u64</code></td>
|
<td><code>Send.UnicastCount_u64</code></td>
|
||||||
<td><code>number</code> (uint64)</td>
|
<td><code>number</code> (uint64)</td>
|
||||||
<td>Unicast bytes (Send)</td>
|
<td>Unicast count (Send)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>UsePolicy_bool</code></td>
|
<td><code>UsePolicy_bool</code></td>
|
||||||
@ -6467,7 +6467,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6528,9 +6528,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6948,9 +6948,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -7419,11 +7419,11 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -7440,11 +7440,11 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -7461,11 +7461,11 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -8907,8 +8907,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
@ -8929,8 +8929,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
@ -8951,8 +8951,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -9117,9 +9117,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerProductName_str": "serverproductname",
|
"ServerProductName_str": "serverproductname",
|
||||||
"ServerProductVer_u32": 0,
|
"ServerProductVer_u32": 0,
|
||||||
"ServerProductBuild_u32": 0,
|
"ServerProductBuild_u32": 0,
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectionEstablisiedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectionEstablisiedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectionEstablishTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectionEstablishTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumConnectionsEatablished_u32": 0,
|
"NumConnectionsEatablished_u32": 0,
|
||||||
"HalfConnection_bool": false,
|
"HalfConnection_bool": false,
|
||||||
"QoS_bool": false,
|
"QoS_bool": false,
|
||||||
@ -9496,8 +9496,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -9506,8 +9506,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -9516,8 +9516,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -9663,8 +9663,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
},
|
},
|
||||||
@ -9673,8 +9673,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
},
|
},
|
||||||
@ -9683,8 +9683,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
}
|
}
|
||||||
@ -10376,8 +10376,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -10391,8 +10391,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -10406,8 +10406,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -10527,8 +10527,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DhcpTable": [
|
"DhcpTable": [
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -10536,8 +10536,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -10545,8 +10545,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -13090,19 +13090,19 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -14508,15 +14508,15 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<p><a id="getddnsinternetsetting"></a></p>
|
<p><a id="getddnsinternetsettng"></a></p>
|
||||||
<h2 id="getddnsinternetsetting-rpc-api-get-the-proxy-settings-for-connecting-to-the-ddns-server">"GetDDnsInternetSetting" RPC API - Get the Proxy Settings for Connecting to the DDNS server</h2>
|
<h2 id="getddnsinternetsettng-rpc-api-get-the-proxy-settings-for-connecting-to-the-ddns-server">"GetDDnsInternetSettng" RPC API - Get the Proxy Settings for Connecting to the DDNS server</h2>
|
||||||
<h3 id="description-131">Description</h3>
|
<h3 id="description-131">Description</h3>
|
||||||
<p>Get the Proxy Settings for Connecting to the DDNS server.</p>
|
<p>Get the Proxy Settings for Connecting to the DDNS server.</p>
|
||||||
<h3 id="input-json-rpc-format-131">Input JSON-RPC Format</h3>
|
<h3 id="input-json-rpc-format-131">Input JSON-RPC Format</h3>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-json">{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "rpc_call_id",
|
"id": "rpc_call_id",
|
||||||
"method": "GetDDnsInternetSetting",
|
"method": "GetDDnsInternetSettng",
|
||||||
"params": {}
|
"params": {}
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -14571,15 +14571,15 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<p><a id="setddnsinternetsetting"></a></p>
|
<p><a id="setddnsinternetsettng"></a></p>
|
||||||
<h2 id="setddnsinternetsetting-rpc-api-set-the-proxy-settings-for-connecting-to-the-ddns-server">"SetDDnsInternetSetting" RPC API - Set the Proxy Settings for Connecting to the DDNS server</h2>
|
<h2 id="setddnsinternetsettng-rpc-api-set-the-proxy-settings-for-connecting-to-the-ddns-server">"SetDDnsInternetSettng" RPC API - Set the Proxy Settings for Connecting to the DDNS server</h2>
|
||||||
<h3 id="description-132">Description</h3>
|
<h3 id="description-132">Description</h3>
|
||||||
<p>Set the Proxy Settings for Connecting to the DDNS server.</p>
|
<p>Set the Proxy Settings for Connecting to the DDNS server.</p>
|
||||||
<h3 id="input-json-rpc-format-132">Input JSON-RPC Format</h3>
|
<h3 id="input-json-rpc-format-132">Input JSON-RPC Format</h3>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-json">{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "rpc_call_id",
|
"id": "rpc_call_id",
|
||||||
"method": "SetDDnsInternetSetting",
|
"method": "SetDDnsInternetSettng",
|
||||||
"params": {
|
"params": {
|
||||||
"ProxyType_u32": 0,
|
"ProxyType_u32": 0,
|
||||||
"ProxyHostName_str": "proxyhostname",
|
"ProxyHostName_str": "proxyhostname",
|
||||||
@ -14640,8 +14640,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<p>Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen.<br />
|
<p>Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen.<br />
|
||||||
Copyright (c) 2014-2023 <a href="https://www.softether.org/">SoftEther VPN Project</a> under the Apache License 2.0.</p>
|
Copyright (c) 2014-2019 <a href="https://www.softether.org/">SoftEther VPN Project</a> under the Apache License 2.0.</p>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
</body>
|
</body>
|
||||||
|
@ -208,8 +208,8 @@ Value | Description
|
|||||||
- [GetSpecialListener - Get Current Setting of the VPN over ICMP / VPN over DNS Function](#getspeciallistener)
|
- [GetSpecialListener - Get Current Setting of the VPN over ICMP / VPN over DNS Function](#getspeciallistener)
|
||||||
- [GetAzureStatus - Show the current status of VPN Azure function](#getazurestatus)
|
- [GetAzureStatus - Show the current status of VPN Azure function](#getazurestatus)
|
||||||
- [SetAzureStatus - Enable / Disable VPN Azure Function](#setazurestatus)
|
- [SetAzureStatus - Enable / Disable VPN Azure Function](#setazurestatus)
|
||||||
- [GetDDnsInternetSetting - Get the Proxy Settings for Connecting to the DDNS server](#getddnsinternetsetting)
|
- [GetDDnsInternetSettng - Get the Proxy Settings for Connecting to the DDNS server](#getddnsinternetsettng)
|
||||||
- [SetDDnsInternetSetting - Set the Proxy Settings for Connecting to the DDNS server](#setddnsinternetsetting)
|
- [SetDDnsInternetSettng - Set the Proxy Settings for Connecting to the DDNS server](#setddnsinternetsettng)
|
||||||
- [SetVgsConfig - Set the VPN Gate Server Configuration](#setvgsconfig)
|
- [SetVgsConfig - Set the VPN Gate Server Configuration](#setvgsconfig)
|
||||||
- [GetVgsConfig - Get the VPN Gate Server Configuration](#getvgsconfig)
|
- [GetVgsConfig - Get the VPN Gate Server Configuration](#getvgsconfig)
|
||||||
|
|
||||||
@ -283,7 +283,7 @@ Get server information. This allows you to obtain the server information of the
|
|||||||
"ServerBuildInt_u32": 0,
|
"ServerBuildInt_u32": 0,
|
||||||
"ServerHostName_str": "serverhostname",
|
"ServerHostName_str": "serverhostname",
|
||||||
"ServerType_u32": 0,
|
"ServerType_u32": 0,
|
||||||
"ServerBuildDate_dt": "2024-08-01T12:24:36.123",
|
"ServerBuildDate_dt": "2020-08-01T12:24:36.123",
|
||||||
"ServerFamilyName_str": "serverfamilyname",
|
"ServerFamilyName_str": "serverfamilyname",
|
||||||
"OsType_u32": 0,
|
"OsType_u32": 0,
|
||||||
"OsServicePack_u32": 0,
|
"OsServicePack_u32": 0,
|
||||||
@ -368,9 +368,9 @@ Get Current Server Status. This allows you to obtain in real-time the current st
|
|||||||
"Send.BroadcastCount_u64": 0,
|
"Send.BroadcastCount_u64": 0,
|
||||||
"Send.UnicastBytes_u64": 0,
|
"Send.UnicastBytes_u64": 0,
|
||||||
"Send.UnicastCount_u64": 0,
|
"Send.UnicastCount_u64": 0,
|
||||||
"CurrentTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentTick_u64": 0,
|
"CurrentTick_u64": 0,
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"TotalMemory_u64": 0,
|
"TotalMemory_u64": 0,
|
||||||
"UsedMemory_u64": 0,
|
"UsedMemory_u64": 0,
|
||||||
"FreeMemory_u64": 0,
|
"FreeMemory_u64": 0,
|
||||||
@ -768,7 +768,7 @@ Get Cluster Member Information. When the VPN Server is operating as a cluster co
|
|||||||
"result": {
|
"result": {
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -849,7 +849,7 @@ Get List of Cluster Members. Use this API when the VPN Server is operating as a
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -862,7 +862,7 @@ Get List of Cluster Members. Use this API when the VPN Server is operating as a
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -875,7 +875,7 @@ Get List of Cluster Members. Use this API when the VPN Server is operating as a
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -934,9 +934,9 @@ Get Connection Status to Cluster Controller. Use this API when the VPN Server is
|
|||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"StartedTime_dt": "2024-08-01T12:24:36.123",
|
"StartedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumTry_u32": 0,
|
"NumTry_u32": 0,
|
||||||
"NumConnected_u32": 0,
|
"NumConnected_u32": 0,
|
||||||
"NumFailed_u32": 0
|
"NumFailed_u32": 0
|
||||||
@ -1278,9 +1278,9 @@ Get List of Virtual Hubs. Use this to get a list of existing Virtual Hubs on the
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1301,9 +1301,9 @@ Get List of Virtual Hubs. Use this to get a list of existing Virtual Hubs on the
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1324,9 +1324,9 @@ Get List of Virtual Hubs. Use this to get a list of existing Virtual Hubs on the
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1525,7 +1525,7 @@ Get List of TCP Connections Connecting to the VPN Server. Use this to get a list
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1533,7 +1533,7 @@ Get List of TCP Connections Connecting to the VPN Server. Use this to get a list
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1541,7 +1541,7 @@ Get List of TCP Connections Connecting to the VPN Server. Use this to get a list
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -1626,7 +1626,7 @@ Get Information of TCP Connections Connecting to the VPN Server. Use this to get
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ServerStr_str": "serverstr",
|
"ServerStr_str": "serverstr",
|
||||||
"ServerVer_u32": 0,
|
"ServerVer_u32": 0,
|
||||||
"ServerBuild_u32": 0,
|
"ServerBuild_u32": 0,
|
||||||
@ -1736,9 +1736,9 @@ Get Current Status of Virtual Hub. Use this to get the current status of the Vir
|
|||||||
"Send.UnicastBytes_u64": 0,
|
"Send.UnicastBytes_u64": 0,
|
||||||
"Send.UnicastCount_u64": 0,
|
"Send.UnicastCount_u64": 0,
|
||||||
"SecureNATEnabled_bool": false,
|
"SecureNATEnabled_bool": false,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0
|
"NumLogin_u32": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1948,19 +1948,19 @@ Get List of Trusted CA Certificates. Here you can manage the certificate authori
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -2210,7 +2210,7 @@ Name | Type | Description
|
|||||||
`NoUdpAcceleration_bool` | `boolean` | Client Option Parameters: Do not use UDP acceleration mode if the value is true
|
`NoUdpAcceleration_bool` | `boolean` | Client Option Parameters: Do not use UDP acceleration mode if the value is true
|
||||||
`AuthType_u32` | `number` (enum) | Authentication type<BR>Values:<BR>`0`: Anonymous authentication<BR>`1`: SHA-0 hashed password authentication<BR>`2`: Plain password authentication<BR>`3`: Certificate authentication
|
`AuthType_u32` | `number` (enum) | Authentication type<BR>Values:<BR>`0`: Anonymous authentication<BR>`1`: SHA-0 hashed password authentication<BR>`2`: Plain password authentication<BR>`3`: Certificate authentication
|
||||||
`Username_str` | `string` (ASCII) | User name
|
`Username_str` | `string` (ASCII) | User name
|
||||||
`HashedPassword_bin` | `string` (Base64 binary) | SHA-0 Hashed password. Valid only if ClientAuth_AuthType_u32 == SHA0_Hashed_Password (1). The SHA-0 hashed password must be caluclated by the SHA0(UpperCase(username_ascii_string) + password_ascii_string).
|
`HashedPassword_bin` | `string` (Base64 binary) | SHA-0 Hashed password. Valid only if ClientAuth_AuthType_u32 == SHA0_Hashed_Password (1). The SHA-0 hashed password must be caluclated by the SHA0(password_ascii_string + UpperCase(username_ascii_string)).
|
||||||
`PlainPassword_str` | `string` (ASCII) | Plaintext Password. Valid only if ClientAuth_AuthType_u32 == PlainPassword (2).
|
`PlainPassword_str` | `string` (ASCII) | Plaintext Password. Valid only if ClientAuth_AuthType_u32 == PlainPassword (2).
|
||||||
`ClientX_bin` | `string` (Base64 binary) | Client certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
`ClientX_bin` | `string` (Base64 binary) | Client certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
||||||
`ClientK_bin` | `string` (Base64 binary) | Client private key of the certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
`ClientK_bin` | `string` (Base64 binary) | Client private key of the certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
||||||
@ -2537,7 +2537,7 @@ Name | Type | Description
|
|||||||
`NoUdpAcceleration_bool` | `boolean` | Client Option Parameters: Do not use UDP acceleration mode if the value is true
|
`NoUdpAcceleration_bool` | `boolean` | Client Option Parameters: Do not use UDP acceleration mode if the value is true
|
||||||
`AuthType_u32` | `number` (enum) | Authentication type<BR>Values:<BR>`0`: Anonymous authentication<BR>`1`: SHA-0 hashed password authentication<BR>`2`: Plain password authentication<BR>`3`: Certificate authentication
|
`AuthType_u32` | `number` (enum) | Authentication type<BR>Values:<BR>`0`: Anonymous authentication<BR>`1`: SHA-0 hashed password authentication<BR>`2`: Plain password authentication<BR>`3`: Certificate authentication
|
||||||
`Username_str` | `string` (ASCII) | User name
|
`Username_str` | `string` (ASCII) | User name
|
||||||
`HashedPassword_bin` | `string` (Base64 binary) | SHA-0 Hashed password. Valid only if ClientAuth_AuthType_u32 == SHA0_Hashed_Password (1). The SHA-0 hashed password must be caluclated by the SHA0(UpperCase(username_ascii_string) + password_ascii_string).
|
`HashedPassword_bin` | `string` (Base64 binary) | SHA-0 Hashed password. Valid only if ClientAuth_AuthType_u32 == SHA0_Hashed_Password (1). The SHA-0 hashed password must be caluclated by the SHA0(password_ascii_string + UpperCase(username_ascii_string)).
|
||||||
`PlainPassword_str` | `string` (ASCII) | Plaintext Password. Valid only if ClientAuth_AuthType_u32 == PlainPassword (2).
|
`PlainPassword_str` | `string` (ASCII) | Plaintext Password. Valid only if ClientAuth_AuthType_u32 == PlainPassword (2).
|
||||||
`ClientX_bin` | `string` (Base64 binary) | Client certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
`ClientX_bin` | `string` (Base64 binary) | Client certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
||||||
`ClientK_bin` | `string` (Base64 binary) | Client private key of the certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
`ClientK_bin` | `string` (Base64 binary) | Client private key of the certificate. Valid only if ClientAuth_AuthType_u32 == Cert (3).
|
||||||
@ -2600,7 +2600,7 @@ Get List of Cascade Connections. Use this to get a list of Cascade Connections t
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
},
|
},
|
||||||
@ -2609,7 +2609,7 @@ Get List of Cascade Connections. Use this to get a list of Cascade Connections t
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
},
|
},
|
||||||
@ -2618,7 +2618,7 @@ Get List of Cascade Connections. Use this to get a list of Cascade Connections t
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
}
|
}
|
||||||
@ -2834,9 +2834,9 @@ Get Current Cascade Connection Status. When a Cascade Connection registered on t
|
|||||||
"ServerProductBuild_u32": 0,
|
"ServerProductBuild_u32": 0,
|
||||||
"ServerX_bin": "SGVsbG8gV29ybGQ=",
|
"ServerX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"ClientX_bin": "SGVsbG8gV29ybGQ=",
|
"ClientX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectionEstablisiedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectionEstablisiedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectionEstablishTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectionEstablishTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumConnectionsEatablished_u32": 0,
|
"NumConnectionsEatablished_u32": 0,
|
||||||
"HalfConnection_bool": false,
|
"HalfConnection_bool": false,
|
||||||
"QoS_bool": false,
|
"QoS_bool": false,
|
||||||
@ -3566,7 +3566,7 @@ Create a user. Use this to create a new user in the security account database of
|
|||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -3629,9 +3629,9 @@ Create a user. Use this to create a new user in the security account database of
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -3779,7 +3779,7 @@ Change User Settings. Use this to change user settings that is registered on the
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -3842,9 +3842,9 @@ Change User Settings. Use this to change user settings that is registered on the
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -4004,9 +4004,9 @@ Get User Settings. Use this to get user settings information that is registered
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -4207,11 +4207,11 @@ Get List of Users. Use this to get a list of users that are registered on the se
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -4228,11 +4228,11 @@ Get List of Users. Use this to get a list of users that are registered on the se
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -4249,11 +4249,11 @@ Get List of Users. Use this to get a list of users that are registered on the se
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -4605,14 +4605,14 @@ Name | Type | Description
|
|||||||
`Name_str` | `string` (ASCII) | The group name
|
`Name_str` | `string` (ASCII) | The group name
|
||||||
`Realname_utf` | `string` (UTF8) | Optional real name (full name) of the group, allow using any Unicode characters
|
`Realname_utf` | `string` (UTF8) | Optional real name (full name) of the group, allow using any Unicode characters
|
||||||
`Note_utf` | `string` (UTF8) | Optional, specify a description of the group
|
`Note_utf` | `string` (UTF8) | Optional, specify a description of the group
|
||||||
`Recv.BroadcastBytes_u64` | `number` (uint64) | Number of broadcast packets (Recv)
|
`Recv.BroadcastBytes_u64` | `number` (uint64) | Broadcast bytes (Recv)
|
||||||
`Recv.BroadcastCount_u64` | `number` (uint64) | Broadcast bytes (Recv)
|
`Recv.BroadcastCount_u64` | `number` (uint64) | Number of broadcast packets (Recv)
|
||||||
`Recv.UnicastBytes_u64` | `number` (uint64) | Unicast count (Recv)
|
`Recv.UnicastBytes_u64` | `number` (uint64) | Unicast bytes (Recv)
|
||||||
`Recv.UnicastCount_u64` | `number` (uint64) | Unicast bytes (Recv)
|
`Recv.UnicastCount_u64` | `number` (uint64) | Unicast count (Recv)
|
||||||
`Send.BroadcastBytes_u64` | `number` (uint64) | Number of broadcast packets (Send)
|
`Send.BroadcastBytes_u64` | `number` (uint64) | Broadcast bytes (Send)
|
||||||
`Send.BroadcastCount_u64` | `number` (uint64) | Broadcast bytes (Send)
|
`Send.BroadcastCount_u64` | `number` (uint64) | Number of broadcast packets (Send)
|
||||||
`Send.UnicastBytes_u64` | `number` (uint64) | Unicast bytes (Send)
|
`Send.UnicastBytes_u64` | `number` (uint64) | Unicast bytes (Send)
|
||||||
`Send.UnicastCount_u64` | `number` (uint64) | Unicast bytes (Send)
|
`Send.UnicastCount_u64` | `number` (uint64) | Unicast count (Send)
|
||||||
`UsePolicy_bool` | `boolean` | The flag whether to use security policy
|
`UsePolicy_bool` | `boolean` | The flag whether to use security policy
|
||||||
`policy:Access_bool` | `boolean` | Security policy: Allow Access. The users, which this policy value is true, have permission to make VPN connection to VPN Server.
|
`policy:Access_bool` | `boolean` | Security policy: Allow Access. The users, which this policy value is true, have permission to make VPN connection to VPN Server.
|
||||||
`policy:DHCPFilter_bool` | `boolean` | Security policy: Filter DHCP Packets (IPv4). All IPv4 DHCP packets in sessions defined this policy will be filtered.
|
`policy:DHCPFilter_bool` | `boolean` | Security policy: Filter DHCP Packets (IPv4). All IPv4 DHCP packets in sessions defined this policy will be filtered.
|
||||||
@ -4939,8 +4939,8 @@ Get List of Connected VPN Sessions. Use this to get a list of the sessions conne
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
@ -4961,8 +4961,8 @@ Get List of Connected VPN Sessions. Use this to get a list of the sessions conne
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
@ -4983,8 +4983,8 @@ Get List of Connected VPN Sessions. Use this to get a list of the sessions conne
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -5059,9 +5059,9 @@ Get Session Status. Use this to specify a session currently connected to the cur
|
|||||||
"ServerProductName_str": "serverproductname",
|
"ServerProductName_str": "serverproductname",
|
||||||
"ServerProductVer_u32": 0,
|
"ServerProductVer_u32": 0,
|
||||||
"ServerProductBuild_u32": 0,
|
"ServerProductBuild_u32": 0,
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectionEstablisiedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectionEstablisiedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectionEstablishTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectionEstablishTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumConnectionsEatablished_u32": 0,
|
"NumConnectionsEatablished_u32": 0,
|
||||||
"HalfConnection_bool": false,
|
"HalfConnection_bool": false,
|
||||||
"QoS_bool": false,
|
"QoS_bool": false,
|
||||||
@ -5222,8 +5222,8 @@ Get the MAC Address Table Database. Use this to get the MAC address table databa
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -5232,8 +5232,8 @@ Get the MAC Address Table Database. Use this to get the MAC address table databa
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -5242,8 +5242,8 @@ Get the MAC Address Table Database. Use this to get the MAC address table databa
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -5337,8 +5337,8 @@ Get the IP Address Table Database. Use this to get the IP address table database
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
},
|
},
|
||||||
@ -5347,8 +5347,8 @@ Get the IP Address Table Database. Use this to get the IP address table database
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
},
|
},
|
||||||
@ -5357,8 +5357,8 @@ Get the IP Address Table Database. Use this to get the IP address table database
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
}
|
}
|
||||||
@ -5778,8 +5778,8 @@ Get Virtual NAT Function Session Table of SecureNAT Function. Use this to get th
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -5793,8 +5793,8 @@ Get Virtual NAT Function Session Table of SecureNAT Function. Use this to get th
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -5808,8 +5808,8 @@ Get Virtual NAT Function Session Table of SecureNAT Function. Use this to get th
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -5867,8 +5867,8 @@ Get Virtual DHCP Server Function Lease Table of SecureNAT Function. Use this to
|
|||||||
"DhcpTable": [
|
"DhcpTable": [
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -5876,8 +5876,8 @@ Get Virtual DHCP Server Function Lease Table of SecureNAT Function. Use this to
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -5885,8 +5885,8 @@ Get Virtual DHCP Server Function Lease Table of SecureNAT Function. Use this to
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -7642,19 +7642,19 @@ Get List of Log Files. Use this to display a list of log files outputted by the
|
|||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -8642,8 +8642,8 @@ Name | Type | Description
|
|||||||
`IsConnected_bool` | `boolean` | Whether connection to VPN Azure Cloud Server is established
|
`IsConnected_bool` | `boolean` | Whether connection to VPN Azure Cloud Server is established
|
||||||
|
|
||||||
***
|
***
|
||||||
<a id="getddnsinternetsetting"></a>
|
<a id="getddnsinternetsettng"></a>
|
||||||
## "GetDDnsInternetSetting" RPC API - Get the Proxy Settings for Connecting to the DDNS server
|
## "GetDDnsInternetSettng" RPC API - Get the Proxy Settings for Connecting to the DDNS server
|
||||||
### Description
|
### Description
|
||||||
Get the Proxy Settings for Connecting to the DDNS server.
|
Get the Proxy Settings for Connecting to the DDNS server.
|
||||||
|
|
||||||
@ -8652,7 +8652,7 @@ Get the Proxy Settings for Connecting to the DDNS server.
|
|||||||
{
|
{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "rpc_call_id",
|
"id": "rpc_call_id",
|
||||||
"method": "GetDDnsInternetSetting",
|
"method": "GetDDnsInternetSettng",
|
||||||
"params": {}
|
"params": {}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -8683,8 +8683,8 @@ Name | Type | Description
|
|||||||
`ProxyPassword_str` | `string` (ASCII) | Proxy server password
|
`ProxyPassword_str` | `string` (ASCII) | Proxy server password
|
||||||
|
|
||||||
***
|
***
|
||||||
<a id="setddnsinternetsetting"></a>
|
<a id="setddnsinternetsettng"></a>
|
||||||
## "SetDDnsInternetSetting" RPC API - Set the Proxy Settings for Connecting to the DDNS server
|
## "SetDDnsInternetSettng" RPC API - Set the Proxy Settings for Connecting to the DDNS server
|
||||||
### Description
|
### Description
|
||||||
Set the Proxy Settings for Connecting to the DDNS server.
|
Set the Proxy Settings for Connecting to the DDNS server.
|
||||||
|
|
||||||
@ -8693,7 +8693,7 @@ Set the Proxy Settings for Connecting to the DDNS server.
|
|||||||
{
|
{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "rpc_call_id",
|
"id": "rpc_call_id",
|
||||||
"method": "SetDDnsInternetSetting",
|
"method": "SetDDnsInternetSettng",
|
||||||
"params": {
|
"params": {
|
||||||
"ProxyType_u32": 0,
|
"ProxyType_u32": 0,
|
||||||
"ProxyHostName_str": "proxyhostname",
|
"ProxyHostName_str": "proxyhostname",
|
||||||
@ -8730,6 +8730,6 @@ Name | Type | Description
|
|||||||
`ProxyPassword_str` | `string` (ASCII) | Proxy server password
|
`ProxyPassword_str` | `string` (ASCII) | Proxy server password
|
||||||
|
|
||||||
***
|
***
|
||||||
Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen.
|
Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen.
|
||||||
Copyright (c) 2014-2023 [SoftEther VPN Project](https://www.softether.org/) under the Apache License 2.0.
|
Copyright (c) 2014-2019 [SoftEther VPN Project](https://www.softether.org/) under the Apache License 2.0.
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
//
|
//
|
||||||
// JsonRpc.cs - JSON-RPC Client Utility Functions
|
// JsonRpc.cs - JSON-RPC Client Utility Functions
|
||||||
//
|
//
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
//
|
//
|
||||||
// VPNServerRpc.cs - SoftEther VPN Server's JSON-RPC Stubs
|
// VPNServerRpc.cs - SoftEther VPN Server's JSON-RPC Stubs
|
||||||
//
|
//
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SoftEther.JsonRpc;
|
using SoftEther.JsonRpc;
|
||||||
@ -1357,22 +1357,22 @@ namespace SoftEther.VPNServerRpc
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<VpnInternetSetting> GetDDnsInternetSettingAsync() => await CallAsync<VpnInternetSetting>("GetDDnsInternetSetting", new VpnInternetSetting());
|
public async Task<VpnInternetSetting> GetDDnsInternetSettngAsync() => await CallAsync<VpnInternetSetting>("GetDDnsInternetSettng", new VpnInternetSetting());
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public VpnInternetSetting GetDDnsInternetSetting() => GetDDnsInternetSettingAsync().Result;
|
public VpnInternetSetting GetDDnsInternetSettng() => GetDDnsInternetSettngAsync().Result;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the Proxy Settings for Connecting to the DDNS server (Async mode).
|
/// Set the Proxy Settings for Connecting to the DDNS server (Async mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<VpnInternetSetting> SetDDnsInternetSettingAsync(VpnInternetSetting input_param) => await CallAsync<VpnInternetSetting>("SetDDnsInternetSetting", input_param);
|
public async Task<VpnInternetSetting> SetDDnsInternetSettngAsync(VpnInternetSetting input_param) => await CallAsync<VpnInternetSetting>("SetDDnsInternetSettng", input_param);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the Proxy Settings for Connecting to the DDNS server (Sync mode).
|
/// Set the Proxy Settings for Connecting to the DDNS server (Sync mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public VpnInternetSetting SetDDnsInternetSetting(VpnInternetSetting input_param) => SetDDnsInternetSettingAsync(input_param).Result;
|
public VpnInternetSetting SetDDnsInternetSettng(VpnInternetSetting input_param) => SetDDnsInternetSettngAsync(input_param).Result;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the VPN Gate Server Configuration (Async mode). This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server.
|
/// Set the VPN Gate Server Configuration (Async mode). This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server.
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
//
|
//
|
||||||
// VPNServerRpcTypes.cs - Data Type Definition for SoftEther VPN Server JSON-RPC Stubs
|
// VPNServerRpcTypes.cs - Data Type Definition for SoftEther VPN Server JSON-RPC Stubs
|
||||||
//
|
//
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
//
|
//
|
||||||
// Program.cs - The Main() entry point
|
// Program.cs - The Main() entry point
|
||||||
//
|
//
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
// This sample code shows how to call all available RPC functions.
|
// This sample code shows how to call all available RPC functions.
|
||||||
// You can copy and paste test code to write your own C# codes.
|
// You can copy and paste test code to write your own C# codes.
|
||||||
//
|
//
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using SoftEther.VPNServerRpc;
|
using SoftEther.VPNServerRpc;
|
||||||
@ -255,8 +255,8 @@ class VPNRPCTest
|
|||||||
Test_GetOpenVpnSstpConfig();
|
Test_GetOpenVpnSstpConfig();
|
||||||
|
|
||||||
Test_GetDDnsClientStatus();
|
Test_GetDDnsClientStatus();
|
||||||
Test_SetDDnsInternetSetting();
|
Test_SetDDnsInternetSettng();
|
||||||
Test_GetDDnsInternetSetting();
|
Test_GetDDnsInternetSettng();
|
||||||
|
|
||||||
Test_ChangeDDnsClientHostname();
|
Test_ChangeDDnsClientHostname();
|
||||||
Test_RegenerateServerCert();
|
Test_RegenerateServerCert();
|
||||||
@ -3641,27 +3641,27 @@ class VPNRPCTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// API test for 'GetDDnsInternetSetting', Get DDNS proxy configuration
|
/// API test for 'GetDDnsInternetSettng', Get DDNS proxy configuration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Test_GetDDnsInternetSetting()
|
public void Test_GetDDnsInternetSettng()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Begin: Test_GetDDnsInternetSetting");
|
Console.WriteLine("Begin: Test_GetDDnsInternetSettng");
|
||||||
|
|
||||||
VpnInternetSetting out_internet_setting = api.GetDDnsInternetSetting();
|
VpnInternetSetting out_internet_setting = api.GetDDnsInternetSettng();
|
||||||
|
|
||||||
print_object(out_internet_setting);
|
print_object(out_internet_setting);
|
||||||
|
|
||||||
Console.WriteLine("End: Test_GetDDnsInternetSetting");
|
Console.WriteLine("End: Test_GetDDnsInternetSettng");
|
||||||
Console.WriteLine("-----");
|
Console.WriteLine("-----");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// API test for 'SetDDnsInternetSetting', Set DDNS proxy configuration
|
/// API test for 'SetDDnsInternetSettng', Set DDNS proxy configuration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Test_SetDDnsInternetSetting()
|
public void Test_SetDDnsInternetSettng()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Begin: Test_SetDDnsInternetSetting");
|
Console.WriteLine("Begin: Test_SetDDnsInternetSettng");
|
||||||
|
|
||||||
VpnInternetSetting in_internet_setting = new VpnInternetSetting()
|
VpnInternetSetting in_internet_setting = new VpnInternetSetting()
|
||||||
{
|
{
|
||||||
@ -3671,11 +3671,11 @@ class VPNRPCTest
|
|||||||
ProxyUsername_str = "neko",
|
ProxyUsername_str = "neko",
|
||||||
ProxyPassword_str = "dog",
|
ProxyPassword_str = "dog",
|
||||||
};
|
};
|
||||||
VpnInternetSetting out_internet_setting = api.SetDDnsInternetSetting(in_internet_setting);
|
VpnInternetSetting out_internet_setting = api.SetDDnsInternetSettng(in_internet_setting);
|
||||||
|
|
||||||
print_object(out_internet_setting);
|
print_object(out_internet_setting);
|
||||||
|
|
||||||
Console.WriteLine("End: Test_SetDDnsInternetSetting");
|
Console.WriteLine("End: Test_SetDDnsInternetSettng");
|
||||||
Console.WriteLine("-----");
|
Console.WriteLine("-----");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
|
@ -560,10 +560,10 @@ function Test_All() {
|
|||||||
return [4 /*yield*/, Test_GetDDnsClientStatus()];
|
return [4 /*yield*/, Test_GetDDnsClientStatus()];
|
||||||
case 157:
|
case 157:
|
||||||
_x.sent();
|
_x.sent();
|
||||||
return [4 /*yield*/, Test_SetDDnsInternetSetting()];
|
return [4 /*yield*/, Test_SetDDnsInternetSettng()];
|
||||||
case 158:
|
case 158:
|
||||||
_x.sent();
|
_x.sent();
|
||||||
return [4 /*yield*/, Test_GetDDnsInternetSetting()];
|
return [4 /*yield*/, Test_GetDDnsInternetSettng()];
|
||||||
case 159:
|
case 159:
|
||||||
_x.sent();
|
_x.sent();
|
||||||
return [4 /*yield*/, Test_ChangeDDnsClientHostname()];
|
return [4 /*yield*/, Test_ChangeDDnsClientHostname()];
|
||||||
@ -4047,19 +4047,19 @@ function Test_SetAzureStatus() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/** API test for 'GetDDnsInternetSetting', Get DDNS proxy configuration */
|
/** API test for 'GetDDnsInternetSettng', Get DDNS proxy configuration */
|
||||||
function Test_GetDDnsInternetSetting() {
|
function Test_GetDDnsInternetSettng() {
|
||||||
return __awaiter(this, void 0, void 0, function () {
|
return __awaiter(this, void 0, void 0, function () {
|
||||||
var out_internet_setting;
|
var out_internet_setting;
|
||||||
return __generator(this, function (_a) {
|
return __generator(this, function (_a) {
|
||||||
switch (_a.label) {
|
switch (_a.label) {
|
||||||
case 0:
|
case 0:
|
||||||
console.log("Begin: Test_GetDDnsInternetSetting");
|
console.log("Begin: Test_GetDDnsInternetSettng");
|
||||||
return [4 /*yield*/, api.GetDDnsInternetSetting()];
|
return [4 /*yield*/, api.GetDDnsInternetSettng()];
|
||||||
case 1:
|
case 1:
|
||||||
out_internet_setting = _a.sent();
|
out_internet_setting = _a.sent();
|
||||||
console.log(out_internet_setting);
|
console.log(out_internet_setting);
|
||||||
console.log("End: Test_GetDDnsInternetSetting");
|
console.log("End: Test_GetDDnsInternetSettng");
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
console.log();
|
console.log();
|
||||||
return [2 /*return*/];
|
return [2 /*return*/];
|
||||||
@ -4067,14 +4067,14 @@ function Test_GetDDnsInternetSetting() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/** API test for 'SetDDnsInternetSetting', Set DDNS proxy configuration */
|
/** API test for 'SetDDnsInternetSettng', Set DDNS proxy configuration */
|
||||||
function Test_SetDDnsInternetSetting() {
|
function Test_SetDDnsInternetSettng() {
|
||||||
return __awaiter(this, void 0, void 0, function () {
|
return __awaiter(this, void 0, void 0, function () {
|
||||||
var in_internet_setting, out_internet_setting;
|
var in_internet_setting, out_internet_setting;
|
||||||
return __generator(this, function (_a) {
|
return __generator(this, function (_a) {
|
||||||
switch (_a.label) {
|
switch (_a.label) {
|
||||||
case 0:
|
case 0:
|
||||||
console.log("Begin: Test_SetDDnsInternetSetting");
|
console.log("Begin: Test_SetDDnsInternetSettng");
|
||||||
in_internet_setting = new VPN.VpnInternetSetting({
|
in_internet_setting = new VPN.VpnInternetSetting({
|
||||||
ProxyType_u32: VPN.VpnRpcProxyType.Direct,
|
ProxyType_u32: VPN.VpnRpcProxyType.Direct,
|
||||||
ProxyHostName_str: "1.2.3.4",
|
ProxyHostName_str: "1.2.3.4",
|
||||||
@ -4082,11 +4082,11 @@ function Test_SetDDnsInternetSetting() {
|
|||||||
ProxyUsername_str: "neko",
|
ProxyUsername_str: "neko",
|
||||||
ProxyPassword_str: "dog"
|
ProxyPassword_str: "dog"
|
||||||
});
|
});
|
||||||
return [4 /*yield*/, api.SetDDnsInternetSetting(in_internet_setting)];
|
return [4 /*yield*/, api.SetDDnsInternetSettng(in_internet_setting)];
|
||||||
case 1:
|
case 1:
|
||||||
out_internet_setting = _a.sent();
|
out_internet_setting = _a.sent();
|
||||||
console.log(out_internet_setting);
|
console.log(out_internet_setting);
|
||||||
console.log("End: Test_SetDDnsInternetSetting");
|
console.log("End: Test_SetDDnsInternetSettng");
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
console.log();
|
console.log();
|
||||||
return [2 /*return*/];
|
return [2 /*return*/];
|
||||||
|
@ -278,9 +278,9 @@ export declare class VpnServerRpc {
|
|||||||
/** Enable / Disable VPN Azure Function. Enable or disable the VPN Azure function. VPN Azure makes it easier to establish a VPN Session from your home PC to your office PC. While a VPN connection is established, you can access to any other servers on the private network of your company. You don't need a global IP address on the office PC (VPN Server). It can work behind firewalls or NATs. No network administrator's configuration required. You can use the built-in SSTP-VPN Client of Windows in your home PC. VPN Azure is a cloud VPN service operated by SoftEther Corporation. VPN Azure is free of charge and available to anyone. Visit http://www.vpnazure.net/ to see details and how-to-use instructions. The VPN Azure hostname is same to the hostname of the Dynamic DNS setting, but altering the domain suffix to "vpnazure.net". To change the hostname use the ChangeDDnsClientHostname API. To call this API, you must have VPN Server administrator privileges. This API cannot be invoked on VPN Bridge. You cannot execute this API for Virtual Hubs of VPN Servers operating as a cluster. */
|
/** Enable / Disable VPN Azure Function. Enable or disable the VPN Azure function. VPN Azure makes it easier to establish a VPN Session from your home PC to your office PC. While a VPN connection is established, you can access to any other servers on the private network of your company. You don't need a global IP address on the office PC (VPN Server). It can work behind firewalls or NATs. No network administrator's configuration required. You can use the built-in SSTP-VPN Client of Windows in your home PC. VPN Azure is a cloud VPN service operated by SoftEther Corporation. VPN Azure is free of charge and available to anyone. Visit http://www.vpnazure.net/ to see details and how-to-use instructions. The VPN Azure hostname is same to the hostname of the Dynamic DNS setting, but altering the domain suffix to "vpnazure.net". To change the hostname use the ChangeDDnsClientHostname API. To call this API, you must have VPN Server administrator privileges. This API cannot be invoked on VPN Bridge. You cannot execute this API for Virtual Hubs of VPN Servers operating as a cluster. */
|
||||||
SetAzureStatus: (in_param: VpnRpcAzureStatus) => Promise<VpnRpcAzureStatus>;
|
SetAzureStatus: (in_param: VpnRpcAzureStatus) => Promise<VpnRpcAzureStatus>;
|
||||||
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
||||||
GetDDnsInternetSetting: () => Promise<VpnInternetSetting>;
|
GetDDnsInternetSettng: () => Promise<VpnInternetSetting>;
|
||||||
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
||||||
SetDDnsInternetSetting: (in_param: VpnInternetSetting) => Promise<VpnInternetSetting>;
|
SetDDnsInternetSettng: (in_param: VpnInternetSetting) => Promise<VpnInternetSetting>;
|
||||||
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
||||||
SetVgsConfig: (in_param: VpnVgsConfig) => Promise<VpnVgsConfig>;
|
SetVgsConfig: (in_param: VpnVgsConfig) => Promise<VpnVgsConfig>;
|
||||||
/** Get the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
/** Get the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
||||||
|
@ -599,12 +599,12 @@ var VpnServerRpc = /** @class */ (function () {
|
|||||||
return _this.CallAsync("SetAzureStatus", in_param);
|
return _this.CallAsync("SetAzureStatus", in_param);
|
||||||
};
|
};
|
||||||
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
||||||
this.GetDDnsInternetSetting = function () {
|
this.GetDDnsInternetSettng = function () {
|
||||||
return _this.CallAsync("GetDDnsInternetSetting", new VpnInternetSetting());
|
return _this.CallAsync("GetDDnsInternetSettng", new VpnInternetSetting());
|
||||||
};
|
};
|
||||||
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
||||||
this.SetDDnsInternetSetting = function (in_param) {
|
this.SetDDnsInternetSettng = function (in_param) {
|
||||||
return _this.CallAsync("SetDDnsInternetSetting", in_param);
|
return _this.CallAsync("SetDDnsInternetSettng", in_param);
|
||||||
};
|
};
|
||||||
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
||||||
this.SetVgsConfig = function (in_param) {
|
this.SetVgsConfig = function (in_param) {
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
// Runs on both web browsers and Node.js
|
// Runs on both web browsers and Node.js
|
||||||
//
|
//
|
||||||
// sample.ts
|
// sample.ts
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// This sample code shows how to call all available RPC functions.
|
// This sample code shows how to call all available RPC functions.
|
||||||
// You can copy and paste test code to write your own web browser TypeScript / JavaScript codes.
|
// You can copy and paste test code to write your own web browser TypeScript / JavaScript codes.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
// On the web browser uncomment below imports as necessary to support old browsers.
|
// On the web browser uncomment below imports as necessary to support old browsers.
|
||||||
// import "core-js/es6/promise";
|
// import "core-js/es6/promise";
|
||||||
@ -216,8 +216,8 @@ async function Test_All(): Promise<void>
|
|||||||
await Test_SetOpenVpnSstpConfig();
|
await Test_SetOpenVpnSstpConfig();
|
||||||
await Test_GetOpenVpnSstpConfig();
|
await Test_GetOpenVpnSstpConfig();
|
||||||
await Test_GetDDnsClientStatus();
|
await Test_GetDDnsClientStatus();
|
||||||
await Test_SetDDnsInternetSetting();
|
await Test_SetDDnsInternetSettng();
|
||||||
await Test_GetDDnsInternetSetting();
|
await Test_GetDDnsInternetSettng();
|
||||||
await Test_ChangeDDnsClientHostname();
|
await Test_ChangeDDnsClientHostname();
|
||||||
await Test_RegenerateServerCert();
|
await Test_RegenerateServerCert();
|
||||||
await Test_MakeOpenVpnConfigFile();
|
await Test_MakeOpenVpnConfigFile();
|
||||||
@ -2624,21 +2624,21 @@ async function Test_SetAzureStatus(): Promise<void>
|
|||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** API test for 'GetDDnsInternetSetting', Get DDNS proxy configuration */
|
/** API test for 'GetDDnsInternetSettng', Get DDNS proxy configuration */
|
||||||
async function Test_GetDDnsInternetSetting(): Promise<void>
|
async function Test_GetDDnsInternetSettng(): Promise<void>
|
||||||
{
|
{
|
||||||
console.log("Begin: Test_GetDDnsInternetSetting");
|
console.log("Begin: Test_GetDDnsInternetSettng");
|
||||||
let out_internet_setting: VPN.VpnInternetSetting = await api.GetDDnsInternetSetting();
|
let out_internet_setting: VPN.VpnInternetSetting = await api.GetDDnsInternetSettng();
|
||||||
console.log(out_internet_setting);
|
console.log(out_internet_setting);
|
||||||
console.log("End: Test_GetDDnsInternetSetting");
|
console.log("End: Test_GetDDnsInternetSettng");
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** API test for 'SetDDnsInternetSetting', Set DDNS proxy configuration */
|
/** API test for 'SetDDnsInternetSettng', Set DDNS proxy configuration */
|
||||||
async function Test_SetDDnsInternetSetting(): Promise<void>
|
async function Test_SetDDnsInternetSettng(): Promise<void>
|
||||||
{
|
{
|
||||||
console.log("Begin: Test_SetDDnsInternetSetting");
|
console.log("Begin: Test_SetDDnsInternetSettng");
|
||||||
let in_internet_setting: VPN.VpnInternetSetting = new VPN.VpnInternetSetting(
|
let in_internet_setting: VPN.VpnInternetSetting = new VPN.VpnInternetSetting(
|
||||||
{
|
{
|
||||||
ProxyType_u32: VPN.VpnRpcProxyType.Direct,
|
ProxyType_u32: VPN.VpnRpcProxyType.Direct,
|
||||||
@ -2647,9 +2647,9 @@ async function Test_SetDDnsInternetSetting(): Promise<void>
|
|||||||
ProxyUsername_str: "neko",
|
ProxyUsername_str: "neko",
|
||||||
ProxyPassword_str: "dog",
|
ProxyPassword_str: "dog",
|
||||||
});
|
});
|
||||||
let out_internet_setting: VPN.VpnInternetSetting = await api.SetDDnsInternetSetting(in_internet_setting);
|
let out_internet_setting: VPN.VpnInternetSetting = await api.SetDDnsInternetSettng(in_internet_setting);
|
||||||
console.log(out_internet_setting);
|
console.log(out_internet_setting);
|
||||||
console.log("End: Test_SetDDnsInternetSetting");
|
console.log("End: Test_SetDDnsInternetSettng");
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
// SoftEther VPN Server JSON-RPC Stub code for TypeScript
|
// SoftEther VPN Server JSON-RPC Stub code for TypeScript
|
||||||
//
|
//
|
||||||
// vpnrpc.ts
|
// vpnrpc.ts
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
|
|
||||||
// Trivial utility codes
|
// Trivial utility codes
|
||||||
@ -856,15 +856,15 @@ export class VpnServerRpc
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
||||||
public GetDDnsInternetSetting = (): Promise<VpnInternetSetting> =>
|
public GetDDnsInternetSettng = (): Promise<VpnInternetSetting> =>
|
||||||
{
|
{
|
||||||
return this.CallAsync<VpnInternetSetting>("GetDDnsInternetSetting", new VpnInternetSetting());
|
return this.CallAsync<VpnInternetSetting>("GetDDnsInternetSettng", new VpnInternetSetting());
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
||||||
public SetDDnsInternetSetting = (in_param: VpnInternetSetting): Promise<VpnInternetSetting> =>
|
public SetDDnsInternetSettng = (in_param: VpnInternetSetting): Promise<VpnInternetSetting> =>
|
||||||
{
|
{
|
||||||
return this.CallAsync<VpnInternetSetting>("SetDDnsInternetSetting", in_param);
|
return this.CallAsync<VpnInternetSetting>("SetDDnsInternetSettng", in_param);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
// Runs on both web browsers and Node.js
|
// Runs on both web browsers and Node.js
|
||||||
//
|
//
|
||||||
// sample.ts
|
// sample.ts
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// This sample code shows how to call all available RPC functions.
|
// This sample code shows how to call all available RPC functions.
|
||||||
// You can copy and paste test code to write your own web browser TypeScript / JavaScript codes.
|
// You can copy and paste test code to write your own web browser TypeScript / JavaScript codes.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
// On the web browser uncomment below imports as necessary to support old browsers.
|
// On the web browser uncomment below imports as necessary to support old browsers.
|
||||||
// import "core-js/es6/promise";
|
// import "core-js/es6/promise";
|
||||||
@ -216,8 +216,8 @@ async function Test_All(): Promise<void>
|
|||||||
await Test_SetOpenVpnSstpConfig();
|
await Test_SetOpenVpnSstpConfig();
|
||||||
await Test_GetOpenVpnSstpConfig();
|
await Test_GetOpenVpnSstpConfig();
|
||||||
await Test_GetDDnsClientStatus();
|
await Test_GetDDnsClientStatus();
|
||||||
await Test_SetDDnsInternetSetting();
|
await Test_SetDDnsInternetSettng();
|
||||||
await Test_GetDDnsInternetSetting();
|
await Test_GetDDnsInternetSettng();
|
||||||
await Test_ChangeDDnsClientHostname();
|
await Test_ChangeDDnsClientHostname();
|
||||||
await Test_RegenerateServerCert();
|
await Test_RegenerateServerCert();
|
||||||
await Test_MakeOpenVpnConfigFile();
|
await Test_MakeOpenVpnConfigFile();
|
||||||
@ -2624,21 +2624,21 @@ async function Test_SetAzureStatus(): Promise<void>
|
|||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** API test for 'GetDDnsInternetSetting', Get DDNS proxy configuration */
|
/** API test for 'GetDDnsInternetSettng', Get DDNS proxy configuration */
|
||||||
async function Test_GetDDnsInternetSetting(): Promise<void>
|
async function Test_GetDDnsInternetSettng(): Promise<void>
|
||||||
{
|
{
|
||||||
console.log("Begin: Test_GetDDnsInternetSetting");
|
console.log("Begin: Test_GetDDnsInternetSettng");
|
||||||
let out_internet_setting: VPN.VpnInternetSetting = await api.GetDDnsInternetSetting();
|
let out_internet_setting: VPN.VpnInternetSetting = await api.GetDDnsInternetSettng();
|
||||||
console.log(out_internet_setting);
|
console.log(out_internet_setting);
|
||||||
console.log("End: Test_GetDDnsInternetSetting");
|
console.log("End: Test_GetDDnsInternetSettng");
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** API test for 'SetDDnsInternetSetting', Set DDNS proxy configuration */
|
/** API test for 'SetDDnsInternetSettng', Set DDNS proxy configuration */
|
||||||
async function Test_SetDDnsInternetSetting(): Promise<void>
|
async function Test_SetDDnsInternetSettng(): Promise<void>
|
||||||
{
|
{
|
||||||
console.log("Begin: Test_SetDDnsInternetSetting");
|
console.log("Begin: Test_SetDDnsInternetSettng");
|
||||||
let in_internet_setting: VPN.VpnInternetSetting = new VPN.VpnInternetSetting(
|
let in_internet_setting: VPN.VpnInternetSetting = new VPN.VpnInternetSetting(
|
||||||
{
|
{
|
||||||
ProxyType_u32: VPN.VpnRpcProxyType.Direct,
|
ProxyType_u32: VPN.VpnRpcProxyType.Direct,
|
||||||
@ -2647,9 +2647,9 @@ async function Test_SetDDnsInternetSetting(): Promise<void>
|
|||||||
ProxyUsername_str: "neko",
|
ProxyUsername_str: "neko",
|
||||||
ProxyPassword_str: "dog",
|
ProxyPassword_str: "dog",
|
||||||
});
|
});
|
||||||
let out_internet_setting: VPN.VpnInternetSetting = await api.SetDDnsInternetSetting(in_internet_setting);
|
let out_internet_setting: VPN.VpnInternetSetting = await api.SetDDnsInternetSettng(in_internet_setting);
|
||||||
console.log(out_internet_setting);
|
console.log(out_internet_setting);
|
||||||
console.log("End: Test_SetDDnsInternetSetting");
|
console.log("End: Test_SetDDnsInternetSettng");
|
||||||
console.log("-----");
|
console.log("-----");
|
||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
// SoftEther VPN Server JSON-RPC Stub code for TypeScript
|
// SoftEther VPN Server JSON-RPC Stub code for TypeScript
|
||||||
//
|
//
|
||||||
// vpnrpc.ts
|
// vpnrpc.ts
|
||||||
// Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen
|
// Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License 2.0
|
// Licensed under the Apache License 2.0
|
||||||
// Copyright (c) 2014-2023 SoftEther VPN Project
|
// Copyright (c) 2014-2019 SoftEther VPN Project
|
||||||
|
|
||||||
|
|
||||||
// Trivial utility codes
|
// Trivial utility codes
|
||||||
@ -856,15 +856,15 @@ export class VpnServerRpc
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
/** Get the Proxy Settings for Connecting to the DDNS server. */
|
||||||
public GetDDnsInternetSetting = (): Promise<VpnInternetSetting> =>
|
public GetDDnsInternetSettng = (): Promise<VpnInternetSetting> =>
|
||||||
{
|
{
|
||||||
return this.CallAsync<VpnInternetSetting>("GetDDnsInternetSetting", new VpnInternetSetting());
|
return this.CallAsync<VpnInternetSetting>("GetDDnsInternetSettng", new VpnInternetSetting());
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
/** Set the Proxy Settings for Connecting to the DDNS server. */
|
||||||
public SetDDnsInternetSetting = (in_param: VpnInternetSetting): Promise<VpnInternetSetting> =>
|
public SetDDnsInternetSettng = (in_param: VpnInternetSetting): Promise<VpnInternetSetting> =>
|
||||||
{
|
{
|
||||||
return this.CallAsync<VpnInternetSetting>("SetDDnsInternetSetting", in_param);
|
return this.CallAsync<VpnInternetSetting>("SetDDnsInternetSettng", in_param);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
/** Set the VPN Gate Server Configuration. This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server. */
|
||||||
|
@ -1357,22 +1357,22 @@ namespace SoftEther.VPNServerRpc
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<VpnInternetSetting> GetDDnsInternetSettingAsync() => await CallAsync<VpnInternetSetting>("GetDDnsInternetSetting", new VpnInternetSetting());
|
public async Task<VpnInternetSetting> GetDDnsInternetSettngAsync() => await CallAsync<VpnInternetSetting>("GetDDnsInternetSettng", new VpnInternetSetting());
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
/// Get the Proxy Settings for Connecting to the DDNS server (Async mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public VpnInternetSetting GetDDnsInternetSetting() => GetDDnsInternetSettingAsync().Result;
|
public VpnInternetSetting GetDDnsInternetSettng() => GetDDnsInternetSettngAsync().Result;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the Proxy Settings for Connecting to the DDNS server (Async mode).
|
/// Set the Proxy Settings for Connecting to the DDNS server (Async mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<VpnInternetSetting> SetDDnsInternetSettingAsync(VpnInternetSetting input_param) => await CallAsync<VpnInternetSetting>("SetDDnsInternetSetting", input_param);
|
public async Task<VpnInternetSetting> SetDDnsInternetSettngAsync(VpnInternetSetting input_param) => await CallAsync<VpnInternetSetting>("SetDDnsInternetSettng", input_param);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the Proxy Settings for Connecting to the DDNS server (Sync mode).
|
/// Set the Proxy Settings for Connecting to the DDNS server (Sync mode).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public VpnInternetSetting SetDDnsInternetSetting(VpnInternetSetting input_param) => SetDDnsInternetSettingAsync(input_param).Result;
|
public VpnInternetSetting SetDDnsInternetSettng(VpnInternetSetting input_param) => SetDDnsInternetSettngAsync(input_param).Result;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the VPN Gate Server Configuration (Async mode). This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server.
|
/// Set the VPN Gate Server Configuration (Async mode). This API is valid for Win32 binary distribution of the Stable Edition of SoftEther VPN Server.
|
||||||
|
@ -255,8 +255,8 @@ class VPNRPCTest
|
|||||||
Test_GetOpenVpnSstpConfig();
|
Test_GetOpenVpnSstpConfig();
|
||||||
|
|
||||||
Test_GetDDnsClientStatus();
|
Test_GetDDnsClientStatus();
|
||||||
Test_SetDDnsInternetSetting();
|
Test_SetDDnsInternetSettng();
|
||||||
Test_GetDDnsInternetSetting();
|
Test_GetDDnsInternetSettng();
|
||||||
|
|
||||||
Test_ChangeDDnsClientHostname();
|
Test_ChangeDDnsClientHostname();
|
||||||
Test_RegenerateServerCert();
|
Test_RegenerateServerCert();
|
||||||
@ -3641,27 +3641,27 @@ class VPNRPCTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// API test for 'GetDDnsInternetSetting', Get DDNS proxy configuration
|
/// API test for 'GetDDnsInternetSettng', Get DDNS proxy configuration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Test_GetDDnsInternetSetting()
|
public void Test_GetDDnsInternetSettng()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Begin: Test_GetDDnsInternetSetting");
|
Console.WriteLine("Begin: Test_GetDDnsInternetSettng");
|
||||||
|
|
||||||
VpnInternetSetting out_internet_setting = api.GetDDnsInternetSetting();
|
VpnInternetSetting out_internet_setting = api.GetDDnsInternetSettng();
|
||||||
|
|
||||||
print_object(out_internet_setting);
|
print_object(out_internet_setting);
|
||||||
|
|
||||||
Console.WriteLine("End: Test_GetDDnsInternetSetting");
|
Console.WriteLine("End: Test_GetDDnsInternetSettng");
|
||||||
Console.WriteLine("-----");
|
Console.WriteLine("-----");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// API test for 'SetDDnsInternetSetting', Set DDNS proxy configuration
|
/// API test for 'SetDDnsInternetSettng', Set DDNS proxy configuration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Test_SetDDnsInternetSetting()
|
public void Test_SetDDnsInternetSettng()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Begin: Test_SetDDnsInternetSetting");
|
Console.WriteLine("Begin: Test_SetDDnsInternetSettng");
|
||||||
|
|
||||||
VpnInternetSetting in_internet_setting = new VpnInternetSetting()
|
VpnInternetSetting in_internet_setting = new VpnInternetSetting()
|
||||||
{
|
{
|
||||||
@ -3671,11 +3671,11 @@ class VPNRPCTest
|
|||||||
ProxyUsername_str = "neko",
|
ProxyUsername_str = "neko",
|
||||||
ProxyPassword_str = "dog",
|
ProxyPassword_str = "dog",
|
||||||
};
|
};
|
||||||
VpnInternetSetting out_internet_setting = api.SetDDnsInternetSetting(in_internet_setting);
|
VpnInternetSetting out_internet_setting = api.SetDDnsInternetSettng(in_internet_setting);
|
||||||
|
|
||||||
print_object(out_internet_setting);
|
print_object(out_internet_setting);
|
||||||
|
|
||||||
Console.WriteLine("End: Test_SetDDnsInternetSetting");
|
Console.WriteLine("End: Test_SetDDnsInternetSettng");
|
||||||
Console.WriteLine("-----");
|
Console.WriteLine("-----");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
|
@ -1636,8 +1636,8 @@ PACK *AdminDispatch(RPC *rpc, char *name, PACK *p)
|
|||||||
DECLARE_RPC("GetSpecialListener", RPC_SPECIAL_LISTENER, StGetSpecialListener, InRpcSpecialListener, OutRpcSpecialListener)
|
DECLARE_RPC("GetSpecialListener", RPC_SPECIAL_LISTENER, StGetSpecialListener, InRpcSpecialListener, OutRpcSpecialListener)
|
||||||
DECLARE_RPC("GetAzureStatus", RPC_AZURE_STATUS, StGetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
DECLARE_RPC("GetAzureStatus", RPC_AZURE_STATUS, StGetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
||||||
DECLARE_RPC("SetAzureStatus", RPC_AZURE_STATUS, StSetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
DECLARE_RPC("SetAzureStatus", RPC_AZURE_STATUS, StSetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
||||||
DECLARE_RPC("GetDDnsInternetSetting", INTERNET_SETTING, StGetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
DECLARE_RPC("GetDDnsInternetSettng", INTERNET_SETTING, StGetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
||||||
DECLARE_RPC("SetDDnsInternetSetting", INTERNET_SETTING, StSetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
DECLARE_RPC("SetDDnsInternetSettng", INTERNET_SETTING, StSetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
||||||
// RPC function declaration: till here
|
// RPC function declaration: till here
|
||||||
|
|
||||||
|
|
||||||
@ -1823,8 +1823,8 @@ DECLARE_SC("SetSpecialListener", RPC_SPECIAL_LISTENER, ScSetSpecialListener, InR
|
|||||||
DECLARE_SC("GetSpecialListener", RPC_SPECIAL_LISTENER, ScGetSpecialListener, InRpcSpecialListener, OutRpcSpecialListener)
|
DECLARE_SC("GetSpecialListener", RPC_SPECIAL_LISTENER, ScGetSpecialListener, InRpcSpecialListener, OutRpcSpecialListener)
|
||||||
DECLARE_SC("GetAzureStatus", RPC_AZURE_STATUS, ScGetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
DECLARE_SC("GetAzureStatus", RPC_AZURE_STATUS, ScGetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
||||||
DECLARE_SC("SetAzureStatus", RPC_AZURE_STATUS, ScSetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
DECLARE_SC("SetAzureStatus", RPC_AZURE_STATUS, ScSetAzureStatus, InRpcAzureStatus, OutRpcAzureStatus)
|
||||||
DECLARE_SC("GetDDnsInternetSetting", INTERNET_SETTING, ScGetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
DECLARE_SC("GetDDnsInternetSettng", INTERNET_SETTING, ScGetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
||||||
DECLARE_SC("SetDDnsInternetSetting", INTERNET_SETTING, ScSetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
DECLARE_SC("SetDDnsInternetSettng", INTERNET_SETTING, ScSetDDnsInternetSetting, InRpcInternetSetting, OutRpcInternetSetting)
|
||||||
// RPC call function declaration: till here
|
// RPC call function declaration: till here
|
||||||
|
|
||||||
// Setting VPN Gate Server Configuration
|
// Setting VPN Gate Server Configuration
|
||||||
|
@ -805,12 +805,7 @@ bool EthIsChangeMtuSupported(ETH *e)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FreeBSD seriously dislikes MTU changes; disable if compiled on that platform
|
|
||||||
#ifndef __FreeBSD__
|
|
||||||
return true;
|
return true;
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
#else // defined(UNIX_LINUX) || defined(UNIX_BSD) || defined(UNIX_SOLARIS)
|
#else // defined(UNIX_LINUX) || defined(UNIX_BSD) || defined(UNIX_SOLARIS)
|
||||||
return false;
|
return false;
|
||||||
#endif // defined(UNIX_LINUX) || defined(UNIX_BSD) || defined(UNIX_SOLARIS)
|
#endif // defined(UNIX_LINUX) || defined(UNIX_BSD) || defined(UNIX_SOLARIS)
|
||||||
|
@ -1517,9 +1517,7 @@ void IPCProcessL3EventsEx(IPC *ipc, UINT64 now)
|
|||||||
// We save the router advertisement data for later use
|
// We save the router advertisement data for later use
|
||||||
IPCIPv6AddRouterPrefixes(ipc, &p->ICMPv6HeaderPacketInfo.OptionList, src_mac, &ip_src);
|
IPCIPv6AddRouterPrefixes(ipc, &p->ICMPv6HeaderPacketInfo.OptionList, src_mac, &ip_src);
|
||||||
IPCIPv6AssociateOnNDTEx(ipc, &ip_src, src_mac, true);
|
IPCIPv6AssociateOnNDTEx(ipc, &ip_src, src_mac, true);
|
||||||
if (p->ICMPv6HeaderPacketInfo.OptionList.SourceLinkLayer != NULL) {
|
IPCIPv6AssociateOnNDTEx(ipc, &ip_src, p->ICMPv6HeaderPacketInfo.OptionList.SourceLinkLayer->Address, true);
|
||||||
IPCIPv6AssociateOnNDTEx(ipc, &ip_src, p->ICMPv6HeaderPacketInfo.OptionList.SourceLinkLayer->Address, true);
|
|
||||||
}
|
|
||||||
ndtProcessed = true;
|
ndtProcessed = true;
|
||||||
header_size = sizeof(ICMPV6_ROUTER_ADVERTISEMENT_HEADER);
|
header_size = sizeof(ICMPV6_ROUTER_ADVERTISEMENT_HEADER);
|
||||||
break;
|
break;
|
||||||
@ -2356,14 +2354,7 @@ void IPCIPv6AddRouterPrefixes(IPC *ipc, ICMPV6_OPTION_LIST *recvPrefix, UCHAR *m
|
|||||||
IntToSubnetMask6(&newRA->RoutedMask, recvPrefix->Prefix[i]->SubnetLength);
|
IntToSubnetMask6(&newRA->RoutedMask, recvPrefix->Prefix[i]->SubnetLength);
|
||||||
CopyIP(&newRA->RouterAddress, ip);
|
CopyIP(&newRA->RouterAddress, ip);
|
||||||
Copy(newRA->RouterMacAddress, macAddress, 6);
|
Copy(newRA->RouterMacAddress, macAddress, 6);
|
||||||
if (recvPrefix->SourceLinkLayer != NULL)
|
Copy(newRA->RouterLinkLayerAddress, recvPrefix->SourceLinkLayer->Address, 6);
|
||||||
{
|
|
||||||
Copy(newRA->RouterLinkLayerAddress, recvPrefix->SourceLinkLayer->Address, 6);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Zero(newRA->RouterLinkLayerAddress, 6);
|
|
||||||
}
|
|
||||||
Add(ipc->IPv6RouterAdvs, newRA);
|
Add(ipc->IPv6RouterAdvs, newRA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2666,7 +2657,7 @@ void IPCIPv6SendUnicast(IPC *ipc, void *data, UINT size, IP *next_ip)
|
|||||||
}
|
}
|
||||||
|
|
||||||
destMac = ra.RouterMacAddress;
|
destMac = ra.RouterMacAddress;
|
||||||
if (!IsMacUnicast(destMac) && !IsMacInvalid(ra.RouterLinkLayerAddress))
|
if (!IsMacUnicast(destMac) && !IsMacInvalid(ra.RouterMacAddress))
|
||||||
{
|
{
|
||||||
destMac = ra.RouterLinkLayerAddress;
|
destMac = ra.RouterLinkLayerAddress;
|
||||||
}
|
}
|
||||||
|
@ -6773,6 +6773,7 @@ PACK *PackLoginWithOpenVPNCertificate(char *hubname, char *username, X *x)
|
|||||||
|
|
||||||
p = NewPack();
|
p = NewPack();
|
||||||
PackAddStr(p, "method", "login");
|
PackAddStr(p, "method", "login");
|
||||||
|
PackAddStr(p, "hubname", hubname);
|
||||||
|
|
||||||
if (IsEmptyStr(username))
|
if (IsEmptyStr(username))
|
||||||
{
|
{
|
||||||
@ -6781,26 +6782,12 @@ PACK *PackLoginWithOpenVPNCertificate(char *hubname, char *username, X *x)
|
|||||||
FreePack(p);
|
FreePack(p);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
UniToStr(cn_username, sizeof(cn_username), x->subject_name->CommonName);
|
UniToStr(cn_username, sizeof(cn_username), x->subject_name->CommonName);
|
||||||
|
PackAddStr(p, "username", cn_username);
|
||||||
if (strchr(cn_username, '@') != NULL)
|
|
||||||
|
|
||||||
{
|
|
||||||
PackAddStr(p, "username", strtok(cn_username, "@"));
|
|
||||||
PackAddStr(p, "hubname", strtok(NULL, ""));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
PackAddStr(p, "username", cn_username);
|
|
||||||
PackAddStr(p, "hubname", hubname);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PackAddStr(p, "username", username);
|
PackAddStr(p, "username", username);
|
||||||
PackAddStr(p, "hubname", hubname);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PackAddInt(p, "authtype", AUTHTYPE_OPENVPN_CERT);
|
PackAddInt(p, "authtype", AUTHTYPE_OPENVPN_CERT);
|
||||||
|
@ -12288,6 +12288,11 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
ret = SSL_peek(ssl, &c, sizeof(c));
|
ret = SSL_peek(ssl, &c, sizeof(c));
|
||||||
}
|
}
|
||||||
Unlock(sock->ssl_lock);
|
Unlock(sock->ssl_lock);
|
||||||
|
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||||
|
// 2021/09/10: After OpenSSL 3.x.x, both 0 and negative values might mean retryable.
|
||||||
|
// See: https://github.com/openssl/openssl/blob/435981cbadad2c58c35bacd30ca5d8b4c9bea72f/doc/man3/SSL_read.pod
|
||||||
|
// > Old documentation indicated a difference between 0 and -1, and that -1 was retryable.
|
||||||
|
// > You should instead call SSL_get_error() to find out if it's retryable.
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
{
|
{
|
||||||
// The communication have been disconnected
|
// The communication have been disconnected
|
||||||
@ -12295,7 +12300,8 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__);
|
Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (ret < 0)
|
#endif
|
||||||
|
if (ret <= 0)
|
||||||
{
|
{
|
||||||
// An error has occurred
|
// An error has occurred
|
||||||
e = SSL_get_error(ssl, ret);
|
e = SSL_get_error(ssl, ret);
|
||||||
@ -12303,14 +12309,16 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
{
|
{
|
||||||
if (e == SSL_ERROR_SSL
|
if (e == SSL_ERROR_SSL
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
&&
|
&&
|
||||||
sock->ssl->s3->send_alert[0] == SSL3_AL_FATAL &&
|
sock->ssl->s3->send_alert[0] == SSL3_AL_FATAL &&
|
||||||
sock->ssl->s3->send_alert[0] != sock->Ssl_Init_Async_SendAlert[0] &&
|
sock->ssl->s3->send_alert[0] != sock->Ssl_Init_Async_SendAlert[0] &&
|
||||||
sock->ssl->s3->send_alert[1] != sock->Ssl_Init_Async_SendAlert[1]
|
sock->ssl->s3->send_alert[1] != sock->Ssl_Init_Async_SendAlert[1]
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Debug("%s %u SSL Fatal Error on ASYNC socket !!!\n", __FILE__, __LINE__);
|
UINT ssl_err_no = ERR_get_error();
|
||||||
|
|
||||||
|
Debug("%s %u SSL_ERROR_SSL on ASYNC socket !!! ssl_err_no = %u: '%s'\n", __FILE__, __LINE__, ssl_err_no, ERR_error_string(ssl_err_no, NULL));
|
||||||
Disconnect(sock);
|
Disconnect(sock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -12337,14 +12345,14 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
}
|
}
|
||||||
#endif // OS_UNIX
|
#endif // OS_UNIX
|
||||||
|
|
||||||
// Run the time-out thread for SOLARIS
|
// Run the time-out thread for SOLARIS
|
||||||
#ifdef UNIX_SOLARIS
|
#ifdef UNIX_SOLARIS
|
||||||
ttparam = NewSocketTimeout(sock);
|
ttparam = NewSocketTimeout(sock);
|
||||||
#endif // UNIX_SOLARIS
|
#endif // UNIX_SOLARIS
|
||||||
|
|
||||||
ret = SSL_read(ssl, data, size);
|
ret = SSL_read(ssl, data, size);
|
||||||
|
|
||||||
// Stop the timeout thread
|
// Stop the timeout thread
|
||||||
#ifdef UNIX_SOLARIS
|
#ifdef UNIX_SOLARIS
|
||||||
FreeSocketTimeout(ttparam);
|
FreeSocketTimeout(ttparam);
|
||||||
#endif // UNIX_SOLARIS
|
#endif // UNIX_SOLARIS
|
||||||
@ -12357,7 +12365,11 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
}
|
}
|
||||||
#endif // OS_UNIX
|
#endif // OS_UNIX
|
||||||
|
|
||||||
if (ret < 0)
|
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||||
|
if (ret < 0) // OpenSSL version < 3.0.0
|
||||||
|
#else
|
||||||
|
if (ret <= 0) // OpenSSL version >= 3.0.0
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
e = SSL_get_error(ssl, ret);
|
e = SSL_get_error(ssl, ret);
|
||||||
}
|
}
|
||||||
@ -12380,6 +12392,12 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
|
|
||||||
return (UINT)ret;
|
return (UINT)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||||
|
// 2021/09/10: After OpenSSL 3.x.x, both 0 and negative values might mean retryable.
|
||||||
|
// See: https://github.com/openssl/openssl/blob/435981cbadad2c58c35bacd30ca5d8b4c9bea72f/doc/man3/SSL_read.pod
|
||||||
|
// > Old documentation indicated a difference between 0 and -1, and that -1 was retryable.
|
||||||
|
// > You should instead call SSL_get_error() to find out if it's retryable.
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
{
|
{
|
||||||
// Disconnect the communication
|
// Disconnect the communication
|
||||||
@ -12387,20 +12405,24 @@ UINT SecureRecv(SOCK *sock, void *data, UINT size)
|
|||||||
//Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__);
|
//Debug("%s %u SecureRecv() Disconnect\n", __FILE__, __LINE__);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (sock->AsyncMode)
|
if (sock->AsyncMode)
|
||||||
{
|
{
|
||||||
if (e == SSL_ERROR_WANT_READ || e == SSL_ERROR_WANT_WRITE || e == SSL_ERROR_SSL)
|
if (e == SSL_ERROR_WANT_READ || e == SSL_ERROR_WANT_WRITE || e == SSL_ERROR_SSL)
|
||||||
{
|
{
|
||||||
if (e == SSL_ERROR_SSL
|
if (e == SSL_ERROR_SSL
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
&&
|
&&
|
||||||
sock->ssl->s3->send_alert[0] == SSL3_AL_FATAL &&
|
sock->ssl->s3->send_alert[0] == SSL3_AL_FATAL &&
|
||||||
sock->ssl->s3->send_alert[0] != sock->Ssl_Init_Async_SendAlert[0] &&
|
sock->ssl->s3->send_alert[0] != sock->Ssl_Init_Async_SendAlert[0] &&
|
||||||
sock->ssl->s3->send_alert[1] != sock->Ssl_Init_Async_SendAlert[1]
|
sock->ssl->s3->send_alert[1] != sock->Ssl_Init_Async_SendAlert[1]
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Debug("%s %u SSL Fatal Error on ASYNC socket !!!\n", __FILE__, __LINE__);
|
UINT ssl_err_no = ERR_get_error();
|
||||||
|
|
||||||
|
Debug("%s %u SSL_ERROR_SSL on ASYNC socket !!! ssl_err_no = %u: '%s'\n", __FILE__, __LINE__, ssl_err_no, ERR_error_string(ssl_err_no, NULL));
|
||||||
Disconnect(sock);
|
Disconnect(sock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -12438,7 +12460,11 @@ UINT SecureSend(SOCK *sock, void *data, UINT size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = SSL_write(ssl, data, size);
|
ret = SSL_write(ssl, data, size);
|
||||||
if (ret < 0)
|
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||||
|
if (ret < 0) // OpenSSL version < 3.0.0
|
||||||
|
#else
|
||||||
|
if (ret <= 0) // OpenSSL version >= 3.0.0
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
e = SSL_get_error(ssl, ret);
|
e = SSL_get_error(ssl, ret);
|
||||||
}
|
}
|
||||||
@ -12460,6 +12486,8 @@ UINT SecureSend(SOCK *sock, void *data, UINT size)
|
|||||||
sock->WriteBlocked = false;
|
sock->WriteBlocked = false;
|
||||||
return (UINT)ret;
|
return (UINT)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
{
|
{
|
||||||
// Disconnect
|
// Disconnect
|
||||||
@ -12467,6 +12495,7 @@ UINT SecureSend(SOCK *sock, void *data, UINT size)
|
|||||||
Disconnect(sock);
|
Disconnect(sock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (sock->AsyncMode)
|
if (sock->AsyncMode)
|
||||||
{
|
{
|
||||||
|
@ -216,8 +216,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
<li><a href="#getspeciallistener">GetSpecialListener - Get Current Setting of the VPN over ICMP / VPN over DNS Function</a></li>
|
<li><a href="#getspeciallistener">GetSpecialListener - Get Current Setting of the VPN over ICMP / VPN over DNS Function</a></li>
|
||||||
<li><a href="#getazurestatus">GetAzureStatus - Show the current status of VPN Azure function</a></li>
|
<li><a href="#getazurestatus">GetAzureStatus - Show the current status of VPN Azure function</a></li>
|
||||||
<li><a href="#setazurestatus">SetAzureStatus - Enable / Disable VPN Azure Function</a></li>
|
<li><a href="#setazurestatus">SetAzureStatus - Enable / Disable VPN Azure Function</a></li>
|
||||||
<li><a href="#getddnsinternetsetting">GetDDnsInternetSetting - Get the Proxy Settings for Connecting to the DDNS server</a></li>
|
<li><a href="#getddnsinternetsettng">GetDDnsInternetSettng - Get the Proxy Settings for Connecting to the DDNS server</a></li>
|
||||||
<li><a href="#setddnsinternetsetting">SetDDnsInternetSetting - Set the Proxy Settings for Connecting to the DDNS server</a></li>
|
<li><a href="#setddnsinternetsettng">SetDDnsInternetSettng - Set the Proxy Settings for Connecting to the DDNS server</a></li>
|
||||||
<li><a href="#setvgsconfig">SetVgsConfig - Set the VPN Gate Server Configuration</a></li>
|
<li><a href="#setvgsconfig">SetVgsConfig - Set the VPN Gate Server Configuration</a></li>
|
||||||
<li><a href="#getvgsconfig">GetVgsConfig - Get the VPN Gate Server Configuration</a></li>
|
<li><a href="#getvgsconfig">GetVgsConfig - Get the VPN Gate Server Configuration</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -305,7 +305,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerBuildInt_u32": 0,
|
"ServerBuildInt_u32": 0,
|
||||||
"ServerHostName_str": "serverhostname",
|
"ServerHostName_str": "serverhostname",
|
||||||
"ServerType_u32": 0,
|
"ServerType_u32": 0,
|
||||||
"ServerBuildDate_dt": "2024-08-01T12:24:36.123",
|
"ServerBuildDate_dt": "2020-08-01T12:24:36.123",
|
||||||
"ServerFamilyName_str": "serverfamilyname",
|
"ServerFamilyName_str": "serverfamilyname",
|
||||||
"OsType_u32": 0,
|
"OsType_u32": 0,
|
||||||
"OsServicePack_u32": 0,
|
"OsServicePack_u32": 0,
|
||||||
@ -460,9 +460,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Send.BroadcastCount_u64": 0,
|
"Send.BroadcastCount_u64": 0,
|
||||||
"Send.UnicastBytes_u64": 0,
|
"Send.UnicastBytes_u64": 0,
|
||||||
"Send.UnicastCount_u64": 0,
|
"Send.UnicastCount_u64": 0,
|
||||||
"CurrentTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentTick_u64": 0,
|
"CurrentTick_u64": 0,
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"TotalMemory_u64": 0,
|
"TotalMemory_u64": 0,
|
||||||
"UsedMemory_u64": 0,
|
"UsedMemory_u64": 0,
|
||||||
"FreeMemory_u64": 0,
|
"FreeMemory_u64": 0,
|
||||||
@ -1136,7 +1136,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"result": {
|
"result": {
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1283,7 +1283,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1296,7 +1296,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1309,7 +1309,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"Controller_bool": false,
|
"Controller_bool": false,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Point_u32": 0,
|
"Point_u32": 0,
|
||||||
@ -1422,9 +1422,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"StartedTime_dt": "2024-08-01T12:24:36.123",
|
"StartedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumTry_u32": 0,
|
"NumTry_u32": 0,
|
||||||
"NumConnected_u32": 0,
|
"NumConnected_u32": 0,
|
||||||
"NumFailed_u32": 0
|
"NumFailed_u32": 0
|
||||||
@ -1918,9 +1918,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1941,9 +1941,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -1964,9 +1964,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"NumSessions_u32": 0,
|
"NumSessions_u32": 0,
|
||||||
"NumMacTables_u32": 0,
|
"NumMacTables_u32": 0,
|
||||||
"NumIpTables_u32": 0,
|
"NumIpTables_u32": 0,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
@ -2309,7 +2309,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2317,7 +2317,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2325,7 +2325,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Type_u32": 0
|
"Type_u32": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -2450,7 +2450,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"Ip_ip": "192.168.0.1",
|
"Ip_ip": "192.168.0.1",
|
||||||
"Port_u32": 0,
|
"Port_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ServerStr_str": "serverstr",
|
"ServerStr_str": "serverstr",
|
||||||
"ServerVer_u32": 0,
|
"ServerVer_u32": 0,
|
||||||
"ServerBuild_u32": 0,
|
"ServerBuild_u32": 0,
|
||||||
@ -2620,9 +2620,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Send.UnicastBytes_u64": 0,
|
"Send.UnicastBytes_u64": 0,
|
||||||
"Send.UnicastCount_u64": 0,
|
"Send.UnicastCount_u64": 0,
|
||||||
"SecureNATEnabled_bool": false,
|
"SecureNATEnabled_bool": false,
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumLogin_u32": 0
|
"NumLogin_u32": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2992,19 +2992,19 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SubjectName_utf": "subjectname",
|
"SubjectName_utf": "subjectname",
|
||||||
"IssuerName_utf": "issuername",
|
"IssuerName_utf": "issuername",
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123"
|
"Expires_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -4348,7 +4348,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
},
|
},
|
||||||
@ -4357,7 +4357,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
},
|
},
|
||||||
@ -4366,7 +4366,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Online_bool": false,
|
"Online_bool": false,
|
||||||
"Connected_bool": false,
|
"Connected_bool": false,
|
||||||
"LastError_u32": 0,
|
"LastError_u32": 0,
|
||||||
"ConnectedTime_dt": "2024-08-01T12:24:36.123",
|
"ConnectedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"Hostname_str": "hostname",
|
"Hostname_str": "hostname",
|
||||||
"TargetHubName_str": "targethubname"
|
"TargetHubName_str": "targethubname"
|
||||||
}
|
}
|
||||||
@ -4668,9 +4668,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerProductBuild_u32": 0,
|
"ServerProductBuild_u32": 0,
|
||||||
"ServerX_bin": "SGVsbG8gV29ybGQ=",
|
"ServerX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"ClientX_bin": "SGVsbG8gV29ybGQ=",
|
"ClientX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectionEstablisiedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectionEstablisiedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectionEstablishTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectionEstablishTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumConnectionsEatablished_u32": 0,
|
"NumConnectionsEatablished_u32": 0,
|
||||||
"HalfConnection_bool": false,
|
"HalfConnection_bool": false,
|
||||||
"QoS_bool": false,
|
"QoS_bool": false,
|
||||||
@ -5996,7 +5996,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6057,9 +6057,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6467,7 +6467,7 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6528,9 +6528,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -6948,9 +6948,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"GroupName_str": "groupname",
|
"GroupName_str": "groupname",
|
||||||
"Realname_utf": "realname",
|
"Realname_utf": "realname",
|
||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"Auth_Password_str": "auth_password",
|
"Auth_Password_str": "auth_password",
|
||||||
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
"UserX_bin": "SGVsbG8gV29ybGQ=",
|
||||||
@ -7419,11 +7419,11 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -7440,11 +7440,11 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -7461,11 +7461,11 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Note_utf": "note",
|
"Note_utf": "note",
|
||||||
"AuthType_u32": 0,
|
"AuthType_u32": 0,
|
||||||
"NumLogin_u32": 0,
|
"NumLogin_u32": 0,
|
||||||
"LastLoginTime_dt": "2024-08-01T12:24:36.123",
|
"LastLoginTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"DenyAccess_bool": false,
|
"DenyAccess_bool": false,
|
||||||
"IsTrafficFilled_bool": false,
|
"IsTrafficFilled_bool": false,
|
||||||
"IsExpiresFilled_bool": false,
|
"IsExpiresFilled_bool": false,
|
||||||
"Expires_dt": "2024-08-01T12:24:36.123",
|
"Expires_dt": "2020-08-01T12:24:36.123",
|
||||||
"Ex.Recv.BroadcastBytes_u64": 0,
|
"Ex.Recv.BroadcastBytes_u64": 0,
|
||||||
"Ex.Recv.BroadcastCount_u64": 0,
|
"Ex.Recv.BroadcastCount_u64": 0,
|
||||||
"Ex.Recv.UnicastBytes_u64": 0,
|
"Ex.Recv.UnicastBytes_u64": 0,
|
||||||
@ -8907,8 +8907,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
@ -8929,8 +8929,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name_str": "name",
|
"Name_str": "name",
|
||||||
@ -8951,8 +8951,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Client_MonitorMode_bool": false,
|
"Client_MonitorMode_bool": false,
|
||||||
"VLanId_u32": 0,
|
"VLanId_u32": 0,
|
||||||
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
"UniqueId_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123"
|
"LastCommTime_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -9117,9 +9117,9 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerProductName_str": "serverproductname",
|
"ServerProductName_str": "serverproductname",
|
||||||
"ServerProductVer_u32": 0,
|
"ServerProductVer_u32": 0,
|
||||||
"ServerProductBuild_u32": 0,
|
"ServerProductBuild_u32": 0,
|
||||||
"StartTime_dt": "2024-08-01T12:24:36.123",
|
"StartTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"FirstConnectionEstablisiedTime_dt": "2024-08-01T12:24:36.123",
|
"FirstConnectionEstablisiedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"CurrentConnectionEstablishTime_dt": "2024-08-01T12:24:36.123",
|
"CurrentConnectionEstablishTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"NumConnectionsEatablished_u32": 0,
|
"NumConnectionsEatablished_u32": 0,
|
||||||
"HalfConnection_bool": false,
|
"HalfConnection_bool": false,
|
||||||
"QoS_bool": false,
|
"QoS_bool": false,
|
||||||
@ -9496,8 +9496,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -9506,8 +9506,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -9516,8 +9516,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"Key_u32": 0,
|
"Key_u32": 0,
|
||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname",
|
"RemoteHostname_str": "remotehostname",
|
||||||
"VlanId_u32": 0
|
"VlanId_u32": 0
|
||||||
@ -9663,8 +9663,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
},
|
},
|
||||||
@ -9673,8 +9673,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
},
|
},
|
||||||
@ -9683,8 +9683,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"SessionName_str": "sessionname",
|
"SessionName_str": "sessionname",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"DhcpAllocated_bool": false,
|
"DhcpAllocated_bool": false,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123",
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"RemoteItem_bool": false,
|
"RemoteItem_bool": false,
|
||||||
"RemoteHostname_str": "remotehostname"
|
"RemoteHostname_str": "remotehostname"
|
||||||
}
|
}
|
||||||
@ -10376,8 +10376,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -10391,8 +10391,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -10406,8 +10406,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DestIp_ip": "192.168.0.1",
|
"DestIp_ip": "192.168.0.1",
|
||||||
"DestHost_str": "desthost",
|
"DestHost_str": "desthost",
|
||||||
"DestPort_u32": 0,
|
"DestPort_u32": 0,
|
||||||
"CreatedTime_dt": "2024-08-01T12:24:36.123",
|
"CreatedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"LastCommTime_dt": "2024-08-01T12:24:36.123",
|
"LastCommTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"SendSize_u64": 0,
|
"SendSize_u64": 0,
|
||||||
"RecvSize_u64": 0,
|
"RecvSize_u64": 0,
|
||||||
"TcpStatus_u32": 0
|
"TcpStatus_u32": 0
|
||||||
@ -10527,8 +10527,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"DhcpTable": [
|
"DhcpTable": [
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -10536,8 +10536,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -10545,8 +10545,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id_u32": 0,
|
"Id_u32": 0,
|
||||||
"LeasedTime_dt": "2024-08-01T12:24:36.123",
|
"LeasedTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"ExpireTime_dt": "2024-08-01T12:24:36.123",
|
"ExpireTime_dt": "2020-08-01T12:24:36.123",
|
||||||
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
"MacAddress_bin": "SGVsbG8gV29ybGQ=",
|
||||||
"IpAddress_ip": "192.168.0.1",
|
"IpAddress_ip": "192.168.0.1",
|
||||||
"Mask_u32": 0,
|
"Mask_u32": 0,
|
||||||
@ -13090,19 +13090,19 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ServerName_str": "servername",
|
"ServerName_str": "servername",
|
||||||
"FilePath_str": "filepath",
|
"FilePath_str": "filepath",
|
||||||
"FileSize_u32": 0,
|
"FileSize_u32": 0,
|
||||||
"UpdatedTime_dt": "2024-08-01T12:24:36.123"
|
"UpdatedTime_dt": "2020-08-01T12:24:36.123"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -14508,15 +14508,15 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<p><a id="getddnsinternetsetting"></a></p>
|
<p><a id="getddnsinternetsettng"></a></p>
|
||||||
<h2 id="getddnsinternetsetting-rpc-api-get-the-proxy-settings-for-connecting-to-the-ddns-server">"GetDDnsInternetSetting" RPC API - Get the Proxy Settings for Connecting to the DDNS server</h2>
|
<h2 id="getddnsinternetsettng-rpc-api-get-the-proxy-settings-for-connecting-to-the-ddns-server">"GetDDnsInternetSettng" RPC API - Get the Proxy Settings for Connecting to the DDNS server</h2>
|
||||||
<h3 id="description-131">Description</h3>
|
<h3 id="description-131">Description</h3>
|
||||||
<p>Get the Proxy Settings for Connecting to the DDNS server.</p>
|
<p>Get the Proxy Settings for Connecting to the DDNS server.</p>
|
||||||
<h3 id="input-json-rpc-format-131">Input JSON-RPC Format</h3>
|
<h3 id="input-json-rpc-format-131">Input JSON-RPC Format</h3>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-json">{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "rpc_call_id",
|
"id": "rpc_call_id",
|
||||||
"method": "GetDDnsInternetSetting",
|
"method": "GetDDnsInternetSettng",
|
||||||
"params": {}
|
"params": {}
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -14571,15 +14571,15 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<p><a id="setddnsinternetsetting"></a></p>
|
<p><a id="setddnsinternetsettng"></a></p>
|
||||||
<h2 id="setddnsinternetsetting-rpc-api-set-the-proxy-settings-for-connecting-to-the-ddns-server">"SetDDnsInternetSetting" RPC API - Set the Proxy Settings for Connecting to the DDNS server</h2>
|
<h2 id="setddnsinternetsettng-rpc-api-set-the-proxy-settings-for-connecting-to-the-ddns-server">"SetDDnsInternetSettng" RPC API - Set the Proxy Settings for Connecting to the DDNS server</h2>
|
||||||
<h3 id="description-132">Description</h3>
|
<h3 id="description-132">Description</h3>
|
||||||
<p>Set the Proxy Settings for Connecting to the DDNS server.</p>
|
<p>Set the Proxy Settings for Connecting to the DDNS server.</p>
|
||||||
<h3 id="input-json-rpc-format-132">Input JSON-RPC Format</h3>
|
<h3 id="input-json-rpc-format-132">Input JSON-RPC Format</h3>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-json">{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "rpc_call_id",
|
"id": "rpc_call_id",
|
||||||
"method": "SetDDnsInternetSetting",
|
"method": "SetDDnsInternetSettng",
|
||||||
"params": {
|
"params": {
|
||||||
"ProxyType_u32": 0,
|
"ProxyType_u32": 0,
|
||||||
"ProxyHostName_str": "proxyhostname",
|
"ProxyHostName_str": "proxyhostname",
|
||||||
@ -14640,8 +14640,8 @@ All APIs are based on the <a href="https://www.jsonrpc.org/specification">JSON-R
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<p>Automatically generated at 2023-05-10 14:43:37 by vpnserver-jsonrpc-codegen.<br />
|
<p>Automatically generated at 2019-07-10 14:36:11 by vpnserver-jsonrpc-codegen.<br />
|
||||||
Copyright (c) 2014-2023 <a href="https://www.softether.org/">SoftEther VPN Project</a> under the Apache License 2.0.</p>
|
Copyright (c) 2014-2019 <a href="https://www.softether.org/">SoftEther VPN Project</a> under the Apache License 2.0.</p>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
</body>
|
</body>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user