garypang13 пре 5 година
комит
a005fbb4ce

+ 143 - 0
.github/workflows/build-openwrt.yml

@@ -0,0 +1,143 @@
+#=================================================
+# https://github.com/P3TERX/Actions-OpenWrt
+# Description: Build OpenWrt using GitHub Actions
+# Lisence: MIT
+# Author: P3TERX
+# Blog: https://p3terx.com
+#=================================================
+
+name: Build OpenWrt
+
+on: 
+  # push: 
+  #   branches:
+  #     - master
+  schedule:
+    - cron: 0 16 * * 6
+  watch:
+    types: started
+
+env:
+  REPO_URL: https://github.com/openwrt/openwrt
+  REPO_BRANCH: master
+  CONFIG_FILE: X86_64.config
+  DIY_SH: diy.sh
+  FREE_UP_DISK: true
+  SSH_ACTIONS: false
+  UPLOAD_BIN_DIR: false
+  UPLOAD_FIRMWARE: true
+  UPLOAD_COWTRANSFER: false
+  TZ: Asia/Shanghai
+
+jobs:
+  build:
+    if: github.event.repository.owner.id == github.event.sender.id
+    runs-on: ubuntu-latest
+    steps:
+    - name: Checkout
+      uses: actions/checkout@master
+
+    - name: Initialization environment
+      env:
+        DEBIAN_FRONTEND: noninteractive
+      run: |
+        sudo swapoff /swapfile
+        sudo rm -rf /swapfile /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
+        sudo -E apt-get -qq update
+        sudo -E apt-get -qq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler ccache xsltproc rename
+        sudo -E apt-get -qq autoremove --purge
+        sudo -E apt-get -qq clean
+        curl -fsSL https://raw.githubusercontent.com/P3TERX/dotfiles/master/.bashrc >> ~/.bashrc
+
+    - name: Clone source code
+      run: git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt
+      
+    - name: Free up disk space
+      if: env.FREE_UP_DISK == 'true'
+      env:
+        DEBIAN_FRONTEND: noninteractive
+      run: |
+        sudo mkdir -p -m 777 /mnt/openwrt/build_dir/hostpkg /mnt/openwrt/build_dir/host openwrt/build_dir /mnt/openwrt/dl /mnt/openwrt/feeds /mnt/openwrt/staging_dir
+        ln -s /mnt/openwrt/build_dir/hostpkg openwrt/build_dir/hostpkg
+        ln -s /mnt/openwrt/build_dir/host openwrt/build_dir/host
+        ln -s /mnt/openwrt/dl openwrt/dl
+        ln -s /mnt/openwrt/staging_dir openwrt/staging_dir
+
+    - name: Update feeds
+      run: cd openwrt && ./scripts/feeds update -a
+
+    - name: Install feeds
+      run: cd openwrt && ./scripts/feeds install -a
+
+    - name: Load custom configuration
+      run: |
+        [ -e files ] && mv files openwrt/files
+        [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config
+        chmod +x $DIY_SH
+        cd openwrt
+        ../$DIY_SH
+        make defconfig
+
+    - name: SSH connection to Actions
+      uses: P3TERX/debugger-action@master
+      if: env.SSH_ACTIONS == 'true'
+
+    - name: Download package
+      id: package
+      run: |
+        cd openwrt
+        make download -j8
+        find dl -size -1024c -exec ls -l {} \;
+        find dl -size -1024c -exec rm -f {} \;
+
+    - name: Compile the firmware
+      id: compile
+      run: |
+        cd openwrt
+        echo -e "$(($(nproc)+1)) thread compile"
+        make -j$(($(nproc)+1)) || make -j1 V=s
+        echo "::set-output name=status::success"
+
+    - name: Upload bin directory
+      uses: actions/upload-artifact@master
+      if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true'
+      with:
+        name: OpenWrt_bin
+        path: openwrt/bin
+
+    - name: Organize files
+      id: organize
+      if: env.UPLOAD_FIRMWARE == 'true' && !cancelled()
+      run: |
+        mkdir firmware && find openwrt/bin/targets/*/*/* -maxdepth 0 -name "*uefi-gpt*" -or -name "*combined*" -or -name "*.vmdk" -or -name "sha256sums" | xargs -i mv -f {} ./firmware/
+        cp openwrt/.config  ./firmware/config.txt
+        cd firmware
+        echo "::set-env name=FIRMWARE::$PWD"
+        echo "::set-output name=status::success"
+      
+    - name: Upload firmware directory
+      uses: actions/upload-artifact@master
+      if: steps.organize.outputs.status == 'success' && !cancelled()
+      with:
+        name: OpenWrt_firmware
+        path: ${{ env.FIRMWARE }}
+        
+    - name: Get current date
+      id: date
+      run: echo "::set-output name=date::$(date +'%m/%d,%Y')"
+      
+    - name: Upload binaries to release
+      uses: svenstaro/upload-release-action@v1-release
+      if: steps.compile.outputs.status == 'success' && !cancelled()
+      with:
+        repo_token: ${{ secrets.REPO_TOKEN }}
+        file: ${{ env.FIRMWARE }}/*
+        tag: ${{steps.date.outputs.date}}
+        overwrite: true
+        file_glob: true
+        
+    - name: Upload firmware to cowtransfer
+      if: env.UPLOAD_COWTRANSFER == 'true' && !cancelled()
+      run: |
+        curl -sL https://git.io/cowtransfer | sh
+        ./cowtransfer-uploader -s -p 8 ${{ env.FIRMWARE }}/*

+ 21 - 0
LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 P3TERX
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 50 - 0
README.md

@@ -0,0 +1,50 @@
+# Actions OpenWrt Snapshot With Nginx
+
+openwrt官方master分支版本,Kernel 5.4,包含了主流插件以及针对国内环境做了必要的优化,主要针对X86_64,其他设备请自行调整与编译,uhttpd换成了nginx,大大增加了可玩性,比如PHP,kodexplorer,webdav,反向代理等,可作为NAS使用.
+
+在[Releases](https://github.com/garypang13/Actions-OpenWrt-Snapshot/releases)下载已编译好的固件,周更.
+
+后台入口 10.0.0.1  (若后台无法打开,请插拔交换wan,lan网线顺序,默认第一个网口eth0为wan口,第二个网eth1口为lan口.)
+
+默认密码 root
+
+第一次使用请采用全新安装,避免出现升级失败以及其他一些可能的Bug.
+
+自己编译需要[在此](https://github.com/settings/tokens)创建个token,然后在此仓库Settings->Secrets中添加个名字为REPO_TOKEN的Secret,填入token值,否者无法release
+
+diy云编译教程: [Read the details in my blog (in Chinese) | 中文教程](https://p3terx.com/archives/build-openwrt-with-github-actions.html)
+
+[![LICENSE](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square&label=LICENSE)](https://github.com/P3TERX/Actions-OpenWrt/blob/master/LICENSE)
+[![GitHub Stars](https://img.shields.io/github/stars/P3TERX/Actions-OpenWrt.svg?style=flat-square&label=Stars)](https://github.com/P3TERX/Actions-OpenWrt/stargazers)
+[![GitHub Forks](https://img.shields.io/github/forks/P3TERX/Actions-OpenWrt.svg?style=flat-square&label=Forks)](https://github.com/P3TERX/Actions-OpenWrt/fork)
+
+Build OpenWrt using GitHub Actions
+
+
+
+[GitHub Actions Group](https://t.me/GitHub_Actions) | [GitHub Actions Channel](https://t.me/GitHub_Actions_Channel)
+
+## Usage
+
+- Sign up for [GitHub Actions](https://github.com/features/actions/signup)
+- Fork [this GitHub repository](https://github.com/P3TERX/Actions-OpenWrt)
+- Generate `.config` files using [OpenWrt](https://github.com/openwrt/openwrt/tree/openwrt-19.07) source code.
+- Push `.config` file to the GitHub repository, and the build starts automatically.Progress can be viewed on the Actions page.
+- When the build is complete, click the `Artifacts` button in the upper right corner of the Actions page to download the binaries.
+
+## Acknowledgments
+
+- [Microsoft](https://www.microsoft.com)
+- [Microsoft Azure](https://azure.microsoft.com)
+- [GitHub](https://github.com)
+- [GitHub Actions](https://github.com/features/actions)
+- [tmate](https://github.com/tmate-io/tmate)
+- [mxschmitt/action-tmate](https://github.com/mxschmitt/action-tmate)
+- [csexton/debugger-action](https://github.com/csexton/debugger-action)
+- [Cisco](https://www.cisco.com/)
+- [OpenWrt](https://github.com/openwrt/openwrt)
+- [Lean's OpenWrt](https://github.com/coolsnowwolf/lede)
+
+## License
+
+[MIT](https://github.com/P3TERX/Actions-OpenWrt/blob/master/LICENSE) © P3TERX

+ 251 - 0
X86_64.config

@@ -0,0 +1,251 @@
+# 设置固件大小:
+CONFIG_TARGET_KERNEL_PARTSIZE=30
+CONFIG_TARGET_ROOTFS_PARTSIZE=500
+
+CONFIG_TARGET_x86=y
+CONFIG_TARGET_x86_64=y
+CONFIG_GRUB_TIMEOUT="0"
+CONFIG_SIGNATURE_CHECK=n
+CONFIG_TARGET_ROOTFS_EXT4FS=n
+CONFIG_LUCI_CSSTIDY=n
+
+# EFI支持:
+CONFIG_GRUB_IMAGES=y
+CONFIG_EFI_IMAGES=y
+CONFIG_VMDK_IMAGES=n
+
+# IPv6支持:
+CONFIG_IPV6=n  # 如若需要编译docker,需注释此行
+
+# USB3.0支持:
+CONFIG_PACKAGE_kmod-usb2=y
+CONFIG_PACKAGE_kmod-usb2-pci=y
+CONFIG_PACKAGE_kmod-usb3=y
+CONFIG_PACKAGE_kmod-usb-net-rtl8152=y
+
+# Applications
+
+CONFIG_PACKAGE_luci-app-accesscontrol=y
+CONFIG_PACKAGE_luci-app-acme=y
+CONFIG_PACKAGE_luci-app-adblock=n
+CONFIG_PACKAGE_luci-app-adbyby-plus=n
+CONFIG_PACKAGE_luci-app-adguardhome=y
+CONFIG_PACKAGE_luci-app-advanced-reboot=n
+CONFIG_PACKAGE_luci-app-advancedsetting=y
+CONFIG_PACKAGE_luci-app-amule=y
+CONFIG_PACKAGE_luci-app-aria2=y
+CONFIG_PACKAGE_luci-app-arpbind=n
+CONFIG_PACKAGE_luci-app-attendedsysupgrade=n
+CONFIG_PACKAGE_luci-app-autoreboot=y
+CONFIG_PACKAGE_luci-app-baidupcs-web=y
+CONFIG_PACKAGE_luci-app-bcp38=n
+CONFIG_PACKAGE_luci-app-bird1-ipv4=n
+CONFIG_PACKAGE_luci-app-bird1-ipv6=n
+CONFIG_PACKAGE_luci-app-bmx7=n
+CONFIG_PACKAGE_luci-app-brook-server=n
+CONFIG_PACKAGE_luci-app-cifsd=n
+CONFIG_PACKAGE_luci-app-clamav=n
+CONFIG_PACKAGE_luci-app-commands=n
+CONFIG_PACKAGE_luci-app-cpufreq=y
+CONFIG_PACKAGE_luci-app-cshark=n
+CONFIG_PACKAGE_luci-app-ddns=y
+CONFIG_PACKAGE_luci-app-diag-core=n
+CONFIG_PACKAGE_luci-app-diskman=y
+CONFIG_PACKAGE_luci-app-dnscrypt-proxy=n
+# CONFIG_PACKAGE_luci-app-dockerman=y
+# CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_docker_ce=y
+# CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_ttyd=y
+CONFIG_PACKAGE_luci-app-dump1090=n
+CONFIG_PACKAGE_luci-app-dynapoint=n
+CONFIG_PACKAGE_luci-app-e2guardian=n
+CONFIG_PACKAGE_luci-app-eqos=y
+CONFIG_PACKAGE_luci-app-fileassistant=n
+CONFIG_PACKAGE_luci-app-filebrowser=n
+CONFIG_PACKAGE_luci-app-filetransfer=y
+CONFIG_PACKAGE_luci-app-firewall=y
+CONFIG_PACKAGE_luci-app-flowoffload=y
+CONFIG_PACKAGE_luci-app-freifunk-diagnostics=n
+CONFIG_PACKAGE_luci-app-freifunk-policyrouting=n
+CONFIG_PACKAGE_luci-app-freifunk-widgets=n
+CONFIG_PACKAGE_luci-app-frpc=n
+CONFIG_PACKAGE_luci-app-fwknopd=n
+CONFIG_PACKAGE_luci-app-guest-wifi=n
+CONFIG_PACKAGE_luci-app-haproxy-tcp=n
+CONFIG_PACKAGE_luci-app-hd-idle=y
+CONFIG_PACKAGE_luci-app-hnet=n
+CONFIG_PACKAGE_luci-app-https-dns-proxy=n
+CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=n
+CONFIG_PACKAGE_luci-app-kcptun=n
+CONFIG_PACKAGE_luci-app-php-kodexplorer=y
+CONFIG_PACKAGE_luci-app-ksmbd=y
+CONFIG_PACKAGE_luci-app-lxc=n
+CONFIG_PACKAGE_luci-app-meshwizard=n
+CONFIG_PACKAGE_luci-app-minidlna=n
+CONFIG_PACKAGE_luci-app-mjpg-streamer=n
+CONFIG_PACKAGE_luci-app-mtwifi=n
+CONFIG_PACKAGE_luci-app-mwan3=n
+CONFIG_PACKAGE_luci-app-mwan3helper=n
+CONFIG_PACKAGE_luci-app-netdata=y
+CONFIG_PACKAGE_luci-app-nft-qos=n
+CONFIG_PACKAGE_luci-app-nlbwmon=y
+CONFIG_PACKAGE_luci-app-noddos=n
+CONFIG_PACKAGE_luci-app-nps=n
+CONFIG_PACKAGE_luci-app-ntpc=n
+#CONFIG_PACKAGE_luci-app-oaf=y
+CONFIG_PACKAGE_luci-app-ocserv=n
+CONFIG_PACKAGE_luci-app-olsr=n
+CONFIG_PACKAGE_luci-app-olsr-services=n
+CONFIG_PACKAGE_luci-app-olsr-viz=n
+CONFIG_PACKAGE_luci-app-onliner=y
+CONFIG_PACKAGE_luci-app-openvpn=n
+CONFIG_PACKAGE_luci-app-openvpn-server=n
+CONFIG_PACKAGE_luci-app-opkg=y
+CONFIG_PACKAGE_luci-app-p910nd=n
+CONFIG_PACKAGE_luci-app-pagekitec=n
+CONFIG_PACKAGE_luci-app-polipo=n
+CONFIG_PACKAGE_luci-app-pppoe-relay=n
+CONFIG_PACKAGE_luci-app-pppoe-server=n
+CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=n
+CONFIG_PACKAGE_luci-app-privoxy=n
+CONFIG_PACKAGE_luci-app-qbittorrent=y
+CONFIG_PACKAGE_luci-app-qos=n
+CONFIG_PACKAGE_luci-app-radicale=n
+CONFIG_PACKAGE_luci-app-ramfree=n
+CONFIG_PACKAGE_luci-app-rp-pppoe-server=n
+CONFIG_PACKAGE_luci-app-samba=n
+CONFIG_PACKAGE_luci-app-samba4=n
+CONFIG_PACKAGE_luci-app-serverchan=y
+CONFIG_PACKAGE_luci-app-shadowsocks-libev=n
+CONFIG_PACKAGE_luci-app-shairplay=n
+CONFIG_PACKAGE_luci-app-siitwizard=n
+CONFIG_PACKAGE_luci-app-simple-adblock=n
+CONFIG_PACKAGE_luci-app-smartdns=y
+CONFIG_PACKAGE_luci-app-softethervpn=n
+CONFIG_PACKAGE_luci-app-splash=n
+CONFIG_PACKAGE_luci-app-sqm=y
+CONFIG_PACKAGE_luci-app-squid=n
+CONFIG_PACKAGE_luci-app-ssr-libev-server=n
+CONFIG_PACKAGE_luci-app-ssr-plus=y
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=n
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=n
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=n
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
+CONFIG_PACKAGE_luci-app-ssr-python-pro-server=n
+CONFIG_PACKAGE_luci-app-statistics=n
+CONFIG_PACKAGE_luci-app-syncdial=n
+CONFIG_PACKAGE_luci-app-syncthing=n
+CONFIG_PACKAGE_luci-app-tinyproxy=n
+CONFIG_PACKAGE_luci-app-transmission=n
+CONFIG_PACKAGE_luci-app-travelmate=n
+CONFIG_PACKAGE_luci-app-trojan-server=n
+CONFIG_PACKAGE_luci-app-ttyd=y
+CONFIG_PACKAGE_luci-app-udpxy=n
+CONFIG_PACKAGE_luci-app-uhttpd=n
+CONFIG_PACKAGE_luci-app-unblockmusic=y
+CONFIG_UnblockNeteaseMusic_Go=y
+CONFIG_UnblockNeteaseMusic_NodeJS=n
+CONFIG_PACKAGE_luci-app-unbound=n
+CONFIG_PACKAGE_luci-app-upnp=y
+CONFIG_PACKAGE_luci-app-usb-printer=n
+CONFIG_PACKAGE_luci-app-v2ray-server=n
+CONFIG_PACKAGE_luci-app-verysync=y
+CONFIG_PACKAGE_luci-app-vlmcsd=y
+CONFIG_PACKAGE_luci-app-vnstat=n
+CONFIG_PACKAGE_luci-app-vpnbypass=n
+CONFIG_PACKAGE_luci-app-vsftpd=n
+CONFIG_PACKAGE_luci-app-watchcat=y
+CONFIG_PACKAGE_luci-app-webadmin=n
+CONFIG_PACKAGE_luci-app-wifischedule=n
+CONFIG_PACKAGE_luci-app-wireguard=n
+CONFIG_PACKAGE_luci-app-wol=n
+CONFIG_PACKAGE_luci-app-wrtbwmon=y
+CONFIG_PACKAGE_luci-app-xlnetacc=n
+CONFIG_PACKAGE_luci-app-zerotier=n
+
+# CONFIG_PACKAGE_samba4-admin=y
+# CONFIG_PACKAGE_samba4-server=y
+# CONFIG_PACKAGE_samba4-utils=y
+
+CONFIG_PACKAGE_dnsmasq=n
+CONFIG_PACKAGE_dnsmasq-full=y
+CONFIG_PACKAGE_dnsmasq_full_dhcp=y
+CONFIG_PACKAGE_dnsmasq_full_ipset=y
+
+#
+# Themes
+#
+CONFIG_PACKAGE_luci-theme-argon=y
+CONFIG_PACKAGE_luci-theme-bootstrap=y
+CONFIG_PACKAGE_luci-theme-material=n
+CONFIG_PACKAGE_luci-theme-netgear=y
+CONFIG_PACKAGE_luci-theme-openwrt=n
+CONFIG_PACKAGE_luci-theme-rosy=n
+CONFIG_PACKAGE_luci-theme-darkmatter=y
+
+# 其他需要安装的软件包:
+CONFIG_PACKAGE_luci=y
+CONFIG_PACKAGE_luci-base=y
+CONFIG_PACKAGE_luci-compat=y
+CONFIG_PACKAGE_luci-proto-ppp=y
+CONFIG_LUCI_LANG_zh_Hans=y
+CONFIG_LUCI_LANG_en=y
+CONFIG_PACKAGE_nginx-mod-luci-ssl=y
+CONFIG_NGINX_HTTP_V2=y
+CONFIG_NGINX_DAV=y
+CONFIG_NGINX_NAXSI=n
+CONFIG_PACKAGE_python3=y
+CONFIG_PACKAGE_python3-yaml=y
+CONFIG_PACKAGE_python3-urllib3=y
+CONFIG_PACKAGE_default-settings=y
+CONFIG_PACKAGE_iptables-mod-nat-extra=y
+CONFIG_PACKAGE_iptables-mod-filter=y
+CONFIG_PACKAGE_bind-dig=y
+CONFIG_PACKAGE_wget=y
+CONFIG_PACKAGE_curl=y
+CONFIG_PACKAGE_htop=y
+CONFIG_PACKAGE_httping=y
+CONFIG_PACKAGE_tcping=y
+CONFIG_PACKAGE_autocore=n
+CONFIG_PACKAGE_automount=y
+CONFIG_PACKAGE_autosamba=n
+CONFIG_PACKAGE_fdisk=y
+CONFIG_PACKAGE_cfdisk=y
+CONFIG_PACKAGE_iptables-mod-fullconenat=y
+CONFIG_PACKAGE_git=y
+CONFIG_PACKAGE_git-http=y
+CONFIG_PACKAGE_antileech=y
+CONFIG_PACKAGE_acme-dnsapi=y
+CONFIG_PACKAGE_pdnsd-alt=y
+CONFIG_PACKAGE_ddns-scripts_aliyun=y
+CONFIG_PACKAGE_docker-ce=n
+CONFIG_V2RAY_COMPRESS_UPX=n
+# CONFIG_DEVEL=y
+# CONFIG_TOOLCHAINOPTS=y
+# CONFIG_GCC_USE_VERSION_7=y
+CONFIG_PACKAGE_ksmbd-utils=y
+CONFIG_PACKAGE_lm-sensors-detect=y
+CONFIG_PACKAGE_bc=y
+CONFIG_PACKAGE_ethtool=y
+CONFIG_PACKAGE_libsqlite3=y
+CONFIG_PACKAGE_file=y
+CONFIG_PACKAGE_adguardhome=y
+CONFIG_PACKAGE_ariang-nginx=y
+CONFIG_GRUB_BOOTOPTS="nomodeset"
+
+# CONFIG_PACKAGE_php7=y
+# CONFIG_PACKAGE_php7-fpm=y
+# CONFIG_PACKAGE_php7-mod-curl=y
+# CONFIG_PACKAGE_php7-mod-gd=y
+# CONFIG_PACKAGE_php7-mod-iconv=y
+# CONFIG_PACKAGE_php7-mod-json=y
+# CONFIG_PACKAGE_php7-mod-mbstring=y
+# CONFIG_PACKAGE_php7-mod-opcache=y
+# CONFIG_PACKAGE_php7-mod-session=y
+# CONFIG_PACKAGE_php7-mod-zip=y
+# CONFIG_PACKAGE_php7-mod-sqlite3=y
+# CONFIG_PACKAGE_php7-mod-openssl=y

+ 94 - 0
diy.sh

@@ -0,0 +1,94 @@
+#!/bin/bash
+#=================================================
+svn co --force https://github.com/coolsnowwolf/lede/trunk/package/lean package/lean && svn revert -R package/lean
+rm -Rf package/lean/qBittorrent/patches
+sed -i 's/PKG_SOURCE_URL:=.*/PKG_SOURCE_URL:=https:\/\/github.com\/c0re100\/qBittorrent-Enhanced-Edition/g' package/lean/qBittorrent/Makefile
+sed -i 's/PKG_HASH.*/PKG_SOURCE_PROTO:=git\nPKG_SOURCE_VERSION:=latest/g' package/lean/qBittorrent/Makefile
+sed -i '/PKG_BUILD_DIR/d' package/lean/qBittorrent/Makefile
+sed -i 's/+python$/+python3/g' package/lean/luci-app-qbittorrent/Makefile
+rm -Rf package/feeds/packages/php7
+svn co https://github.com/openwrt/packages/branches/openwrt-19.07/lang/php7 package/feeds/packages/php7
+git clone https://github.com/MatteoRagni/AmuleWebUI-Reloaded files/usr/share/amule/webserver/AmuleWebUI-Reloaded
+git clone https://github.com/P3TERX/aria2.conf files/usr/share/aria2
+rm -Rf package/lean/antileech/src/*
+git clone https://github.com/persmule/amule-dlp.antiLeech package/lean/antileech/src
+
+cd package/feeds
+git clone https://github.com/rufengsuixing/luci-app-adguardhome
+git clone https://github.com/jerrykuku/luci-theme-argon
+git clone https://github.com/pymumu/luci-app-smartdns
+git clone https://github.com/lisaac/luci-app-diskman
+mkdir parted && cp luci-app-diskman/Parted.Makefile parted/Makefile
+git clone https://github.com/tty228/luci-app-serverchan
+git clone https://github.com/brvphoenix/luci-app-wrtbwmon
+git clone https://github.com/brvphoenix/wrtbwmon
+git clone https://github.com/destan19/OpenAppFilter
+svn co https://github.com/pymumu/smartdns/trunk/package/openwrt smartdns
+svn co https://github.com/jsda/packages2/trunk/ntlf9t/luci-app-advancedsetting
+git clone https://github.com/lisaac/luci-app-dockerman
+git clone https://github.com/garypang13/openwrt-adguardhome
+git clone https://github.com/garypang13/luci-app-php-kodexplorer
+git clone https://github.com/garypang13/luci-app-eqos
+cd -
+
+cp -Rf ../diy/* ./
+sed -i 's/root\/.aria2/usr\/share\/aria2/g' files/usr/share/aria2/aria2.conf
+sed -i 's/root\/Download/data\/download\/aria2/g' files/usr/share/aria2/*
+sed -i 's/+uhttpd //g' feeds/luci/collections/luci/Makefile
+sed -i '/_redirect2ssl/d' package/feeds/*/nginx/Makefile
+sed -i '/init_lan/d' package/feeds/*/nginx/files/nginx.init
+sed -i "s/sed '\/^$\/d' \"\$config_file_tmp\" >\"\$config_file\"/cd \/usr\/share\/aria2 \&\& .\/tracker.sh\ncat \/usr\/share\/aria2\/aria2.conf > \"\$config_file\"\n\
+echo '' >> \"\$config_file\"\nsed '\/^$\/d' \"\$config_file_tmp\" >> \"\$config_file\"/g" package/feeds/packages/aria2/files/aria2.init
+sed -i 's/runasuser "$config_dir"/runasuser "$config_dir"\nwget -P "$config_dir" -O "$config_dir\/nodes.dat" \
+http:\/\/upd.emule-security.org\/nodes.dat/g' package/*/luci-app-amule/root/etc/init.d/amule
+sed -i '$a /etc/smartdns' package/base-files/files/lib/upgrade/keep.d/base-files-essential
+sed -i '$a /www/kod/config' package/base-files/files/lib/upgrade/keep.d/base-files-essential
+sed -i '$a /etc/qBittorrent' package/base-files/files/lib/upgrade/keep.d/base-files-essential
+sed -i '$a /root/amule' package/base-files/files/lib/upgrade/keep.d/base-files-essential
+sed -i '$a /etc/amule' package/base-files/files/lib/upgrade/keep.d/base-files-essential
+sed -i '$a /etc/aria2' package/base-files/files/lib/upgrade/keep.d/base-files-essential
+find target/linux/x86 -name "config*" | xargs -i sed -i '$a CONFIG_64BIT=y\n# CONFIG_WLAN is not set\n# CONFIG_WIRELESS is not set\
+\nCONFIG_NETFILTER=y\nCONFIG_NETFILTER_XTABLES=y\nCONFIG_NETFILTER_XT_MATCH_STRING=y\nCONFIG_HWMON=y\nCONFIG_SENSORS_CORETEMP=y' {}
+sed -i '/continue$/d' package/*/luci-app-ssr-plus/root/usr/bin/ssr-switch
+sed -i 's/if test_proxy/sleep 3600\nif test_proxy/g' package/*/luci-app-ssr-plus/root/usr/bin/ssr-switch
+sed -i 's/ uci.cursor/ luci.model.uci.cursor/g' package/*/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua
+sed -i 's/service_start $PROG/service_start $PROG -R/g' package/feeds/packages/php7/files/php7-fpm.init
+sed -i 's/ +kmod-fs-exfat//g' package/*/automount/Makefile
+sed -i 's/net.netfilter.nf_conntrack_max=16384/net.netfilter.nf_conntrack_max=105535/g' package/kernel/linux/files/sysctl-nf-conntrack.conf
+wget -P package/network/config/firewall/patches/ https://github.com/coolsnowwolf/lede/raw/master/package/network/config/firewall/patches/fullconenat.patch
+sed -i "s/('Drop invalid packets'));/('Drop invalid packets'));\n o = s.option(form.Flag, 'fullcone', _('Enable FullCone NAT'));/g" \
+package/feeds/*/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
+sed -i "s/option forward		REJECT/option forward		REJECT\n	option fullcone	1/g" package/network/config/firewall/files/firewall.config
+sed -i "s/option bbr '0'/option bbr '1'/g" package/*/luci-app-flowoffload/root/etc/config/flowoffload
+sed -i 's/getElementById("cbid.amule.main/getElementById("widget.cbid.amule.main/g' package/lean/luci-app-amule/luasrc/view/amule/overview_status.htm
+getversion(){
+if !(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/$1/releases/latest) | grep -o -E "[0-9.]+")
+then
+  git ls-remote --tags git://github.com/$1 | cut -d/ -f3- | sort -t. -nk1,2 -k3 | awk '/^[^{]*$/{version=$1}END{print version}' | grep -o -E "[0-9.]+"
+fi
+}
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion v2ray/v2ray-core)/g" package/lean/v2ray/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion aria2/aria2)/g" package/feeds/*/aria2/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion Neilpang/acme.sh)/g" package/feeds/*/acme/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion netdata/netdata)/g" package/feeds/*/netdata/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion tsl0922/ttyd)/g" package/feeds/*/ttyd/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion docker/docker-ce)/g" package/feeds/*/docker-ce/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion cifsd-team/cifsd)/g" package/feeds/*/ksmbd/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=$(getversion cifsd-team/cifsd-tools)/g" package/feeds/*/ksmbd-tools/Makefile
+sed -i "s/PKG_VERSION:=.*/PKG_VERSION:=v$(getversion AdguardTeam/AdGuardHome)/g" package/feeds/openwrt-adguardhome/Makefile
+find package/feeds/*/aria2/ package/feeds/*/acme/ package/feeds/*/netdata/ package/feeds/*/ttyd/ package/feeds/*/docker-ce/ package/lean/v2ray/ \
+package/feeds/*/ksmbd/ package/feeds/*/ksmbd-tools/ -maxdepth 2 -name "Makefile" | xargs -i sed -i "s/PKG_HASH:=.*/PKG_HASH:=skip/g" {}
+sed -i 's/..\/..\/luci.mk/$(TOPDIR)\/feeds\/luci\/luci.mk/g' package/feeds/*/Makefile
+find package/feeds/*/ package/lean/ -maxdepth 3 ! -path "*shadowsocksr-libev*" -name "Makefile" ! -path "*rblibtorrent1*" -name "Makefile" \
+| xargs -i sed -i "s/PKG_SOURCE_VERSION:=[0-9a-z]\{15,\}/PKG_SOURCE_VERSION:=latest/g" {}
+find package/feeds/*/ package/lean/ -maxdepth 3 -name "Makefile" | xargs -i sed -i "s/SUBDIRS=/M=/g" {}
+sed -i 's/$(VERSION) &&/$(VERSION) ;/g' include/download.mk
+sed -i 's/PKG_BUILD_DIR:=/PKG_BUILD_DIR?=/g' feeds/luci/luci.mk
+find package/feeds/*/ package/lean/ -maxdepth 3 -path "*luci-app*" -name "Makefile" | xargs -i sed -i 's/$(INCLUDE_DIR)\/package.mk/$(TOPDIR)\/feeds\/luci\/luci.mk/g' {}
+find package/feeds/*/ package/lean/ -maxdepth 3 -d -name "zh-cn" | xargs -i rename -v 's/zh-cn/zh_Hans/' {}
+find package/feeds/*/ package/lean/ -maxdepth 3 -name "Makefile" | xargs -i sed -i "/bin\/upx/d" {}
+find package/feeds/*/ package/lean/ -maxdepth 3 -name "Makefile" | xargs -i sed -i "/po2lmo /d" {}
+find package/feeds/*/ package/lean/ -maxdepth 3 -name "Makefile" | xargs -i sed -i "/luci\/i18n/d" {}
+sed -i "/\.po/d" package/feeds/luci-app-diskman/Makefile
+find package/feeds/*/ package/lean/ -maxdepth 3 -name "Makefile" | xargs -i sed -i "s/+luci\( \|\$\)//g" {}
+find package/feeds/*/ package/lean/ -maxdepth 3 -name "Makefile" | xargs -i sed -i "s/+nginx\( \|\$\)/+nginx-ssl\1/g" {}

