Giter Club home page Giter Club logo

openwrt-v2ray's Introduction

openwrt-v2ray

V2Ray for OpenWrt

OpenWrt/LEDE 上可用的 V2Ray

Release Version Latest Release Download Releases Download

For luci-app-v2ray, please head to kuoruan/luci-app-v2ray

Install via OPKG

  1. Add new opkg key:
wget -O kuoruan-public.key http://openwrt.kuoruan.net/packages/public.key
opkg-key add kuoruan-public.key
  1. Add opkg repository:
echo "src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" \
  >> /etc/opkg/customfeeds.conf

Replace http:// with https:// if you like.

  1. Install package:
opkg update
opkg install v2ray-core

For minimal package:

opkg update
opkg install v2ray-core-mini
  1. Upgrade package:
opkg update
opkg upgrade v2ray-core

Manual Install

  • Download pre build ipk file from releases

  • Upload file to your router, install it with ssh command.

opkg install v2ray-core*.ipk

Depends:

  • ca-certificates

Bin files will install in /usr/bin.

Custom build

  1. Use the latest OpenWrt SDK or with source code in master branch (requires golang modules support, commit openwrt/packages@7dc1f3e and later).

  2. Enter root directory of SDK, then download the Makefile:

git clone https://github.com/kuoruan/openwrt-v2ray.git package/v2ray-core

For Chinese users, export GOPROXY=https://goproxy.io before build.

Start build:

./scripts/feeds update -a
./scripts/feeds install -a

make menuconfig

Network ---> Project V ---> <*> v2ray-core

Network ---> Project V ---> <M> v2ray-core-mini

make package/v2ray-core/{clean,compile} V=s
  • You can custom the features in V2Ray Mini Configuration option.
  1. UPX Compress

If you want to build with UPX compress, the UPX package is required.

git clone -b master --depth 1 https://github.com/kuoruan/openwrt-upx.git package/openwrt-upx

Uninstall

opkg remove v2ray-core # v2ray-core-mini

openwrt-v2ray's People

Contributors

github-actions[bot] avatar kuoruan avatar lunatickochiya avatar mzz2017 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-v2ray's Issues

`/etc/init.d/v2ray stop` reboots the router

Please attach the output of following commands.

