92 Commits
Author SHA1 Message Date
Zakk ba24a94719 fix: names and descriptions after the bundled core
Strings that still named v2ray-core, "v2ray / xray" or a wiki: six locales
(the core is v2raya_core; the invalid-service message, the SS plugin help,
the transparent-proxy hint, the TUN example, the custom inbound tag hint),
the --v2ray-bin, --core-startup-timeout and --plugin-manager descriptions
and their copies in the OpenRC confd files (the plugin manager is called
with --stage=parse|configuration, --link and --v2raya-confdir, not with
life-cycle stages), two comments that forbade or excused the current design,
the package descriptions that listed SSR, the AUR Go minimum (go.mod says
1.26), the systemd Documentation= and the installer's shortcut that pointed
at the wiki and the docs site, and the README sentence on network requests,
which left out the weekly release check and the NTP query on VMess failure.
2026-09-21 12:44:14 +10:00
Zakk 833af7dc74 refactor: use what the dependencies already provide
A read of the tree for home-grown code that a dependency or the platform
covers. Each item names what replaces it.

- IPv4 CIDR membership was a binary-string trie (infra/dataStructure/trie)
  fed with CIDRs rendered as bit strings; net.IPNet.Contains, which the
  same file already used for IPv6, does it. The trie package is gone.
- The response replay cache was an LRU with its own linked list, indexes
  and timeout strategy (infra/dataStructure/lru), of which one fixed-size
  instance existed; hashicorp/golang-lru/v2, already in go.mod, is that
  cache, typed. go mod tidy also dropped go-nanoid, which nothing imported.
- The HTTP client for subscription updates through the local proxy carried
  a CONNECT dialer of its own (pkg/util/proxyWithHttp); http.Transport's
  Proxy handles socks5:// and http:// URLs, resolves hostnames on the
  SOCKS proxy and uses CONNECT for https. Verified on the VM: a
  subscription update succeeds in both "pac" and "proxy" modes.
- core/dns/qtype.go listed nine type names in two switches before falling
  back to miekg/dns tables that contain the same names; dns.Type.String
  and dns.StringToType are the tables.
- The GUI tracked prefers-color-scheme with its own media query and
  toggled a theme-dark class nothing reads any more; Vuetify's "system"
  theme follows the OS itself. Verified in headless Chrome: auto follows
  the OS in both directions, an explicit choice overrides it.
- The AUR packages carried .INSTALL hooks whose only content was a
  coloured "Completed!" banner, duplicated in the deb/rpm after-install
  scripts; pacman and apt report that themselves. The hooks are gone, the
  release workflow stops copying them, and after_install/after_upgrade
  keep only daemon-reload and the restart.
- The tap release job downloaded eight artifacts in eight steps;
  actions/download-artifact takes a pattern with merge-multiple.
2026-09-20 16:40:34 +10:00
Zakk ae8e5a5047 chore: drop what nothing reaches
Three service packages outside the executable's dependency graph
(common/antiPollution, pkg/util/gopeed, kernel/vmessInfo), a blank
import of miekg/dns the core already imports, the --core-type flag no
code read, the PutAccount handler whose route was commented out, two GUI
API wrappers without a caller, two .SRCINFO files the release regenerates
and an unreferenced runit sample. The workflow path filters watched a
root go.mod that does not exist and the PR build skipped core/.
2026-09-20 09:17:11 +10:00
Markson GuGa Beyond cffe97ca3d core: migrate xray-core from git submodule to go mod and port QUIC outbounds to daeuniverse/outbound
The vendored core/xray submodule is dropped. xray-core is now pinned via a
go mod pseudo-version resolving to v26.7.28 (commit 5ca6f4b7); v26 tags are
not directly resolvable because Xray's module path lacks the /v26 suffix, so
the pin must be made by commit hash. CI workflows and the AUR PKGBUILD no
longer need "submodules: recursive" / "git submodule update".

The juicity and tuic outbounds are ported from softwind to
github.com/daeuniverse/outbound (temporarily replaced with an olicesx fork
pending sticky-ip support):

