9 月 102021
 

获取时间戳

[root@s6 ~]# date +%s%N
1634089185225960225
[root@s6 ~]#

获取系统的唯一性ID

[root@s6 ~]# cat /etc/machine-id 
52e2104a451e6cc4c0cd3f75608ba59f
[root@s6 ~]#

通过hostnamectl查看

[root@s6 ~]# hostnamectl 
Static hostname: s6.linuxcache.com
Icon name: computer-vm
Chassis: vm
Machine ID: 52e2104a451e6cc4c0cd3f75608ba59f
Boot ID: 7b76dcb309d94c908ec297b10998cd38
Virtualization: kvm
Operating System: Fedora 34 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:34
Kernel: Linux 5.11.12-300.fc34.x86_64
Architecture: x86-64
Hardware Vendor: Vultr
Hardware Model: HFC
[root@s6 ~]#

拼接timestamp和machine-id并使用sha1算法计算校验值

printf <timestamp><machine-id> | sha1sum
printf 163408918522596022552e2104a451e6cc4c0cd3f75608ba59f | sha1sum

计算校验值

[root@s6 ~]# printf 163408918522596022552e2104a451e6cc4c0cd3f75608ba59f | sha1sum
e4819b79f35d65e8231cb7e23bf61fc76aab5571 -
[root@s6 ~]#

截取后5位16进制值

printf e4819b79f35d65e8231cb7e23bf61fc76aab5571 | cut -c 31-

截取成功

[root@s6 ~]# printf e4819b79f35d65e8231cb7e23bf61fc76aab5571 | cut -c 31-
c76aab5571
[root@s6 ~]#

拼接前缀

fd c7 6a ab 55 71
fdc7:6aab:5571::/64
使用ipcalc命令计算子网信息

[root@s6 ~]# ipcalc -6 fdc7:6aab:5571::/64
Full Network: fdc7:6aab:5571:0000:0000:0000:0000:0000/64
Network: fdc7:6aab:5571::/64
Netmask: ffff:ffff:ffff:ffff:: = 64

Address space: Unique Local Unicast
HostMin: fdc7:6aab:5571::
HostMax: fdc7:6aab:5571:0:ffff:ffff:ffff:ffff
Hosts/Net: 2^(64) = 18446744073709551616
[root@s6 ~]#

 

 

 

9 月 092021
 

原文

3.2.2. Sample Code for Pseudo-Random Global ID Algorithm

The algorithm described below is intended to be used for locally
assigned Global IDs. In each case the resulting global ID will be
used in the appropriate prefix as defined in Section 3.2.

1) Obtain the current time of day in 64-bit NTP format [NTP].

2) Obtain an EUI-64 identifier from the system running this
algorithm. If an EUI-64 does not exist, one can be created from
a 48-bit MAC address as specified in [ADDARCH]. If an EUI-64
cannot be obtained or created, a suitably unique identifier,
local to the node, should be used (e.g., system serial number).

3) Concatenate the time of day with the system-specific identifier
in order to create a key.

4) Compute an SHA-1 digest on the key as specified in [FIPS, SHA1];
the resulting value is 160 bits.

5) Use the least significant 40 bits as the Global ID.

6) Concatenate FC00::/7, the L bit set to 1, and the 40-bit Global
ID to create a Local IPv6 address prefix.

This algorithm will result in a Global ID that is reasonably unique
and can be used to create a locally assigned Local IPv6 address
prefix.

内容引用:

Unique Local IPv6 Unicast Addresses

8 月 252021
 

AnyConnect Deployment Overview
Deploying AnyConnect refers to installing, configuring, and upgrading the AnyConnect client and its related files.

The Cisco AnyConnect Secure Mobility Client can be deployed to remote users by the following methods:

Predeploy—New installations and upgrades are done either by the end user, or by using an enterprise software management system (SMS).

Web Deploy—The AnyConnect package is loaded on the headend, which is either an ASA or FTD firewall, or an ISE server. When the user connects to a firewall or to ISE, AnyConnect is deployed to the client.

For new installations, the user connects to a headend to download the AnyConnect client. The client is either installed manually or automatically (web-launch).

Updates are done by AnyConnect running on a system where AnyConnect is already installed, or by directing the user to the ASA clientless portal.

When you deploy AnyConnect, you can include optional modules that enable extra features, and client profiles that configure the VPN and optional features.

Refer to the AnyConnect release notes for system, management, and endpoint requirements for ASA, IOS, Microsoft Windows, Linux, and macOS.

内容引用:

Cisco AnyConnect Secure Mobility Client Administrator Guide, Release 4.0 – Deploy AnyConnect [Cisco AnyConnect Secure Mobility Client] – Cisco

4 月 252021
 

启动接口异常

