1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan168 2022-05-03 12:05:33 +08:00
parent 6621e552ea
commit efbec5f905
19 changed files with 12 additions and 12 deletions

0
r8168/Makefile Executable file → Normal file
View file

View file

0
tracebox/Makefile Executable file → Normal file
View file

0
tracebox/files/usr/share/tracebox/omr-mptcp-trace.lua Executable file → Normal file
View file

0
tracebox/patches/101-build-fixes.patch Executable file → Normal file
View file

0
tracebox/patches/102-configure.patch Executable file → Normal file
View file

0
tracebox/patches/103-configure.patch Executable file → Normal file
View file

0
tracebox/patches/104-ns_name_compress.patch Executable file → Normal file
View file

0
tracebox/patches/202-fix-lua-include-hpp.patch Executable file → Normal file
View file

0
tracebox/patches/204-fix-lua-namespace-crafter.patch Executable file → Normal file
View file

0
v2ray-core/Config.in Executable file → Normal file
View file

0
v2ray-core/LICENSE Executable file → Normal file
View file

0
v2ray-core/Makefile Executable file → Normal file
View file

0
v2ray-core/files/etc/firewall.v2ray-rules Executable file → Normal file
View file

0
v2ray-core/files/etc/uci-defaults/3010-omr-v2ray Executable file → Normal file
View file

0
v2ray-ext/Makefile Executable file → Normal file
View file

View file

@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=xtables-addons
PKG_VERSION:=3.19
PKG_RELEASE:=$(AUTORELEASE)
PKG_HASH:=5e36ea027ab15a84d9af1f3f8e84a78b80a617093657f08089bd44657722f661
PKG_VERSION:=3.18
PKG_RELEASE:=4
PKG_HASH:=a77914a483ff381663f52120577e5e9355ca07cca73958b038e09d91247458d5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://inai.de/files/xtables-addons/
@ -162,7 +162,7 @@ define Package/iptgeoip/install
$(1)/usr/lib/xtables-addons/
$(INSTALL_DIR) $(1)/usr/bin
$(CP) \
$(PKG_INSTALL_DIR)/usr/bin/xt_geoip_query \
$(PKG_INSTALL_DIR)/usr/bin/xt_geoip_fetch \
$(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/share/xt_geoip
touch $(1)/usr/share/xt_geoip/.keep

View file

@ -1,8 +1,8 @@
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ regular_CFLAGS="-Wall -Waggregate-return
@@ -44,7 +44,7 @@ regular_CFLAGS="-Wall -Waggregate-return
AS_IF([test -n "$kbuilddir"], [
if test -n "$kbuilddir"; then
AC_MSG_CHECKING([kernel version that we will build against])
- krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"
+ krel="$(make -sC "$kbuilddir" M=$PWD kernelversion | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"

View file

@ -1137,7 +1137,7 @@
+ struct xt_lua_tginfo *info = (void *)target->data;
+
+ info->state_id = 0;
+ strcpy(info->function, "process_packet\0");
+ strncpy(info->function, "process_packet\0", sizeof("process_packet\0"));
+}
+
+static int
@ -5301,7 +5301,7 @@
+ case OP_FORLOOP:
+ case OP_FORPREP:
+ checkreg(pt, a+3);
+ fallthrough;
+ /* go through */
+ case OP_JMP: {
+ int dest = pc+1+b;
+ /* not full check and jump is forward and do not skip `lastpc'? */
@ -7716,7 +7716,6 @@
+ }
+ else if (sep == -1) return '[';
+ else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING);
+ fallthrough;
+ }
+ case '=': {
+ next(ls);
@ -7810,6 +7809,7 @@
+ lua_assert(ls->lookahead.token == TK_EOS);
+ ls->lookahead.token = llex(ls, &ls->lookahead.seminfo);
+}
+
--- /dev/null
+++ b/extensions/LUA/lua/llex.h
@@ -0,0 +1,81 @@
@ -12471,7 +12471,7 @@
+ lua_number2int(k, n);
+ if (luai_numeq(cast_num(k), nvalue(key))) /* index is int? */
+ return luaH_getnum(t, k); /* use specialized version */
+ fallthrough;
+ /* else go through */
+ }
+ default: {
+ Node *n = mainposition(t, key);
@ -12766,7 +12766,7 @@
+ if (!lua_isstring(L, -1))
+ luaL_error(L, "invalid value (%s) at index %d in table for "
+ LUA_QL("concat"), luaL_typename(L, -1), i);
+ luaL_addvalue(b);
+ luaL_addvalue(b);
+}
+
+
@ -17984,7 +17984,7 @@
+ int32_t ret;
+ struct lua_env * env = kmalloc(sizeof(struct lua_env), GFP_KERNEL);
+
+ if (!script_size) {
+ if (!script_size > 0) {
+ pr_debug("LUA [%d]: script_size %lu < 0\n", state_id, script_size);
+ return false;
+ }