- Dialer calls use DialContext; the network string is decoded with
  netproxy.ParseMagicNetwork instead of a "udp" prefix check, since it may
  be binary-encoded via netproxy.MagicNetwork.
- A packetConnAdapter wraps xray's UDP dial result: outbound asserts the
  underlay conn to netproxy.PacketConn whose ReadFrom/WriteTo signatures
  (netip.AddrPort / string) differ from net.PacketConn, while xray returns
  *internet.PacketConnWrapper.
2026-09-18 13:15:45 +08:00
Markson Pigeonzilla Plus 36d19aa141 fix(ci): add ssh config for AUR release 2026-08-22 15:01:16 +08:00
Markson Pigeonzilla Plus ef8e85031c fix(ci): fix v2raya-bin's missing data file 2026-08-22 11:25:21 +08:00
Markson Pigeonzilla Plus b7da452276 ci: re-init AUR release 2026-08-22 09:02:48 +08:00
Markson Pigeonzilla Plus 8cfca15b02 feat: remove GitHub badges from sharing modal and bundle v2raya_core in AUR package
- Remove GitHub stars/forks/watchers badges from modalSharing.vue footer
- Add scoped CSS for modal card-head/card-foot border-radius styling
- Build and install v2raya_core binary in AUR PKGBUILD
- Remove v2ray>=5.0.0 runtime dependency (core is now bundled)
2026-06-30 03:46:02 +08:00
Markson Pigeonzilla Plus e5ed9e3a11 fix(ci): add missing install/aur/tool/ scripts to git tracking
The ssh-add_expect (and related expect scripts) were present on disk
but not tracked by git, causing CI to fail with
'No such file or directory' when running the AUR release step.
2026-06-30 03:26:09 +08:00
Markson Pigeonzilla Plus 6697d44b18 feat(v2raya-bin): add v2raya_core binary to AUR package
- Add v2raya_core source downloads and checksums for all architectures
  in PKGBUILD and .SRCINFO