[root@localhost ~]# wg-quick up wg0
[#] ip link add wg0 type wireguard
Error: Unknown device type.
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"
[root@localhost ~]#

手动加载内核模块异常

[root@localhost ~]# modprobe wireguard
modprobe: ERROR: could not insert 'wireguard': Required key not available
[root@localhost ~]#

禁用ESXi客户机Secure Boot的选项

重启系统后接口启动恢复正常

4 月 122021
 

 

包信息

[root@tinc ~]# dnf info tinc
Last metadata expiration check: 0:01:55 ago on Mon 12 Apr 2021 01:44:09 AM UTC.
Installed Packages
Name         : tinc
Version      : 1.0.36
Release      : 2.el8
Architecture : x86_64
Size         : 629 k
Source       : tinc-1.0.36-2.el8.src.rpm
Repository   : @System
From repo    : epel
Summary      : A virtual private network daemon
URL          : http://www.tinc-vpn.org/
License      : GPLv2+
Description  : tinc is a Virtual Private Network (VPN) daemon that uses tunnelling
             : and encryption to create a secure private network between hosts on
             : the Internet. Because the tunnel appears to the IP level network
             : code as a normal network device, there is no need to adapt any
             : existing software. This tunnelling allows VPN sites to share
             : information with each other over the Internet without exposing any
             : information to others.

[root@tinc ~]#

安装路径

[root@tinc ~]# rpm -lq tinc
/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/f0a564e8d20e169bed52480a235992928751ed
/usr/lib/systemd/system/tinc.service
/usr/lib/systemd/system/tinc@.service
/usr/sbin/tincd
/usr/share/doc/tinc
/usr/share/doc/tinc/AUTHORS
/usr/share/doc/tinc/COPYING.README
/usr/share/doc/tinc/NEWS
/usr/share/doc/tinc/README
/usr/share/doc/tinc/THANKS
/usr/share/doc/tinc/sample-config
/usr/share/doc/tinc/sample-config/hosts
/usr/share/doc/tinc/sample-config/hosts/alpha
/usr/share/doc/tinc/sample-config/hosts/beta
/usr/share/doc/tinc/sample-config/rsa_key.priv
/usr/share/doc/tinc/sample-config/tinc-down
/usr/share/doc/tinc/sample-config/tinc-up
/usr/share/doc/tinc/sample-config/tinc.conf
/usr/share/doc/tinc/texinfo.tex
/usr/share/info/tinc.info.gz
/usr/share/licenses/tinc
/usr/share/licenses/tinc/COPYING
/usr/share/man/man5/tinc.conf.5.gz
/usr/share/man/man8/tincd.8.gz
[root@tinc ~]#

服务配置文件示例

https://www.tinc-vpn.org/documentation/Main-configuration-variables.html#Main-configuration-variables
[root@tinc ~]# cat /usr/share/doc/tinc/sample-config/tinc.conf
# Sample tinc configuration file

# This is a comment.
# Spaces and tabs are eliminated.
# The = sign isn't strictly necessary any longer, though you may want
# to leave it in as it improves readability :)
# Variable names are treated case insensitive.

# The name of this tinc host. Required.
Name = alpha

# The internet host to connect with.
# Comment these out to make yourself a listen-only connection
# You must use the name of another tinc host.
# May be used multiple times for redundance.
ConnectTo = beta

# The tap device tinc will use.
# /dev/tap0 for ethertap, FreeBSD or OpenBSD
# /dev/tun0 for Solaris
# /dev/net/tun for Linux tun/tap
Device = /dev/net/tun
[root@tinc ~]#

主机配置文件示例

https://www.tinc-vpn.org/documentation/Host-configuration-variables.html#Host-configuration-variables
[root@tinc ~]# cat /usr/share/doc/tinc/sample-config/hosts/alpha
# Sample host configuration file

# The real IP address of this tinc host. Can be used by other tinc hosts.
Address = 123.234.35.67

# Portnumber for incoming connections. Default is 655.
Port = 655

# Subnet on the virtual private network that is local for this host.
Subnet = 192.168.1.0/24

# The public key generated by `tincd -n example -K' is stored here
-----BEGIN RSA PUBLIC KEY-----
...
-----END RSA PUBLIC KEY-----
[root@tinc ~]#
[root@tinc ~]# cat /usr/share/doc/tinc/sample-config/hosts/beta
# Sample host configuration file
# This file was generated by host beta.

# The real IP address of this tinc host. Can be used by other tinc hosts.
Address = 123.45.67.189

# Portnumber for incoming connections. Default is 655.
Port = 6500

# Subnet on the virtual private network that is local for this host.
Subnet = 192.168.2.0/24

# The public key generated by `tincd -n example -K' is stored here
-----BEGIN RSA PUBLIC KEY-----
...
-----END RSA PUBLIC KEY-----
[root@tinc ~]#

启动和停止脚本示例(使用ifconfig命令依赖net-tools包)

[root@tinc ~]# cat /usr/share/doc/tinc/sample-config/tinc-up
#!/bin/sh
# This file sets up the tap device.
# It gives you the freedom to do anything you want with it.
# Use the correct name for the tap device:
# The environment variable $INTERFACE is set to the right name
# on most platforms, but if it doesn't work try to set it manually.

# Give it the right ip and netmask. Remember, the subnet of the
# tap device must be larger than that of the individual Subnets
# as defined in the host configuration file!
ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0
[root@tinc ~]#
[root@tinc ~]# cat /usr/share/doc/tinc/sample-config/tinc-down
#!/bin/sh
# This file closes down the tap device.

ifconfig $INTERFACE down
[root@tinc ~]#

使用ip命令示例

#!/bin/sh
ip link set $INTERFACE up
ip addr add 10.0.0.1/32 dev $INTERFACE
ip route add 10.0.0.0/24 dev $INTERFACE
#!/bin/sh
ip route del 10.0.0.0/24 dev $INTERFACE
ip addr del 10.0.0.1/32 dev $INTERFACE
ip link set $INTERFACE down
8 月 242020
 

禁用SELinux配置

[root@lsws ~]# sed -i 's/^SELINUX=enforcing$/SELINUX=disabled/' /etc/selinux/config;
[root@lsws ~]# setenforce 0
[root@lsws ~]#

配置仓库

[root@lsws ~]# dnf install http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el8.noarch.rpm

查看仓库配置文件

[root@lsws ~]# cat /etc/yum.repos.d/litespeed.repo
[litespeed]
name=LiteSpeed Tech Repository for CentOS $releasever - $basearch
baseurl=http://rpms.litespeedtech.com/centos/$releasever/$basearch/
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-litespeed

[litespeed-update]
name=LiteSpeed Tech Update Repository for CentOS $releasever - $basearch
baseurl=http://rpms.litespeedtech.com/centos/$releasever/update/$basearch/
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-litespeed

[litespeed-edge]
name=LiteSpeed Tech Edge Repository for CentOS $releasever - $basearch
baseurl=http://rpms.litespeedtech.com/edge/centos/$releasever/$basearch/
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-litespeed

[litespeed-edge-update]
name=LiteSpeed Tech Edge Update Repository for CentOS $releasever - $basearch
baseurl=http://rpms.litespeedtech.com/edge/centos/$releasever/update/$basearch/
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-litespeed
[root@lsws ~]#

更新dnf工具缓存

[root@lsws ~]# dnf makecache
CentOS-8 - AppStream                             12 kB/s | 4.3 kB     00:00
CentOS-8 - Base                                 7.8 kB/s | 3.9 kB     00:00
CentOS-8 - Extras                               2.9 kB/s | 1.5 kB     00:00
LiteSpeed Tech Repository for CentOS 8 - x86_64 2.1 MB/s | 490 kB     00:00
LiteSpeed Tech Update Repository for CentOS 8 - 1.0 MB/s | 227 kB     00:00
Metadata cache created.
[root@lsws ~]#

查看openlitespeed包信息

[root@lsws ~]# dnf info openlitespeed
Last metadata expiration check: 0:00:36 ago on Mon 24 Aug 2020 02:48:52 AM UTC.
Available Packages
Name         : openlitespeed
Version      : 1.6.15
Release      : 2.el8
Architecture : x86_64
Size         : 37 M
Source       : openlitespeed-1.6.15-2.el8.src.rpm
Repository   : litespeed-update
Summary      : OpenLiteSpeed
URL          : http://www.litespeedtech.com
License      : GPLv3
Description  : OpenLiteSpeed is a high-performance, lightweight, open source
             : HTTP server developed and copyrighted by LiteSpeed Technologies.
             : Users are free to download, use, distribute, and modify
             : OpenLiteSpeed and its source code in accordance with the precepts
             : of the GPLv3 license.

[root@lsws ~]#

安装litespeed及php环境包

问题

[root@lsws ~]# dnf install openlitespeed
Last metadata expiration check: 0:00:13 ago on Mon 24 Aug 2020 02:43:32 AM UTC.
Error:
Problem: package openlitespeed-1.6.15-2.el8.x86_64 requires lsphp73-mcrypt, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libmcrypt.so.4()(64bit) needed by lsphp73-pecl-mcrypt-1.0.3-1.el8.7.3.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@lsws ~]#

解决

[root@lsws ~]# dnf install epel-release

再次安装

[root@lsws ~]# dnf install openlitespeed

================================================================================
 Package                Arch      Version             Repository           Size
================================================================================
Installing:
 openlitespeed          x86_64    1.6.15-2.el8        litespeed-update     37 M