cat /etc/*release

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.0'
DISTRIB_REVISION='r10860-a3ffeb413b'
DISTRIB_TARGET='mvebu/cortexa9'
DISTRIB_ARCH='arm_cortex-a9_vfpv3'
DISTRIB_DESCRIPTION='OpenWrt 19.07.0 r10860-a3ffeb413b'
DISTRIB_TAINTS=''
NAME="OpenWrt"
VERSION="19.07.0"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.0"
VERSION_ID="19.07.0"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r10860-a3ffeb413b"
OPENWRT_BOARD="mvebu/cortexa9"
OPENWRT_ARCH="arm_cortex-a9_vfpv3"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.0 r10860-a3ffeb413b

opkg print-architecture

arch all 1
arch noarch 1
arch arm_cortex-a9_vfpv3 10

酷软中心显示异常

大神,我在网上找了一个v2ray的离线安装包,安装好了如下图(koolshare lede 版本号是 2.30)
image

然后我在v2ray选项里选择了一键升级到最新版本,升级完成后v2ray版本号变成v4.20.0,这与你的最新版本号是对应的
image

v2ray能正常使用,但是现在遇到的问题是软件显示异常

  1. 代理运行状态总是显示waiting
  2. 自建服务器列表不显示
    image

请问这个问题应该怎么解决呢

启用服务导致 ER-X 重启长时间无法连接

环境:OpenWrt 18.06.5 on UBNT ER-X
版本:core v4.22.1-4,luci-app v1.5.3-1
表现为启动后一段时间(不定),路由器无法与外部端口通信。
若在 LuCI 中勾选「已启用」,重启后会触发问题,反之不会。
附系统日志:

Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.000000] Linux version 4.14.151 (buildbot@b87496cfc8a9) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7897-9d401013fc)) #0 SMP Tue Nov 5 14:12:18 2019
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] MIPS: machine is UBNT-ERX
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Determined physical RAM map:
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]  memory: 10000000 @ 00000000 (usable)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] VPE topology {2,2} total 4
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Zone ranges:
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]   HighMem  empty
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Movable zone start for each node
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Early memory node ranges
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] On node 0 totalpages: 65536
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 80556140, node_mem_map 81003000
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000]   Normal zone: 512 pages used for memmap
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.000000] random: get_random_bytes called from 0x80559744 with crng_init=0
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] pcpu-alloc: s26224 r8192 d22928 u57344 alloc=14*4096
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Writing ErrCtl register=00048cc0
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Readback ErrCtl register=00048cc0
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Memory: 253620K/262144K available (4648K kernel code, 243K rwdata, 572K rodata, 220K init, 254K bss, 8524K reserved, 0K cma-reserved, 0K highmem)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] Hierarchical RCU implementation.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] NR_IRQS: 256
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.015497] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.087820] pid_max: default: 32768 minimum: 301
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.097137] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.110158] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.125892] Hierarchical SRCU implementation.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.135361] smp: Bringing up secondary CPUs ...
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.145069] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.145077] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.145088] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.145220] CPU1 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.204724] Synchronize counters for CPU 1: done.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.268841] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.268849] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.268857] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.268929] CPU2 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.325575] Synchronize counters for CPU 2: done.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.385922] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.385930] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.385938] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.386028] CPU3 revision is: 0001992f (MIPS 1004Kc)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.445140] Synchronize counters for CPU 3: done.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.504741] smp: Brought up 1 node, 4 CPUs
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.516116] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.535582] futex hash table entries: 1024 (order: 3, 32768 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.548030] pinctrl core: initialized pinctrl subsystem
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.558902] NET: Registered protocol family 16
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.572722] FPU Affinity set after 11720 emulations
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.582436] mt7621_gpio 1e000600.gpio: registering 32 gpios
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.593704] mt7621_gpio 1e000600.gpio: registering 32 gpios
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.604890] mt7621_gpio 1e000600.gpio: registering 32 gpios
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.618494] clocksource: Switched to clocksource GIC
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.629805] NET: Registered protocol family 2
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.639169] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.652921] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.665700] TCP: Hash tables configured (established 2048 bind 2048)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.678418] UDP hash table entries: 256 (order: 1, 8192 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.689915] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.702568] NET: Registered protocol family 1
Tue Jan 28 01:02:56 2020 kern.debug kernel: [    0.711119] PCI: CLS 0 bytes, default 32
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.948428] 4 CPUs re-calibrate udelay(lpj = 2924544)
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    0.959827] Crashlog allocated RAM at address 0x3f00000
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.970373] workingset: timestamp_bits=30 max_order=16 bucket_order=0
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    0.985686] random: fast init done
Tue Jan 28 01:02:56 2020 kern.info kernel: [    0.996688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.008197] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.031186] io scheduler noop registered
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.038867] io scheduler deadline registered (default)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.050125] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.065683] console [ttyS0] disabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.072748] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.090674] console [ttyS0] enabled
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.104463] bootconsole [early0] disabled
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.122512] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.136548] Enable NFI Clock
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.142293] # MTK NAND # : Use HW ECC
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.149606] Device found in MTK table, ID: 1da, EXT_ID: 909546
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.161218] Support this Device in MTK table! 1da
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.170940] [NAND]select ecc bit:12, sparesize :112 spare_per_sector=28
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.184160] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.196808] nand: AMD/Spansion NAND 256MiB 3,3V 8-bit
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.206865] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.221956] Scanning device for bad blocks
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.865386] 6 fixed-partitions partitions found on MTD device MT7621-NAND
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.878905] Creating 6 MTD partitions on "MT7621-NAND":
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.889320] 0x000000000000-0x000000080000 : "u-boot"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.900298] 0x000000080000-0x0000000e0000 : "u-boot-env"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.911903] 0x0000000e0000-0x000000140000 : "factory"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.922985] 0x000000140000-0x000000440000 : "kernel1"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.934087] 0x000000440000-0x000000740000 : "kernel2"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    1.945187] 0x000000740000-0x00000ff00000 : "ubi"
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.957505] [mtk_nand] probe successfully!
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.966448] Signature matched and data read!
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    1.974955] load_fact_bbt success 2047
Tue Jan 28 01:02:56 2020 kern.info kernel: [    1.983140] libphy: Fixed MDIO Bus: probed
Tue Jan 28 01:02:56 2020 kern.info kernel: [    2.061073] libphy: mdio: probed
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.467086] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.479567] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.498700] NET: Registered protocol family 10
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.509145] Segment Routing with IPv6
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.516510] NET: Registered protocol family 17
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.525447] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.551240] 8021q: 802.1Q VLAN Support v1.8
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    3.562467] UBI: auto-attach mtd5
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    3.569155] ubi0: attaching mtd5
Tue Jan 28 01:02:56 2020 kern.info kernel: [    3.876907] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
Tue Jan 28 01:02:56 2020 kern.info kernel: [    4.497961] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:02:56 2020 kern.info kernel: [    4.806812] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.049618] ubi0: scanning is finished
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.075140] ubi0: attached mtd5 (name "ubi", size 247 MiB)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.086114] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.099803] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.113319] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.127183] ubi0: good PEBs: 1982, bad PEBs: 0, corrupted PEBs: 0
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.139319] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.153701] ubi0: max/mean erase counter: 20/13, WL threshold: 4096, image sequence number: 207586175
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.172056] ubi0: available PEBs: 0, total reserved PEBs: 1982, PEBs reserved for bad PEB handling: 40
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.190620] ubi0: background thread "ubi_bgt0d" started, PID 360
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.192649] block ubiblock0_0: created from ubi0:0(rootfs)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [    6.213532] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.227400] hctosys: unable to open rtc device (rtc0)
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.244088] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
Tue Jan 28 01:02:56 2020 kern.info kernel: [    6.258872] Freeing unused kernel memory: 220K
Tue Jan 28 01:02:56 2020 kern.warn kernel: [    6.267715] This architecture does not have kernel memory protection.
Tue Jan 28 01:02:56 2020 user.info kernel: [    6.805268] init: Console is alive
Tue Jan 28 01:02:56 2020 user.info kernel: [    6.812346] init: - watchdog -
Tue Jan 28 01:02:56 2020 user.info kernel: [    6.946291] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Tue Jan 28 01:02:56 2020 user.info kernel: [    7.009033] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Tue Jan 28 01:02:56 2020 user.info kernel: [    7.038779] init: - preinit -
Tue Jan 28 01:02:56 2020 kern.info kernel: [    7.676065] mtk_soc_eth 1e100000.ethernet: PPE started
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   10.889240] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 423
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   10.942298] random: procd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   10.965973] UBIFS (ubi0:1): recovery needed
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.136139] UBIFS (ubi0:1): recovery completed
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.145108] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.160709] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.180452] UBIFS (ubi0:1): FS size: 242651136 bytes (231 MiB, 1911 LEBs), journal size 12189696 bytes (11 MiB, 96 LEBs)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.202087] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   11.215259] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID A7B3207D-F22B-451D-BD15-798C43F48265, small LPT model
Tue Jan 28 01:02:56 2020 user.info kernel: [   11.254736] mount_root: switching to ubifs overlay
Tue Jan 28 01:02:56 2020 user.warn kernel: [   11.294563] urandom-seed: Seeding with /etc/urandom.seed
Tue Jan 28 01:02:56 2020 kern.info kernel: [   11.480035] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Tue Jan 28 01:02:56 2020 user.info kernel: [   11.502686] procd: - early -
Tue Jan 28 01:02:56 2020 user.info kernel: [   11.508645] procd: - watchdog -
Tue Jan 28 01:02:56 2020 user.info kernel: [   12.128621] procd: - watchdog -
Tue Jan 28 01:02:56 2020 user.info kernel: [   12.135180] procd: - ubus -
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   12.174031] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   12.260879] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   12.273972] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:56 2020 user.info kernel: [   12.287496] procd: - init -
Tue Jan 28 01:02:56 2020 user.info kernel: [   13.335721] kmodloader: loading kernel modules from /etc/modules.d/*
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.352030] ip6_tables: (C) 2000-2006 Netfilter Core Team
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.372056] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.408787] Netfilter messages via NETLINK v0.30.
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.424938] ip_set: protocol 6
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.512543] ip_tables: (C) 2000-2006 Netfilter Core Team
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.533174] ctnetlink v0.93: registering with nfnetlink.
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.583185] xt_time: kernel timezone is -0000
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.596543] PPP generic driver version 2.4.2
Tue Jan 28 01:02:56 2020 kern.info kernel: [   13.606278] NET: Registered protocol family 24
Tue Jan 28 01:02:56 2020 user.info kernel: [   13.617332] kmodloader: done loading kernel modules from /etc/modules.d/*
Tue Jan 28 01:02:56 2020 kern.warn kernel: [   15.175108] urandom_read: 5 callbacks suppressed
Tue Jan 28 01:02:56 2020 kern.notice kernel: [   15.175120] random: jshn: uninitialized urandom read (4 bytes read)
Tue Jan 28 01:02:57 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Tue Jan 28 01:02:57 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Tue Jan 28 01:02:57 2020 authpriv.info dropbear[762]: Not backgrounding
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: started, version 2.80 cachesize 150
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: DNS service limited to local subnets
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC no-ID loop-detect inotify dumpfile
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain test
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain onion
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain localhost
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain local
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain invalid
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain bind
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 127.0.0.1#5053
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using local addresses only for domain lan
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 127.0.0.1#5053
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain www-googletagmanager.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain update.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain translate.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain tools.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain toolbarqueries.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl.gstatic.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ssl-google-analytics.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain settings.crashlytics.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain safebrowsing-cache.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain redirector.gvt1.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain recaptcha.net
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain pagead-googlehosted.l.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain ocsp.pki.goog
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain media.admob.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khmdb.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm3.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm2.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm1.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.googleapis.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm0.google.com
Tue Jan 28 01:02:59 2020 daemon.info dnsmasq[735]: using nameserver 114.114.114.114#53 for domain khm.googleapis.com
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: using 73431 more nameservers
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: read /etc/hosts - 4 addresses
Tue Jan 28 01:03:00 2020 daemon.info dnsmasq[735]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Tue Jan 28 01:06:13 2020 kern.info kernel: [  212.894252] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:06:16 2020 kern.info kernel: [  215.158493] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:09:43 2020 kern.info kernel: [  422.894772] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:09:46 2020 kern.info kernel: [  425.159046] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:13:13 2020 kern.info kernel: [  632.895328] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:13:16 2020 kern.info kernel: [  635.174612] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:16:43 2020 kern.info kernel: [  842.895909] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:16:46 2020 kern.info kernel: [  845.160185] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:20:13 2020 kern.info kernel: [ 1052.896509] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:20:16 2020 kern.info kernel: [ 1055.325762] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:23:43 2020 kern.info kernel: [ 1262.897079] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:23:46 2020 kern.info kernel: [ 1265.161343] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:27:13 2020 kern.info kernel: [ 1472.897675] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:27:16 2020 kern.info kernel: [ 1475.161926] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:30:43 2020 kern.info kernel: [ 1682.898266] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:30:46 2020 kern.info kernel: [ 1685.387514] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:34:13 2020 kern.info kernel: [ 1892.898881] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:34:16 2020 kern.info kernel: [ 1895.193094] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:37:43 2020 kern.info kernel: [ 2102.899471] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:37:46 2020 kern.info kernel: [ 2105.178693] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:41:13 2020 kern.info kernel: [ 2312.900049] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:41:16 2020 kern.info kernel: [ 2315.164285] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:44:43 2020 kern.info kernel: [ 2522.900650] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
Tue Jan 28 01:44:46 2020 kern.info kernel: [ 2525.164878] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
Tue Jan 28 01:48:00 2020 kern.notice kernel: [ 2719.568876] random: crng init done
Tue Jan 28 01:48:10 2020 daemon.info v2ray: Transparent proxy disabled.
Tue Jan 28 01:48:10 2020 daemon.info v2ray[845]: V2Ray 4.22.1 (OpenWrt) R4 (go1.13.6 linux/mipsle)
Tue Jan 28 01:48:10 2020 daemon.info v2ray[845]: A unified platform for anti-censorship.
Tue Jan 28 01:48:11 2020 daemon.info v2ray[845]: 2020/01/27 17:48:10 [Warning] v2ray.com/core: V2Ray 4.22.1 started
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: tunnel
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: Network device
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: bridge
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: veth
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: macvlan
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: 8021ad
Tue Jan 28 01:48:12 2020 user.notice : Added device handler type: 8021q
Tue Jan 28 01:48:13 2020 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records in
Tue Jan 28 01:48:13 2020 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records out
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.471212] mtk_soc_eth 1e100000.ethernet: PPE started
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.503065] br-lan: port 1(eth0.1) entered blocking state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.514274] br-lan: port 1(eth0.1) entered disabled state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.525848] device eth0.1 entered promiscuous mode
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.535490] device eth0 entered promiscuous mode
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.547698] br-lan: port 1(eth0.1) entered blocking state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.558519] br-lan: port 1(eth0.1) entered forwarding state
Tue Jan 28 01:48:13 2020 kern.info kernel: [ 2732.570084] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' is enabled
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' is setting up now
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' is now up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' is enabled
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' is now up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'wan' is enabled
Tue Jan 28 01:48:13 2020 daemon.notice netifd: bridge 'br-lan' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Network device 'eth0' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: VLAN 'eth0.1' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Network device 'lo' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'loopback' has link connectivity
Tue Jan 28 01:48:13 2020 daemon.notice netifd: VLAN 'eth0.2' link is up
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Jan 28 01:48:13 2020 daemon.notice netifd: Interface 'wan' is setting up now
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - slhc
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - ppp_generic
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - pppox
Tue Jan 28 01:48:13 2020 daemon.err insmod: module is already loaded - pppoe
Tue Jan 28 01:48:13 2020 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Jan 28 01:48:14 2020 daemon.info pppd[1101]: Plugin rp-pppoe.so loaded.
Tue Jan 28 01:48:14 2020 daemon.info pppd[1101]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Tue Jan 28 01:48:14 2020 daemon.info dnsmasq[735]: exiting on receipt of SIGTERM

编译报错src/v2ray.com/core/config.go:9:2: cannot find package "github.com/golang/protobuf/proto" in any of:

src/v2ray.com/core/config.go:9:2: cannot find package "github.com/golang/protobu f/proto" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/github.com/golan g/protobuf/proto (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/github.com/golang/protobuf/proto (from $GOPATH)
src/v2ray.com/core/app/router/condition.go:8:2: cannot find package "go.starlark .net/starlark" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/go.starlark.net/ starlark (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/go.starlark.net/starlark (from $GOPATH)
src/v2ray.com/core/app/router/condition.go:9:2: cannot find package "go.starlark .net/syntax" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/go.starlark.net/ syntax (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/go.starlark.net/syntax (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/cipher_suites. go:17:2: cannot find package "golang.org/x/crypto/chacha20poly1305" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/cry pto/chacha20poly1305 (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/crypto/chacha20poly1305 (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/handshake_mess ages.go:11:2: cannot find package "golang.org/x/crypto/cryptobyte" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/cry pto/cryptobyte (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/crypto/cryptobyte (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/key_schedule.g o:12:2: cannot find package "golang.org/x/crypto/curve25519" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/cry pto/curve25519 (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/crypto/curve25519 (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/key_schedule.g o:13:2: cannot find package "golang.org/x/crypto/hkdf" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/cry pto/hkdf (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/crypto/hkdf (from $GOPATH)
src/v2ray.com/core/proxy/vmess/encoding/auth.go:10:2: cannot find package "golan g.org/x/crypto/sha3" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/cry pto/sha3 (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/crypto/sha3 (from $GOPATH)
src/v2ray.com/core/app/dns/udpns.go:12:2: cannot find package "golang.org/x/net/ dns/dnsmessage" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/net /dns/dnsmessage (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/net/dns/dnsmessage (from $GOPATH)
src/v2ray.com/core/transport/internet/http/dialer.go:12:2: cannot find package " golang.org/x/net/http2" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/net /http2 (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/golang.org/x/net/http2 (from $GOPATH)
src/v2ray.com/core/app/commander/commander.go:12:2: cannot find package "google. golang.org/grpc" in any of:
/home/ronlee/182le/staging_dir/hostpkg/lib/go-cross/src/google.golang.or g/grpc (from $GOROOT)
/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4.18.0/. go_work/build/src/google.golang.org/grpc (from $GOPATH)
make[2]: *** [/home/ronlee/182le/build_dir/target-mipsel_24kc_musl/v2ray-core-4. 18.0/.built] Error 1
机器没有被墙,但就是报这个错,不知为什么

opkg_install_cmd: Cannot install package v2ray-core.

root@LEDE:~# cat /usr/lib/os-release
NAME="LEDE"
VERSION="17.01.4, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot 17.01.4"
VERSION_ID="17.01.4"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r3560-79f57e422d"
LEDE_BOARD="brcm2708/bcm2710"
LEDE_ARCH="arm_cortex-a53_neon-vfpv4"
LEDE_TAINTS="no-all"
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot 17.01.4 r3560-79f57e422d"

能否给编译个版本,谢谢。

请教大神!关于斐讯N1盒子安装a53架构ipk的问题

斐讯N1盒子刷了armbian,然后docker了https://downloads.openwrt.org/releases/18.06.2/targets/armvirt/64/openwrt-18.06.2-armvirt-64-default-rootfs.tar.gz
作为旁路由,但是在安装您的a53架构的v2ray.ipk时,总是出错,显示架构不对,多次修改也搞不定,请教大神。

顺便说明一下,N1的cpu是晶晨的S905D,看了说明书显示应该属于a53 neon-vfpv4,可能和您之前回答那个问题的rpi 3差不多架构,但就是装不上去。

谢谢大神!

自己编译总是失败,下载不到"dlc.dat"

我用的是WNDR3700v4,查到的架构是mips74kc,用大佬编好的那些包都提示架构不对,装不了。固件版本是OpenWrt Chaos Calmer 15.05.1-gy408-V0.0.3 r49599

去下载了ar71xx的sdk。按照说明编译了半天。
最后还是失败了。
`
2019-08-24 17:03:58 (9.42 MB/s) - '/usr/local/openwrt/openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.20.0/release/config/geoip.dat' saved [5182377/5182377]

wget -O /usr/local/openwrt/openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.20.0/release/config/geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat
--2019-08-24 17:03:58-- https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat
Resolving github.com (github.com)... 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/v2ray/domain-list-community/releases/download/20190822.1/dlc.dat [following]
--2019-08-24 17:03:58-- https://github.com/v2ray/domain-list-community/releases/download/20190822.1/dlc.dat
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 404 Not Found
2019-08-24 17:03:58 ERROR 404: Not Found.

make[2]: *** [/usr/local/openwrt/openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.20.0/.prepared_a2bcf72f98f4df82a1e76fd00cea0f4d_18f1e190c5d53547fed41a3eaa76e9e9] Error 8
make[2]: Leaving directory /usr/local/openwrt/openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64/package/v2ray-core' time: package/v2ray-core/compile#0.83#0.61#4.69 make[1]: *** [package/v2ray-core/compile] Error 2 make[1]: Leaving directory /usr/local/openwrt/openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64'
make: *** [package/v2ray-core/compile] Error 2
`

小白安装好了,配置不太懂

你好,按照说明安装好了,但是进入界面看不懂怎么配置,之前没接触过,能否给个配置教程,在此谢过,这是我的入门之地了

using customized config file copied from /var/etc/v2ray/v2ray.main.json doesn't work

I copied the whole config file from v2ray.main.json(this is a transparent proxy setting was hosted on a soft router with openwrt on X86 system, it works when using it) to file named config.json in either same fold of v2ray.main.json or /etc/v2ray/, when I tried to use customized config file with config.json in the global settings. after saving and reloading, it doesn't work. I check the config.json in the about page, it is exactly same as what is in the v2ray.main.jason. what did I missed?

放置一夜无法访问国内,国外正常,重启依然

睡觉前一切正常,放置一夜无法访问国内,国外正常,重启无法解决问题,必须重新安装,连续2天如此

版本信息
主机名	OpenWrt
型号	Raspberry Pi 3 Model B Rev 1.2
架构	?
固件版本	OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734-adbbd5c
内核版本	4.14.167

版本:V2Ray 4.22.1 (OpenWrt) R4 (go1.13.6 linux/arm64)

睡觉前 ping taobao.com 可以通,现在不通了,重启也ping不通
截取了部分访问taobao.com 的日志,后面还有配置文件

2020/02/13 04:09:36 [Info] [747188646] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:09:37 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: clients1.google.com. TypeA -> [172.217.5.206] 259.27677ms
2020/02/13 04:09:37 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: clients1.google.com. TypeAAAA -> [[2607:f8b0:4007:80d::200e]] 259.361562ms
2020/02/13 04:09:37 [Info] [4133227951] v2ray.com/core/app/dispatcher: default route for tcp:clients1.google.com:443
2020/02/13 04:09:37 [Info] v2ray.com/core/transport/internet/kcp: dialing mKCP to udp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:37 [Info] v2ray.com/core/transport/internet/kcp: #20793 creating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:37 [Info] [4133227951] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:clients1.google.com:443 via tcp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:37 [Info] v2ray.com/core/transport/internet/kcp: #20738 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:38 [Info] v2ray.com/core/transport/internet/kcp: #20788 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:38 [Info] v2ray.com/core/transport/internet/kcp: #20789 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:39 [Info] [1245172736] v2ray.com/core/app/dispatcher: sniffed domain: radio.itunes.apple.com
2020/02/13 04:09:39 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: radio.itunes.apple.com. TypeA -> [104.70.228.76] 233.087083ms
2020/02/13 04:09:39 [Info] [1245172736] v2ray.com/core/app/dispatcher: default route for tcp:radio.itunes.apple.com:443
2020/02/13 04:09:39 [Info] v2ray.com/core/transport/internet/kcp: dialing mKCP to udp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:39 [Info] v2ray.com/core/transport/internet/kcp: #20794 creating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:39 [Info] [1245172736] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:radio.itunes.apple.com:443 via tcp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:39 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: radio.itunes.apple.com. TypeAAAA -> [[2600:1406:5800:58e::2a1] [2600:1406:5800:5aa::2a1] [2600:1406:5800:5b0::2a1] [2600:1406:5800:5bc::2a1] [2600:1406:5800:586::2a1]] 234.011927ms
2020/02/13 04:09:40 [Info] [2384138763] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:09:40 [Info] [747188646] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: failed to open connection to tcp:123.123.190.111:8555 > v2ray.com/core/common/retry: [dial tcp 123.123.190.111:8555: connect: no route to host] > v2ray.com/core/common/retry: all retry attempts failed
2020/02/13 04:09:40 [Info] [747188646] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed to transport response > io: read/write on closed pipe
2020/02/13 04:09:40 [Info] v2ray.com/core/transport/internet/kcp: #20794 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:40 [Info] v2ray.com/core/transport/internet/kcp: #20783 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:43 [Info] [2384138763] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: failed to open connection to tcp:123.123.190.110:8555 > v2ray.com/core/common/retry: [dial tcp 123.123.190.110:8555: connect: no route to host] > v2ray.com/core/common/retry: all retry attempts failed
2020/02/13 04:09:43 [Info] [2384138763] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed to transport response > io: read/write on closed pipe
2020/02/13 04:09:44 [Info] v2ray.com/core/transport/internet/kcp: #20791 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:45 [Info] [4034608443] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:123.123.190.111:8555]
2020/02/13 04:09:45 [Info] [4034608443] v2ray.com/core/proxy/freedom: opening connection to tcp:123.123.190.111:8555
2020/02/13 04:09:45 [Info] [4034608443] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:09:45 [Info] v2ray.com/core/transport/internet/kcp: #20793 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:45 [Info] [804493368] v2ray.com/core/app/dispatcher: sniffed domain: www.taobao.com
2020/02/13 04:09:45 [Info] v2ray.com/core/transport/internet/udp: establishing new connection for udp:114.114.114.114:53
2020/02/13 04:09:45 [Info] v2ray.com/core/app/dispatcher: taking detour [direct] for [udp:114.114.114.114:53]
2020/02/13 04:09:45 [Info] v2ray.com/core/proxy/freedom: opening connection to udp:114.114.114.114:53
2020/02/13 04:09:45 [Info] [4034608443] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:09:46 [Info] v2ray.com/core/transport/internet/kcp: #20790 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:46 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/02/13 04:09:46 [Info] v2ray.com/core/transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2020/02/13 04:09:47 [Info] v2ray.com/core/transport/internet/kcp: #20793 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:48 [Info] [412316063] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:123.123.190.110:8555]
2020/02/13 04:09:48 [Info] [412316063] v2ray.com/core/proxy/freedom: opening connection to tcp:123.123.190.110:8555
2020/02/13 04:09:48 [Info] [412316063] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:09:49 [Info] [412316063] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:09:49 [Info] [4034608443] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:09:49 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain www.taobao.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:49 [Info] v2ray.com/core/transport/internet/udp: establishing new connection for udp:1.1.1.1:53
2020/02/13 04:09:49 [Info] v2ray.com/core/app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53]
2020/02/13 04:09:49 [Info] v2ray.com/core/transport/internet/kcp: dialing mKCP to udp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:49 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled
2020/02/13 04:09:49 [Info] v2ray.com/core/transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2020/02/13 04:09:49 [Info] v2ray.com/core/transport/internet/kcp: #20795 creating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:49 [Info] v2ray.com/core/proxy/vmess/outbound: tunneling request to udp:1.1.1.1:53 via tcp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:50 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: www.taobao.com. TypeA -> [47.246.25.233 47.246.25.234] 223.423125ms
2020/02/13 04:09:50 [Info] [804493368] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:www.taobao.com:443]
2020/02/13 04:09:50 [Info] [804493368] v2ray.com/core/proxy/freedom: opening connection to tcp:www.taobao.com:443
2020/02/13 04:09:50 [Info] [804493368] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:www.taobao.com:443
2020/02/13 04:09:50 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: www.taobao.com. TypeAAAA -> [] 521.537344ms
2020/02/13 04:09:50 [Info] [37556405] v2ray.com/core/app/dispatcher: sniffed domain: g.alicdn.com
2020/02/13 04:09:50 [Info] v2ray.com/core/transport/internet/udp: establishing new connection for udp:114.114.114.114:53
2020/02/13 04:09:50 [Info] v2ray.com/core/app/dispatcher: taking detour [direct] for [udp:114.114.114.114:53]
2020/02/13 04:09:50 [Info] v2ray.com/core/proxy/freedom: opening connection to udp:114.114.114.114:53
2020/02/13 04:09:50 [Info] [1863397642] v2ray.com/core/app/dispatcher: sniffed domain: count.taobao.com
2020/02/13 04:09:51 [Info] [818994386] v2ray.com/core/app/dispatcher: sniffed domain: textlink.simba.taobao.com
2020/02/13 04:09:51 [Info] [2943062622] v2ray.com/core/app/dispatcher: sniffed domain: ald.taobao.com
2020/02/13 04:09:51 [Info] [1438994310] v2ray.com/core/app/dispatcher: sniffed domain: tce.taobao.com
2020/02/13 04:09:51 [Info] [3786082510] v2ray.com/core/app/dispatcher: sniffed domain: wwc.alicdn.com
2020/02/13 04:09:52 [Info] [412316063] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:09:52 [Info] [4034608443] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:09:54 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain g.alicdn.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:54 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled
2020/02/13 04:09:54 [Info] v2ray.com/core/transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2020/02/13 04:09:54 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: g.alicdn.com. TypeA -> [47.246.25.253 47.246.25.254] 277.670625ms
2020/02/13 04:09:54 [Info] [37556405] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:g.alicdn.com:443]
2020/02/13 04:09:54 [Info] [37556405] v2ray.com/core/proxy/freedom: opening connection to tcp:g.alicdn.com:443
2020/02/13 04:09:54 [Info] [37556405] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:g.alicdn.com:443
2020/02/13 04:09:54 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain count.taobao.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:54 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: g.alicdn.com. TypeAAAA -> [] 326.994947ms
2020/02/13 04:09:54 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: count.taobao.com. TypeA -> [203.119.169.6] 239.953698ms
2020/02/13 04:09:54 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: count.taobao.com. TypeAAAA -> [] 240.024688ms
2020/02/13 04:09:54 [Info] [1863397642] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:count.taobao.com:443]
2020/02/13 04:09:54 [Info] [1863397642] v2ray.com/core/proxy/freedom: opening connection to tcp:count.taobao.com:443
2020/02/13 04:09:54 [Info] [1863397642] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:count.taobao.com:443
2020/02/13 04:09:54 [Info] v2ray.com/core/transport/internet/kcp: #20794 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain textlink.simba.taobao.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain ald.taobao.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain tce.taobao.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:55 [Info] [805075360] v2ray.com/core/app/dispatcher: sniffed domain: img.alicdn.com
2020/02/13 04:09:55 [Info] v2ray.com/core/transport/internet/udp: establishing new connection for udp:114.114.114.114:53
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dispatcher: taking detour [direct] for [udp:114.114.114.114:53]
2020/02/13 04:09:55 [Info] v2ray.com/core/proxy/freedom: opening connection to udp:114.114.114.114:53
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain wwc.alicdn.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:55 [Info] [1863397642] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:count.taobao.com:443
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: textlink.simba.taobao.com. TypeA -> [140.205.140.87] 263.905104ms
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: textlink.simba.taobao.com. TypeAAAA -> [] 263.971511ms
2020/02/13 04:09:55 [Info] [818994386] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:textlink.simba.taobao.com:443]
2020/02/13 04:09:55 [Info] [818994386] v2ray.com/core/proxy/freedom: opening connection to tcp:textlink.simba.taobao.com:443
2020/02/13 04:09:55 [Info] [818994386] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:textlink.simba.taobao.com:443
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: ald.taobao.com. TypeA -> [47.246.43.231 47.246.43.232] 341.493438ms
2020/02/13 04:09:55 [Info] [2943062622] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:ald.taobao.com:443]
2020/02/13 04:09:55 [Info] [2943062622] v2ray.com/core/proxy/freedom: opening connection to tcp:ald.taobao.com:443
2020/02/13 04:09:55 [Info] [2943062622] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:ald.taobao.com:443
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: tce.taobao.com. TypeA -> [203.119.169.6] 333.221145ms
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: wwc.alicdn.com. TypeA -> [101.89.124.235 101.89.124.236] 329.174687ms
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: tce.taobao.com. TypeAAAA -> [] 333.357395ms
2020/02/13 04:09:55 [Info] [3786082510] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:wwc.alicdn.com:443]
2020/02/13 04:09:55 [Info] [3786082510] v2ray.com/core/proxy/freedom: opening connection to tcp:wwc.alicdn.com:443
2020/02/13 04:09:55 [Info] [3786082510] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:wwc.alicdn.com:443
2020/02/13 04:09:55 [Info] [1438994310] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:tce.taobao.com:443]
2020/02/13 04:09:55 [Info] [1438994310] v2ray.com/core/proxy/freedom: opening connection to tcp:tce.taobao.com:443
2020/02/13 04:09:55 [Info] [1438994310] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:tce.taobao.com:443
2020/02/13 04:09:55 [Info] [412316063] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:09:55 [Info] [4034608443] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: ald.taobao.com. TypeAAAA -> [] 617.083177ms
2020/02/13 04:09:55 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: wwc.alicdn.com. TypeAAAA -> [] 657.086978ms
2020/02/13 04:09:56 [Info] [2808647975] v2ray.com/core/app/dispatcher: sniffed domain: drc.alicdn.com
2020/02/13 04:09:56 [Info] [3817528721] v2ray.com/core/app/dispatcher: sniffed domain: radio.itunes.apple.com
2020/02/13 04:09:56 [Info] [3817528721] v2ray.com/core/app/dispatcher: default route for tcp:radio.itunes.apple.com:443
2020/02/13 04:09:56 [Info] v2ray.com/core/transport/internet/kcp: dialing mKCP to udp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:56 [Info] v2ray.com/core/transport/internet/kcp: #20796 creating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:56 [Info] [3817528721] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:radio.itunes.apple.com:443 via tcp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:56 [Info] v2ray.com/core/transport/internet/kcp: #20796 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:56 [Info] [3817528721] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/02/13 04:09:58 [Info] [1438994310] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:tce.taobao.com:443
2020/02/13 04:09:58 [Info] [37556405] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:g.alicdn.com:443
2020/02/13 04:09:58 [Info] [818994386] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:textlink.simba.taobao.com:443
2020/02/13 04:09:58 [Info] [1863397642] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:count.taobao.com:443
2020/02/13 04:09:58 [Info] [412316063] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:09:58 [Info] [4034608443] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: failed to open connection to tcp:123.123.190.111:8555 > v2ray.com/core/common/retry: [dial tcp 123.123.190.111:8555: connect: no route to host] > v2ray.com/core/common/retry: all retry attempts failed
2020/02/13 04:09:58 [Info] [4034608443] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed to transport response > io: read/write on closed pipe
2020/02/13 04:09:59 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain img.alicdn.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:09:59 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled
2020/02/13 04:09:59 [Info] v2ray.com/core/transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2020/02/13 04:09:59 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: img.alicdn.com. TypeA -> [47.246.23.254 47.246.23.253] 242.644062ms
2020/02/13 04:09:59 [Info] [805075360] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:img.alicdn.com:443]
2020/02/13 04:09:59 [Info] [805075360] v2ray.com/core/proxy/freedom: opening connection to tcp:img.alicdn.com:443
2020/02/13 04:09:59 [Info] [805075360] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:img.alicdn.com:443
2020/02/13 04:09:59 [Info] v2ray.com/core/transport/internet/kcp: #20790 terminating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:09:59 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: img.alicdn.com. TypeAAAA -> [] 340.682135ms
2020/02/13 04:10:00 [Info] v2ray.com/core/app/dns: failed to lookup ip for domain drc.alicdn.com at server UDP:114.114.114.114:53 > context deadline exceeded
2020/02/13 04:10:00 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: drc.alicdn.com. TypeA -> [47.246.25.254 47.246.25.253] 224.17375ms
2020/02/13 04:10:00 [Info] [2808647975] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:drc.alicdn.com:443]
2020/02/13 04:10:00 [Info] [2808647975] v2ray.com/core/proxy/freedom: opening connection to tcp:drc.alicdn.com:443
2020/02/13 04:10:00 [Info] [2808647975] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:drc.alicdn.com:443
2020/02/13 04:10:00 [Info] v2ray.com/core/app/dns: UDP:1.1.1.1:53 got answere: drc.alicdn.com. TypeAAAA -> [] 274.418177ms
2020/02/13 04:10:01 [Info] [818994386] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:textlink.simba.taobao.com:443
2020/02/13 04:10:01 [Info] [1438994310] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:tce.taobao.com:443
2020/02/13 04:10:01 [Info] [1863397642] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:count.taobao.com:443
2020/02/13 04:10:01 [Info] [412316063] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: failed to open connection to tcp:123.123.190.110:8555 > v2ray.com/core/common/retry: [dial tcp 123.123.190.110:8555: connect: no route to host] > v2ray.com/core/common/retry: all retry attempts failed
2020/02/13 04:10:01 [Info] [412316063] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed to transport response > io: read/write on closed pipe
2020/02/13 04:10:03 [Info] [2340076309] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:123.123.190.110:8555]
2020/02/13 04:10:03 [Info] [2340076309] v2ray.com/core/proxy/freedom: opening connection to tcp:123.123.190.110:8555
2020/02/13 04:10:03 [Info] [2340076309] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:10:04 [Info] [2340076309] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:10:04 [Info] [37556405] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:g.alicdn.com:443
2020/02/13 04:10:04 [Info] [1438994310] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:tce.taobao.com:443
2020/02/13 04:10:04 [Info] [818994386] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:textlink.simba.taobao.com:443
2020/02/13 04:10:04 [Info] [1863397642] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:count.taobao.com:443
2020/02/13 04:10:05 [Info] [726102325] v2ray.com/core/app/dispatcher: sniffed domain: jd.sital.space
2020/02/13 04:10:05 [Info] [726102325] v2ray.com/core/app/dispatcher: default route for tcp:jd.sital.space:80
2020/02/13 04:10:05 [Info] v2ray.com/core/transport/internet/kcp: dialing mKCP to udp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:10:05 [Info] v2ray.com/core/transport/internet/kcp: #20797 creating connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:10:05 [Info] [726102325] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:jd.sital.space:80 via tcp:[xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:10:05 [Info] v2ray.com/core/transport/internet/kcp: #20795 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:10:05 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/02/13 04:10:05 [Info] v2ray.com/core/transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2020/02/13 04:10:06 [Info] v2ray.com/core/transport/internet/kcp: #20797 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:10:06 [Info] [726102325] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > context canceled
2020/02/13 04:10:06 [Info] [726102325] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/02/13 04:10:06 [Info] v2ray.com/core/transport/internet/kcp: #20792 closing connection to [xxxx:xxxx:1:1e9::xxxx]:xxxx
2020/02/13 04:10:06 [Info] [2545989133] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:123.123.190.111:8555]
2020/02/13 04:10:06 [Info] [2545989133] v2ray.com/core/proxy/freedom: opening connection to tcp:123.123.190.111:8555
2020/02/13 04:10:06 [Info] [2545989133] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:10:07 [Info] [2545989133] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.111:8555
2020/02/13 04:10:07 [Info] [3786082510] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:wwc.alicdn.com:443
2020/02/13 04:10:07 [Info] [2340076309] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:123.123.190.110:8555
2020/02/13 04:10:08 [Info] [818994386] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:textlink.simba.taobao.com:443
2020/02/13 04:10:08 [Info] [1438994310] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:tce.taobao.com:443
2020/02/13 04:10:08 [Info] [1863397642] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: failed to open connection to tcp:count.taobao.com:443 > v2ray.com/core/common/retry: [dial tcp 203.119.144.26:443: connect: no route to host dial tcp 203.119.144.58:443: connect: no route to host] > v2ray.com/core/common/retry: all retry attempts failed
2020/02/13 04:10:08 [Info] [1863397642] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > v2ray.com/core/proxy/dokodemo: failed to transport response > io: read/write on closed pipe
2020/02/13 04:10:08 [Info] [1268938269] v2ray.com/core/app/dispatcher: sniffed domain: count.taobao.com
2020/02/13 04:10:08 [Info] v2ray.com/core/transport/internet/udp: establishing new connection for udp:114.114.114.114:53
2020/02/13 04:10:08 [Info] v2ray.com/core/app/dispatcher: taking detour [direct] for [udp:114.114.114.114:53]
2020/02/13 04:10:08 [Info] v2ray.com/core/proxy/freedom: opening connection to udp:114.114.114.114:53

配置文件

{
	"log": {
		"access": "/var/log/v2ray-access.log",
		"loglevel": "info",
		"error": "/var/log/v2ray-error.log"
	},
	"dns": {
		"hosts": {
			"example.com": "127.0.0.1"
		},
		"servers": [
			"1.1.1.1",
			"8.8.8.8",
			{
				"address": "114.114.114.114",
				"port": 53,
				"domains": [
					"geosite:cn"
				]
			}
		]
	},
	"routing": {
		"domainStrategy": "IPOnDemand",
		"rules": [
			{
				"type": "field",
				"ip": [
					"geoip:private",
					"geoip:cn"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"domain": [
					"geosite:cn"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"protocol": [
					"bittorrent"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"port": "53",
				"network": "udp",
				"inboundTag": [
					"transparent"
				],
				"outboundTag": "dns_out"
			},
			{
				"type": "field",
				"ip": [
					"1.1.1.1",
					"8.8.8.8",
					"208.67.222.222"
				],
				"outboundTag": "proxy"
			}
		]
	},
	"inbounds": [
		{
			"listen": "0.0.0.0",
			"port": 1080,
			"protocol": "socks",
			"settings": {
				"auth": "noauth",
				"udp": true,
				"ip": "127.0.0.1"
			},
			"streamSettings": {
				"sockopt": {
					
				}
			},
			"sniffing": {
				"enabled": true,
				"destOverride": [
					"http",
					"tls"
				]
			}
		},
		{
			"port": 1081,
			"protocol": "dokodemo-door",
			"settings": {
				"followRedirect": true,
				"network": "tcp"
			},
			"streamSettings": {
				"sockopt": {
					"tproxy": "redirect"
				}
			},
			"tag": "transparent",
			"sniffing": {
				"enabled": true,
				"destOverride": [
					"http",
					"tls"
				]
			}
		}
	],
	"outbounds": [
		{
			"protocol": "vmess",
			"settings": {
				"vnext": [
					{
						"address": "xxxx:xxxx:1:1e9::xxxx",
						"port": xxx,
						"users": [
							{
								"id": "xxxxxxx-4ef1-49a0-b181-xxxxxxxxxx",
								"alterId": 64,
								"security": "auto",
								"level": 1
							}
						]
					}
				]
			},
			"streamSettings": {
				"network": "kcp",
				"security": "none",
				"kcpSettings": {
					"congestion": true,
					"header": {
						"type": "wechat-video"
					}
				},
				"sockopt": {
					"mark": 255
				}
			},
			"tag": "proxy"
		},
		{
			"protocol": "freedom",
			"settings": {
				
			},
			"streamSettings": {
				"sockopt": {
					"mark": 255
				}
			},
			"tag": "direct"
		},
		{
			"protocol": "blackhole",
			"settings": {
				
			},
			"streamSettings": {
				"sockopt": {
					"mark": 255
				}
			},
			"tag": "block"
		},
		{
			"protocol": "dns",
			"settings": {
				
			},
			"streamSettings": {
				"sockopt": {
					"mark": 255
				}
			},
			"tag": "dns_out"
		}
	]
}

can NOT build on latest official openwrt release v18.06.4

Please help correct the feeds or patch the source codes to support the latest official openwrt release. Otherwise this app fails to compile with following golang issue:

src/v2ray.com/core/config.go:9:2: cannot find package "github.com/golang/protobuf/proto" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/github.com/golang/protobuf/proto (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/github.com/golang/protobuf/proto (from $GOPATH)
src/v2ray.com/core/app/router/condition.go:8:2: cannot find package "go.starlark.net/starlark" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/go.starlark.net/starlark (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/go.starlark.net/starlark (from $GOPATH)
src/v2ray.com/core/app/router/condition.go:9:2: cannot find package "go.starlark.net/syntax" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/go.starlark.net/syntax (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/go.starlark.net/syntax (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/cipher_suites.go:17:2: cannot find package "golang.org/x/crypto/chacha20poly1305" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/crypto/chacha20poly1305 (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/crypto/chacha20poly1305 (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/handshake_messages.go:11:2: cannot find package "golang.org/x/crypto/cryptobyte" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/crypto/cryptobyte (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/crypto/cryptobyte (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/key_schedule.go:12:2: cannot find package "golang.org/x/crypto/curve25519" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/crypto/curve25519 (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/crypto/curve25519 (from $GOPATH)
src/v2ray.com/core/external/github.com/refraction-networking/utls/key_schedule.go:13:2: cannot find package "golang.org/x/crypto/hkdf" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/crypto/hkdf (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/crypto/hkdf (from $GOPATH)
src/v2ray.com/core/proxy/vmess/encoding/auth.go:10:2: cannot find package "golang.org/x/crypto/sha3" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/crypto/sha3 (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/crypto/sha3 (from $GOPATH)
src/v2ray.com/core/app/dns/udpns.go:12:2: cannot find package "golang.org/x/net/dns/dnsmessage" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/net/dns/dnsmessage (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/net/dns/dnsmessage (from $GOPATH)
src/v2ray.com/core/transport/internet/http/dialer.go:12:2: cannot find package "golang.org/x/net/http2" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/net/http2 (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/net/http2 (from $GOPATH)
src/v2ray.com/core/transport/internet/http/hub.go:21:2: cannot find package "golang.org/x/net/http2/h2c" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/golang.org/x/net/http2/h2c (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/golang.org/x/net/http2/h2c (from $GOPATH)
src/v2ray.com/core/app/commander/commander.go:12:2: cannot find package "google.golang.org/grpc" in any of:
        /home/wings/openwrt2019/staging_dir/hostpkg/lib/go-cross/src/google.golang.org/grpc (from $GOROOT)
        /home/wings/openwrt2019/build_dir/target-mipsel_24kc_musl/v2ray-core-4.20.0/.go_work/build/src/google.golang.org/grpc (from $GOPATH)

请问下ipk打包了哪些预定义域名、IP列表

下午想加上geosite:category-ads-all作拦截,结果运行提示找不到

failed to parse domain rule: geosite:category-ads-all > v2ray.com/core/infra/conf: failed to load geosite: CATEGORY-ADS-ALL > v2ray.com/core/infra/conf: country not found: CATEGORY-ADS-ALL

勾选"Exlude geoip.dat & geosite.dat"后编译失败

选中“Exlude geoip.dat & geosite.dat”后编译,可以得到以下错误信息:

# move file to make sure download new file every build
mv -f /home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64/dl/geoip-latest.dat /home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/v2ray-core-4.21.3/release/config/geoip.dat
mv: cannot stat '/home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64/dl/geoip-latest.dat': No such file or directory
make[2]: *** [Makefile:313: /home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/v2ray-core-4.21.3/.prepared_2f286b5f0b4aad10359acc18009706ad_18f1e190c5d53547fed41a3eaa76e9e9] Error 1
make[2]: Leaving directory '/home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64/package/v2ray-core'
time: package/v2ray-core/compile#0.29#0.08#0.30
make[1]: *** [package/Makefile:113: package/v2ray-core/compile] Error 2
make[1]: Leaving directory '/home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64'
make: *** [/home/chn/Desktop/openwrt-sdk-ipq40xx-generic_gcc-8.3.0_musl_eabi.Linux-x86_64/include/toplevel.mk:220:package/v2ray-core/compile] 错误 2

希望可以修正。

UPX压缩的一个小建议

如果启用UPX压缩的话,目前的参数是 --ultra-brute (makefile: upx --ultra-brute $(GO_PKG_BUILD_BIN_DIR)/v2ray),比较慢。我比较了一下,压缩后的体积,使用--ultra-brute与使用--lzma只相差几K到几十K,而多耗了许多时间。
参看 upx/upx#174 ,brute及ultra-brute多尝试的几种算法似乎意义不大。所以建议使用--lzma 。
(或者什么也不指定,就用它自己的UCL,这样最快,不过压缩出来的v2ray要大1M。)

Can't find the package for mips64_octeon.

My router is ubnt erlite-3, which came with a Cavium Octeon CN5020 SOC. But v2ray-core failed to install from the package source http://openwrt.kuoruan.net/packages/releases/mips64_octeon .
Some information is pasted as follows:

root@OpenWrt:~# opkg print-architecture
arch all 1
arch noarch 1
arch mips64_octeon 10

root@OpenWrt:~# cat /etc/*release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='18.06.2'
DISTRIB_REVISION='r7676-cddd7b4c77'
DISTRIB_TARGET='octeon/generic'
DISTRIB_ARCH='mips64_octeon'
DISTRIB_DESCRIPTION='OpenWrt 18.06.2 r7676-cddd7b4c77'
DISTRIB_TAINTS=''
NAME="OpenWrt"
VERSION="18.06.2"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 18.06.2"
VERSION_ID="18.06.2"
HOME_URL="http://openwrt.org/"
BUG_URL="http://bugs.openwrt.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r7676-cddd7b4c77"
LEDE_BOARD="octeon/generic"
LEDE_ARCH="mips64_octeon"
LEDE_TAINTS=""
LEDE_DEVICE_MANUFACTURER="OpenWrt"
LEDE_DEVICE_MANUFACTURER_URL="http://openwrt.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="OpenWrt 18.06.2 r7676-cddd7b4c77"

"pkg_hash_fetch_best_installation_candidate: Packages for v2ray-core found, but incompatible with the architectures configured"

你好,

我的中文不太好,所以我使用谷歌翻译下面的原始英文。

首先,谢谢你做到这一点。 真的太棒了!

在尝试从发行版安装时,我收到以下错误:

root@OpenWrt:/tmp# curl -L https://github.com/kuoruan/openwrt-v2ray/releases/download/v4.18.2-1/v2ray-core_4.18.2-1_arm_cortex-a9.ipk --output v2ray-core.ipk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   628    0   628    0     0    539      0 --:--:--  0:00:01 --:--:--   541
100 12.2M  100 12.2M    0     0  20223      0  0:10:36  0:10:35  0:00:01 31833
root@OpenWrt:/tmp# opkg install v2ray-core.ipk
Unknown package 'v2ray-core'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for v2ray-core found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package v2ray-core.

opkg print-architecture是:

arch all 1
arch noarch 1
arch arm_cortex-a9_vfpv3 10

我自己尝试从源代码编译,但是我得到了很多我无法弄清楚的错误。


Hello,

My Chinese isn't very good so I'm using Google translate with the original English below.

First, thank you for making this. It's really awesome!

While trying to install from releases, I get the following error:

root@OpenWrt:/tmp# curl -L https://github.com/kuoruan/openwrt-v2ray/releases/download/v4.18.2-1/v2ray-core_4.18.2-1_arm_cortex-a9.ipk --output v2ray-core.ipk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   628    0   628    0     0    539      0 --:--:--  0:00:01 --:--:--   541
100 12.2M  100 12.2M    0     0  20223      0  0:10:36  0:10:35  0:00:01 31833
root@OpenWrt:/tmp# opkg install v2ray-core.ipk
Unknown package 'v2ray-core'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for v2ray-core found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package v2ray-core.

opkg print-architecture is:

arch all 1
arch noarch 1
arch arm_cortex-a9_vfpv3 10

I've tried to compile from source myself but I get a lot of errors that I can't figure out.

/etc/init.d/v2ray 的 typo 導致無法啟動 v2ray 服務

機器: Xiaomi Mi Router 3G
OpenWrt 版本: 19.07.0
v2ray-core 版本: 4.22.1-3
luci-app-v2ray 版本: 1.5.2-1

情況:
在 luci 裡面無論是 reload service, 或是在 Startup 裡面 restart 都無法正常啟動
在 ssh 將生成的 json 檔案 copy 至 home directory 之後 test run 是這樣子

root@OpenWrt:~# v2ray -test -config /root/v2ray.main.json
V2Ray 4.22.1 (OpenWrt) R3 (go1.13.5 linux/mipsle)
A unified platform for anti-censorship.
main: failed to read config file: /root/v2ray.main.json > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ray.com/core/infra/conf/command: failed to parse json config > v2ray.com/core/infra/conf/serial: failed to parse json config > v2ray.com/core/infra/conf: invalid VMess user > json: cannot unmarshal string into Go struct field VMessAccount.alterId of type uint16

疑似是 /etc/init.d/v2ray 的腳本有 typo 而無法啟動,
編輯了該檔案之後恢復正常

解決方式:
vim /etc/init.d/v2ray
搜尋 test -n "$s_vmess_client_alter_id"
將後面的 json_add_string 改成 json_add_int
大概在 1155 行的位置

装完这个和luci后在服务里找不到

装了你这个core 还有你的luci ipk,一共三个ipk,装完后在软件包里都显示出来了,但是服务里怎么都显示不出来。删缓存和重启都试过了,没用,求助啊!

開啟服務后,路由器上原本的端口映射失效。

我的是小米路由器,是外网ip,而且已經配置好ddns,設置好路由器的端口映射,啟動服務前,外網能鏈接上內網的設備,開啟服務后就鏈接不上了,請問大大是不是軟件裡面的路由功能也要設置?還是要命令行裡面手動設置iptable?

按照提示编译不通过

使用 WNDR4300 18.06.2 的 SDK,在 Deepin 15.10.1 下编译。

直接按照 README.md 中提示编译时,会提示类似于下面的错误(有很多,只截取了前三条):

src/v2ray.com/core/config.go:9:2: cannot find package "github.com/golang/protobuf/proto" in any of:
	/home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/staging_dir/hostpkg/lib/go-cross/src/github.com/golang/protobuf/proto (from $GOROOT)
	/home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.19.1/.go_work/build/src/github.com/golang/protobuf/proto (from $GOPATH)
src/v2ray.com/core/app/router/condition.go:8:2: cannot find package "go.starlark.net/starlark" in any of:
	/home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/staging_dir/hostpkg/lib/go-cross/src/go.starlark.net/starlark (from $GOROOT)
	/home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.19.1/.go_work/build/src/go.starlark.net/starlark (from $GOPATH)
src/v2ray.com/core/app/router/condition.go:9:2: cannot find package "go.starlark.net/syntax" in any of:
	/home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/staging_dir/hostpkg/lib/go-cross/src/go.starlark.net/syntax (from $GOROOT)
	/home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.19.1/.go_work/build/src/go.starlark.net/syntax (from $GOPATH)

我设法解决这个问题。我的电脑(Linux)上已经部署好了 GO 的开发环境,并且之前尝试编译过x64的v2ray,因此直接将 /home/chn/go/src 中相关的包复制到了 ./build_dir/target-mips_24kc_musl/v2ray-core-4.19.1/.go_work/build/src 中。

再次编译,提示 undefined: net.ListenConfig 。查找到是因为 GO 的版本过低。

因此,我将整个 SDK 清理干净后(整个删掉再重新下载),更新、安装 feeds,并修改了 ./feeds/packages/lang/golang/golang-version.mk 中的版本为 1.12.5(原先是1.10.3),同时修改HASH。重新编译 v2ray,提示以下错误:

# crypto/rc4
../../../../../staging_dir/hostpkg/lib/go-cross/src/crypto/rc4/rc4_ref.go:11:18: (*Cipher).XORKeyStream redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/crypto/rc4/rc4.go:61:6
../../../../../staging_dir/hostpkg/lib/go-cross/src/crypto/rc4/rc4_ref.go:12:3: c.xorKeyStreamGeneric undefined (type *Cipher has no field or method xorKeyStreamGeneric)
runtime
# runtime
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:65:2: bucketCntBits redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:64:18
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:66:2: bucketCnt redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:65:23
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:70:2: loadFactorNum redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:69:18
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:71:2: loadFactorDen redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:70:18
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:77:2: maxKeySize redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:76:17
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:78:2: maxValueSize redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:77:17
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:83:2: dataOffset redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:85:4
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:94:2: evacuatedX redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:93:19
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:95:2: evacuatedY redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:94:19
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:96:2: evacuatedEmpty redeclared in this block
	previous declaration at ../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/hashmap.go:92:19
../../../../../staging_dir/hostpkg/lib/go-cross/src/runtime/map.go:96:2: too many errors
make[2]: *** [Makefile:290: /home/chn/Desktop/openwrt-sdk-18.06.2-ar71xx-nand_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/v2ray-core-4.19.1/.built] Error 2

请问,我应该怎么办呢?

"Illegal instruction" prompt

I have installed v2ray-core_4.20.0-2_arm_cortex-a9.ipk and related luci ipk on my wzr-1750dhp. When I start the v2ray from luci or command line, it will prompt ""Illegal instruction". What can I do?

Can't install 4.22.1-3 with wndr3700v4 openwrt 19.07

Hi, i am meeting same problems as #42. i will try other version , but pls kindly debug it. THX.
root@OpenWrt:~# opkg install v2ray-core
Installing v2ray-core (4.22.1-3) to root...
Downloading http://openwrt.kuoruan.net/packages/releases/mips_24kc/v2ray-core_4.22.1-3_mips_24kc.ipk
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for v2ray-core:
  • ca-bundle
  • opkg_install_cmd: Cannot install package v2ray-core.
    root@OpenWrt:# opkg print-architecture
    arch all 1
    arch noarch 1
    arch mips_24kc 10
    root@OpenWrt:
    # cat /etc/openwrt_
    openwrt_release openwrt_version
    root@OpenWrt:# cat /etc/openwrt_release
    DISTRIB_ID='OpenWrt'
    DISTRIB_RELEASE='19.07.0'
    DISTRIB_REVISION='r10860-a3ffeb413b'
    DISTRIB_TARGET='ar71xx/nand'
    DISTRIB_ARCH='mips_24kc'
    DISTRIB_DESCRIPTION='OpenWrt 19.07.0 r10860-a3ffeb413b'
    DISTRIB_TAINTS='no-all'
    root@OpenWrt:
    #

stream settings 输入bug

在使用websocket+tls的情况下, 在Outbound—>Stream settings—>里面输入path: "/",然后保存。在About里面会显示出path: "反斜杠/"。我使用用的是v4.20.0-3,v2ray-core_4.20.0-3_arm_cortex-a9_vfpv3.ipk。

How to install v2ray client in OpenWrt 18.06.4

Hello, I have 3 questions want to be answered.

  1. Is it also work for OpenWrt 18.06.4?
  2. My processor is MIPS 1004Kc V2.15, which ipk should I download?
  3. Is that I need to install and build afterward?

Thanks

-ash: ./v2ray: not found

root@X-WRT:/usr/bin# ./v2ray
-ash: ./v2ray: not found

运行opkg install 成功安装,但是怎么运行呢?

请问这种情况会是客户端的问题吗?

> cat /etc/*release
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='17.01-SNAPSHOT'
DISTRIB_REVISION='r4076-42f7ad1'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ipq806x/generic'
DISTRIB_ARCH='arm_cortex-a15_neon-vfpv4'
DISTRIB_DESCRIPTION='LEDE Reboot 17.01-SNAPSHOT r4076-42f7ad1'
DISTRIB_TAINTS='no-all busybox'
NAME="LEDE"
VERSION="17.01-SNAPSHOT, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot 17.01-SNAPSHOT"
VERSION_ID="17.01-snapshot"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r4076-42f7ad1"
LEDE_BOARD="ipq806x/generic"
LEDE_ARCH="arm_cortex-a15_neon-vfpv4"
LEDE_TAINTS="no-all busybox"
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot 17.01-SNAPSHOT r4076-42f7ad1"

>opkg print-architecture
arch all 1
arch noarch 1
arch arm_cortex-a15_neon-vfpv4 10

感谢你的劳动与分享。
因为被难住太久,搜索没能解决,所以来这边求助。
我用的release是 v2ray-core_4.22.1-4_arm_cortex-a15_neon-vfpv4.ipk
手机和电脑上的v2ray使用相同服务器没问题,路由器上1.1.1.1 DNS转发也正常
附上截图说明一下我遇到的问题:

client
客户端

server
服务端

firewall规则

# ipset -R < /etc/config/v2ray/ad.ips
ipset -R < /etc/config/v2ray/gw.ips

# resever IP
iptables -t mangle -I PREROUTING -d 127.0.0.0/24 -j RETURN
iptables -t mangle -I PREROUTING -d 192.168.0.0/16 -j RETURN
iptables -t mangle -I PREROUTING -d 10.42.0.0/16 -j RETURN
iptables -t mangle -I PREROUTING -d 0.0.0.0/8 -j RETURN
iptables -t mangle -I PREROUTING -d 10.0.0.0/8 -j RETURN
iptables -t mangle -I PREROUTING -d 172.16.0.0/12 -j RETURN
iptables -t mangle -I PREROUTING -d 224.0.0.0/4 -j RETURN
iptables -t mangle -I PREROUTING -d 240.0.0.0/4 -j RETURN
iptables -t mangle -I PREROUTING -d 169.254.0.0/16 -j RETURN
iptables -t mangle -I PREROUTING -d 255.255.0.0/8 -j RETURN

ip rule add fwmark 0x01/0x01 table 100
ip route add local 0.0.0.0/0 dev lo table 100
# iptables -t nat -A PREROUTING -m set --match-set ad dst -j REJECT
iptables -t mangle -A PREROUTING -p tcp -m set --match-set gw dst -j TPROXY --on-port 12345 --tproxy-mark 0x01/0x01
iptables -t mangle -A PREROUTING -p udp -m set --match-set gw dst -j TPROXY --on-port 12345 --tproxy-mark 0x01/0x01
iptables -t mangle -A PREROUTING -p udp -d 1.1.1.1 -j TPROXY --on-port 12345 --tproxy-mark 0x01/0x01
iptables -t mangle -A OUTPUT -m mark --mark 2 -j RETURN
iptables -t mangle -A OUTPUT -p udp -d 1.1.1.1 -j MARK --set-mark 0x01/0x01

# The following two lines are for router self (optional)

iptables -t mangle -A OUTPUT -p tcp -m set --match-set gw dst -j MARK --set-mark 0x01/0x01
iptables -t mangle -A OUTPUT -p udp -m set --match-set gw dst -j MARK --set-mark 0x01/0x01

客户端config

{
  "log" : 
  {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "debug"
  },
  "inbounds": [
  {
    "listen": "0.0.0.0",
    "port": 12345,
    "protocol": "dokodemo-door",
    "settings": {
      "network": "tcp,udp",
      "followRedirect": true
    },
    "streamSettings": {
      "sockopt": {
      "tproxy": "tproxy"
      }
     }
  }
  ],
  "outbounds": [
  {
    "protocol": "vmess",
    "tag": "proxy",
    "settings": {
      "vnext": [{
        "address": "servername",
        "port": 443,
        "users": [{
          "id": "uuid",
          "alterId": 64,
          "level": 1,
          "security": "aes-128-gcm"
        }]
      }]
    },
    "streamSettings": {
      "network" : "ws",
      "security": "tls",
      "wsSettings": {
        "path": "/path"
      },
      "sockopt": {
        "mark": 2,
        "tproxy": "tproxy"
      },
      "tlsSettings": {
        "serverName": "servername",
        "alpn" : [
            "http\/1.2"
          ],
        "allowInsecure": false,
        "allowInsecureCiphers" : false
      }
    }
  }
  ]
}

服务端config

{
  "log" :
  {
    "loglevel" : "debug",
    "access" : "/var/log/v2ray/access.log",
    "error" : "/var/log/v2ray/error.log"
  },

  "inbound":
  {
    "port": 12345,
    "protocol": "vmess",

    "settings": {
      "clients": [
        {
          "id": "uuid",
          "level": 1,
          "alterId": 64
        }
      ]
    },

   "streamSettings": {
   "network": "ws",
   "wsSettings": {
      "path": "/path"
      }
    }
  },

  "outbound":
  {
    "protocol": "freedom",
    "settings": {}
  },

  "outboundDetour": [
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],

  "routing":
  {
    "strategy": "rules",
    "settings": {
      "rules": [
        {
          "type": "field",
          "ip": ["geoip:private"],
          "outboundTag": "blocked"
        }
      ]
    }
  }
}

Illegal Instruction issue

I was using Netgear R6300 V2 with OpenWrt 17.01.4.
I can install the v2ray package, but when I run from /usr/bin/v2ray, it shows the illegal instruction. Is there any version may compatible with that device?

请问,是否可以推荐可用的luci ?

谢谢大神提供op的 makefile.
我想编译进固件,但完全没接触过。能有个luci 估计会更适合我这种伸手党吧 ^^
还请大神推荐个 适用的luci的 repository

感恩

树莓派4B安装A72报错

折腾了两天树莓派4B,终于安装上了OpenWRT。使用的是
http://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2709/openwrt-brcm2708-bcm2709-rpi-2-ext4-factory.img.gz

openWRT官网(https://openwrt.org/toh/hwdata/raspberry_pi_foundation/raspberry_pi_foundation_raspberry_pi_4_b)
给的是用
http://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2709/openwrt-brcm2708-bcm2709-rpi-2-squashfs-factory.img.gz
来安装,但是这样莫名出现SD卡只读错误。换成ext4的就好了。

然后新的问题是版载BCM43455 wifi芯片无法启动。折腾了很久,发现必须将Channel选一个固定的,不能选Auto,否则就无法启动。

最后,安装为4B编译的v2ray ipk (A72),报错:
*pkg_hash_fetch_best_installation_candidate: Packages for v2ray-core found, but incompatible with the architectures configured

  • opkg_install_cmd: Cannot install package v2ray-core.

切换了其他几个,都是同样的。

检查opkg update,发现走的是
http://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz

所以这个snapshot是否需要用到arm-cortex-a7_neon才能安装?

麻烦了

安装路径应该是 /usr/bin/v2ray/ 目录

V2ray 官方的 Linux 安装脚本是将文件放到 /usr/bin/v2ray/ 目录下的
Openwrt 的几个 luci-app 都是以 /usr/bin/v2ray/v2ray 为路径的,一些脚本也是
目前您的 Makefile 里是将它们安装到 /usr/bin 下的,所以会和其它 luci-app 不兼容

k2p银色b1应该安装哪个架构,试了好几个都不行

试了好几个都不行,报错

$ opkg install v2ray-core_4.20.0-3_mips_24kc.ipk 
Package v2ray version v3.26 has no valid architecture, ignoring.
Package lua-cjson version 2.1.0-2 has no valid architecture, ignoring.
Unknown package 'v2ray-core'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for v2ray-core found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package v2ray-core.

Try to build for aarch64_cortex-a53 (RPi 3), but always fails.

Having this error, not sure if any one had even successfully built for aarch64_cortex-a53 (RPi 3)?

.....
go.starlark.net/resolve
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/congestion
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/wire
go.starlark.net/internal/compile
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/flowcontrol
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/ackhandler
go.starlark.net/starlark

Cleaning module download cache (golang/go#27455)
go: finding v2ray.com/core/.go_work/build latest
go: finding v2ray.com/core/.go_work latest
can't load package: package v2ray.com/core/.go_work/build: unknown import path "v2ray.com/core/.go_work/build": cannot find module providing package v2ray.com/core/.go_work/build

make[2]: *** [/root/openwrt/build_dir/target-aarch64_cortex-a53_musl/v2ray-core-4.19.1/.built] Error 2
make[2]: Leaving directory /root/openwrt/package/v2ray' time: package/v2ray/compile#38.00#33.45#106.38 make[1]: *** [package/v2ray/compile] Error 2 make[1]: Leaving directory /root/openwrt'
make: *** [package/v2ray/compile] Error 2
root@0ce88aac5df2:~/openwrt#

大神,装是装上了,可否做成安装时直接装成服务或者开机自动执行。

你好,大神
查了好多资料,只有您的APK布属在软路由上可以运行。感谢您的努力,小白用户,可能请教的问题比较初级,还请见谅。
我是想在软路由 X86的机器上Openwrt Lede上装V2ray 做为服务端,放在HK的朋友家。这样可以避免地址被墙的问题,HK的宽带是自动获取动态公网地址,就算被墙也只要重起一下就可以了。试了V2ray官网的脚本wget https://install.direct/go.sh,在Lede上 ,装是可以装上,但是无法起动V2ray,提示权限拒绝。
然后改用了您的APK文件安装,很顺利的安装到了 /usr/bin 目录下,放入了Config.json 文件后,手动打 V2ray ,可以运行,但是问题是终端上就无法做其它操作了,除非Ctrl+C,
麻烦问一下,
1 是否可以做成安装时,直接添加成服务,开机自动起动,
2 起动与停止的指令,可以麻烦告知一下吗?

image

运行状态一直显示not running

路由器上安装完毕,已通过/etc/init.d/v2ray start启动v2ray服务,服务状态设置为enable,但是状态一直显示为not running,需要手动打开程序并制定config文件才能启动

v2ray -config /var/etc/v2ray/v2ray.main.json

Phicomm K3 (BCM5301X) run v2ray error : Illegal instruction

OpenWrt 19.07 无法运行编译完成的v2ray,运行提示:Illegal instruction

root@Phicomm-K3:~# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 1400.00
Features : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0

processor : 1
model name : ARMv7 Processor rev 0 (v7l)
BogoMIPS : 1400.00
Features : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0

Hardware : BCM5301X
Revision : 0000
Serial : 0000000000000000

发现几个问题,虚拟内存占用过高,速度上不去,还有MUX关闭后功能不正常

硬件:WNDR4300v1,Os:OpenWrt 18.06.2

总体物理内存和cpu可以看出负载并不高,但是VSZ占了662m,我怀疑是这个问题导致了连接速度过低,youtube测试连接速度最高直到4800kbps,大约600KB/s,而我单纯用V2ray客户端连接可以达到5-6万kbps,这个差的有点多
image

不知道是我的配置问题还是咋整的,一旦关闭mux,有时候访问youtube连不上,有时候连google都连不上,国内直连是没有问题
附上配置:

{
"log":
{
"access": "/var/log/v2ray_acess.log",
"error": "/var/log/v2ray_error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": "10000",
"protocol": "dokodemo-door",
"settings":
{
"network": "tcp,udp",
"timeout": 30,
"followRedirect": true
},
"sniffing":
{
"enabled": true,
"destOverride": ["http", "tls"]
}
}],
"outbounds": [
{
"protocol": "vmess",
"tag": "ls",
"mux":
{
"enabled": false,
"concurrency": 8
},
"settings":
{
"vnext": [
{
"address": "www.abc.com",
"users": [
{
"id": "xxxxxx",
"alterId": 64,
"level": 0,
"security": "auto"
}],
"port": 443
}]
},
"streamSettings":
{
"wsSettings":
{
"path": "/abcd/",
"headers":
{
"host": "www.abc.com"
}
},
"tlsSettings":
{
"allowInsecure": true
},
"security": "tls",
"network": "ws"
}
},
{
"protocol": "freedom",
"settings":
{},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings":
{},
"tag": "blocked"
}],
"routing":
{
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"domain": ["geosite:category-ads-all"],
"outboundTag": "blocked"
},
{
"type": "field",
"domain": ["geosite:cn"],
"outboundTag": "direct"
},
{
"type": "field",
"domain": ["geosite:cn"],
"outboundTag": "direct"
},
{
"type": "field",
"protocol": ["bittorrent"],
"outboundTag": "direct"
},
{
"type": "field",
"domain": ["domain:cloudflare.com"],
"outboundTag": "direct"
}]
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.