H96Plus ****************************************************************************************************************** ****************************************************************************************************************** 目前 16G & 32G 版 uEnv dtb_name=/dtb-4.20.2-aml-s912/meson-gxm-q200.dtb bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 ****************************************************************************************************************** Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_20200205.img uEnv LINUX=/zImage INITRD=/uInitrd # rk-3399 #FDT=/dtb/rockchip/rk3399-rock-pi-4.dtb #FDT=/dtb/rockchip/rk3399-nanopc-t4.dtb #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 # rk-3328 #FDT=/dtb/rockchip/rk3328-box.dtb #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 # aw h6 #FDT=/dtb/allwinner/sun50i-h6-tanix-tx6.dtb #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mem=2048M video=HDMI-A-1:e # aml s9xxx FDT=/dtb/amlogic/meson-gxm-q200.dtb APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 ****************************************************************************************************************** hckao@H96PLUS:/etc$ ifconfig eth0: flags=4163 mtu 1500 inet 192.168.9.200 netmask 255.255.255.0 broadcast 192.168.9.255 inet6 fd88:94d0:a362:0:220:ff:fe30:2405 prefixlen 64 scopeid 0x0 inet6 fe80::220:ff:fe30:2405 prefixlen 64 scopeid 0x20 ether 00:20:00:30:24:05 txqueuelen 1000 (Ethernet) RX packets 696946 bytes 112569716 (112.5 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 74139 bytes 9109053 (9.1 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 19 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 1930 bytes 252578 (252.5 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1930 bytes 252578 (252.5 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tun0: flags=4305 mtu 1500 inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1 inet6 fe80::b642:82c7:648b:8a17 prefixlen 64 scopeid 0x20 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 5146 bytes 2017146 (2.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ****************************************************************************************************************** fstab LABEL=ROOTFS / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1 LABEL=BOOT /boot vfat defaults 0 2 tmpfs /tmp tmpfs defaults,nosuid 0 0 ##以下是Sandisk128G_USB 隨身碟 #UUID=D211-AFA4 /media/san128 exfat defaults 0 0 #=============================================== ##以下是Adata 256G SSD #UUID=CC27-B788 /media/sc680 exfat defaults 0 0 ##以下是Adata 4T HDD分割 2個 UUID=4F6B39FD42EFAEF5 /media/A1Disk ntfs defaults 0 0 UUID=63089C7040974F9D /media/A2Disk ntfs defaults 0 0 ****************************************************************************************************************** hckao@x96:/etc$ sudo cat hosts.allow [sudo] password for hckao: # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example: ALL: LOCAL @some_netgroup # ALL: .foobar.edu EXCEPT terminalserver.foobar.edu # # If you're going to protect the portmapper use the name "rpcbind" for the # daemon name. See rpcbind(8) and rpc.mountd(8) for further information. # sshd:192.168.1.0/24:allow sshd:192.168.9.0/24:allow sshd:1.160.0.0/16:allow sshd:1.162.0.0/16:allow #sshd:1.0.0.0/8:allow sshd:192.168.20.0/24:allow sshd:114.34.34.0/24:allow sshd:220.133.209.15:allow sshd:220.134.245.198:allow vsftp:192.168.1.0/24:allow vsftp:192.168.9.0/24:allow vsftp:1.160.0.0/16:allow vsftp:1.162.0.0/16:allow #sshd:1.0.0.0/8:allow vsftp:192.168.20.0/24:allow vsftp:114.34.34.0/24:allow vsftp:220.133.209.15:allow vsftp:220.134.245.198:allow ****************************************************************************************************************** hckao@x96:/etc$ sudo cat hosts.deny # /etc/hosts.deny: list of hosts that are _not_ allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example: ALL: some.host.name, .some.domain # ALL EXCEPT in.fingerd: other.host.name, .other.domain # # If you're going to protect the portmapper use the name "rpcbind" for the # daemon name. See rpcbind(8) and rpc.mountd(8) for further information. # # The PARANOID wildcard matches any host whose name does not match its # address. # # You may wish to enable this to ensure any programs that don't # validate looked up hostnames still leave understandable logs. In past # versions of Debian this has been the default. # ALL: PARANOID sshd:ALL vsftp:ALL ****************************************************************************************************************** ****************************************************************************************************************** crontab # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command # m h dom mon dow command # 分鐘(0-59)小時(0-23)日期(1-31)月份(1-12)星期幾(0-6,其中0代表星期日,好像7也代表星期日) #每五分鐘執行 */5 * * * * #每小時執行 0 * * * * #每天執行 0 0 * * * #每週執行 0 0 * * 0 #每月執行 0 0 1 * * #每年執行 0 0 1 1 * #crontab 檔案中的行由6個欄位組成,不同欄位間用空格或tab鍵分隔。前5個欄位指定命令要執行的時間 #####每小時記錄一次 #0 * * * * sh /home/hckao/vpnlog1.sh ####每30分鐘記錄一次 */30 * * * * sh /home/hckao/vpnlog1.sh # # 一天紀錄四次 @reboot sleep 10 ; sudo systemctl stop serial-getty@ttyS0.service @reboot sleep 15 ; systemctl disable serial-getty@ttyS0.service @reboot sleep 20 ; sudo cp /etc/resolv.conf.bak /etc/resolv.conf @reboot sleep 25 ; sudo /etc/init.d/networking restart @reboot sleep 30 ; sudo systemctl stop noip2.service @reboot sleep 45 ; sudo systemctl start noip2.service @reboot sleep 56 ; sudo systemctl restart xl2tpd.service @reboot sleep 57 ; sudo systemctl restart ipsec.service @reboot sleep 3600 ; sudo systemctl restart xl2tpd.service @reboot sleep 3605 ; sudo systemctl restart ipsec.service 30 05 * * * sudo systemctl restart xl2tpd.service 31 05 * * * sudo systemctl restart ipsec.service 00 06 * * * sh /home/hckao/mydata.sh 00 12 * * * sh /home/hckao/mydata.sh 00 18 * * * sh /home/hckao/mydata.sh 55 23 * * * sh /home/hckao/mydata.sh # 56 23 26 * * sudo cp /var/log/auth.log /var/www/html/vpn/daily/backup/01-auth-all_$(date '+%Y%m%d').log 56 23 26 * * sudo cp /var/log/syslog /var/www/html/vpn/daily/backup/01-syslog-all_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/syslog | grep l2tp > /var/www/html/vpn/daily/backup/02-syslog-l2tp_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/syslog | grep pppd > /var/www/html/vpn/daily/backup/03-syslog-pppd_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/syslog | grep openvpn > /var/www/html/vpn/daily/backup/04-syslog-openvpn_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/syslog | grep established > /var/www/html/vpn/daily/backup/051-上線時間_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/syslog | grep control_finish > /var/www/html/vpn/daily/backup/052-結束時間_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/syslog | grep minutes > /var/www/html/vpn/daily/backup/053-連線時間_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep traffic > /var/www/html/vpn/daily/backup/054-使用流量_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep instance > /var/www/html/vpn/daily/backup/055-上線離線時間_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep responding > /var/www/html/vpn/daily/backup/06-user-ip_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep ADDR > /var/www/html/vpn/daily/backup/061-使用者區域網路ip_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep traffic > /var/www/html/vpn/daily/backup/07-user-traffic_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep ikev > /var/www/html/vpn/daily/backup/08-ikev-all_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep psk > /var/www/html/vpn/daily/backup/09-psk-all_$(date '+%Y%m%d').log 56 23 26 * * sudo cat /var/log/auth.log | grep l2tp > /var/www/html/vpn/daily/backup/10-l2tp-all_$(date '+%Y%m%d').log #end ****************************************************************************************************************** ****************************************************************************************************************** mrtg # Created by hckao ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # for Debian WorkDir: /var/www/html/mrtg EnableIPv6: no Options[_]: growright,bits RunAsDaemon: Yes Interval: 5 ###################################################################### # System: AC68 # Description: Linux RT-AC68U 2.6.36.4brcmarm #1 SMP PREEMPT Fri May 17 23:40:02 EDT 2019 armv7l # Contact: hckao # Location: TPE ###################################################################### ### Interface 4 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.1.103' | Eth: 'No Ethernet Id' ### Target[asuskao.ddns.net_eth0]: #eth0:kbt236@asuskao.ddns.net: SetEnv[asuskao.ddns.net_eth0]: MRTG_INT_IP="192.168.1.103" MRTG_INT_DESCR="eth0" MaxBytes[asuskao.ddns.net_eth0]: 125000000 Title[asuskao.ddns.net_eth0]: Traffic Analysis for eth0 -- AC68 PageTop[asuskao.ddns.net_eth0]:

Traffic Analysis for eth0 -- AC68

System: AC68 in TPE
Maintainer: hckao
Description: eth0
ifType: ethernetCsmacd (6)
ifName: eth0
Max Speed: 1000.0 Mbits/s
Ip: 192.168.1.103 (No DNS name)
### Interface 8 >> Descr: 'vlan1' | Name: 'vlan1' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### Target[asuskao.ddns.net_vlan1]: #vlan1:kbt236@asuskao.ddns.net: SetEnv[asuskao.ddns.net_vlan1]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="vlan1" MaxBytes[asuskao.ddns.net_vlan1]: 125000000 Title[asuskao.ddns.net_vlan1]: Traffic Analysis for vlan1 -- AC68 PageTop[asuskao.ddns.net_vlan1]:

Traffic Analysis for vlan1 -- AC68

System: AC68 in TPE
Maintainer: hckao
Description: vlan1
ifType: ethernetCsmacd (6)
ifName: vlan1
Max Speed: 1000.0 Mbits/s
Ip: No Ip (No DNS name)
###################################################################### # System: DDNS # Description: Linux DDNS 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l # Contact: hckao # Location: Taipei DA-AN Dist ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.1.190' | Eth: 'b8-27-eb-26-47-83' ### Target[hckao.ddns.net_eth0]: #eth0:kbt236@hckao.ddns.net: SetEnv[hckao.ddns.net_eth0]: MRTG_INT_IP="192.168.1.190" MRTG_INT_DESCR="eth0" MaxBytes[hckao.ddns.net_eth0]: 12500000 Title[hckao.ddns.net_eth0]: Traffic Analysis for eth0 -- DDNS PageTop[hckao.ddns.net_eth0]:

Traffic Analysis for eth0 -- hckao.DDNS.NET

System: DDNS in Taipei DA-AN Dist
Maintainer: hckao
Description: eth0
ifType: ethernetCsmacd (6)
ifName: eth0
Max Speed: 100.0 Mbits/s
Ip: 192.168.1.190 (No DNS name)
###################################################################### # System: H96PLUS # Description: Linux H96PLUS 4.20.2-aml-s912 #5.73 SMP PREEMPT Tue Jan 29 12:02:36 MSK 2019 aarch64 # Contact: cop # Location: NYPD ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.9.200' | Eth: '00-20-00-30-24-05' ### Target[192.168.9.200_eth0]: #eth0:kbt236@192.168.9.200: SetEnv[192.168.9.200_eth0]: MRTG_INT_IP="192.168.9.200" MRTG_INT_DESCR="eth0" MaxBytes[192.168.9.200_eth0]: 125000000 Title[192.168.9.200_eth0]: Traffic Analysis for eth0 -- H96PLUS PageTop[192.168.9.200_eth0]:

Traffic Analysis for eth0 -- H96PLUS VPN 服務器

System: H96PLUS in NYPD
Maintainer: cop
Description: eth0
ifType: ethernetCsmacd (6)
ifName: eth0 VPN 服務器
Max Speed: 1000.0 Mbits/s
Ip: 192.168.9.200 (H96PLUS)
###################################################################### # System: sounding # Description: Linux sounding 5.1.0-aml-s905 #5.88 SMP PREEMPT Thu May 30 16:10:10 MSK 2019 aarch64 # Contact: HUNGCHANG # Location: Taipei X96 ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.1.121' | Eth: 'c4-4e-ac-1f-5d-cf' ### Target[220.134.245.198_eth0]: #eth0:kbt236@220.134.245.198: SetEnv[220.134.245.198_eth0]: MRTG_INT_IP="192.168.1.121" MRTG_INT_DESCR="eth0" MaxBytes[220.134.245.198_eth0]: 12500000 Title[220.134.245.198_eth0]: Traffic Analysis for eth0 -- sounding PageTop[220.134.245.198_eth0]:

Traffic Analysis for eth0 -- sounding_WEB PAGE

System: sounding in Taipei X96
Maintainer: HUNGCHANG
Description: eth0
ifType: ethernetCsmacd (6)
ifName: eth0
Max Speed: 100.0 Mbits/s
Ip: 192.168.1.121 (No DNS name)
###################################################################### # System: x96 # Description: Linux x96 5.1.0-aml-s905 #5.88 SMP PREEMPT Thu May 30 16:10:10 MSK 2019 aarch64 # Contact: HUNGCHANG # Location: Taipei X96 ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.1.191' | Eth: 'c4-4e-ac-20-1f-5d' ### Target[x96.ddns.net_eth0]: #eth0:kbt236@x96.ddns.net: SetEnv[x96.ddns.net_eth0]: MRTG_INT_IP="192.168.1.191" MRTG_INT_DESCR="eth0" MaxBytes[x96.ddns.net_eth0]: 12500000 Title[x96.ddns.net_eth0]: Traffic Analysis for eth0 -- x96 PageTop[x96.ddns.net_eth0]:

Traffic Analysis for -- Pi3_新生南路