Installing dependencies:
 libXpm                 x86_64    3.5.12-8.el8        AppStream            58 k
 libargon2              x86_64    20171227-3.el8      epel                 29 k
 libc-client            x86_64    2007f-24.el8        epel                564 k
 libjpeg-turbo          x86_64    1.5.3-10.el8        AppStream           156 k
 libmcrypt              x86_64    2.5.8-26.el8        epel                109 k
 libnsl                 x86_64    2.28-101.el8        BaseOS               97 k
 libwebp                x86_64    1.0.0-1.el8         AppStream           273 k
 libxslt                x86_64    1.1.32-4.el8        BaseOS              249 k
 lsphp73                x86_64    7.3.21-1.el8        litespeed           4.7 M
 lsphp73-common         x86_64    7.3.21-1.el8        litespeed           677 k
 lsphp73-gd             x86_64    7.3.21-1.el8        litespeed           122 k
 lsphp73-imap           x86_64    7.3.21-1.el8        litespeed            39 k
 lsphp73-mbstring       x86_64    7.3.21-1.el8        litespeed           571 k
 lsphp73-mysqlnd        x86_64    7.3.21-1.el8        litespeed           142 k
 lsphp73-opcache        x86_64    7.3.21-1.el8        litespeed           203 k
 lsphp73-pdo            x86_64    7.3.21-1.el8        litespeed            75 k
 lsphp73-pecl-mcrypt    x86_64    1.0.3-1.el8.7.3     litespeed            27 k
 lsphp73-process        x86_64    7.3.21-1.el8        litespeed            37 k
 lsphp73-xml            x86_64    7.3.21-1.el8        litespeed           140 k

Transaction Summary
================================================================================
Install  20 Packages

查看openlitespeed安装路径

[root@lsws ~]# ls /usr/local/lsws/
add-ons      backup     conf      gdata    lsphp73      phpbuild  VERSION
admin        bin        docs      GPL.txt  lsrecaptcha  PLAT
adminpasswd  cachedata  Example   lib      modules      share
autoupdate   cgid       fcgi-bin  logs     php          tmp
[root@lsws ~]#