+ 20 - 0
diy/feeds/packages/net/aria2/patches/aria2-fast.patch

@@ -0,0 +1,20 @@
+--- /src/OptionHandlerFactory.cc	2018-05-15 20:33:25.000000000 +0800
++++ /src/OptionHandlerFactory.cc	2018-07-05 10:40:25.000000000 +0800
+@@ -440,7 +440,7 @@
+   {
+     OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER,
+                                               TEXT_MAX_CONNECTION_PER_SERVER,
+-                                              "1", 1, 16, 'x'));
++                                              "128", 1, -1, 'x'));
+     op->addTag(TAG_BASIC);
+     op->addTag(TAG_FTP);
+     op->addTag(TAG_HTTP);
+@@ -501,7 +501,7 @@
+   }
+   {
+     OptionHandler* op(new UnitNumberOptionHandler(
+-        PREF_MIN_SPLIT_SIZE, TEXT_MIN_SPLIT_SIZE, "20M", 1_m, 1_g, 'k'));
++        PREF_MIN_SPLIT_SIZE, TEXT_MIN_SPLIT_SIZE, "1M", 1_k, 1_g, 'k'));
+     op->addTag(TAG_BASIC);
+     op->addTag(TAG_FTP);
+     op->addTag(TAG_HTTP);