System: x96 in Taipei X96
Maintainer: HUNGCHANG
Description: eth0
ifType: ethernetCsmacd (6)
ifName: eth0_Pi3_新生南路
Max Speed: 100.0 Mbits/s
Ip: 192.168.1.191 (No DNS name)
###################################################################### # System: Kao # Description: Linux android-box 3.10.25 #2624 Tue Dec 24 13:02:32 CET 2013 mips # Contact: hckao # Location: Sin-Sheng ###################################################################### ### Interface 3 >> Descr: 'br0' | Name: 'No Name' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### Target[114.34.34.104_3]: 3:kbt236@114.34.34.104: SetEnv[114.34.34.104_3]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="br0" MaxBytes[114.34.34.104_3]: 12500000 Title[114.34.34.104_3]: Traffic Analysis for 3 -- Kao_BR0 PageTop[114.34.34.104_3]:

Traffic Analysis for 3 -- Kao_br0

System: Kao in Sin-Sheng
Maintainer: hckao
Description: br0
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: No Ip (No DNS name)
### Interface 4 >> Descr: 'eth1' | Name: 'No Name' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### Target[114.34.34.104_4]: 4:kbt236@114.34.34.104: SetEnv[114.34.34.104_4]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="eth1" MaxBytes[114.34.34.104_4]: 12500000 Title[114.34.34.104_4]: Traffic Analysis for 4 -- Kao_LAN有線網路 PageTop[114.34.34.104_4]:

Traffic Analysis for 4 -- 新生_LAN 有線網路

System: Kao in Sin-Sheng
Maintainer: hckao
Description: eth1 有線網路
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: No Ip (No DNS name)
### Interface 5 >> Descr: 'eth0' | Name: 'No Name' | Ip: '192.168.5.1' | Eth: 'e8-94-f6-8d-4a-4d' ### Target[114.34.34.104_5]: 5:kbt236@114.34.34.104: SetEnv[114.34.34.104_5]: MRTG_INT_IP="192.168.5.1" MRTG_INT_DESCR="eth0" MaxBytes[114.34.34.104_5]: 12500000 Title[114.34.34.104_5]: Traffic Analysis for 5 -- Kao_WAN PageTop[114.34.34.104_5]:

Traffic Analysis for 5 -- Kao_WAN

System: Kao in Sin-Sheng
Maintainer: hckao
Description: eth0
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: 192.168.5.1 (No DNS name)
### Interface 6 >> Descr: 'ath0' | Name: 'No Name' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### Target[114.34.34.104_6]: 6:kbt236@114.34.34.104: SetEnv[114.34.34.104_6]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="ath0" MaxBytes[114.34.34.104_6]: 12500000 Title[114.34.34.104_6]: Traffic Analysis for 6 -- Kao_WIFI 無線網路 PageTop[114.34.34.104_6]:

Traffic Analysis for 6 -- 新生_WIFI 無線網路

System: Kao in Sin-Sheng
Maintainer: hckao
Description: ath0_Wireless WIFI 無線網路
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: No Ip (No DNS name)
###################################################################### # System: Sounding # Description: Linux SOUNDING 3.5.7.13 #7610 Mon May 27 08:25:57 CEST 2013 mips # Contact: hckao # Location: HsinTain ###################################################################### ### Interface 1 >> Descr: 'ppp0' | Name: 'No Name' | Ip: '127.0.0.1' | Eth: 'No Ethernet Id' ### ### The following interface is commented out because: ### * it is operationally DOWN ### * has no ifSpeed property # # Target[sounding.ddns.net_1]: 1:giga1144@sounding.ddns.net: # SetEnv[sounding.ddns.net_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="ppp0" # MaxBytes[sounding.ddns.net_1]: 0 # Title[sounding.ddns.net_1]: Traffic Analysis for 1 -- Sounding # PageTop[sounding.ddns.net_1]:

Traffic Analysis for 1 -- Sounding

#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
System:Sounding in HsinTain
Maintainer:hckao
Description:ppp0
ifType:ppp (23)
ifName:No Name
Max Speed:0.0 bits/s
Ip:127.0.0.1 (localhost)
#
### Interface 2 >> Descr: 'lo' | Name: 'No Name' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### ### The following interface is commented out because: ### * it is a Software Loopback interface # # Target[sounding.ddns.net_2]: 2:giga1144@sounding.ddns.net: # SetEnv[sounding.ddns.net_2]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="lo" # MaxBytes[sounding.ddns.net_2]: 1250000 # Title[sounding.ddns.net_2]: Traffic Analysis for 2 -- Sounding # PageTop[sounding.ddns.net_2]:

Traffic Analysis for 2 -- Sounding