[root@lsws ~]# rpm -lq openlitespeed
/etc/init.d/lsws
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/1fe5f65c8015eff89a7061cf3cd705df56b14d
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/0ad48b16e05134408b5ba7fda33a78ff494487
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/01b36791441d4ea4d211f1568e03a4ad6717eb
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/19ffa9101ece0920acec1aa7a41befdf870147
/usr/lib/.build-id/7d/3455969230e2d6f0ee22db5931293343d19d11
/usr/lib/.build-id/7d/3455969230e2d6f0ee22db5931293343d19d11.1
/usr/lib/.build-id/92
/usr/lib/.build-id/92/57016074c47d5ea7e6939c5bf92678f8bf07fd
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/54a5da0375a7bee6dfa1cec7ec3c95b51da417
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/16322f9066a8510f3f5a666bb8af7694727b4b
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/4953e950479bd6c50a614e5d37e8fcc170b91a
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/71ea0ab4fcdd0c7976dfe74c8e7333f547fa83
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/0ec2ee684e24336fb76439c1a1afc48787cdf7
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/4cc59833a8b1b9b1320b431830b6cf377e8684
/usr/local/lsws
/usr/local/lsws/Example
/usr/local/lsws/Example/cgi-bin
/usr/local/lsws/Example/cgi-bin/helloworld
/usr/local/lsws/Example/fcgi-bin
/usr/local/lsws/Example/html
/usr/local/lsws/Example/html/.htaccess
/usr/local/lsws/Example/html/blocked
/usr/local/lsws/Example/html/blocked/index.html
/usr/local/lsws/Example/html/css
/usr/local/lsws/Example/html/css/bootstrap.min.css
/usr/local/lsws/Example/html/css/custom.css
/usr/local/lsws/Example/html/error404.html
/usr/local/lsws/Example/html/img
/usr/local/lsws/Example/html/img/404-icon.png
/usr/local/lsws/Example/html/img/blocked_content-icon.png
/usr/local/lsws/Example/html/img/cgi-icon.png
/usr/local/lsws/Example/html/img/file_upload-icon.png
/usr/local/lsws/Example/html/img/olsws_logo.png
/usr/local/lsws/Example/html/img/php-icon.png
/usr/local/lsws/Example/html/img/powered_by_ols-new.png
/usr/local/lsws/Example/html/img/pwd_protect-icon.png
/usr/local/lsws/Example/html/index.html
/usr/local/lsws/Example/html/phpinfo.php
/usr/local/lsws/Example/html/protected
/usr/local/lsws/Example/html/protected/index.html
/usr/local/lsws/Example/html/upload.html
/usr/local/lsws/Example/html/upload.php
/usr/local/lsws/Example/logs
/usr/local/lsws/GPL.txt
/usr/local/lsws/PLAT
/usr/local/lsws/VERSION
/usr/local/lsws/add-ons
/usr/local/lsws/add-ons/snmp_monitoring
/usr/local/lsws/add-ons/snmp_monitoring/README
/usr/local/lsws/add-ons/snmp_monitoring/class.litespeed_snmp_bridge.php
/usr/local/lsws/add-ons/snmp_monitoring/class.litespeed_stats.php
/usr/local/lsws/add-ons/snmp_monitoring/litespeed_cacti_template.xml
/usr/local/lsws/add-ons/snmp_monitoring/litespeed_extapp.xml
/usr/local/lsws/add-ons/snmp_monitoring/litespeed_general.xml
/usr/local/lsws/add-ons/snmp_monitoring/litespeed_vhost.xml
/usr/local/lsws/add-ons/snmp_monitoring/sample.php
/usr/local/lsws/add-ons/webcachemgr
/usr/local/lsws/add-ons/webcachemgr/VERSION
/usr/local/lsws/add-ons/webcachemgr/autoloader.php
/usr/local/lsws/add-ons/webcachemgr/bootstrap.php
/usr/local/lsws/add-ons/webcachemgr/bootstrap_cli.php
/usr/local/lsws/add-ons/webcachemgr/src
/usr/local/lsws/add-ons/webcachemgr/src/AjaxResponse.php
/usr/local/lsws/add-ons/webcachemgr/src/CliController.php
/usr/local/lsws/add-ons/webcachemgr/src/Context
/usr/local/lsws/add-ons/webcachemgr/src/Context/Context.php
/usr/local/lsws/add-ons/webcachemgr/src/Context/ContextOption.php
/usr/local/lsws/add-ons/webcachemgr/src/Context/RootCLIContextOption.php
/usr/local/lsws/add-ons/webcachemgr/src/Context/RootPanelContextOption.php
/usr/local/lsws/add-ons/webcachemgr/src/Context/UserCLIContextOption.php
/usr/local/lsws/add-ons/webcachemgr/src/DashNotifier.php
/usr/local/lsws/add-ons/webcachemgr/src/LSCMException.php
/usr/local/lsws/add-ons/webcachemgr/src/LogEntry.php
/usr/local/lsws/add-ons/webcachemgr/src/Logger.php
/usr/local/lsws/add-ons/webcachemgr/src/Panel
/usr/local/lsws/add-ons/webcachemgr/src/Panel/CPanel.php
/usr/local/lsws/add-ons/webcachemgr/src/Panel/ControlPanel.php
/usr/local/lsws/add-ons/webcachemgr/src/Panel/CustomPanel.php
/usr/local/lsws/add-ons/webcachemgr/src/Panel/CustomPanelBase.php
/usr/local/lsws/add-ons/webcachemgr/src/Panel/DirectAdmin.php
/usr/local/lsws/add-ons/webcachemgr/src/Panel/Plesk.php
/usr/local/lsws/add-ons/webcachemgr/src/PanelController.php
/usr/local/lsws/add-ons/webcachemgr/src/PluginVersion.php
/usr/local/lsws/add-ons/webcachemgr/src/UserCommand.php
/usr/local/lsws/add-ons/webcachemgr/src/Util.php
/usr/local/lsws/add-ons/webcachemgr/src/View
/usr/local/lsws/add-ons/webcachemgr/src/View/AjaxView.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/Ajax
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/Ajax/CacheMgrRowViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/CacheRootNotSetViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/DashNotifierViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/DataFileMsgViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/ManageViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/MassDashDisableProgressViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/MassDashNotifyProgressViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/MassEnableDisableProgressViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/MassEnableDisableViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/MissingTplViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/RefreshStatusProgressViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/ScanProgressViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/UnflagAllProgressViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/VersionChangeViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Model/VersionManageViewModel.php
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Ajax
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Ajax/CacheMgrActionsCol.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Ajax/CacheMgrFlagCol.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Ajax/CacheMgrStatusCol.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Blocks
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Blocks/InputSubmitBtn.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/CacheRootNotSet.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/DashNotifier.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/DataFileMsg.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/Manage.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/MassDashDisableProgress.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/MassDashNotifyProgress.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/MassEnableDisable.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/MassEnableDisableProgress.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/MissingTpl.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/RefreshStatusProgress.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/ScanProgress.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/UnflagAllProgress.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/VersionChange.tpl
/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl/VersionManage.tpl
/usr/local/lsws/add-ons/webcachemgr/src/WPCaller.php
/usr/local/lsws/add-ons/webcachemgr/src/WPDashMsgs.php
/usr/local/lsws/add-ons/webcachemgr/src/WPInstall.php
/usr/local/lsws/add-ons/webcachemgr/src/WPInstallStorage.php
/usr/local/lsws/admin
/usr/local/lsws/admin/cgid
/usr/local/lsws/admin/cgid/secret
/usr/local/lsws/admin/conf
/usr/local/lsws/admin/conf/admin_config.conf
/usr/local/lsws/admin/conf/htpasswd
/usr/local/lsws/admin/conf/jcryption_keypair
/usr/local/lsws/admin/conf/php.ini
/usr/local/lsws/admin/fcgi-bin
/usr/local/lsws/admin/fcgi-bin/admin_php
/usr/local/lsws/admin/html
/usr/local/lsws/admin/html.open
/usr/local/lsws/admin/html.open/favicon.ico
/usr/local/lsws/admin/html.open/index.php
/usr/local/lsws/admin/html.open/lib
/usr/local/lsws/admin/html.open/lib/CAuthorizer.php
/usr/local/lsws/admin/html.open/lib/CData.php
/usr/local/lsws/admin/html.open/lib/CNode.php
/usr/local/lsws/admin/html.open/lib/CValidation.php
/usr/local/lsws/admin/html.open/lib/ControllerBase.php
/usr/local/lsws/admin/html.open/lib/DAttrBase.php
/usr/local/lsws/admin/html.open/lib/DAttrHelp.php
/usr/local/lsws/admin/html.open/lib/DInfo.php
/usr/local/lsws/admin/html.open/lib/DKeywordAlias.php
/usr/local/lsws/admin/html.open/lib/DMsg.php
/usr/local/lsws/admin/html.open/lib/DPage.php
/usr/local/lsws/admin/html.open/lib/DTbl.php
/usr/local/lsws/admin/html.open/lib/DTblDefBase.php
/usr/local/lsws/admin/html.open/lib/DTblMap.php
/usr/local/lsws/admin/html.open/lib/LogViewer.php
/usr/local/lsws/admin/html.open/lib/PathTool.php
/usr/local/lsws/admin/html.open/lib/PlainConfParser.php
/usr/local/lsws/admin/html.open/lib/SInfo.php
/usr/local/lsws/admin/html.open/lib/XmlParser.php
/usr/local/lsws/admin/html.open/lib/blowfish.php
/usr/local/lsws/admin/html.open/lib/jCryption.php
/usr/local/lsws/admin/html.open/lib/ows
/usr/local/lsws/admin/html.open/lib/ows/ConfValidation.php
/usr/local/lsws/admin/html.open/lib/ows/DAttr.php
/usr/local/lsws/admin/html.open/lib/ows/DPageDef.php
/usr/local/lsws/admin/html.open/lib/ows/DTblDef.php
/usr/local/lsws/admin/html.open/lib/ows/Product.php
/usr/local/lsws/admin/html.open/lib/ows/RealTimeStats.php
/usr/local/lsws/admin/html.open/lib/ows/Service.php
/usr/local/lsws/admin/html.open/lib/ows/UI.php
/usr/local/lsws/admin/html.open/lib/util
/usr/local/lsws/admin/html.open/lib/util/build_php
/usr/local/lsws/admin/html.open/lib/util/build_php/BuildConfig.php
/usr/local/lsws/admin/html.open/lib/util/build_php/build_common.template
/usr/local/lsws/admin/html.open/lib/util/build_php/build_install.template
/usr/local/lsws/admin/html.open/lib/util/build_php/build_install_ext.template
/usr/local/lsws/admin/html.open/lib/util/build_php/build_manual_run.template
/usr/local/lsws/admin/html.open/lib/util/build_php/build_prepare.template
/usr/local/lsws/admin/html.open/lib/util/build_php/build_prepare_ext.template
/usr/local/lsws/admin/html.open/lib/util/build_php/buildfunc.inc.php
/usr/local/lsws/admin/html.open/login.php
/usr/local/lsws/admin/html.open/res
/usr/local/lsws/admin/html.open/res/css
/usr/local/lsws/admin/html.open/res/css/bootstrap.min.css
/usr/local/lsws/admin/html.open/res/css/font-awesome.min.css
/usr/local/lsws/admin/html.open/res/css/googlefonts.css
/usr/local/lsws/admin/html.open/res/css/lockscreen.min.css
/usr/local/lsws/admin/html.open/res/css/lst-webadmin.min.css
/usr/local/lsws/admin/html.open/res/css/smartadmin-production.min.css
/usr/local/lsws/admin/html.open/res/fonts
/usr/local/lsws/admin/html.open/res/fonts/FontAwesome.otf
/usr/local/lsws/admin/html.open/res/fonts/fontawesome-webfont.eot
/usr/local/lsws/admin/html.open/res/fonts/fontawesome-webfont.svg
/usr/local/lsws/admin/html.open/res/fonts/fontawesome-webfont.ttf
/usr/local/lsws/admin/html.open/res/fonts/fontawesome-webfont.woff
/usr/local/lsws/admin/html.open/res/fonts/glyphicons-halflings-regular.eot
/usr/local/lsws/admin/html.open/res/fonts/glyphicons-halflings-regular.svg
/usr/local/lsws/admin/html.open/res/fonts/glyphicons-halflings-regular.ttf
/usr/local/lsws/admin/html.open/res/fonts/glyphicons-halflings-regular.woff
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-300.woff
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-300.woff2
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-700.woff
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-700.woff2
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-700italic.woff
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-700italic.woff2
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-italic.woff
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-italic.woff2
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-regular.woff
/usr/local/lsws/admin/html.open/res/fonts/open-sans-v17-latin-regular.woff2
/usr/local/lsws/admin/html.open/res/img
/usr/local/lsws/admin/html.open/res/img/ajax-loader.gif
/usr/local/lsws/admin/html.open/res/img/alpha.png
/usr/local/lsws/admin/html.open/res/img/blank.gif
/usr/local/lsws/admin/html.open/res/img/clear.png
/usr/local/lsws/admin/html.open/res/img/favicon
/usr/local/lsws/admin/html.open/res/img/favicon/favicon.ico
/usr/local/lsws/admin/html.open/res/img/hue.png
/usr/local/lsws/admin/html.open/res/img/icons
/usr/local/lsws/admin/html.open/res/img/icons/adminconfig.gif
/usr/local/lsws/admin/html.open/res/img/icons/administrator.gif
/usr/local/lsws/admin/html.open/res/img/icons/application.gif
/usr/local/lsws/admin/html.open/res/img/icons/cgi.gif
/usr/local/lsws/admin/html.open/res/img/icons/controlpanel.gif
/usr/local/lsws/admin/html.open/res/img/icons/database.gif
/usr/local/lsws/admin/html.open/res/img/icons/debug.gif
/usr/local/lsws/admin/html.open/res/img/icons/down.gif
/usr/local/lsws/admin/html.open/res/img/icons/edit.gif
/usr/local/lsws/admin/html.open/res/img/icons/fast_cgi.gif
/usr/local/lsws/admin/html.open/res/img/icons/favicon.ico
/usr/local/lsws/admin/html.open/res/img/icons/file.gif
/usr/local/lsws/admin/html.open/res/img/icons/filter.gif
/usr/local/lsws/admin/html.open/res/img/icons/form.gif
/usr/local/lsws/admin/html.open/res/img/icons/graph.gif
/usr/local/lsws/admin/html.open/res/img/icons/help.png
/usr/local/lsws/admin/html.open/res/img/icons/info.gif
/usr/local/lsws/admin/html.open/res/img/icons/link.gif
/usr/local/lsws/admin/html.open/res/img/icons/load_balancer.gif
/usr/local/lsws/admin/html.open/res/img/icons/lock.gif
/usr/local/lsws/admin/html.open/res/img/icons/ls_sapi.gif
/usr/local/lsws/admin/html.open/res/img/icons/module.gif
/usr/local/lsws/admin/html.open/res/img/icons/module_handler.gif
/usr/local/lsws/admin/html.open/res/img/icons/network.gif
/usr/local/lsws/admin/html.open/res/img/icons/play.gif
/usr/local/lsws/admin/html.open/res/img/icons/record.gif
/usr/local/lsws/admin/html.open/res/img/icons/redirect.gif
/usr/local/lsws/admin/html.open/res/img/icons/refresh.gif
/usr/local/lsws/admin/html.open/res/img/icons/report.gif
/usr/local/lsws/admin/html.open/res/img/icons/script.gif
/usr/local/lsws/admin/html.open/res/img/icons/search.gif
/usr/local/lsws/admin/html.open/res/img/icons/serverconfig.gif
/usr/local/lsws/admin/html.open/res/img/icons/servlet_engine.gif
/usr/local/lsws/admin/html.open/res/img/icons/shield.gif
/usr/local/lsws/admin/html.open/res/img/icons/stop.gif
/usr/local/lsws/admin/html.open/res/img/icons/trash.gif
/usr/local/lsws/admin/html.open/res/img/icons/up.gif
/usr/local/lsws/admin/html.open/res/img/icons/web.gif
/usr/local/lsws/admin/html.open/res/img/icons/web_link.gif
/usr/local/lsws/admin/html.open/res/img/icons/web_server.gif
/usr/local/lsws/admin/html.open/res/img/loading.gif
/usr/local/lsws/admin/html.open/res/img/lsws_bolt.png
/usr/local/lsws/admin/html.open/res/img/lsws_bolt.svg
/usr/local/lsws/admin/html.open/res/img/mappin-default.png
/usr/local/lsws/admin/html.open/res/img/minus.png
/usr/local/lsws/admin/html.open/res/img/mybg.png
/usr/local/lsws/admin/html.open/res/img/plus.png
/usr/local/lsws/admin/html.open/res/img/product_logo.gif
/usr/local/lsws/admin/html.open/res/img/product_logo.svg
/usr/local/lsws/admin/html.open/res/img/ribbon.png
/usr/local/lsws/admin/html.open/res/img/sa-dark.png
/usr/local/lsws/admin/html.open/res/img/sa-default.png
/usr/local/lsws/admin/html.open/res/img/sort_asc.png
/usr/local/lsws/admin/html.open/res/img/sort_asc_disabled.png
/usr/local/lsws/admin/html.open/res/img/sort_both.png
/usr/local/lsws/admin/html.open/res/img/sort_desc.png
/usr/local/lsws/admin/html.open/res/img/sort_desc_disabled.png
/usr/local/lsws/admin/html.open/res/img/vt-menu.png
/usr/local/lsws/admin/html.open/res/js
/usr/local/lsws/admin/html.open/res/js/app.config.min.js
/usr/local/lsws/admin/html.open/res/js/bootstrap
/usr/local/lsws/admin/html.open/res/js/bootstrap/bootstrap.min.js
/usr/local/lsws/admin/html.open/res/js/jcryption
/usr/local/lsws/admin/html.open/res/js/jcryption/jquery.jcryption.min.js
/usr/local/lsws/admin/html.open/res/js/libs
/usr/local/lsws/admin/html.open/res/js/libs/jquery-2.2.4.min.js
/usr/local/lsws/admin/html.open/res/js/libs/jquery-ui-1.12.1.min.js
/usr/local/lsws/admin/html.open/res/js/lst-app.min.js
/usr/local/lsws/admin/html.open/res/js/notification
/usr/local/lsws/admin/html.open/res/js/notification/SmartNotification.js
/usr/local/lsws/admin/html.open/res/js/notification/SmartNotification.min.js
/usr/local/lsws/admin/html.open/res/js/plugin
/usr/local/lsws/admin/html.open/res/js/plugin/datatable-responsive
/usr/local/lsws/admin/html.open/res/js/plugin/datatable-responsive/datatables.responsive.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/datatables
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/dataTables.bootstrap.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/dataTables.colReorder.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/dataTables.colVis.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/dataTables.tableTools.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/jquery.dataTables.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/swf
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/swf/copy_csv_xls.swf
/usr/local/lsws/admin/html.open/res/js/plugin/datatables/swf/copy_csv_xls_pdf.swf
/usr/local/lsws/admin/html.open/res/js/plugin/flot
/usr/local/lsws/admin/html.open/res/js/plugin/flot/jquery.flot.cust.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/flot/jquery.flot.fillbetween.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/flot/jquery.flot.orderBar.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/flot/jquery.flot.pie.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/flot/jquery.flot.resize.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/flot/jquery.flot.tooltip.min.js
/usr/local/lsws/admin/html.open/res/js/plugin/msie-fix
/usr/local/lsws/admin/html.open/res/js/plugin/msie-fix/jquery.mb.browser.min.js
/usr/local/lsws/admin/html.open/res/lang
/usr/local/lsws/admin/html.open/res/lang/en-US_msg.php
/usr/local/lsws/admin/html.open/res/lang/en-US_tips.php
/usr/local/lsws/admin/html.open/res/lang/ja-JP_msg.php
/usr/local/lsws/admin/html.open/res/lang/ja-JP_tips.php
/usr/local/lsws/admin/html.open/res/lang/util_sortlang.php
/usr/local/lsws/admin/html.open/res/lang/zh-CN_msg.php
/usr/local/lsws/admin/html.open/res/lang/zh-CN_tips.php
/usr/local/lsws/admin/html.open/view
/usr/local/lsws/admin/html.open/view/UIBase.php
/usr/local/lsws/admin/html.open/view/UIProperty.php
/usr/local/lsws/admin/html.open/view/ajax_data.php
/usr/local/lsws/admin/html.open/view/compilePHP.php
/usr/local/lsws/admin/html.open/view/confMgr.php
/usr/local/lsws/admin/html.open/view/dashboard.php
/usr/local/lsws/admin/html.open/view/inc
/usr/local/lsws/admin/html.open/view/inc/auth.php
/usr/local/lsws/admin/html.open/view/inc/configui.php
/usr/local/lsws/admin/html.open/view/inc/global.php
/usr/local/lsws/admin/html.open/view/inc/header.php
/usr/local/lsws/admin/html.open/view/inc/nav.php
/usr/local/lsws/admin/html.open/view/inc/scripts.php
/usr/local/lsws/admin/html.open/view/logviewer.php
/usr/local/lsws/admin/html.open/view/realtimestats.php
/usr/local/lsws/admin/html.open/view/serviceMgr.php
/usr/local/lsws/admin/logs
/usr/local/lsws/admin/misc
/usr/local/lsws/admin/misc/admpass.sh
/usr/local/lsws/admin/misc/build_admin_php.sh
/usr/local/lsws/admin/misc/convertxml.php
/usr/local/lsws/admin/misc/convertxml.sh
/usr/local/lsws/admin/misc/create_admin_keypair.sh
/usr/local/lsws/admin/misc/enable_phpa.sh
/usr/local/lsws/admin/misc/gdb-bt
/usr/local/lsws/admin/misc/genjCryptionKeyPair.php
/usr/local/lsws/admin/misc/gzipStatic.sh
/usr/local/lsws/admin/misc/htpasswd.php
/usr/local/lsws/admin/misc/lscmctl
/usr/local/lsws/admin/misc/lshttpd.service
/usr/local/lsws/admin/misc/lsup.sh
/usr/local/lsws/admin/misc/lsws.rc
/usr/local/lsws/admin/misc/lsws.rc.gentoo
/usr/local/lsws/admin/misc/php.ini
/usr/local/lsws/admin/misc/rc-inst.sh
/usr/local/lsws/admin/misc/rc-uninst.sh
/usr/local/lsws/admin/misc/testbeta.sh
/usr/local/lsws/admin/misc/uninstall.sh
/usr/local/lsws/admin/tmp
/usr/local/lsws/adminpasswd
/usr/local/lsws/autoupdate
/usr/local/lsws/backup
/usr/local/lsws/bin
/usr/local/lsws/bin/litespeed
/usr/local/lsws/bin/lshttpd
/usr/local/lsws/bin/lsws_env
/usr/local/lsws/bin/lswsctrl
/usr/local/lsws/bin/lswsctrl.open
/usr/local/lsws/bin/openlitespeed
/usr/local/lsws/bin/openlitespeed.asan
/usr/local/lsws/bin/openlitespeed.dbg
/usr/local/lsws/bin/openlitespeed.prof
/usr/local/lsws/cachedata
/usr/local/lsws/cgid
/usr/local/lsws/conf
/usr/local/lsws/conf/cert
/usr/local/lsws/conf/httpd_config.conf
/usr/local/lsws/conf/mime.properties
/usr/local/lsws/conf/templates
/usr/local/lsws/conf/templates/ccl.conf
/usr/local/lsws/conf/templates/rails.conf
/usr/local/lsws/conf/vhosts
/usr/local/lsws/conf/vhosts/Example
/usr/local/lsws/conf/vhosts/Example/htgroup
/usr/local/lsws/conf/vhosts/Example/htpasswd
/usr/local/lsws/conf/vhosts/Example/vhconf.conf
/usr/local/lsws/docs
/usr/local/lsws/docs/AdminGeneral_Help.html
/usr/local/lsws/docs/AdminListeners_General_Help.html
/usr/local/lsws/docs/AdminListeners_SSL_Help.html
/usr/local/lsws/docs/AdminSecurity_Help.html
/usr/local/lsws/docs/App_Server_Context.html
/usr/local/lsws/docs/App_Server_Help.html
/usr/local/lsws/docs/CGI_Context.html
/usr/local/lsws/docs/CompilePHP_Help.html
/usr/local/lsws/docs/Context_Help.html
/usr/local/lsws/docs/ExtApp_Help.html
/usr/local/lsws/docs/External_FCGI.html
/usr/local/lsws/docs/External_FCGI_Auth.html
/usr/local/lsws/docs/External_LB.html
/usr/local/lsws/docs/External_LSAPI.html
/usr/local/lsws/docs/External_PL.html
/usr/local/lsws/docs/External_Servlet.html
/usr/local/lsws/docs/External_WS.html
/usr/local/lsws/docs/FCGI_Context.html
/usr/local/lsws/docs/Java_Web_App_Context.html
/usr/local/lsws/docs/LB_Context.html
/usr/local/lsws/docs/LSAPI_Context.html
/usr/local/lsws/docs/Listeners_General_Help.html
/usr/local/lsws/docs/Listeners_SSL_Help.html
/usr/local/lsws/docs/Module_Context.html
/usr/local/lsws/docs/Module_Help.html
/usr/local/lsws/docs/Proxy_Context.html
/usr/local/lsws/docs/Redirect_Context.html
/usr/local/lsws/docs/Rewrite_Help.html
/usr/local/lsws/docs/ScriptHandler_Help.html
/usr/local/lsws/docs/ServGeneral_Help.html
/usr/local/lsws/docs/ServLog_Help.html
/usr/local/lsws/docs/ServSecurity_Help.html
/usr/local/lsws/docs/ServTuning_Help.html
/usr/local/lsws/docs/ServerStat_Help.html
/usr/local/lsws/docs/Servlet_Context.html
/usr/local/lsws/docs/Static_Context.html
/usr/local/lsws/docs/Templates_Help.html
/usr/local/lsws/docs/VHGeneral_Help.html
/usr/local/lsws/docs/VHSSL_Help.html
/usr/local/lsws/docs/VHSecurity_Help.html
/usr/local/lsws/docs/VHWebSocket_Help.html
/usr/local/lsws/docs/VirtualHosts_Help.html
/usr/local/lsws/docs/admin.html
/usr/local/lsws/docs/config.html
/usr/local/lsws/docs/css
/usr/local/lsws/docs/css/hdoc.css
/usr/local/lsws/docs/img
/usr/local/lsws/docs/img/attention.svg
/usr/local/lsws/docs/img/info.svg
/usr/local/lsws/docs/img/lightning-bolt.svg
/usr/local/lsws/docs/img/lsws_logo.svg
/usr/local/lsws/docs/img/ols_logo.svg
/usr/local/lsws/docs/img/shield.svg
/usr/local/lsws/docs/img/web-adc_logo.svg
/usr/local/lsws/docs/index.html
/usr/local/lsws/docs/install.html
/usr/local/lsws/docs/intro.html
/usr/local/lsws/docs/ja-JP
/usr/local/lsws/docs/ja-JP/AdminGeneral_Help.html
/usr/local/lsws/docs/ja-JP/AdminListeners_General_Help.html
/usr/local/lsws/docs/ja-JP/AdminListeners_SSL_Help.html
/usr/local/lsws/docs/ja-JP/AdminSecurity_Help.html
/usr/local/lsws/docs/ja-JP/App_Server_Context.html
/usr/local/lsws/docs/ja-JP/App_Server_Help.html
/usr/local/lsws/docs/ja-JP/CGI_Context.html
/usr/local/lsws/docs/ja-JP/CompilePHP_Help.html
/usr/local/lsws/docs/ja-JP/Context_Help.html
/usr/local/lsws/docs/ja-JP/ExtApp_Help.html
/usr/local/lsws/docs/ja-JP/External_FCGI.html
/usr/local/lsws/docs/ja-JP/External_FCGI_Auth.html
/usr/local/lsws/docs/ja-JP/External_LB.html
/usr/local/lsws/docs/ja-JP/External_LSAPI.html
/usr/local/lsws/docs/ja-JP/External_PL.html
/usr/local/lsws/docs/ja-JP/External_Servlet.html
/usr/local/lsws/docs/ja-JP/External_WS.html
/usr/local/lsws/docs/ja-JP/FCGI_Context.html
/usr/local/lsws/docs/ja-JP/Java_Web_App_Context.html
/usr/local/lsws/docs/ja-JP/LB_Context.html
/usr/local/lsws/docs/ja-JP/LSAPI_Context.html
/usr/local/lsws/docs/ja-JP/Listeners_General_Help.html
/usr/local/lsws/docs/ja-JP/Listeners_SSL_Help.html
/usr/local/lsws/docs/ja-JP/Module_Context.html
/usr/local/lsws/docs/ja-JP/Module_Help.html
/usr/local/lsws/docs/ja-JP/Proxy_Context.html
/usr/local/lsws/docs/ja-JP/Redirect_Context.html
/usr/local/lsws/docs/ja-JP/Rewrite_Help.html
/usr/local/lsws/docs/ja-JP/ScriptHandler_Help.html
/usr/local/lsws/docs/ja-JP/ServGeneral_Help.html
/usr/local/lsws/docs/ja-JP/ServLog_Help.html
/usr/local/lsws/docs/ja-JP/ServSecurity_Help.html
/usr/local/lsws/docs/ja-JP/ServTuning_Help.html
/usr/local/lsws/docs/ja-JP/ServerStat_Help.html
/usr/local/lsws/docs/ja-JP/Servlet_Context.html
/usr/local/lsws/docs/ja-JP/Static_Context.html
/usr/local/lsws/docs/ja-JP/Templates_Help.html
/usr/local/lsws/docs/ja-JP/VHGeneral_Help.html
/usr/local/lsws/docs/ja-JP/VHSSL_Help.html
/usr/local/lsws/docs/ja-JP/VHSecurity_Help.html
/usr/local/lsws/docs/ja-JP/VHWebSocket_Help.html
/usr/local/lsws/docs/ja-JP/VirtualHosts_Help.html
/usr/local/lsws/docs/ja-JP/admin.html
/usr/local/lsws/docs/ja-JP/config.html
/usr/local/lsws/docs/ja-JP/index.html
/usr/local/lsws/docs/ja-JP/install.html
/usr/local/lsws/docs/ja-JP/intro.html
/usr/local/lsws/docs/ja-JP/license.html
/usr/local/lsws/docs/ja-JP/security.html
/usr/local/lsws/docs/ja-JP/webconsole.html
/usr/local/lsws/docs/license.html
/usr/local/lsws/docs/security.html
/usr/local/lsws/docs/webconsole.html
/usr/local/lsws/docs/zh-CN
/usr/local/lsws/docs/zh-CN/AdminGeneral_Help.html
/usr/local/lsws/docs/zh-CN/AdminListeners_General_Help.html
/usr/local/lsws/docs/zh-CN/AdminListeners_SSL_Help.html
/usr/local/lsws/docs/zh-CN/AdminSecurity_Help.html
/usr/local/lsws/docs/zh-CN/App_Server_Context.html
/usr/local/lsws/docs/zh-CN/App_Server_Help.html
/usr/local/lsws/docs/zh-CN/CGI_Context.html
/usr/local/lsws/docs/zh-CN/CompilePHP_Help.html
/usr/local/lsws/docs/zh-CN/Context_Help.html
/usr/local/lsws/docs/zh-CN/ExtApp_Help.html
/usr/local/lsws/docs/zh-CN/External_FCGI.html
/usr/local/lsws/docs/zh-CN/External_FCGI_Auth.html
/usr/local/lsws/docs/zh-CN/External_LB.html
/usr/local/lsws/docs/zh-CN/External_LSAPI.html
/usr/local/lsws/docs/zh-CN/External_PL.html
/usr/local/lsws/docs/zh-CN/External_Servlet.html
/usr/local/lsws/docs/zh-CN/External_WS.html
/usr/local/lsws/docs/zh-CN/FCGI_Context.html
/usr/local/lsws/docs/zh-CN/Java_Web_App_Context.html
/usr/local/lsws/docs/zh-CN/LB_Context.html
/usr/local/lsws/docs/zh-CN/LSAPI_Context.html
/usr/local/lsws/docs/zh-CN/Listeners_General_Help.html
/usr/local/lsws/docs/zh-CN/Listeners_SSL_Help.html
/usr/local/lsws/docs/zh-CN/Module_Context.html
/usr/local/lsws/docs/zh-CN/Module_Help.html
/usr/local/lsws/docs/zh-CN/Proxy_Context.html
/usr/local/lsws/docs/zh-CN/Redirect_Context.html
/usr/local/lsws/docs/zh-CN/Rewrite_Help.html
/usr/local/lsws/docs/zh-CN/ScriptHandler_Help.html
/usr/local/lsws/docs/zh-CN/ServGeneral_Help.html
/usr/local/lsws/docs/zh-CN/ServLog_Help.html
/usr/local/lsws/docs/zh-CN/ServSecurity_Help.html
/usr/local/lsws/docs/zh-CN/ServTuning_Help.html
/usr/local/lsws/docs/zh-CN/ServerStat_Help.html
/usr/local/lsws/docs/zh-CN/Servlet_Context.html
/usr/local/lsws/docs/zh-CN/Static_Context.html
/usr/local/lsws/docs/zh-CN/Templates_Help.html
/usr/local/lsws/docs/zh-CN/VHGeneral_Help.html
/usr/local/lsws/docs/zh-CN/VHSSL_Help.html
/usr/local/lsws/docs/zh-CN/VHSecurity_Help.html
/usr/local/lsws/docs/zh-CN/VHWebSocket_Help.html
/usr/local/lsws/docs/zh-CN/VirtualHosts_Help.html
/usr/local/lsws/docs/zh-CN/admin.html
/usr/local/lsws/docs/zh-CN/config.html
/usr/local/lsws/docs/zh-CN/index.html
/usr/local/lsws/docs/zh-CN/install.html
/usr/local/lsws/docs/zh-CN/intro.html
/usr/local/lsws/docs/zh-CN/license.html
/usr/local/lsws/docs/zh-CN/security.html
/usr/local/lsws/docs/zh-CN/webconsole.html
/usr/local/lsws/fcgi-bin
/usr/local/lsws/fcgi-bin/RackRunner.rb
/usr/local/lsws/fcgi-bin/lsnode.js
/usr/local/lsws/fcgi-bin/lsperld.fpl
/usr/local/lsws/fcgi-bin/lsphp
/usr/local/lsws/fcgi-bin/lsphp5
/usr/local/lsws/gdata
/usr/local/lsws/lib
/usr/local/lsws/logs
/usr/local/lsws/lsrecaptcha
/usr/local/lsws/lsrecaptcha/_recaptcha
/usr/local/lsws/lsrecaptcha/_recaptcha.shtml
/usr/local/lsws/modules
/usr/local/lsws/modules/mod_js.so
/usr/local/lsws/modules/mod_security.so
/usr/local/lsws/modules/modinspector.so
/usr/local/lsws/modules/modpagespeed.so
/usr/local/lsws/modules/modreqparser.so
/usr/local/lsws/modules/uploadprogress.so
/usr/local/lsws/php
/usr/local/lsws/phpbuild
/usr/local/lsws/share
/usr/local/lsws/share/autoindex
/usr/local/lsws/share/autoindex/bwlimit.html
/usr/local/lsws/share/autoindex/default.php
/usr/local/lsws/share/autoindex/icons
/usr/local/lsws/share/autoindex/icons/binary.png
/usr/local/lsws/share/autoindex/icons/blank.png
/usr/local/lsws/share/autoindex/icons/compress.png
/usr/local/lsws/share/autoindex/icons/folder.png
/usr/local/lsws/share/autoindex/icons/html.png
/usr/local/lsws/share/autoindex/icons/image.png
/usr/local/lsws/share/autoindex/icons/movie.png
/usr/local/lsws/share/autoindex/icons/sound.png
/usr/local/lsws/share/autoindex/icons/text.png
/usr/local/lsws/share/autoindex/icons/unknown.png
/usr/local/lsws/share/autoindex/icons/up.png
/usr/local/lsws/tmp
/usr/local/lsws/tmp/ocspcache
[root@lsws ~]#