- Install v2raya_core to /usr/bin/v2raya_core in package step
- Update deploy_v2raya_bin.sh to compute and substitute v2raya_core hashes
- Fix release workflow: download v2raya_core binaries for hash computation
- Fix release workflow: use heredoc for SSH key to avoid corruption
- Fix release workflow: correct ssh-add_expect script path
2026-06-30 03:15:25 +08:00
Markson Hon cfe5a69049 chore: update xray submodule to v26.6.1 and replace allowInsecure with cert pinning
- Update core/xray submodule from v1.260327.0 (v26.3.27) to v26.6.1
- Remove deprecated AllowInsecure field from all protocol structs
- Add PinnedPeerCertSha256 and VerifyPeerCertByName fields (service layer)
- Update ngui (Nuxt) frontend with text inputs for new fields
- Update gui (Vue 2) frontend with text inputs for new fields
- Keep existing PinnedSHA256 for juicity (no duplicate)
- Backward compatible: old allowInsecure params silently ignored
- Run go mod tidy to update dependencies
2026-06-20 22:51:17 +08:00
Markson Hon 1b25daa5ca ci: remove debian repo build 2025-10-08 17:35:18 +08:00
Milinda Brantini bc7f85cf98 aur: remove 'armv6h' in PKGBUILD (#1449) 2024-07-16 16:31:13 +08:00
Markson Hon 4317e7eabc Update .SRCINFO 2024-07-16 11:24:44 +08:00
Markson Hon 7e5d228f6d Update .SRCINFO 2024-07-16 11:23:59 +08:00
Markson Hon 281e5dd07d aur: remove armv6 of v2raya-bin 2024-07-16 10:50:21 +08:00
mzz2017 62c14cc980 chore: try to fix yarn engine version problem 2024-06-19 22:22:57 +08:00
Markson Hon 5c41ffd184 aur(v2raya-bin): add loong64 2023-12-11 20:49:05 +08:00
Markson c17c045eac aur: remove notice of systemd service 2023-09-01 21:28:37 +08:00
3ebcb4d021 aur: fix v2raya-bin scrinfo (#1045)
* aur: fix v2raya-bin scrinfo

* aur: replace with Juicity to DESC

* Update install/aur/v2raya-bin/.SRCINFO

* Update install/aur/v2raya-bin/PKGBUILD

---------

Co-authored-by: Markson <markson@2333ma.top>
Co-authored-by: mzz <2017@duck.com>
2023-08-21 21:42:02 +08:00
mzz2017 935d751294 chore: update pkgdesc 2023-08-21 21:39:34 +08:00
Markson 8ce6f5d6e6 aur: fix armv6 and armv7 2023-08-21 19:18:51 +08:00
mzzandclheo 1928283842 Merge xray support from CI-He-O/v2rayA (#1004)
* added xtls-rprx-vision & uTLS fingerprint

* removed node option openssl-legacy-provider

* removed node option openssl-legacy-provider

* update github action

* fix: vless id

---------

Co-authored-by: clheo <93776896+Cl-He-O@users.noreply.github.com>
2023-08-02 23:54:07 +08:00
mzz2017 94b79ac9fe chore(aur): fix output default config permission denied 2023-02-04 23:44:58 +08:00
mzz a9901ca0fd Merge pull request #680 from v2rayA/dev-config 2022-11-06 14:34:20 +08:00
mzz2017 8f94ff7da7 chore: fix nodejs build 2022-11-06 14:33:38 +08:00
cubercsl fdb3adc471 chore(config): add default env config file for systemd user 2022-10-11 15:55:21 +08:00
mzz2017 c6b9d685c4 chore: aur and workflows 2022-09-28 16:49:17 +08:00
mzz2017 c3a54d3151 chore: use v2raya.org instead of v2raya.mzz.pub 2022-05-21 21:36:29 +08:00
mzz2017 03871dc54b chore: GOPROXY need 'direct' 2022-05-01 17:08:50 +08:00
mzz d7f9539dc0 chore: move logs to /var/log in accordance with FHS 3.0 #415 (#469) 2022-04-20 13:01:24 +08:00
mzz2017 1fe19b784e chore(aur): remove npm mirror 2022-03-14 00:01:56 +08:00
mzz2017 f13f6ee854 use v2raya.org instead of v2raya.mzz.pub 2021-10-02 13:40:17 +08:00
mzz2017 c65419cf7a chore: use mirrors.aliyun.com/goproxy instead 2021-10-02 13:19:16 +08:00
mzz2017 a2d0270af8 optimize: replace vlessGrpc inbound with vmess inbound 2021-09-29 17:23:13 +08:00
mzz2017 ad9cc148d5 chore: more platforms and refine architectures 2021-09-17 13:01:37 +08:00
mzz2017 729c6e5542 chore: fix aur version 2021-09-16 14:03:00 +08:00
mzz2017 6c537a3213 chore: rotate keys 2021-09-16 12:59:43 +08:00
mzz2017 042eeaa7e3 chore: fix aur version 2021-09-16 02:38:16 +08:00
mzz2017 befc6a660d chore: fix release 2021-09-16 02:29:52 +08:00
mzz2017 86f34ddaa8 chore: fix release 2021-09-16 02:16:26 +08:00
mzz2017 fe1a652665 chore: fix release 2021-09-16 01:58:19 +08:00
mzz2017 b4a3967cec chore: build 2021-09-04 19:00:35 +08:00
mzz2017 5e1fb34daa chore(aur): remove daemon-reload 2021-09-01 19:21:21 +08:00
mzz2017 c382978424 chore(aur): v2raya 2021-08-26 09:07:48 +08:00
mzz2017 072bce9e7a chore: more convenient packaging 2021-08-20 19:32:41 +08:00
mzz2017 a260d651d8 chore: add v2raya@.service for different users 2021-08-19 23:04:19 +08:00
mzz2017 8620361045 chore(aur:v2raya): use dynamic link to save runtime memory 2021-08-10 20:36:08 +08:00
mzz2017 b5b9e9505c chore(AUR): move embeded static files to specific directory before compilation 2021-08-07 20:25:41 +08:00
mzz2017 9c94463008 feat: embed web files 2021-08-07 14:14:53 +08:00