+ 99 - 0
diy/package/lean/default-settings/files/zzz-default-settings

@@ -0,0 +1,99 @@
+#!/bin/sh
+
+uci set luci.main.lang=zh_cn
+uci set luci.main.mediaurlbase=/luci-static/argon
+uci commit luci
+
+uci set system.@system[0].timezone=CST-8
+uci set system.@system[0].zonename=Asia/Shanghai
+uci commit system
+
+uci set fstab.@global[0].anon_mount=1
+uci commit fstab
+
+ln -sf /sbin/ip /usr/bin/ip
+
+sed -i 's/http/https/g' /etc/opkg/distfeeds.conf
+sed -i "s/# //g" /etc/opkg/distfeeds.conf
+
+sed -i '/option disabled/d' /etc/config/wireless
+sed -i '/set wireless.radio${devidx}.disabled/d' /lib/wifi/mac80211.sh
+wifi up
+
+sed -i '/log-facility/d' /etc/dnsmasq.conf
+echo "log-facility=/dev/null" >> /etc/dnsmasq.conf
+
+rm -rf /tmp/luci-*
+
+if [ ! -f /etc/config/placeholder ]; then
+  sed -i 's/root:.*/root:$1$tTPCBw1t$ldzfp37h5lSpO9VXk4uUE\/:18336:0:99999:7:::/g' /etc/shadow
+  uci set network.lan.ipaddr="10.0.0.1"
+  uci set network.lan.ifname="eth1"
+  uci set network.wan.ifname="eth0"
+  uci set network.wan.proto=pppoe
+  uci commit network
+  
+  uci set shadowsocksr.@global[0].pdnsd_enable='0'
+  uci del shadowsocksr.@global[0].tunnel_forward
+  
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='1.1.1.1'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='208.67.222.222'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='8.8.8.8'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='8.8.4.4'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='9.9.9.9'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='218.102.23.228'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='210.0.255.250'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='168.95.1.1'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='202.86.191.50'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='77.88.8.8'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='101.101.101.101'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='203.198.7.66'
+  uci add_list shadowsocksr.@access_control[0].wan_fw_ips='202.56.128.30'
+  uci commit shadowsocksr
+  
+  uci set AdGuardHome.AdGuardHome.redirect='dnsmasq-upstream'
+  uci set AdGuardHome.AdGuardHome.enabled='1'
+  uci commit AdGuardHome
+  
+  uci del dhcp.@dnsmasq[0].resolvfile
+  uci set dhcp.@dnsmasq[0].noresolv='1'
+  uci commit dhcp
+  
+  uci -q set aria2.main.split="128"
+  uci -q set aria2.main.min_split_size="100K"
+  uci -q set aria2.main.max_connection_per_server="128"
+  uci -q add_list aria2.main.extra_settings="dht-file-path=/usr/share/aria2/dht.dat"
+  uci commit aria2
+fi
+
+if [ -f /etc/config/jia ]; then
+  sed -i '/=\/tmp\/dnsmasq.ssr/d' /etc/init.d/shadowsocksr
+fi
+
+/etc/init.d/amule disable
+find /www -type f -exec chmod 644 {} \;
+find /www -type d -exec chmod 755 {} \;
+cp -R /www/cgi-bin/* /www/
+chmod +x /www/luci
+chmod +x /usr/share/aria2/*.sh
+
+
+ln -sf /usr/bin/python3 /usr/bin/python
+ln -sf /usr/bin/python /usr/bin/py
+ln -sf /usr/lib/netdata/conf.d /etc/netdata/conf.d
+ln /usr/lib/netdata/conf.d/charts.d.conf /etc/netdata/charts.d.conf
+ln /usr/lib/netdata/conf.d/python.d.conf /etc/netdata/python.d.conf
+ln -f /etc/netdata/charts.d.conf /usr/lib/netdata/conf.d/charts.d.conf
+ln -f /etc/netdata/python.d.conf /usr/lib/netdata/conf.d/python.d.conf
+
+sed -i '/ipv6.conf/d' /etc/sysctl.conf
+echo net.ipv6.conf.all.disable_ipv6=1 >> /etc/sysctl.conf
+echo net.ipv6.conf.default.disable_ipv6=1 >> /etc/sysctl.conf
+echo net.ipv6.conf.lo.disable_ipv6 = 1 >> /etc/sysctl.conf
+
+date=`date +%m.%d.%Y`
+sed -i "s/DISTRIB_REVISION.*/DISTRIB_REVISION=\"Compiled by GaryPnag  $date\"/g" /etc/openwrt_release
+
+touch /etc/config/placeholder
+
+exit 0