服务控制命令

[root@lsws ~]# /usr/local/lsws/bin/lswsctrl
Usage: /usr/local/lsws/bin/lswsctrl {start|stop|restart|reload|condrestrt|try-restart|status|help}

start       - start web server
stop        - stop web server
restart     - gracefully restart web server with zero down time
reload      - same as restart
condrestart - gracefully restart web server if server is running
try-restart - same as condrestart
status      - show service status
help        - this screen

[root@lsws ~]#

查看端口监听

[root@lsws ~]# netstat -lnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:7080            0.0.0.0:*               LISTEN
tcp6       0      0 :::111                  :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
[root@lsws ~]#

使用Web控制台

默认首页

默认Web管理控制台

3 月 052020
 

Generic Routing Encapsulation 通用路由封装协议

主机列表

18.163.50.194/172.31.44.248
18.162.60.60/172.31.37.49

查找系统可用的内核模块

[centos@ip-172-31-44-248 ~]$ ls -alRUv /lib/modules/$(uname -r)/kernel |grep ip_gre
-rw-r--r--. 1 root root 9396 Nov 29 2018 ip_gre.ko.xz
[centos@ip-172-31-44-248 ~]$

加载ip_gre模块

[root@ip-172-31-44-248 ~]# modprobe ip_gre
[root@ip-172-31-44-248 ~]#