#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
System:Sounding in HsinTain
Maintainer:hckao
Description:lo
ifType:softwareLoopback (24)
ifName:No Name
Max Speed:10.0 Mbits/s
Ip:No Ip (No DNS name)
#
### Interface 3 >> Descr: 'br0' | Name: 'No Name' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### Target[sounding.ddns.net_3]: 3:giga1144@sounding.ddns.net: SetEnv[sounding.ddns.net_3]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="br0" MaxBytes[sounding.ddns.net_3]: 12500000 Title[sounding.ddns.net_3]: Traffic Analysis for 3 -- Sounding(Br0) PageTop[sounding.ddns.net_3]:

Traffic Analysis for 3 -- Sounding(Br0)

System: Sounding in HsinTain
Maintainer: hckao
Description: br0(same with Wireless WIFI)
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: No Ip (No DNS name)
### Interface 4 >> Descr: 'eth1' | Name: 'No Name' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ### Target[sounding.ddns.net_4]: 4:giga1144@sounding.ddns.net: SetEnv[sounding.ddns.net_4]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="eth1" MaxBytes[sounding.ddns.net_4]: 12500000 Title[sounding.ddns.net_4]: Traffic Analysis for 4 -- Sounding_LAN PageTop[sounding.ddns.net_4]:

Traffic Analysis for 4 --新店_LAN 有線網路

System: Sounding in HsinTain
Maintainer: hckao
Description: eth1(Local LAN)有線網路
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: No Ip (No DNS name)
### Interface 5 >> Descr: 'eth0' | Name: 'No Name' | Ip: '169.254.255.1' | Eth: '90-f6-52-98-f5-45' ### Target[sounding.ddns.net_5]: 5:giga1144@sounding.ddns.net: SetEnv[sounding.ddns.net_5]: MRTG_INT_IP="169.254.255.1" MRTG_INT_DESCR="eth0" MaxBytes[sounding.ddns.net_5]: 12500000 Title[sounding.ddns.net_5]: Traffic Analysis for 5 -- Sounding_WAN PageTop[sounding.ddns.net_5]:

Traffic Analysis for 5 -- Sounding_WAN

System: Sounding in HsinTain
Maintainer: hckao
Description:WAN port eth0 WAN Port
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: 169.254.255.1 (No DNS name)
### Interface 6 >> Descr: 'ath0' | Name: 'No Name' | Ip: 'No Ip' | Eth: '90-f6-52-98-f5-46' ### Target[sounding.ddns.net_6]: 6:giga1144@sounding.ddns.net: SetEnv[sounding.ddns.net_6]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="ath0" MaxBytes[sounding.ddns.net_6]: 12500000 Title[sounding.ddns.net_6]: Traffic Analysis for 6 -- Sounding_WIFI PageTop[sounding.ddns.net_6]:

Traffic Analysis for 6 -- 新店_WIFI 無線網路

System: Sounding in HsinTain
Maintainer: hckao
Description: Wireless WIFI 無線網路
ifType: ethernetCsmacd (6)
ifName: No Name
Max Speed: 100.0 Mbits/s
Ip: No Ip (No DNS name)
### Interface 7 >> Descr: 'No-Description' | Name: 'No Name' | Ip: '36.231.124.234' | Eth: 'No Ethernet Id' ### ### The following interface is commented out because: ### * has no ifSpeed property ### * got 'Received SNMP response with error code ### error status: noSuchName ### index 1 (OID: 1.3.6.1.2.1.2.2.1.10.7) ### SNMPv1_Session (remote host: "sounding.ddns.net" [36.231.124.234].161) ### community: "giga1144" ### request ID: 1652540884 ### PDU bufsize: 8000 bytes ### timeout: 2s ### retries: 5 ### backoff: 1)' from interface when trying to query # # Target[sounding.ddns.net_7]: 7:giga1144@sounding.ddns.net: # SetEnv[sounding.ddns.net_7]: MRTG_INT_IP="36.231.124.234" MRTG_INT_DESCR="No-Description" # MaxBytes[sounding.ddns.net_7]: 0 # Title[sounding.ddns.net_7]: Traffic Analysis for 7 -- Sounding # PageTop[sounding.ddns.net_7]:

Traffic Analysis for 7 -- Sounding

#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
System:Sounding in HsinTain
Maintainer:hckao
Description:No-Description
ifType:Uknown Interface Type (Unknown Type)
ifName:No Name
Max Speed:0.0 bits/s
Ip:36.231.124.234 (36-231-124-234.dynamic-ip.hinet.net)
#
# Created by ### Global Config Options # for Debian WorkDir: /var/www/html/mrtg EnableIPv6: no Options[_]: growright,bits RunAsDaemon: Yes Interval: 5 ###################################################################### # System: x96max # Description: Linux x96max 5.5.0-rc6-aml-s9xxx #rc1.037 SMP PREEMPT Wed Feb 5 17:28:41 MSK 2020 aarch64 # Contact: # Location: ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.9.248' | Eth: '90-0e-b3-0e-52-02' ### Target[192.168.9.248_eth0]: #eth0:kbt236@192.168.9.248: SetEnv[192.168.9.248_eth0]: MRTG_INT_IP="192.168.9.248" MRTG_INT_DESCR="eth0" MaxBytes[192.168.9.248_eth0]: 125000000 Title[192.168.9.248_eth0]: Traffic Analysis for eth0 -- x96max_SMB_BT PageTop[192.168.9.248_eth0]:

Traffic Analysis for eth0 -- x96max_SMB_BT

System: x96max in Sitting on the Dock of the Bay
Maintainer: Me <>
Description: eth0_248_SMB
ifType: ethernetCsmacd (6)
ifName: eth0_9.248
Max Speed: 125.0 MBytes/s
Ip: 192.168.9.248 (x96max)
###################################################################### # System: PN50 # Description: Hardware: AMD64 Family 23 Model 96 Stepping 1 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 22000 Multiprocessor Free) # Contact: # Location: ###################################################################### ### Interface 4 >> Descr: 'Realtek-PCIe-GbE-Family-Controller' | Name: 'ethernet_32769' | Ip: '192.168.9.211' | Eth: 'No Ethernet Id' ### Target[192.168.9.211_ethernet_32769]: #ethernet_32769:kbt236@192.168.9.211: SetEnv[192.168.9.211_ethernet_32769]: MRTG_INT_IP="192.168.9.211" MRTG_INT_DESCR="Realtek-PCIe-GbE-Family-Controller" MaxBytes[192.168.9.211_ethernet_32769]: 125000000 Title[192.168.9.211_ethernet_32769]: Traffic Analysis for ethernet_32769 -- PN50 PageTop[192.168.9.211_ethernet_32769]:

Traffic Analysis for ethernet_32769 -- PN50