+ 13 - 0
diy/package/lean/luci-app-netdata/luasrc/view/netdata.htm

@@ -0,0 +1,13 @@
+<%+header%>
+        <style>
+		.container{
+		max-width:100% !important;
+		}
+		</style>
+<div class="cbi-map">
+        <iframe id="netdata" style="width: 100%; min-height: 1200px; border: none; border-radius: 3px;"></iframe>
+</div>
+<script type="text/javascript">
+        document.getElementById("netdata").src = "http://" + window.location.hostname + ":19999";
+</script>
+<%+footer%>

+ 170 - 0
files/etc/AdGuardHome.yaml

@@ -0,0 +1,170 @@
+bind_host: 0.0.0.0
+bind_port: 100
+users:
+- name: root
+  password: $2y$10$gyxCCCIhoPNGzqPVyQnwzeKeITo.pWYcMWGtUxO2ICiOzPeUroIbm
+language: zh-cn
+rlimit_nofile: 0
+web_session_ttl: 720
+dns:
+  bind_host: 0.0.0.0
+  port: 5335
+  statistics_interval: 90
+  querylog_enabled: true
+  querylog_interval: 7
+  querylog_memsize: 0
+  protection_enabled: true
+  blocking_mode: default
+  blocking_ipv4: ""
+  blocking_ipv6: ""
+  blocked_response_ttl: 300
+  ratelimit: 0
+  ratelimit_whitelist: []
+  refuse_any: true
+  bootstrap_dns:
+  - 8.8.8.8:53
+  - 59.51.78.210:53
+  - 119.29.29.29:53
+  - 127.0.0.1:5555
+  all_servers: true
+  edns_client_subnet: true
+  aaaa_disabled: true
+  allowed_clients: []
+  disallowed_clients: []
+  blocked_hosts: []
+  parental_block_host: family-block.dns.adguard.com
+  safebrowsing_block_host: standard-block.dns.adguard.com
+  cache_size: 4194304
+  upstream_dns:
+  - 127.0.0.1:5335
+  - tcp://208.67.222.222:5353
+  - tcp://59.51.78.210
+  - tls://1.1.1.1
+  - tls://dns.google
+  - tls://dns.quad9.net
+  - tcp://168.95.1.1
+  - tcp://202.141.162.123:5353
+  - tls://dns.rubyfish.cn
+  - https://i.233py.com/dns-query
+  - https://dns.233py.com/dns-query
+  - tcp://202.86.191.50
+  - tcp://101.6.6.6:5353
+  - tcp://210.0.255.250
+  - tcp://203.198.7.66
+  - tcp://77.88.8.8
+  - tls://101.101.101.101
+  - tcp://203.198.7.66
+  - tcp://202.56.128.30
+  filtering_enabled: true
+  filters_update_interval: 12
+  parental_enabled: false
+  safesearch_enabled: false
+  safebrowsing_enabled: false
+  safebrowsing_cache_size: 1048576
+  safesearch_cache_size: 1048576
+  parental_cache_size: 1048576
+  cache_time: 30
+  rewrites: []
+  blocked_services: []
+tls:
+  enabled: false
+  server_name: ""
+  force_https: false
+  port_https: 443
+  port_dns_over_tls: 853
+  allow_unencrypted_doh: false
+  strict_sni_check: false
+  certificate_chain: ""
+  private_key: ""
+  certificate_path: ""
+  private_key_path: ""
+filters:
+- enabled: true
+  url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
+  name: AdGuard Simplified Domain Names filter
+  id: 1
+- enabled: false
+  url: https://adaway.org/hosts.txt
+  name: AdAway
+  id: 2
+- enabled: false
+  url: https://hosts-file.net/ad_servers.txt
+  name: hpHosts - Ad and Tracking servers only
+  id: 3
+- enabled: true
+  url: https://www.malwaredomainlist.com/hostslist/hosts.txt
+  name: MalwareDomainList.com Hosts List
+  id: 4
+- enabled: false
+  url: https://github.com/vokins/yhosts/raw/master/hosts.txt
+  name: yhosts
+  id: 1572918261
+- enabled: false
+  url: https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts
+  name: ad-wars
+  id: 1572918262
+- enabled: false
+  url: https://gitlab.com/CHEF-KOCH/cks-filterlist/raw/master/hosts/Ads-tracker.txt
+  name: Ad- & Tracker
+  id: 1573389392
+- enabled: false
+  url: https://raw.githubusercontent.com/Goooler/1024_hosts/master/hosts
+  name: "1024"
+  id: 1573404420
+- enabled: false
+  url: https://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/hosts
+  name: googlehosts
+  id: 1573404421
+- enabled: true
+  url: http://uujian.cn/browser/txt/metalist.txt
+  name: 荟萃
+  id: 1575015275
+- enabled: true
+  url: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts
+  name: StevenBlack fakenews gambling
+  id: 1577002821
+- enabled: true
+  url: https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-easylist.txt
+  name: anti-AD
+  id: 1580820695
+- enabled: true
+  url: https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
+  name: GoodbyeAds
+  id: 1584350199
+- enabled: true
+  url: https://gitee.com/lhzgl6587/hosts/raw/master/myruler
+  name: 国内手机
+  id: 1584462286
+whitelist_filters: []
+user_rules:
+- '@@||alimama.com^'
+- '@@||weidian.com'
+- '@@s.click.taobao.com'
+- '@@||www.iteye.com^$important'
+- '@@||www.secretchina.com^$important'
+- '@@||www.soundofhope.org^$important'
+- '@@||tv.sohu.com^$important'
+- '@@||ws.mmstat.com^$important'
+- '@@||promotion.aliyun.com^$important'
+- '@@||download.windowsupdate.com'
+- '@@||fonts.gstatic.com^$important'
+- '@@||tce.alicdn.com^$important'
+- '@@||uland.taobao.com^$important'
+- '@@||acs.m.taobao.com^$important'
+- '@@||igetget.com^$important'
+- '@@||acs.youku.com^$important'
+- '@@||static.tongdun.net^$important'
+- ""
+dhcp:
+  enabled: false
+  interface_name: br-lan
+  gateway_ip: 10.0.0.2
+  subnet_mask: 255.255.255.0
+  range_start: 10.0.0.100
+  range_end: 10.0.0.255
+  lease_duration: 86400
+  icmp_timeout_msec: 1000
+clients: []
+log_file: ""
+verbose: false
+schema_version: 6