[root@ip-172-31-37-49 ~]# modprobe ip_gre
[root@ip-172-31-37-49 ~]#

新增tun0网卡配置

本端隧道地址192.168.192.1
对端隧道地址192.168.192.2

[root@ip-172-31-44-248 ~]# vi /etc/sysconfig/network-scripts/ifcfg-tun0
DEVICE=tun0
BOOTPROTO=none
ONBOOT=yes
DEVICETYPE=tunnel
TYPE=GRE
PEER_INNER_IPADDR=192.168.192.2
PEER_OUTER_IPADDR=18.162.60.60
MY_INNER_IPADDR=192.168.192.1

启用tun0网卡

[root@ip-172-31-44-248 ~]# ifup tun0

查看接口信息

[root@ip-172-31-44-248 ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 0e:84:f5:b0:db:f6 brd ff:ff:ff:ff:ff:ff
    inet 172.31.44.248/20 brd 172.31.47.255 scope global dynamic ens5
       valid_lft 2667sec preferred_lft 2667sec
    inet6 fe80::c84:f5ff:feb0:dbf6/64 scope link 
       valid_lft forever preferred_lft forever
3: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN group default qlen 1000
    link/gre 0.0.0.0 brd 0.0.0.0
4: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: tun0@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 8977 qdisc noqueue state UNKNOWN group default qlen 1000
    link/gre 0.0.0.0 peer 18.162.60.60
    inet 192.168.192.1 peer 192.168.192.2/32 scope global tun0
       valid_lft forever preferred_lft forever
[root@ip-172-31-44-248 ~]#

新增tun0网卡配置

本端隧道地址192.168.192.2
对端隧道地址192.168.192.1

[root@ip-172-31-37-49 ~]# vi /etc/sysconfig/network-scripts/ifcfg-tun0
DEVICE=tun0
BOOTPROTO=none
ONBOOT=yes
DEVICETYPE=tunnel
TYPE=GRE
PEER_INNER_IPADDR=192.168.192.1
PEER_OUTER_IPADDR=18.163.50.194
MY_INNER_IPADDR=192.168.192.2

启用tun0网卡

[root@ip-172-31-37-49 ~]# ifup tun0

查看接口信息

[root@ip-172-31-37-49 ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
    link/ether 0e:4a:2b:48:b8:aa brd ff:ff:ff:ff:ff:ff
    inet 172.31.37.49/20 brd 172.31.47.255 scope global dynamic ens5
       valid_lft 2692sec preferred_lft 2692sec
    inet6 fe80::c4a:2bff:fe48:b8aa/64 scope link 
       valid_lft forever preferred_lft forever
3: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN group default qlen 1000
    link/gre 0.0.0.0 brd 0.0.0.0
4: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: tun0@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 8977 qdisc noqueue state UNKNOWN group default qlen 1000
    link/gre 0.0.0.0 peer 18.163.50.194
    inet 192.168.192.2 peer 192.168.192.1/32 scope global tun0
       valid_lft forever preferred_lft forever
[root@ip-172-31-37-49 ~]# 

分别使用对端IP地址进行ping测试

[root@ip-172-31-37-49 ~]# ping -c 4 192.168.192.1
PING 192.168.192.1 (192.168.192.1) 56(84) bytes of data.
64 bytes from 192.168.192.1: icmp_seq=1 ttl=64 time=0.297 ms
64 bytes from 192.168.192.1: icmp_seq=2 ttl=64 time=0.283 ms
64 bytes from 192.168.192.1: icmp_seq=3 ttl=64 time=0.237 ms
64 bytes from 192.168.192.1: icmp_seq=4 ttl=64 time=0.268 ms

--- 192.168.192.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.237/0.271/0.297/0.025 ms
[root@ip-172-31-37-49 ~]#


[root@ip-172-31-44-248 ~]# ping -c 4 192.168.192.2
PING 192.168.192.2 (192.168.192.2) 56(84) bytes of data.
64 bytes from 192.168.192.2: icmp_seq=1 ttl=64 time=0.249 ms
64 bytes from 192.168.192.2: icmp_seq=2 ttl=64 time=0.279 ms
64 bytes from 192.168.192.2: icmp_seq=3 ttl=64 time=0.196 ms
64 bytes from 192.168.192.2: icmp_seq=4 ttl=64 time=0.214 ms

--- 192.168.192.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.196/0.234/0.279/0.035 ms
[root@ip-172-31-44-248 ~]#