update-12.15
This commit is contained in:
parent
ada4f3eae4
commit
c5328c6723
|
@ -6,8 +6,8 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hysteria
|
PKG_NAME:=hysteria
|
||||||
PKG_VERSION:=0.8.6
|
PKG_VERSION:=0.9.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/HyNetwork/hysteria/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/HyNetwork/hysteria/tar.gz/v$(PKG_VERSION)?
|
||||||
|
|
|
@ -22,6 +22,11 @@ plugin:
|
||||||
type: sequence
|
type: sequence
|
||||||
args:
|
args:
|
||||||
exec:
|
exec:
|
||||||
|
- if:
|
||||||
|
- query_is_ad_domain
|
||||||
|
exec:
|
||||||
|
- _block_with_nxdomain
|
||||||
|
- _end
|
||||||
- if:
|
- if:
|
||||||
- query_is_local_domain
|
- query_is_local_domain
|
||||||
- '!_query_is_common'
|
- '!_query_is_common'
|
||||||
|
@ -86,3 +91,9 @@ plugin:
|
||||||
args:
|
args:
|
||||||
ip:
|
ip:
|
||||||
- 'ext:./geoip.dat:cn'
|
- 'ext:./geoip.dat:cn'
|
||||||
|
|
||||||
|
- tag: query_is_ad_domain
|
||||||
|
type: query_matcher
|
||||||
|
args:
|
||||||
|
domain:
|
||||||
|
- 'ext:./serverlist.txt'
|
||||||
|
|
|
@ -10,6 +10,7 @@ if [ $syncconfig -eq 1 ]; then
|
||||||
wget https://cdn.jsdelivr.net/gh/QiuSimons/openwrt-mos@master/luci-app-mosdns/root/etc/mosdns/config.yaml -nv -O /tmp/mosdns/config.yaml
|
wget https://cdn.jsdelivr.net/gh/QiuSimons/openwrt-mos@master/luci-app-mosdns/root/etc/mosdns/config.yaml -nv -O /tmp/mosdns/config.yaml
|
||||||
find /tmp/mosdns/* -size -2k -exec rm {} \;
|
find /tmp/mosdns/* -size -2k -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
|
wget 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext' -nv -O /tmp/mosdns/serverlist.txt
|
||||||
chmod -R 755 /tmp/mosdns
|
chmod -R 755 /tmp/mosdns
|
||||||
cp -rf /tmp/mosdns/* /etc/mosdns
|
cp -rf /tmp/mosdns/* /etc/mosdns
|
||||||
rm -rf /tmp/mosdns
|
rm -rf /tmp/mosdns
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -522,7 +522,7 @@ run_socks() {
|
||||||
;;
|
;;
|
||||||
ssr)
|
ssr)
|
||||||
lua $API_GEN_SS -node $node -local_addr "0.0.0.0" -local_port $socks_port -server_host $server_host -server_port $port > $config_file
|
lua $API_GEN_SS -node $node -local_addr "0.0.0.0" -local_port $socks_port -server_host $server_host -server_port $port > $config_file
|
||||||
ln_start_bin "$(first_type ssr-local)" "ssr-local" $log_file -c "$config_file" -v
|
ln_start_bin "$(first_type ssr-local)" "ssr-local" $log_file -c "$config_file" -v -u
|
||||||
;;
|
;;
|
||||||
ss)
|
ss)
|
||||||
lua $API_GEN_SS -node $node -local_addr "0.0.0.0" -local_port $socks_port -server_host $server_host -server_port $port -mode tcp_and_udp > $config_file
|
lua $API_GEN_SS -node $node -local_addr "0.0.0.0" -local_port $socks_port -server_host $server_host -server_port $port -mode tcp_and_udp > $config_file
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mosdns
|
PKG_NAME:=mosdns
|
||||||
PKG_VERSION:=8ea52e1
|
PKG_VERSION:=ec1c08b
|
||||||
PKG_RELEASE:=$(AUTORELEASE)
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=xray-core
|
PKG_NAME:=xray-core
|
||||||
PKG_VERSION:=1.5.0
|
PKG_VERSION:=1.5.1
|
||||||
PKG_RELEASE:=$(AUTORELEASE)
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=xray-plugin
|
PKG_NAME:=xray-plugin
|
||||||
PKG_VERSION:=1.5.0
|
PKG_VERSION:=1.5.1
|
||||||
PKG_RELEASE:=$(AUTORELEASE)
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
Loading…
Reference in New Issue