+ 5 - 0
files/etc/config/black.list

@@ -0,0 +1,5 @@
+dns.google
+dns.quad9.net
+dns.cloudflare.com
+services.googleapis.cn
+dns.233py.com

+ 160 - 0
files/etc/config/smartdns

@@ -0,0 +1,160 @@
+
+config smartdns
+	option server_name 'smartdns'
+	option tcp_server '1'
+	option ipv6_server '0'
+	option port '5555'
+	option redirect 'none'
+	option dualstack_ip_selection '0'
+	option prefetch_domain '1'
+	option coredump '0'
+	option cache_size '5048'
+	option rr_ttl_min '600'
+	option rr_ttl_max '86400'
+	option enabled '1'
+
+config server
+	option name '腾讯'
+	option type 'udp'
+	option enabled '1'
+	option ip '119.29.29.29'
+	option blacklist_ip '1'
+
+config server
+	option name '阿里'
+	option type 'udp'
+	option enabled '1'
+	option ip '223.5.5.5'
+	option blacklist_ip '1'
+
+config server
+	option name '114'
+	option type 'tcp'
+	option enabled '1'
+	option ip '114.114.114.114'
+	option blacklist_ip '1'
+
+config server
+	option name 'Cloudflare'
+	option ip '1.1.1.1'
+	option type 'tls'
+	option enabled '1'
+
+config server
+	option name 'opendns'
+	option ip '208.67.222.222'
+	option port '5353'
+	option type 'tcp'
+	option enabled '1'
+
+config server
+	option name 'google'
+	option ip '8.8.8.8'
+	option type 'tls'
+	option enabled '1'
+
+config server
+	option name 'IBM'
+	option ip '9.9.9.9'
+	option type 'tls'
+	option enabled '1'
+
+config server
+	option type 'tcp'
+	option enabled '1'
+	option ip '210.0.255.250'
+	option blacklist_ip '0'
+	option name '香港环球全域电讯'
+
+config server
+	option type 'udp'
+	option name '广州电信'
+	option ip '202.96.128.86'
+	option blacklist_ip '1'
+	option enabled '0'
+
+config server
+	option name '台湾'
+	option ip '168.95.1.1'
+	option type 'tcp'
+	option enabled '1'
+
+config server
+	option type 'tcp'
+	option ip '218.102.23.228'
+	option blacklist_ip '0'
+	option name '電訊盈科'
+	option enabled '0'
+
+config server
+	option name '澳门'
+	option ip '202.86.191.50'
+	option type 'tcp'
+	option enabled '1'
+
+config server
+	option name '红鱼'
+	option ip 'dns.rubyfish.cn'
+	option type 'tls'
+	option enabled '1'
+
+config server
+	option enabled '1'
+	option name 'geekdns 国内'
+	option ip 'https://i.233py.com/dns-query'
+	option type 'https'
+	option blacklist_ip '1'
+
+config server
+	option enabled '1'
+	option name '中科大'
+	option ip '202.141.162.123'
+	option port '5353'
+	option type 'tcp'
+
+config server
+	option enabled '1'
+	option name '清华'
+	option ip '101.6.6.6'
+	option port '5353'
+	option type 'tcp'
+
+config server
+	option enabled '1'
+	option type 'udp'
+	option name '百度'
+	option ip '180.76.76.76'
+	option blacklist_ip '1'
+
+config server
+	option enabled '1'
+	option name 'Yandex'
+	option ip '77.88.8.8'
+	option type 'tcp'
+
+config server
+	option enabled '1'
+	option name '台湾 Quad101'
+	option ip '101.101.101.101'
+	option type 'tls'
+
+config server
+	option enabled '1'
+	option name 'HK网上行'
+	option ip '203.198.7.66'
+	option type 'tcp'
+	option blacklist_ip '1'
+
+config server
+	option enabled '1'
+	option name '新加坡DNS'
+	option ip '202.56.128.30'
+	option type 'tcp'
+
+config server
+	option enabled '1'
+	option name 'geekdns 国外'
+	option ip 'https://dns.233py.com/dns-query'
+	option type 'https'
+	option blacklist_ip '0'
+