System: PN50 in
Maintainer:
Description: Realtek-PCIe-GbE-Family-Controller
ifType: ethernetCsmacd (6)
ifName: ethernet_32769
Max Speed: 125.0 MBytes/s
Ip: 192.168.9.211 (No DNS name)
****************************************************************************************************************** resolv.conf hckao@H96PLUS:/etc$ sudo cat resolv.conf # Generated by NetworkManager nameserver 8.8.8.8 nameserver 168.95.1.1 ****************************************************************************************************************** noip2 hckao@H96PLUS:/etc$ sudo noip2 -S 1 noip2 process active. Process 2570, started as noip2, (version 2.1.9) Using configuration from /usr/local/etc/no-ip2.conf Last IP Address set 1.160.8.239 Account 2339835994@qq.com configured for: host kaovpn.ddns.net Updating every 5 minutes via /dev/eth0 with NAT enabled. hckao@H96PLUS:/etc$ sudo systemctl status noip2.service ● noip2.service - No-IP Dynamic DNS Update Client Loaded: loaded (/etc/systemd/system/noip2.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2022-08-20 19:22:14 CST; 1 day 14h ago Process: 2556 ExecStart=/usr/local/bin/noip2 (code=exited, status=0/SUCCESS) Main PID: 2570 (noip2) Tasks: 1 (limit: 2332) CGroup: /system.slice/noip2.service └─2570 /usr/local/bin/noip2 8月 20 19:22:14 H96PLUS systemd[1]: Starting No-IP Dynamic DNS Update Client... 8月 20 19:22:14 H96PLUS noip2[2570]: v2.1.9 daemon started with NAT enabled 8月 20 19:22:14 H96PLUS systemd[1]: Started No-IP Dynamic DNS Update Client. 8月 20 19:22:24 H96PLUS noip2[2570]: kaovpn.ddns.net was already set to 1.162.225.220. 8月 21 03:10:59 H96PLUS noip2[2570]: kaovpn.ddns.net set to 1.160.8.239 ****************************************************************************************************************** snmp ############################################################################### # # EXAMPLE.conf: # An example configuration file for configuring the Net-SNMP agent ('snmpd') # See the 'snmpd.conf(5)' man page for details # # Some entries are deliberately commented out, and will need to be explicitly activated # ############################################################################### # # AGENT BEHAVIOUR # # Listen for connections from the local system only #agentAddress udp:127.0.0.1:161 # Listen for connections on all interfaces (both IPv4 *and* IPv6) agentAddress udp:161,udp6:[::1]:161 ############################################################################### # # SNMPv3 AUTHENTICATION # # Note that these particular settings don't actually belong here. # They should be copied to the file /var/lib/snmp/snmpd.conf # and the passwords changed, before being uncommented in that file *only*. # Then restart the agent # createUser authOnlyUser MD5 "remember to change this password" # createUser authPrivUser SHA "remember to change this one too" DES # createUser internalUser MD5 "this is only ever used internally, but still change the password" # If you also change the usernames (which might be sensible), # then remember to update the other occurances in this example config file to match. ############################################################################### # # ACCESS CONTROL # # system + hrSystem groups only view systemonly included .1.3.6.1.2.1.1 view systemonly included .1.3.6.1.2.1.25.1 view systemonly included .1 # Full access from the local host rocommunity kbt236 localhost # Default access to basic system info rocommunity kbt236 default -V systemonly # rocommunity6 is for IPv6 rocommunity6 kbt236 default -V systemonly # Full access from an example network # Adjust this network address to match your local # settings, change the community string, # and check the 'agentAddress' setting above #rocommunity secret 10.0.0.0/16 # Full read-only access for SNMPv3 rouser authOnlyUser # Full write access for encrypted requests # Remember to activate the 'createUser' lines above #rwuser authPrivUser priv # It's no longer typically necessary to use the full 'com2sec/group/access' configuration # r[ow]user and r[ow]community, together with suitable views, should cover most requirements ############################################################################### # # SYSTEM INFORMATION # # Note that setting these values here, results in the corresponding MIB objects being 'read-only' # See snmpd.conf(5) for more details sysLocation NYPD sysContact cop # Application + End-to-End layers sysServices 72 # # Process Monitoring # # At least one 'mountd' process proc mountd # No more than 4 'ntalkd' processes - 0 is OK proc ntalkd 4 # At least one 'sendmail' process, but no more than 10 proc sendmail 10 1 # Walk the UCD-SNMP-MIB::prTable to see the resulting output # Note that this table will be empty if there are no "proc" entries in the snmpd.conf file # # Disk Monitoring # # 10MBs required on root disk, 5% free on /var, 10% free on all other disks disk / 10000 disk /var 5% includeAllDisks 10% # Walk the UCD-SNMP-MIB::dskTable to see the resulting output # Note that this table will be empty if there are no "disk" entries in the snmpd.conf file # # System Load # # Unacceptable 1-, 5-, and 15-minute load averages load 12 10 5 # Walk the UCD-SNMP-MIB::laTable to see the resulting output # Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file ############################################################################### # # ACTIVE MONITORING # # send SNMPv1 traps trapsink localhost public # send SNMPv2c traps #trap2sink localhost public # send SNMPv2c INFORMs #informsink localhost public # Note that you typically only want *one* of these three lines # Uncommenting two (or all three) will result in multiple copies of each notification. # # Event MIB - automatically generate alerts # # Remember to activate the 'createUser' lines above iquerySecName internalUser rouser internalUser # generate traps on UCD error conditions defaultMonitors yes # generate traps on linkUp/Down linkUpDownNotifications yes ############################################################################### # # EXTENDING THE AGENT # # # Arbitrary extension commands # extend test1 /bin/echo Hello, world! extend-sh test2 echo Hello, world! ; echo Hi there ; exit 35 #extend-sh test3 /bin/sh /tmp/shtest # Note that this last entry requires the script '/tmp/shtest' to be created first, # containing the same three shell commands, before the line is uncommented # Walk the NET-SNMP-EXTEND-MIB tables (nsExtendConfigTable, nsExtendOutput1Table # and nsExtendOutput2Table) to see the resulting output # Note that the "extend" directive supercedes the previous "exec" and "sh" directives # However, walking the UCD-SNMP-MIB::extTable should still returns the same output, # as well as the fuller results in the above tables. # # "Pass-through" MIB extension command # #pass .1.3.6.1.4.1.8072.2.255 /bin/sh PREFIX/local/passtest #pass .1.3.6.1.4.1.8072.2.255 /usr/bin/perl PREFIX/local/passtest.pl # Note that this requires one of the two 'passtest' scripts to be installed first, # before the appropriate line is uncommented. # These scripts can be found in the 'local' directory of the source distribution, # and are not installed automatically. # Walk the NET-SNMP-PASS-MIB::netSnmpPassExamples subtree to see the resulting output # # AgentX Sub-agents # # Run as an AgentX master agent master agentx # Listen for network connections (from localhost) # rather than the default named socket /var/agentx/master #agentXSocket tcp:localhost:705 ****************************************************************************************************************** vsftp # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file loosens things up a bit, to make the ftp # daemon more usable. Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of vsftpd options. Please read the vsftpd.conf.5 manual # page to get a full idea of vsftpd's capabilities. # # # Run standalone? vsftpd can run either from an inetd or as a standalone daemon started from an initscript. listen=NO # # This directive enables listening on IPv6 sockets. By default, listening on the IPv6 "any" address (::) will # accept connections from both IPv6 and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6 # sockets. If you want that (perhaps because you want to listen on specific addresses) then you must run two # copies of vsftpd with two configuration files. listen_ipv6=YES # # Allow anonymous FTP? (Disabled by default). anonymous_enable=NO # # Uncomment this to allow local users to log in. local_enable=YES # # Uncomment this to enable any form of FTP write command. write_enable=YES # # Default umask for local users is 077. You may wish to change this to 022, if your users expect that (022 is used #by most other ftpd's) local_umask=022 # # Uncomment this to allow the anonymous FTP user to upload files. This only has an effect if the above global #write enable is activated. Also, you will obviously need to create a directory writable by the FTP user. #anon_upload_enable=YES # # Uncomment this if you want the anonymous FTP user to be able to create new directories. #anon_mkdir_write_enable=YES # # Activate directory messages - messages given to remote users when they go into a certain directory. dirmessage_enable=YES # # If enabled, vsftpd will display directory listings with the time in your local time zone. The default is to # display GMT. The times returned by the MDTM FTP command are also affected by this option. use_localtime=YES # # Activate logging of uploads/downloads. xferlog_enable=YES # # Make sure PORT transfer connections originate from port 20 (ftp-data). connect_from_port_20=YES # # If you want, you can arrange for uploaded anonymous files to be owned by a different user. Note! Using "root" #for uploaded files is not recommended! chown_uploads=YES chown_username=whoever # # You may override where the log file goes if you like. The default is shown below. #xferlog_file=/var/log/vsftpd.log # # If you want, you can have your log file in standard ftpd xferlog format. Note that the default log file location #is /var/log/xferlog in this case. xferlog_std_format=YES # # You may change the default value for timing out an idle session. idle_session_timeout=600 # # You may change the default value for timing out a data connection. data_connection_timeout=120 # # It is recommended that you define on your system a unique user which the ftp server can use as a totally #isolated and unprivileged user. nopriv_user=ftpsecure # # Enable this and the server will recognise asynchronous ABOR requests. Not recommended for security (the code is #non-trivial). Not enabling it, however, may confuse older FTP clients. async_abor_enable=YES # # By default the server will pretend to allow ASCII mode but in fact ignore the request. Turn on the below options #to have the server actually do ASCII mangling on files when in ASCII mode. Beware that on some FTP servers, ASCII #support allows a denial of service attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd predicted #this attack and has always been safe, reporting the size of the raw file. ASCII mangling is a horrible feature of #the protocol. ascii_upload_enable=YES ascii_download_enable=YES # # You may fully customise the login banner string: ftpd_banner=Welcome to blah FTP service. # # You may specify a file of disallowed anonymous e-mail addresses. Apparently useful for combatting certain DoS #attacks. deny_email_enable=YES # (default follows) banned_email_file=/etc/vsftpd.banned_emails # # You may restrict local users to their home directories. See the FAQ for the possible risks in this before using #chroot_local_user or chroot_list_enable below. chroot_local_user=YES # # You may specify an explicit list of local users to chroot() to their home directory. If chroot_local_user is #YES, then this list becomes a list of users to NOT chroot(). (Warning! chroot'ing can be very dangerous. If using #chroot, make sure that the user does not have write access to the top level directory within the chroot) #chroot_local_user=YES chroot_list_enable=YES # (default follows) chroot_list_file=/etc/vsftpd.chroot_list # # You may activate the "-R" option to the builtin ls. This is disabled by default to avoid remote users being able #to cause excessive I/O on large sites. However, some broken FTP clients such as "ncftp" and "mirror" assume the #presence of the "-R" option, so there is a strong case for enabling it. ls_recurse_enable=YES # # Customization # # Some of vsftpd's settings don't fit the filesystem layout by default. # # This option should be the name of a directory which is empty. Also, the directory should not be writable by the # ftp user. This directory is used as a secure chroot() jail at times vsftpd does not require filesystem access. secure_chroot_dir=/var/run/vsftpd/empty # # This string is the name of the PAM service vsftpd will use. pam_service_name=vsftpd # # This option specifies the location of the RSA certificate to use for SSL encrypted connections. rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key ssl_enable=NO ****************************************************************************************************************** apache2 字形問題 /etc/apache2/conf-available$ sudo cat charset.conf # Read the documentation before enabling AddDefaultCharset. # In general, it is only a good idea if you know that all your files # have this encoding. It will override any encoding given in the files # in meta http-equiv or xml encoding tags. AddDefaultCharset UTF-8 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet hckao@H96PLUS:/etc/apache2/conf-available$ ****************************************************************************************************************** ****************************************************************************************************************** ****************************************************************************************************************** ****************************************************************************************************************** ****************************************************************************************************************** ******************************************************************************************************************