+ 42 - 0
files/etc/nginx/conf.d/_lan.conf

@@ -0,0 +1,42 @@
+# default_server for the LAN addresses getting the IPs by:
+# ifstatus lan | jsonfilter -e '@["ipv4-address","ipv6-address"].*.address'
+server {
+	listen 80;
+	server_name _lan;
+	index luci index.html index.htm index.php default.html default.htm default.php;
+	root  /www;
+	include conf.d/*.locations;
+	    location ~ [^/]\.php(/|$)
+        {
+            try_files $uri =404;
+            fastcgi_pass  unix:/var/run/php7-fpm.sock;
+            fastcgi_index index.php;
+	    fastcgi_connect_timeout 300;
+	    fastcgi_send_timeout 300;
+	    fastcgi_read_timeout 300;
+	    fastcgi_buffer_size 64k;
+	    fastcgi_buffers 4 64k;
+	    fastcgi_busy_buffers_size 128k;
+	    fastcgi_temp_file_write_size 256k;
+            fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
+            fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/:/www/:/";
+	    include fastcgi_params;
+        }
+	
+		location = /(robots.txt|favicon.ico) {
+			log_not_found off;
+		}
+
+		location ~* \.(?:css(\.map)?|js(\.map)?|jpe?g|png|gif|ico|cur|heic|webp|tiff?|mp3|m4a|aac|ogg|midi?|wav|mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)$ {
+			expires 30d;
+		}
+
+		location ~* \.(?:svgz?|ttf|ttc|otf|eot|woff2?)$ {
+			add_header Access-Control-Allow-Origin "*";
+			expires 30d;
+		}
+
+		location ~ /\.(?!well-known) {
+			deny all;
+		}
+}

+ 22 - 0
files/etc/nginx/conf.d/luci.locations

@@ -0,0 +1,22 @@
+location /luci {
+		index  index.html;
+		include uwsgi_params;
+		uwsgi_param SERVER_ADDR $server_addr;
+		uwsgi_modifier1 9;
+		uwsgi_pass unix:////var/run/luci-webui.socket;
+}
+location ~ /cgi-(backup|download|upload|exec) {
+		include uwsgi_params;
+		uwsgi_param SERVER_ADDR $server_addr;
+		uwsgi_modifier1 9;
+		uwsgi_pass unix:////var/run/luci-cgi_io.socket;
+}
+
+location /luci-static {
+}
+
+location /ubus {
+        ubus_interpreter;
+        ubus_socket_path /var/run/ubus.sock;
+        ubus_parallel_req 2;
+}

+ 44 - 0
files/etc/nginx/conf.d/ssl.conf.sample

@@ -0,0 +1,44 @@
+server
+    {
+        listen 443 ssl http2;
+        #listen [::]:443 ssl;
+        server_name xxx.com;
+        index luci index.html index.htm index.php default.html default.htm default.php;
+        root  /www;
+
+	ssl_certificate '/etc/nginx/conf.d/_lan.crt';
+	ssl_certificate_key '/etc/nginx/conf.d/_lan.key';
+	ssl_session_timeout '64m';
+	ssl_protocols TLSv1.2 TLSv1.3;
+        ssl_prefer_server_ciphers on;
+        ssl_ciphers "TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5";
+	ssl_session_cache 'shared:SSL:10m';
+		
+        #include rewrite/other.conf;
+        #error_page   404   /404.html;
+
+		location = /(robots.txt|favicon.ico) {
+			log_not_found off;
+		}
+
+		location ~* \.(?:css(\.map)?|js(\.map)?|jpe?g|png|gif|ico|cur|heic|webp|tiff?|mp3|m4a|aac|ogg|midi?|wav|mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)$ {
+			expires 30d;
+		}
+
+		location ~* \.(?:svgz?|ttf|ttc|otf|eot|woff2?)$ {
+			add_header Access-Control-Allow-Origin "*";
+			expires 7d;
+		}
+
+		location ~ /\.(?!well-known) {
+			deny all;
+		}
+		
+		include conf.d/*.locations;
+    }
+	
+	server {
+        listen 80;
+		server_name xxx.com www.xxx.com;
+		return 301 https://$host$request_uri;	
+		}

+ 42 - 0
files/etc/nginx/conf.d/webdav.conf.sample

@@ -0,0 +1,42 @@
+server
+    {
+        listen 8877;
+        #listen 443 ssl http2;
+        server_name _lan;
+        index index.html index.htm index.php default.html default.htm default.php;
+        root  /data;
+
+        # ssl_certificate /etc/acme/supes.top/fullchain.cer;
+        # ssl_certificate_key /etc/acme/supes.top/supes.top.key;
+	    # ssl_session_timeout '64m';
+	    # ssl_protocols TLSv1.2 TLSv1.3;
+        # ssl_prefer_server_ciphers on;
+        # ssl_ciphers "TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5";
+	    # ssl_session_cache 'shared:SSL:10m';
+		
+		client_max_body_size 0;
+
+	        location / {
+
+            set $dest $http_destination;
+            if (-d $request_filename) {
+                rewrite ^(.*[^/])$ $1/;
+                set $dest $dest/;
+            }
+            if ($request_method ~ (MOVE|COPY)) {
+                more_set_input_headers 'Destination: $dest';
+            }
+
+            if ($request_method ~ MKCOL) {
+                rewrite ^(.*[^/])$ $1/ break;
+            }
+
+            dav_methods PUT DELETE MKCOL COPY MOVE;
+            dav_ext_methods PROPFIND OPTIONS;
+            dav_access user:rw group:rw all:r;
+            create_full_put_path  on;
+
+            auth_basic "Restricted access";
+            auth_basic_user_file /etc/nginx/htpasswd.conf;
+        }
+}

+ 1 - 0
files/etc/nginx/htpasswd.conf

@@ -0,0 +1 @@
+root:fU70Nx.37Ofww

+ 38 - 0
files/etc/nginx/nginx.conf

@@ -0,0 +1,38 @@
+# Please consider creating files in /etc/nginx/conf.d/ instead of editing this.
+# For details see https://openwrt.org/docs/guide-user/services/webserver/nginx
+
+user root;
+error_log  /var/nginx_error.log  crit; #notice info
+events {}
+
+http {
+	access_log off;
+	log_format openwrt
+		'$request_method $scheme://$host$request_uri => $status'
+		' (${body_bytes_sent}B in ${request_time}s) <- $http_referer';
+
+	include mime.types;
+	default_type application/octet-stream;
+	sendfile on;
+        sendfile_max_chunk 512k;
+        tcp_nopush on;
+        
+        server_names_hash_bucket_size 128;
+        client_header_buffer_size 32k;
+        large_client_header_buffers 4 32k;
+        client_max_body_size 200m;
+        keepalive_timeout 60;
+        tcp_nodelay on;
+
+        gzip on;
+        gzip_min_length  1k;
+        gzip_buffers     4 16k;
+        gzip_http_version 1.1;
+        gzip_comp_level 2;
+        gzip_types     text/plain application/javascript application/x-javascript text/javascript text/css application/xml application/xml+rss;
+        gzip_vary on;
+        gzip_proxied   expired no-cache no-store private auth;
+        gzip_disable   "MSIE [1-6]\.";
+
+	include conf.d/*.conf;
+}

+ 228 - 0
files/etc/smartdns/blacklist-ip.conf

@@ -0,0 +1,228 @@
+# Add IP blacklist which you want to filtering from some DNS server here.
+# The example below filtering ip from the result of DNS server which is configured with -blacklist-ip.
+# blacklist-ip [ip/subnet]
+# blacklist-ip 254.0.0.1/16
+blacklist-ip 4.36.66.178
+blacklist-ip 8.7.198.45
+blacklist-ip 31.13.64.1
+blacklist-ip 31.13.64.33
+blacklist-ip 31.13.64.49
+blacklist-ip 31.13.65.1
+blacklist-ip 31.13.65.17
+blacklist-ip 31.13.65.18
+blacklist-ip 31.13.66.1
+blacklist-ip 31.13.66.23
+blacklist-ip 31.13.66.6
+blacklist-ip 31.13.68.1
+blacklist-ip 31.13.68.22
+blacklist-ip 31.13.69.129
+blacklist-ip 31.13.69.160
+blacklist-ip 31.13.69.33
+blacklist-ip 31.13.69.86
+blacklist-ip 31.13.70.1
+blacklist-ip 31.13.70.20
+blacklist-ip 31.13.71.23
+blacklist-ip 31.13.71.7
+blacklist-ip 31.13.72.1
+blacklist-ip 31.13.72.17
+blacklist-ip 31.13.72.23
+blacklist-ip 31.13.72.34
+blacklist-ip 31.13.72.54
+blacklist-ip 31.13.73.1
+blacklist-ip 31.13.73.17
+blacklist-ip 31.13.73.23
+blacklist-ip 31.13.74.1
+blacklist-ip 31.13.74.17
+blacklist-ip 31.13.75.17
+blacklist-ip 31.13.75.18
+blacklist-ip 31.13.76.16
+blacklist-ip 31.13.76.8
+blacklist-ip 31.13.77.33
+blacklist-ip 31.13.77.55
+blacklist-ip 31.13.78.65
+blacklist-ip 31.13.78.66
+blacklist-ip 31.13.79.1
+blacklist-ip 31.13.79.17
+blacklist-ip 31.13.80.1
+blacklist-ip 31.13.80.17
+blacklist-ip 31.13.81.1
+blacklist-ip 31.13.81.17
+blacklist-ip 31.13.82.1
+blacklist-ip 31.13.82.17
+blacklist-ip 31.13.82.23
+blacklist-ip 31.13.83.1
+blacklist-ip 31.13.83.16
+blacklist-ip 31.13.83.8
+blacklist-ip 31.13.84.1
+blacklist-ip 31.13.84.16
+blacklist-ip 31.13.84.8
+blacklist-ip 31.13.85.1
+blacklist-ip 31.13.85.16
+blacklist-ip 31.13.85.8
+blacklist-ip 31.13.86.1
+blacklist-ip 31.13.86.16
+blacklist-ip 31.13.86.8
+blacklist-ip 31.13.97.245
+blacklist-ip 31.13.97.248
+blacklist-ip 37.61.54.158
+blacklist-ip 46.82.174.68
+blacklist-ip 59.24.3.173
+blacklist-ip 64.13.192.74
+blacklist-ip 64.13.192.76
+blacklist-ip 64.13.232.149
+blacklist-ip 64.33.88.161
+blacklist-ip 64.33.99.47
+blacklist-ip 64.66.163.251
+blacklist-ip 65.104.202.252
+blacklist-ip 65.160.219.113
+blacklist-ip 66.45.252.237
+blacklist-ip 66.220.146.94
+blacklist-ip 66.220.147.11
+blacklist-ip 66.220.147.44
+blacklist-ip 66.220.147.47
+blacklist-ip 66.220.149.18
+blacklist-ip 66.220.149.32
+blacklist-ip 66.220.149.99
+blacklist-ip 66.220.151.20
+blacklist-ip 66.220.152.17
+blacklist-ip 66.220.152.28
+blacklist-ip 66.220.155.12
+blacklist-ip 66.220.155.14
+blacklist-ip 66.220.158.32
+blacklist-ip 67.15.100.252
+blacklist-ip 67.15.129.210
+blacklist-ip 67.228.37.26
+blacklist-ip 67.228.74.123
+blacklist-ip 67.228.102.32
+blacklist-ip 67.228.126.62
+blacklist-ip 67.228.221.221
+blacklist-ip 67.228.235.91
+blacklist-ip 67.228.235.93
+blacklist-ip 69.63.176.143
+blacklist-ip 69.63.176.15
+blacklist-ip 69.63.176.59
+blacklist-ip 69.63.178.13
+blacklist-ip 69.63.180.173
+blacklist-ip 69.63.181.11
+blacklist-ip 69.63.181.12
+blacklist-ip 69.63.184.14
+blacklist-ip 69.63.184.142
+blacklist-ip 69.63.184.30
+blacklist-ip 69.63.186.30
+blacklist-ip 69.63.186.31
+blacklist-ip 69.63.187.12
+blacklist-ip 69.63.189.16
+blacklist-ip 69.63.190.26
+blacklist-ip 69.171.224.12
+blacklist-ip 69.171.224.40
+blacklist-ip 69.171.224.85
+blacklist-ip 69.171.225.13
+blacklist-ip 69.171.227.37
+blacklist-ip 69.171.228.20
+blacklist-ip 69.171.228.74
+blacklist-ip 69.171.229.11
+blacklist-ip 69.171.229.28
+blacklist-ip 69.171.229.73
+blacklist-ip 69.171.230.18
+blacklist-ip 69.171.232.21
+blacklist-ip 69.171.233.24
+blacklist-ip 69.171.233.33
+blacklist-ip 69.171.233.37
+blacklist-ip 69.171.234.18
+blacklist-ip 69.171.234.29
+blacklist-ip 69.171.234.48
+blacklist-ip 69.171.235.101
+blacklist-ip 69.171.235.16
+blacklist-ip 69.171.235.64
+blacklist-ip 69.171.237.16
+blacklist-ip 69.171.237.26
+blacklist-ip 69.171.239.11
+blacklist-ip 69.171.240.27
+blacklist-ip 69.171.242.11
+blacklist-ip 69.171.242.30
+blacklist-ip 69.171.244.11
+blacklist-ip 69.171.244.12
+blacklist-ip 69.171.244.15
+blacklist-ip 69.171.245.49
+blacklist-ip 69.171.245.53
+blacklist-ip 69.171.245.84
+blacklist-ip 69.171.246.9
+blacklist-ip 69.171.247.20
+blacklist-ip 69.171.247.32
+blacklist-ip 69.171.247.71
+blacklist-ip 69.171.248.112
+blacklist-ip 69.171.248.128
+blacklist-ip 69.171.248.65
+blacklist-ip 72.14.205.104
+blacklist-ip 72.14.205.99
+blacklist-ip 74.86.118.24
+blacklist-ip 74.86.12.172
+blacklist-ip 74.86.12.173
+blacklist-ip 74.86.142.55
+blacklist-ip 74.86.151.162
+blacklist-ip 74.86.151.167
+blacklist-ip 74.86.17.48
+blacklist-ip 74.86.226.234
+blacklist-ip 74.86.228.110
+blacklist-ip 74.86.235.236
+blacklist-ip 74.86.3.208
+blacklist-ip 75.126.115.192
+blacklist-ip 75.126.124.162
+blacklist-ip 75.126.135.131
+blacklist-ip 75.126.150.210
+blacklist-ip 75.126.164.178
+blacklist-ip 75.126.2.43
+blacklist-ip 75.126.215.88
+blacklist-ip 75.126.33.156
+blacklist-ip 78.16.49.15
+blacklist-ip 88.191.249.182
+blacklist-ip 88.191.249.183
+blacklist-ip 88.191.253.157
+blacklist-ip 93.46.8.89
+blacklist-ip 128.121.126.139
+blacklist-ip 159.106.121.75
+blacklist-ip 169.132.13.103
+blacklist-ip 173.252.73.48
+blacklist-ip 173.252.100.21
+blacklist-ip 173.252.100.32
+blacklist-ip 173.252.102.16
+blacklist-ip 173.252.102.241
+blacklist-ip 173.252.103.64
+blacklist-ip 173.252.110.21
+blacklist-ip 174.36.196.242
+blacklist-ip 174.36.228.136
+blacklist-ip 174.37.54.20
+blacklist-ip 174.37.154.236
+blacklist-ip 174.37.175.229
+blacklist-ip 192.67.198.6
+blacklist-ip 199.16.156.40
+blacklist-ip 199.16.156.7
+blacklist-ip 199.16.158.190
+blacklist-ip 199.59.148.14
+blacklist-ip 199.59.148.140
+blacklist-ip 199.59.148.209
+blacklist-ip 199.59.148.97
+blacklist-ip 199.59.149.136
+blacklist-ip 199.59.149.244
+blacklist-ip 199.59.150.11
+blacklist-ip 199.59.150.49
+blacklist-ip 202.106.1.2
+blacklist-ip 202.181.7.85
+blacklist-ip 203.98.7.65
+blacklist-ip 203.161.230.171
+blacklist-ip 205.186.152.122
+blacklist-ip 207.12.88.98
+blacklist-ip 208.43.170.231
+blacklist-ip 208.43.237.140
+blacklist-ip 208.56.31.43
+blacklist-ip 208.101.21.43
+blacklist-ip 208.101.48.171
+blacklist-ip 208.101.60.87
+blacklist-ip 209.36.73.33
+blacklist-ip 209.145.54.50
+blacklist-ip 209.220.30.174
+blacklist-ip 211.94.66.147
+blacklist-ip 213.169.251.35
+blacklist-ip 216.221.188.182
+blacklist-ip 216.234.179.13
+blacklist-ip 243.185.187.39

+ 148 - 0
files/etc/smartdns/custom.conf

@@ -0,0 +1,148 @@
+# Add custom settings here.
+
+# set log level
+# log-level [level], level=fatal, error, warn, notice, info, debug
+# log-level error
+
+# log-size k,m,g
+# log-size 128k
+
+# log-file /var/log/smartdns.log
+# log-num 2
+
+# List of hosts that supply bogus NX domain results 
+# bogus-nxdomain [ip/subnet]
+force-AAAA-SOA yes
+
+bogus-nxdomain 123.125.81.12
+bogus-nxdomain 101.226.10.8
+bogus-nxdomain 198.105.254.11
+bogus-nxdomain 104.239.213.7
+bogus-nxdomain 61.191.206.4
+bogus-nxdomain 218.30.64.194
+bogus-nxdomain 61.139.8.101
+bogus-nxdomain 61.139.8.102
+bogus-nxdomain 61.139.8.103
+bogus-nxdomain 61.139.8.104
+bogus-nxdomain 42.123.125.237
+bogus-nxdomain 202.100.68.117
+bogus-nxdomain 113.12.83.4
+bogus-nxdomain 113.12.83.5
+bogus-nxdomain 202.100.220.54
+bogus-nxdomain 60.191.124.236
+bogus-nxdomain 60.191.124.252
+bogus-nxdomain 222.221.5.204
+bogus-nxdomain 124.232.132.94
+bogus-nxdomain 202.102.110.204
+bogus-nxdomain 61.131.208.210
+bogus-nxdomain 61.131.208.211
+bogus-nxdomain 202.102.110.203
+bogus-nxdomain 202.102.110.205
+bogus-nxdomain 219.146.13.36
+bogus-nxdomain 180.168.41.175
+bogus-nxdomain 180.153.103.224
+bogus-nxdomain 111.175.221.58
+bogus-nxdomain 61.183.1.186
+bogus-nxdomain 125.76.239.244
+bogus-nxdomain 125.76.239.245
+bogus-nxdomain 222.221.5.252
+bogus-nxdomain 222.221.5.253
+bogus-nxdomain 220.165.8.172
+bogus-nxdomain 220.165.8.174
+bogus-nxdomain 112.132.230.179
+bogus-nxdomain 202.106.199.34
+bogus-nxdomain 202.106.199.35
+bogus-nxdomain 202.106.199.36
+bogus-nxdomain 202.106.199.37
+bogus-nxdomain 202.106.199.38
+bogus-nxdomain 221.192.153.41
+bogus-nxdomain 221.192.153.42
+bogus-nxdomain 221.192.153.43
+bogus-nxdomain 221.192.153.44
+bogus-nxdomain 221.192.153.45
+bogus-nxdomain 221.192.153.46
+bogus-nxdomain 221.192.153.49
+bogus-nxdomain 125.211.213.130
+bogus-nxdomain 125.211.213.131
+bogus-nxdomain 125.211.213.132
+bogus-nxdomain 125.211.213.133
+bogus-nxdomain 125.211.213.134
+bogus-nxdomain 218.28.144.36
+bogus-nxdomain 218.28.144.37
+bogus-nxdomain 218.28.144.38
+bogus-nxdomain 218.28.144.39
+bogus-nxdomain 218.28.144.40
+bogus-nxdomain 218.28.144.41
+bogus-nxdomain 218.28.144.42
+bogus-nxdomain 202.98.24.121
+bogus-nxdomain 202.98.24.122
+bogus-nxdomain 202.98.24.123
+bogus-nxdomain 202.98.24.124
+bogus-nxdomain 202.98.24.125
+bogus-nxdomain 60.19.29.21
+bogus-nxdomain 60.19.29.22
+bogus-nxdomain 60.19.29.23
+bogus-nxdomain 60.19.29.24
+bogus-nxdomain 60.19.29.25
+bogus-nxdomain 60.19.29.26
+bogus-nxdomain 60.19.29.27
+bogus-nxdomain 220.250.64.18
+bogus-nxdomain 220.250.64.19
+bogus-nxdomain 220.250.64.20
+bogus-nxdomain 220.250.64.21
+bogus-nxdomain 220.250.64.22
+bogus-nxdomain 220.250.64.23
+bogus-nxdomain 220.250.64.24
+bogus-nxdomain 220.250.64.25
+bogus-nxdomain 220.250.64.26
+bogus-nxdomain 220.250.64.27
+bogus-nxdomain 220.250.64.28
+bogus-nxdomain 220.250.64.29
+bogus-nxdomain 220.250.64.30
+bogus-nxdomain 220.250.64.225
+bogus-nxdomain 220.250.64.226
+bogus-nxdomain 220.250.64.227
+bogus-nxdomain 220.250.64.228
+bogus-nxdomain 202.99.254.231
+bogus-nxdomain 202.99.254.232
+bogus-nxdomain 202.99.254.230
+bogus-nxdomain 123.129.254.11
+bogus-nxdomain 123.129.254.12
+bogus-nxdomain 123.129.254.13
+bogus-nxdomain 123.129.254.14
+bogus-nxdomain 123.129.254.15
+bogus-nxdomain 123.129.254.16
+bogus-nxdomain 123.129.254.17
+bogus-nxdomain 123.129.254.18
+bogus-nxdomain 123.129.254.19
+bogus-nxdomain 221.204.244.36
+bogus-nxdomain 221.204.244.37
+bogus-nxdomain 221.204.244.38
+bogus-nxdomain 221.204.244.39
+bogus-nxdomain 221.204.244.40
+bogus-nxdomain 221.204.244.41
+bogus-nxdomain 218.68.250.117
+bogus-nxdomain 218.68.250.118
+bogus-nxdomain 218.68.250.119
+bogus-nxdomain 218.68.250.120
+bogus-nxdomain 218.68.250.121
+bogus-nxdomain 120.209.138.64
+bogus-nxdomain 211.139.136.73
+bogus-nxdomain 221.179.46.190
+bogus-nxdomain 221.179.46.194
+bogus-nxdomain 183.207.232.253
+bogus-nxdomain 223.82.248.117
+bogus-nxdomain 211.138.74.132
+bogus-nxdomain 211.137.130.101
+bogus-nxdomain 211.136.113.1
+bogus-nxdomain 211.138.102.198
+bogus-nxdomain 120.192.83.163
+bogus-nxdomain 183.221.242.172
+bogus-nxdomain 183.221.250.11
+bogus-nxdomain 111.11.208.2
+bogus-nxdomain 183.224.40.24
+bogus-nxdomain 211.98.70.226
+bogus-nxdomain 211.98.70.227
+bogus-nxdomain 211.98.71.195
+bogus-nxdomain 114.112.163.232
+bogus-nxdomain 114.112.163.254