diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 75d37b63..44c94b97 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: mihomo Community Support
- url: https://github.com/MetaCubeX/mihomo/discussions
+ url: https://github.com/abyss219/mihomo/discussions
about: Please ask and answer questions about mihomo here.
diff --git a/.github/genReleaseNote.sh b/.github/genReleaseNote.sh
index ab617fd0..41392301 100755
--- a/.github/genReleaseNote.sh
+++ b/.github/genReleaseNote.sh
@@ -29,4 +29,4 @@ echo "## Maintenance" >> release.md
git log --pretty=format:"* %h %s by @%an" --grep="^chore\|^docs\|^refactor" -i $version_range | sort -f | uniq >> release.md
echo "" >> release.md
-echo "**Full Changelog**: https://github.com/MetaCubeX/mihomo/compare/$version_range" >> release.md
+echo "**Full Changelog**: https://github.com/abyss219/mihomo/compare/$version_range" >> release.md
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4fd0c299..97b735c7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -240,7 +240,7 @@ jobs:
else
ARCH=${{matrix.jobs.goarch}}
fi
- PackageVersion=$(curl -s "https://api.github.com/repos/MetaCubeX/mihomo/releases/latest" | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$' | sed 's/v//g' )
+ PackageVersion=$(curl -s "https://api.github.com/repos/abyss219/mihomo/releases/latest" | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$' | sed 's/v//g' )
if [ $(git branch | awk -F ' ' '{print $2}') = "Alpha" ]; then
PackageVersion="$(echo "${PackageVersion}" | awk -F '.' '{$NF = $NF + 1; print}' OFS='.')-${VERSION}"
fi
@@ -344,7 +344,7 @@ jobs:
Release created at ${{ env.BUILDTIME }}
Synchronize ${{ github.ref_name }} branch code updates, keeping only the latest version
- [我应该下载哪个文件? / Which file should I download?](https://github.com/MetaCubeX/mihomo/wiki/FAQ)
+ [我应该下载哪个文件? / Which file should I download?](https://github.com/abyss219/mihomo/wiki/FAQ)
[二进制文件筛选 / Binary file selector](https://metacubex.github.io/Meta-Docs/startup/#_1)
[查看文档 / Docs](https://metacubex.github.io/Meta-Docs/)
EOF
diff --git a/Dockerfile b/Dockerfile
index 67d4a6e5..e695a019 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@ RUN FILE_NAME=`sh file-name.sh` && echo $FILE_NAME && \
FILE_NAME=`ls bin/ | egrep "$FILE_NAME.gz"|awk NR==1` && echo $FILE_NAME && \
mv bin/$FILE_NAME mihomo.gz && gzip -d mihomo.gz && chmod +x mihomo && echo "$FILE_NAME" > /mihomo-config/test
FROM alpine:latest
-LABEL org.opencontainers.image.source="https://github.com/MetaCubeX/mihomo"
+LABEL org.opencontainers.image.source="https://github.com/abyss219/mihomo"
RUN apk add --no-cache ca-certificates tzdata iptables
diff --git a/README.md b/README.md
index d38fbedd..af60fd90 100644
--- a/README.md
+++ b/README.md
@@ -6,14 +6,14 @@
Another Mihomo Kernel.
-
-
+
+
-
-
-
+
+
+
-
+
@@ -36,7 +36,7 @@ A web dashboard with first-class support for this project has been created; it c
## Configration example
-Configuration example is located at [/docs/config.yaml](https://github.com/MetaCubeX/mihomo/blob/Alpha/docs/config.yaml).
+Configuration example is located at [/docs/config.yaml](https://github.com/abyss219/mihomo/blob/Alpha/docs/config.yaml).
## Docs
@@ -50,7 +50,7 @@ Requirements:
Build mihomo:
```shell
-git clone https://github.com/MetaCubeX/mihomo.git
+git clone https://github.com/abyss219/mihomo.git
cd mihomo && go mod download
go build
```
diff --git a/adapter/adapter.go b/adapter/adapter.go
index 31706a2e..fdaacb9f 100644
--- a/adapter/adapter.go
+++ b/adapter/adapter.go
@@ -13,13 +13,13 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/queue"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/queue"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/puzpuzpuz/xsync/v3"
)
diff --git a/adapter/inbound/addition.go b/adapter/inbound/addition.go
index 894910aa..66f0c344 100644
--- a/adapter/inbound/addition.go
+++ b/adapter/inbound/addition.go
@@ -3,7 +3,7 @@ package inbound
import (
"net"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
type Addition func(metadata *C.Metadata)
diff --git a/adapter/inbound/auth.go b/adapter/inbound/auth.go
index 83172746..0bcf4919 100644
--- a/adapter/inbound/auth.go
+++ b/adapter/inbound/auth.go
@@ -4,7 +4,7 @@ import (
"net"
"net/netip"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
var skipAuthPrefixes []netip.Prefix
diff --git a/adapter/inbound/http.go b/adapter/inbound/http.go
index f7d45399..1e9fd858 100644
--- a/adapter/inbound/http.go
+++ b/adapter/inbound/http.go
@@ -3,8 +3,8 @@ package inbound
import (
"net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
// NewHTTP receive normal http request and return HTTPContext
diff --git a/adapter/inbound/https.go b/adapter/inbound/https.go
index 24b30804..f522d49a 100644
--- a/adapter/inbound/https.go
+++ b/adapter/inbound/https.go
@@ -4,7 +4,7 @@ import (
"net"
"net/http"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
// NewHTTPS receive CONNECT request and return ConnContext
diff --git a/adapter/inbound/ipfilter.go b/adapter/inbound/ipfilter.go
index 872d0c85..58b51643 100644
--- a/adapter/inbound/ipfilter.go
+++ b/adapter/inbound/ipfilter.go
@@ -4,7 +4,7 @@ import (
"net"
"net/netip"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
var lanAllowedIPs []netip.Prefix
diff --git a/adapter/inbound/listen.go b/adapter/inbound/listen.go
index ad944006..470ecbf6 100644
--- a/adapter/inbound/listen.go
+++ b/adapter/inbound/listen.go
@@ -7,7 +7,7 @@ import (
"net/netip"
"sync"
- "github.com/metacubex/mihomo/component/keepalive"
+ "github.com/abyss219/mihomo/component/keepalive"
"github.com/metacubex/tfo-go"
)
diff --git a/adapter/inbound/packet.go b/adapter/inbound/packet.go
index a10d402e..b996d36d 100644
--- a/adapter/inbound/packet.go
+++ b/adapter/inbound/packet.go
@@ -1,8 +1,8 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
// NewPacket is PacketAdapter generator
diff --git a/adapter/inbound/socket.go b/adapter/inbound/socket.go
index 8cd301f7..496ba43b 100644
--- a/adapter/inbound/socket.go
+++ b/adapter/inbound/socket.go
@@ -3,8 +3,8 @@ package inbound
import (
"net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
// NewSocket receive TCP inbound and return ConnContext
diff --git a/adapter/inbound/util.go b/adapter/inbound/util.go
index 3bcd2808..fe465261 100644
--- a/adapter/inbound/util.go
+++ b/adapter/inbound/util.go
@@ -7,9 +7,9 @@ import (
"strconv"
"strings"
- "github.com/metacubex/mihomo/common/nnip"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/common/nnip"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
func parseSocksAddr(target socks5.Addr) *C.Metadata {
diff --git a/adapter/outbound/base.go b/adapter/outbound/base.go
index dd226f74..5a061497 100644
--- a/adapter/outbound/base.go
+++ b/adapter/outbound/base.go
@@ -7,10 +7,10 @@ import (
"strings"
"syscall"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
)
type Base struct {
diff --git a/adapter/outbound/direct.go b/adapter/outbound/direct.go
index dbde5593..2681841e 100644
--- a/adapter/outbound/direct.go
+++ b/adapter/outbound/direct.go
@@ -3,10 +3,10 @@ package outbound
import (
"context"
"errors"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/loopback"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/loopback"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
)
type Direct struct {
diff --git a/adapter/outbound/dns.go b/adapter/outbound/dns.go
index 8686b288..ca2bcde5 100644
--- a/adapter/outbound/dns.go
+++ b/adapter/outbound/dns.go
@@ -5,12 +5,12 @@ import (
"net"
"time"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type Dns struct {
diff --git a/adapter/outbound/http.go b/adapter/outbound/http.go
index 54e05f9d..39190393 100644
--- a/adapter/outbound/http.go
+++ b/adapter/outbound/http.go
@@ -12,10 +12,10 @@ import (
"net/http"
"strconv"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
)
type Http struct {
diff --git a/adapter/outbound/hysteria.go b/adapter/outbound/hysteria.go
index b0edab02..49e6f770 100644
--- a/adapter/outbound/hysteria.go
+++ b/adapter/outbound/hysteria.go
@@ -15,18 +15,18 @@ import (
"github.com/metacubex/quic-go/congestion"
M "github.com/sagernet/sing/common/metadata"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- hyCongestion "github.com/metacubex/mihomo/transport/hysteria/congestion"
- "github.com/metacubex/mihomo/transport/hysteria/core"
- "github.com/metacubex/mihomo/transport/hysteria/obfs"
- "github.com/metacubex/mihomo/transport/hysteria/pmtud_fix"
- "github.com/metacubex/mihomo/transport/hysteria/transport"
- "github.com/metacubex/mihomo/transport/hysteria/utils"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ hyCongestion "github.com/abyss219/mihomo/transport/hysteria/congestion"
+ "github.com/abyss219/mihomo/transport/hysteria/core"
+ "github.com/abyss219/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/transport/hysteria/pmtud_fix"
+ "github.com/abyss219/mihomo/transport/hysteria/transport"
+ "github.com/abyss219/mihomo/transport/hysteria/utils"
)
const (
diff --git a/adapter/outbound/hysteria2.go b/adapter/outbound/hysteria2.go
index e7a9adae..fbde0518 100644
--- a/adapter/outbound/hysteria2.go
+++ b/adapter/outbound/hysteria2.go
@@ -10,14 +10,14 @@ import (
"strconv"
"time"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- tuicCommon "github.com/metacubex/mihomo/transport/tuic/common"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ tuicCommon "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/metacubex/sing-quic/hysteria2"
diff --git a/adapter/outbound/mieru.go b/adapter/outbound/mieru.go
index 7aab2f58..e6cd2e66 100644
--- a/adapter/outbound/mieru.go
+++ b/adapter/outbound/mieru.go
@@ -8,9 +8,9 @@ import (
"strconv"
"sync"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
mieruclient "github.com/enfein/mieru/v3/apis/client"
mierumodel "github.com/enfein/mieru/v3/apis/model"
diff --git a/adapter/outbound/reality.go b/adapter/outbound/reality.go
index 6711f378..04a60008 100644
--- a/adapter/outbound/reality.go
+++ b/adapter/outbound/reality.go
@@ -7,7 +7,7 @@ import (
"errors"
"fmt"
- tlsC "github.com/metacubex/mihomo/component/tls"
+ tlsC "github.com/abyss219/mihomo/component/tls"
)
type RealityOptions struct {
diff --git a/adapter/outbound/reject.go b/adapter/outbound/reject.go
index a8e2100d..81b9cdfc 100644
--- a/adapter/outbound/reject.go
+++ b/adapter/outbound/reject.go
@@ -6,9 +6,9 @@ import (
"net"
"time"
- "github.com/metacubex/mihomo/common/buf"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/buf"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
)
type Reject struct {
diff --git a/adapter/outbound/shadowsocks.go b/adapter/outbound/shadowsocks.go
index f73d5302..db27d297 100644
--- a/adapter/outbound/shadowsocks.go
+++ b/adapter/outbound/shadowsocks.go
@@ -7,16 +7,16 @@ import (
"net"
"strconv"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/structure"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/restls"
- obfs "github.com/metacubex/mihomo/transport/simple-obfs"
- shadowtls "github.com/metacubex/mihomo/transport/sing-shadowtls"
- v2rayObfs "github.com/metacubex/mihomo/transport/v2ray-plugin"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/structure"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/restls"
+ obfs "github.com/abyss219/mihomo/transport/simple-obfs"
+ shadowtls "github.com/abyss219/mihomo/transport/sing-shadowtls"
+ v2rayObfs "github.com/abyss219/mihomo/transport/v2ray-plugin"
restlsC "github.com/3andne/restls-client-go"
shadowsocks "github.com/metacubex/sing-shadowsocks2"
diff --git a/adapter/outbound/shadowsocksr.go b/adapter/outbound/shadowsocksr.go
index d0752e79..551d80f1 100644
--- a/adapter/outbound/shadowsocksr.go
+++ b/adapter/outbound/shadowsocksr.go
@@ -7,16 +7,16 @@ import (
"net"
"strconv"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/shadowsocks/core"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowaead"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowstream"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/ssr/obfs"
- "github.com/metacubex/mihomo/transport/ssr/protocol"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/shadowsocks/core"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowaead"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowstream"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/ssr/obfs"
+ "github.com/abyss219/mihomo/transport/ssr/protocol"
)
type ShadowSocksR struct {
@@ -131,7 +131,7 @@ func (ssr *ShadowSocksR) ProxyInfo() C.ProxyInfo {
func NewShadowSocksR(option ShadowSocksROption) (*ShadowSocksR, error) {
// SSR protocol compatibility
- // https://github.com/metacubex/mihomo/pull/2056
+ // https://github.com/abyss219/mihomo/pull/2056
if option.Cipher == "none" {
option.Cipher = "dummy"
}
diff --git a/adapter/outbound/singmux.go b/adapter/outbound/singmux.go
index 26a8d26e..aeb686c0 100644
--- a/adapter/outbound/singmux.go
+++ b/adapter/outbound/singmux.go
@@ -5,12 +5,12 @@ import (
"errors"
"runtime"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
mux "github.com/sagernet/sing-mux"
E "github.com/sagernet/sing/common/exceptions"
diff --git a/adapter/outbound/snell.go b/adapter/outbound/snell.go
index f4b94787..db46e5a5 100644
--- a/adapter/outbound/snell.go
+++ b/adapter/outbound/snell.go
@@ -6,12 +6,12 @@ import (
"net"
"strconv"
- "github.com/metacubex/mihomo/common/structure"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
- obfs "github.com/metacubex/mihomo/transport/simple-obfs"
- "github.com/metacubex/mihomo/transport/snell"
+ "github.com/abyss219/mihomo/common/structure"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
+ obfs "github.com/abyss219/mihomo/transport/simple-obfs"
+ "github.com/abyss219/mihomo/transport/snell"
)
type Snell struct {
diff --git a/adapter/outbound/socks5.go b/adapter/outbound/socks5.go
index b8dd3b39..ff9af28b 100644
--- a/adapter/outbound/socks5.go
+++ b/adapter/outbound/socks5.go
@@ -10,11 +10,11 @@ import (
"net/netip"
"strconv"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type Socks5 struct {
diff --git a/adapter/outbound/ssh.go b/adapter/outbound/ssh.go
index d746842d..fbeed421 100644
--- a/adapter/outbound/ssh.go
+++ b/adapter/outbound/ssh.go
@@ -12,10 +12,10 @@ import (
"strings"
"sync"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
"github.com/metacubex/randv2"
"golang.org/x/crypto/ssh"
diff --git a/adapter/outbound/trojan.go b/adapter/outbound/trojan.go
index b6265439..2582f332 100644
--- a/adapter/outbound/trojan.go
+++ b/adapter/outbound/trojan.go
@@ -9,14 +9,14 @@ import (
"net/http"
"strconv"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- tlsC "github.com/metacubex/mihomo/component/tls"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/gun"
- "github.com/metacubex/mihomo/transport/shadowsocks/core"
- "github.com/metacubex/mihomo/transport/trojan"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/gun"
+ "github.com/abyss219/mihomo/transport/shadowsocks/core"
+ "github.com/abyss219/mihomo/transport/trojan"
)
type Trojan struct {
diff --git a/adapter/outbound/tuic.go b/adapter/outbound/tuic.go
index eaacb817..cf954e99 100644
--- a/adapter/outbound/tuic.go
+++ b/adapter/outbound/tuic.go
@@ -10,12 +10,12 @@ import (
"strconv"
"time"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/tuic"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/tuic"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/quic-go"
diff --git a/adapter/outbound/util.go b/adapter/outbound/util.go
index 9f0636a6..eddbd6ee 100644
--- a/adapter/outbound/util.go
+++ b/adapter/outbound/util.go
@@ -11,9 +11,9 @@ import (
"strconv"
"sync"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
var (
diff --git a/adapter/outbound/vless.go b/adapter/outbound/vless.go
index 7ab61ff6..a03a64b4 100644
--- a/adapter/outbound/vless.go
+++ b/adapter/outbound/vless.go
@@ -12,20 +12,20 @@ import (
"strconv"
"sync"
- "github.com/metacubex/mihomo/common/convert"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/component/resolver"
- tlsC "github.com/metacubex/mihomo/component/tls"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/gun"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/vless"
- "github.com/metacubex/mihomo/transport/vmess"
+ "github.com/abyss219/mihomo/common/convert"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/gun"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/vless"
+ "github.com/abyss219/mihomo/transport/vmess"
vmessSing "github.com/metacubex/sing-vmess"
"github.com/metacubex/sing-vmess/packetaddr"
diff --git a/adapter/outbound/vmess.go b/adapter/outbound/vmess.go
index f7de4e8e..0ad56bda 100644
--- a/adapter/outbound/vmess.go
+++ b/adapter/outbound/vmess.go
@@ -11,17 +11,17 @@ import (
"strings"
"sync"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/component/resolver"
- tlsC "github.com/metacubex/mihomo/component/tls"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/ntp"
- "github.com/metacubex/mihomo/transport/gun"
- mihomoVMess "github.com/metacubex/mihomo/transport/vmess"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/ntp"
+ "github.com/abyss219/mihomo/transport/gun"
+ mihomoVMess "github.com/abyss219/mihomo/transport/vmess"
vmess "github.com/metacubex/sing-vmess"
"github.com/metacubex/sing-vmess/packetaddr"
diff --git a/adapter/outbound/wireguard.go b/adapter/outbound/wireguard.go
index 2834d324..8ed52d25 100644
--- a/adapter/outbound/wireguard.go
+++ b/adapter/outbound/wireguard.go
@@ -14,15 +14,15 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/component/slowdown"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/dns"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/atomic"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/slowdown"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/dns"
+ "github.com/abyss219/mihomo/log"
amnezia "github.com/metacubex/amneziawg-go/device"
wireguard "github.com/metacubex/sing-wireguard"
diff --git a/adapter/outboundgroup/fallback.go b/adapter/outboundgroup/fallback.go
index 9387f7de..0425fb05 100644
--- a/adapter/outboundgroup/fallback.go
+++ b/adapter/outboundgroup/fallback.go
@@ -6,13 +6,13 @@ import (
"errors"
"time"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/common/callback"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/common/callback"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
)
type Fallback struct {
diff --git a/adapter/outboundgroup/groupbase.go b/adapter/outboundgroup/groupbase.go
index 69fbb617..ea85a62e 100644
--- a/adapter/outboundgroup/groupbase.go
+++ b/adapter/outboundgroup/groupbase.go
@@ -7,14 +7,14 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
- types "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
+ types "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/tunnel"
"github.com/dlclark/regexp2"
)
diff --git a/adapter/outboundgroup/loadbalance.go b/adapter/outboundgroup/loadbalance.go
index 048cc34c..4e7f2f29 100644
--- a/adapter/outboundgroup/loadbalance.go
+++ b/adapter/outboundgroup/loadbalance.go
@@ -9,14 +9,14 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/common/callback"
- "github.com/metacubex/mihomo/common/lru"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/common/callback"
+ "github.com/abyss219/mihomo/common/lru"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
"golang.org/x/net/publicsuffix"
)
diff --git a/adapter/outboundgroup/parser.go b/adapter/outboundgroup/parser.go
index b073c4bb..8812832a 100644
--- a/adapter/outboundgroup/parser.go
+++ b/adapter/outboundgroup/parser.go
@@ -7,12 +7,12 @@ import (
"github.com/dlclark/regexp2"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/adapter/provider"
- "github.com/metacubex/mihomo/common/structure"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- types "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/adapter/provider"
+ "github.com/abyss219/mihomo/common/structure"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ types "github.com/abyss219/mihomo/constant/provider"
)
var (
diff --git a/adapter/outboundgroup/patch_android.go b/adapter/outboundgroup/patch_android.go
index c6566814..4d3aa2f9 100644
--- a/adapter/outboundgroup/patch_android.go
+++ b/adapter/outboundgroup/patch_android.go
@@ -3,8 +3,8 @@
package outboundgroup
import (
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
)
type ProxyGroup interface {
diff --git a/adapter/outboundgroup/relay.go b/adapter/outboundgroup/relay.go
index 29aa9c6a..a7c0b48d 100644
--- a/adapter/outboundgroup/relay.go
+++ b/adapter/outboundgroup/relay.go
@@ -4,12 +4,12 @@ import (
"context"
"encoding/json"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/log"
)
type Relay struct {
diff --git a/adapter/outboundgroup/selector.go b/adapter/outboundgroup/selector.go
index 20eca70f..ba5b1bc6 100644
--- a/adapter/outboundgroup/selector.go
+++ b/adapter/outboundgroup/selector.go
@@ -5,10 +5,10 @@ import (
"encoding/json"
"errors"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
)
type Selector struct {
diff --git a/adapter/outboundgroup/urltest.go b/adapter/outboundgroup/urltest.go
index 5da44f38..0ed94643 100644
--- a/adapter/outboundgroup/urltest.go
+++ b/adapter/outboundgroup/urltest.go
@@ -8,14 +8,14 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/common/callback"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/singledo"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/dialer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/common/callback"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/singledo"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/dialer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
)
type urlTestOption func(*URLTest)
diff --git a/adapter/parser.go b/adapter/parser.go
index ce4e91d5..3c6bd107 100644
--- a/adapter/parser.go
+++ b/adapter/parser.go
@@ -3,11 +3,11 @@ package adapter
import (
"fmt"
- tlsC "github.com/metacubex/mihomo/component/tls"
+ tlsC "github.com/abyss219/mihomo/component/tls"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/common/structure"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/common/structure"
+ C "github.com/abyss219/mihomo/constant"
)
func ParseProxy(mapping map[string]any) (C.Proxy, error) {
diff --git a/adapter/provider/healthcheck.go b/adapter/provider/healthcheck.go
index 8737ff96..c1a856bf 100644
--- a/adapter/provider/healthcheck.go
+++ b/adapter/provider/healthcheck.go
@@ -6,12 +6,12 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/batch"
- "github.com/metacubex/mihomo/common/singledo"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/batch"
+ "github.com/abyss219/mihomo/common/singledo"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/dlclark/regexp2"
)
diff --git a/adapter/provider/parser.go b/adapter/provider/parser.go
index cd5c3ff7..3533b57c 100644
--- a/adapter/provider/parser.go
+++ b/adapter/provider/parser.go
@@ -6,11 +6,11 @@ import (
"fmt"
"time"
- "github.com/metacubex/mihomo/common/structure"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/resource"
- C "github.com/metacubex/mihomo/constant"
- types "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/common/structure"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/resource"
+ C "github.com/abyss219/mihomo/constant"
+ types "github.com/abyss219/mihomo/constant/provider"
"github.com/dlclark/regexp2"
)
diff --git a/adapter/provider/provider.go b/adapter/provider/provider.go
index 8558c434..d74ced5c 100644
--- a/adapter/provider/provider.go
+++ b/adapter/provider/provider.go
@@ -10,14 +10,14 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/adapter"
- "github.com/metacubex/mihomo/common/convert"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- "github.com/metacubex/mihomo/component/resource"
- C "github.com/metacubex/mihomo/constant"
- types "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/tunnel/statistic"
+ "github.com/abyss219/mihomo/adapter"
+ "github.com/abyss219/mihomo/common/convert"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ "github.com/abyss219/mihomo/component/resource"
+ C "github.com/abyss219/mihomo/constant"
+ types "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/tunnel/statistic"
"github.com/dlclark/regexp2"
"gopkg.in/yaml.v3"
diff --git a/adapter/provider/subscription_info.go b/adapter/provider/subscription_info.go
index 194e3984..26f0cf34 100644
--- a/adapter/provider/subscription_info.go
+++ b/adapter/provider/subscription_info.go
@@ -5,7 +5,7 @@ import (
"strconv"
"strings"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
)
type SubscriptionInfo struct {
diff --git a/common/callback/callback.go b/common/callback/callback.go
index 9ae0f94a..7f2c7dc4 100644
--- a/common/callback/callback.go
+++ b/common/callback/callback.go
@@ -1,9 +1,9 @@
package callback
import (
- "github.com/metacubex/mihomo/common/buf"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/buf"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
)
type firstWriteCallBackConn struct {
diff --git a/common/callback/close_callback.go b/common/callback/close_callback.go
index 630ee5d7..db61c557 100644
--- a/common/callback/close_callback.go
+++ b/common/callback/close_callback.go
@@ -3,7 +3,7 @@ package callback
import (
"sync"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
type closeCallbackConn struct {
diff --git a/common/convert/converter.go b/common/convert/converter.go
index 19886d25..471746b8 100644
--- a/common/convert/converter.go
+++ b/common/convert/converter.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
)
// ConvertsV2Ray convert V2Ray subscribe proxies data to mihomo proxies config
diff --git a/common/convert/util.go b/common/convert/util.go
index ab006374..bc171ade 100644
--- a/common/convert/util.go
+++ b/common/convert/util.go
@@ -6,7 +6,7 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"github.com/metacubex/randv2"
"github.com/metacubex/sing-shadowsocks/shadowimpl"
diff --git a/common/net/bufconn.go b/common/net/bufconn.go
index b7e98e04..b7e90e2c 100644
--- a/common/net/bufconn.go
+++ b/common/net/bufconn.go
@@ -4,7 +4,7 @@ import (
"bufio"
"net"
- "github.com/metacubex/mihomo/common/buf"
+ "github.com/abyss219/mihomo/common/buf"
)
var _ ExtendedConn = (*BufferedConn)(nil)
diff --git a/common/net/cached.go b/common/net/cached.go
index fb605b74..038f5de0 100644
--- a/common/net/cached.go
+++ b/common/net/cached.go
@@ -3,7 +3,7 @@ package net
import (
"net"
- "github.com/metacubex/mihomo/common/buf"
+ "github.com/abyss219/mihomo/common/buf"
)
var _ ExtendedConn = (*CachedConn)(nil)
diff --git a/common/net/deadline/conn.go b/common/net/deadline/conn.go
index fdf9334f..fc03e22a 100644
--- a/common/net/deadline/conn.go
+++ b/common/net/deadline/conn.go
@@ -5,7 +5,7 @@ import (
"os"
"time"
- "github.com/metacubex/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/atomic"
"github.com/sagernet/sing/common/buf"
"github.com/sagernet/sing/common/bufio"
diff --git a/common/net/deadline/packet.go b/common/net/deadline/packet.go
index 67043198..74c33731 100644
--- a/common/net/deadline/packet.go
+++ b/common/net/deadline/packet.go
@@ -6,8 +6,8 @@ import (
"runtime"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/net/packet"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/net/packet"
)
type readResult struct {
diff --git a/common/net/deadline/packet_enhance.go b/common/net/deadline/packet_enhance.go
index 3e314fb8..c9689872 100644
--- a/common/net/deadline/packet_enhance.go
+++ b/common/net/deadline/packet_enhance.go
@@ -5,7 +5,7 @@ import (
"os"
"runtime"
- "github.com/metacubex/mihomo/common/net/packet"
+ "github.com/abyss219/mihomo/common/net/packet"
)
type EnhancePacketConn struct {
diff --git a/common/net/deadline/packet_sing.go b/common/net/deadline/packet_sing.go
index d54748b0..56a88968 100644
--- a/common/net/deadline/packet_sing.go
+++ b/common/net/deadline/packet_sing.go
@@ -4,7 +4,7 @@ import (
"os"
"runtime"
- "github.com/metacubex/mihomo/common/net/packet"
+ "github.com/abyss219/mihomo/common/net/packet"
"github.com/sagernet/sing/common/buf"
"github.com/sagernet/sing/common/bufio"
diff --git a/common/net/earlyconn.go b/common/net/earlyconn.go
index 82d392ee..9a689235 100644
--- a/common/net/earlyconn.go
+++ b/common/net/earlyconn.go
@@ -4,8 +4,8 @@ import (
"net"
"sync"
- "github.com/metacubex/mihomo/common/buf"
- "github.com/metacubex/mihomo/common/once"
+ "github.com/abyss219/mihomo/common/buf"
+ "github.com/abyss219/mihomo/common/once"
)
type earlyConn struct {
diff --git a/common/net/packet.go b/common/net/packet.go
index fd03b4f8..b5b5274b 100644
--- a/common/net/packet.go
+++ b/common/net/packet.go
@@ -1,8 +1,8 @@
package net
import (
- "github.com/metacubex/mihomo/common/net/deadline"
- "github.com/metacubex/mihomo/common/net/packet"
+ "github.com/abyss219/mihomo/common/net/deadline"
+ "github.com/abyss219/mihomo/common/net/packet"
)
type EnhancePacketConn = packet.EnhancePacketConn
diff --git a/common/net/packet/packet.go b/common/net/packet/packet.go
index 0cdbccae..ee28adf9 100644
--- a/common/net/packet/packet.go
+++ b/common/net/packet/packet.go
@@ -3,7 +3,7 @@ package packet
import (
"net"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
type WaitReadFrom interface {
diff --git a/common/net/packet/packet_posix.go b/common/net/packet/packet_posix.go
index 2073e35d..cad81af7 100644
--- a/common/net/packet/packet_posix.go
+++ b/common/net/packet/packet_posix.go
@@ -7,7 +7,7 @@ import (
"strconv"
"syscall"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
type enhanceUDPConn struct {
diff --git a/common/net/packet/packet_windows.go b/common/net/packet/packet_windows.go
index 3c467c6d..cc72a676 100644
--- a/common/net/packet/packet_windows.go
+++ b/common/net/packet/packet_windows.go
@@ -7,7 +7,7 @@ import (
"strconv"
"syscall"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
"golang.org/x/sys/windows"
)
diff --git a/common/net/refconn.go b/common/net/refconn.go
index 6d0dde98..c1bfdb27 100644
--- a/common/net/refconn.go
+++ b/common/net/refconn.go
@@ -5,7 +5,7 @@ import (
"runtime"
"time"
- "github.com/metacubex/mihomo/common/buf"
+ "github.com/abyss219/mihomo/common/buf"
)
type refConn struct {
diff --git a/common/net/relay.go b/common/net/relay.go
index f2a1b146..c3836fd0 100644
--- a/common/net/relay.go
+++ b/common/net/relay.go
@@ -12,7 +12,7 @@ package net
//
// go func() {
// // Wrapping to avoid using *net.TCPConn.(ReadFrom)
-// // See also https://github.com/metacubex/mihomo/pull/1209
+// // See also https://github.com/abyss219/mihomo/pull/1209
// _, err := io.Copy(WriteOnlyWriter{Writer: leftConn}, ReadOnlyReader{Reader: rightConn})
// leftConn.SetReadDeadline(time.Now())
// ch <- err
diff --git a/common/net/sing.go b/common/net/sing.go
index d726f440..179f7c11 100644
--- a/common/net/sing.go
+++ b/common/net/sing.go
@@ -5,7 +5,7 @@ import (
"net"
"runtime"
- "github.com/metacubex/mihomo/common/net/deadline"
+ "github.com/abyss219/mihomo/common/net/deadline"
"github.com/sagernet/sing/common"
"github.com/sagernet/sing/common/bufio"
diff --git a/common/observable/observable_test.go b/common/observable/observable_test.go
index d263cb94..02c0fdff 100644
--- a/common/observable/observable_test.go
+++ b/common/observable/observable_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"time"
- "github.com/metacubex/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/atomic"
"github.com/stretchr/testify/assert"
)
diff --git a/common/singledo/singledo_test.go b/common/singledo/singledo_test.go
index 2f92f0ae..2327882c 100644
--- a/common/singledo/singledo_test.go
+++ b/common/singledo/singledo_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"time"
- "github.com/metacubex/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/atomic"
"github.com/stretchr/testify/assert"
)
diff --git a/component/ca/config.go b/component/ca/config.go
index 9d002db6..ba03d6b2 100644
--- a/component/ca/config.go
+++ b/component/ca/config.go
@@ -14,7 +14,7 @@ import (
"strings"
"sync"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
var trustCerts []*x509.Certificate
diff --git a/component/ca/fix_windows.go b/component/ca/fix_windows.go
index 42511791..a1f00c02 100644
--- a/component/ca/fix_windows.go
+++ b/component/ca/fix_windows.go
@@ -1,7 +1,7 @@
package ca
import (
- "github.com/metacubex/mihomo/constant/features"
+ "github.com/abyss219/mihomo/constant/features"
)
func init() {
diff --git a/component/dhcp/conn.go b/component/dhcp/conn.go
index 61c801bd..5fa1537b 100644
--- a/component/dhcp/conn.go
+++ b/component/dhcp/conn.go
@@ -6,7 +6,7 @@ import (
"net/netip"
"runtime"
- "github.com/metacubex/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/dialer"
)
func ListenDHCPClient(ctx context.Context, ifaceName string) (net.PacketConn, error) {
diff --git a/component/dhcp/dhcp.go b/component/dhcp/dhcp.go
index 04ad2eda..714c923d 100644
--- a/component/dhcp/dhcp.go
+++ b/component/dhcp/dhcp.go
@@ -6,8 +6,8 @@ import (
"net"
"net/netip"
- "github.com/metacubex/mihomo/common/nnip"
- "github.com/metacubex/mihomo/component/iface"
+ "github.com/abyss219/mihomo/common/nnip"
+ "github.com/abyss219/mihomo/component/iface"
"github.com/insomniacslk/dhcp/dhcpv4"
)
diff --git a/component/dialer/bind.go b/component/dialer/bind.go
index de6aacd3..a99b2019 100644
--- a/component/dialer/bind.go
+++ b/component/dialer/bind.go
@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
- "github.com/metacubex/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/iface"
)
func LookupLocalAddrFromIfaceName(ifaceName string, network string, destination netip.Addr, port int) (net.Addr, error) {
diff --git a/component/dialer/bind_darwin.go b/component/dialer/bind_darwin.go
index fdea24bf..f85abf58 100644
--- a/component/dialer/bind_darwin.go
+++ b/component/dialer/bind_darwin.go
@@ -6,7 +6,7 @@ import (
"net/netip"
"syscall"
- "github.com/metacubex/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/iface"
"golang.org/x/sys/unix"
)
diff --git a/component/dialer/bind_windows.go b/component/dialer/bind_windows.go
index 98a076d0..7f9ed3fe 100644
--- a/component/dialer/bind_windows.go
+++ b/component/dialer/bind_windows.go
@@ -9,7 +9,7 @@ import (
"syscall"
"unsafe"
- "github.com/metacubex/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/iface"
)
const (
diff --git a/component/dialer/dialer.go b/component/dialer/dialer.go
index 4fd051ef..cf850dbf 100644
--- a/component/dialer/dialer.go
+++ b/component/dialer/dialer.go
@@ -12,9 +12,9 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/keepalive"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/keepalive"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/log"
)
const (
diff --git a/component/dialer/mark_nonlinux.go b/component/dialer/mark_nonlinux.go
index 64e58784..636884c6 100644
--- a/component/dialer/mark_nonlinux.go
+++ b/component/dialer/mark_nonlinux.go
@@ -7,7 +7,7 @@ import (
"net/netip"
"sync"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
)
var printMarkWarnOnce sync.Once
diff --git a/component/dialer/options.go b/component/dialer/options.go
index c0c21891..0f9fc225 100644
--- a/component/dialer/options.go
+++ b/component/dialer/options.go
@@ -4,8 +4,8 @@ import (
"context"
"net"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/component/resolver"
)
var (
diff --git a/component/dialer/tfo_windows.go b/component/dialer/tfo_windows.go
index 63266118..820b0a92 100644
--- a/component/dialer/tfo_windows.go
+++ b/component/dialer/tfo_windows.go
@@ -1,6 +1,6 @@
package dialer
-import "github.com/metacubex/mihomo/constant/features"
+import "github.com/abyss219/mihomo/constant/features"
func init() {
// According to MSDN, this option is available since Windows 10, 1607
diff --git a/component/fakeip/cachefile.go b/component/fakeip/cachefile.go
index 92d09721..2e50868d 100644
--- a/component/fakeip/cachefile.go
+++ b/component/fakeip/cachefile.go
@@ -3,7 +3,7 @@ package fakeip
import (
"net/netip"
- "github.com/metacubex/mihomo/component/profile/cachefile"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
)
type cachefileStore struct {
diff --git a/component/fakeip/memory.go b/component/fakeip/memory.go
index 0a8492f8..1c91d3f6 100644
--- a/component/fakeip/memory.go
+++ b/component/fakeip/memory.go
@@ -3,7 +3,7 @@ package fakeip
import (
"net/netip"
- "github.com/metacubex/mihomo/common/lru"
+ "github.com/abyss219/mihomo/common/lru"
)
type memoryStore struct {
diff --git a/component/fakeip/pool.go b/component/fakeip/pool.go
index 41b848b3..2660d194 100644
--- a/component/fakeip/pool.go
+++ b/component/fakeip/pool.go
@@ -6,9 +6,9 @@ import (
"strings"
"sync"
- "github.com/metacubex/mihomo/common/nnip"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/nnip"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ C "github.com/abyss219/mihomo/constant"
)
const (
diff --git a/component/fakeip/pool_test.go b/component/fakeip/pool_test.go
index be78b87c..dcb31099 100644
--- a/component/fakeip/pool_test.go
+++ b/component/fakeip/pool_test.go
@@ -7,9 +7,9 @@ import (
"testing"
"time"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- "github.com/metacubex/mihomo/component/trie"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ "github.com/abyss219/mihomo/component/trie"
+ C "github.com/abyss219/mihomo/constant"
"github.com/metacubex/bbolt"
"github.com/stretchr/testify/assert"
diff --git a/component/geodata/attr.go b/component/geodata/attr.go
index 2fd41ad6..0d6145eb 100644
--- a/component/geodata/attr.go
+++ b/component/geodata/attr.go
@@ -3,7 +3,7 @@ package geodata
import (
"strings"
- "github.com/metacubex/mihomo/component/geodata/router"
+ "github.com/abyss219/mihomo/component/geodata/router"
)
type AttributeList struct {
diff --git a/component/geodata/geodata.go b/component/geodata/geodata.go
index a6ef146a..679c1168 100644
--- a/component/geodata/geodata.go
+++ b/component/geodata/geodata.go
@@ -3,8 +3,8 @@ package geodata
import (
"fmt"
- "github.com/metacubex/mihomo/component/geodata/router"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/geodata/router"
+ C "github.com/abyss219/mihomo/constant"
)
type loader struct {
diff --git a/component/geodata/geodataproto.go b/component/geodata/geodataproto.go
index 0f1ce4d2..d5b00ae9 100644
--- a/component/geodata/geodataproto.go
+++ b/component/geodata/geodataproto.go
@@ -1,7 +1,7 @@
package geodata
import (
- "github.com/metacubex/mihomo/component/geodata/router"
+ "github.com/abyss219/mihomo/component/geodata/router"
)
type LoaderImplementation interface {
diff --git a/component/geodata/init.go b/component/geodata/init.go
index 08ec1b94..e4f2a9a2 100644
--- a/component/geodata/init.go
+++ b/component/geodata/init.go
@@ -9,11 +9,11 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- mihomoHttp "github.com/metacubex/mihomo/component/http"
- "github.com/metacubex/mihomo/component/mmdb"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/atomic"
+ mihomoHttp "github.com/abyss219/mihomo/component/http"
+ "github.com/abyss219/mihomo/component/mmdb"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
var (
diff --git a/component/geodata/memconservative/cache.go b/component/geodata/memconservative/cache.go
index ef76a42c..66e627dd 100644
--- a/component/geodata/memconservative/cache.go
+++ b/component/geodata/memconservative/cache.go
@@ -5,9 +5,9 @@ import (
"os"
"strings"
- "github.com/metacubex/mihomo/component/geodata/router"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/geodata/router"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"google.golang.org/protobuf/proto"
)
diff --git a/component/geodata/memconservative/memc.go b/component/geodata/memconservative/memc.go
index 30d89f10..ccb05cec 100644
--- a/component/geodata/memconservative/memc.go
+++ b/component/geodata/memconservative/memc.go
@@ -5,8 +5,8 @@ import (
"fmt"
"runtime"
- "github.com/metacubex/mihomo/component/geodata"
- "github.com/metacubex/mihomo/component/geodata/router"
+ "github.com/abyss219/mihomo/component/geodata"
+ "github.com/abyss219/mihomo/component/geodata/router"
)
type memConservativeLoader struct {
diff --git a/component/geodata/router/condition.go b/component/geodata/router/condition.go
index fb47e4a4..e573f690 100644
--- a/component/geodata/router/condition.go
+++ b/component/geodata/router/condition.go
@@ -5,9 +5,9 @@ import (
"net/netip"
"strings"
- "github.com/metacubex/mihomo/component/cidr"
- "github.com/metacubex/mihomo/component/geodata/strmatcher"
- "github.com/metacubex/mihomo/component/trie"
+ "github.com/abyss219/mihomo/component/cidr"
+ "github.com/abyss219/mihomo/component/geodata/strmatcher"
+ "github.com/abyss219/mihomo/component/trie"
)
var matcherTypeMap = map[Domain_Type]strmatcher.Type{
diff --git a/component/geodata/standard/standard.go b/component/geodata/standard/standard.go
index bfaae5ec..55f64e6a 100644
--- a/component/geodata/standard/standard.go
+++ b/component/geodata/standard/standard.go
@@ -6,9 +6,9 @@ import (
"os"
"strings"
- "github.com/metacubex/mihomo/component/geodata"
- "github.com/metacubex/mihomo/component/geodata/router"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/geodata"
+ "github.com/abyss219/mihomo/component/geodata/router"
+ C "github.com/abyss219/mihomo/constant"
"google.golang.org/protobuf/proto"
)
diff --git a/component/geodata/utils.go b/component/geodata/utils.go
index 47966249..d7bf9e5b 100644
--- a/component/geodata/utils.go
+++ b/component/geodata/utils.go
@@ -5,10 +5,10 @@ import (
"fmt"
"strings"
- "github.com/metacubex/mihomo/common/singleflight"
- "github.com/metacubex/mihomo/component/geodata/router"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/singleflight"
+ "github.com/abyss219/mihomo/component/geodata/router"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
var (
diff --git a/component/http/http.go b/component/http/http.go
index 63ea5be7..94d601b8 100644
--- a/component/http/http.go
+++ b/component/http/http.go
@@ -11,9 +11,9 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/listener/inner"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/listener/inner"
)
var (
diff --git a/component/iface/iface.go b/component/iface/iface.go
index a0fa4d5b..8e6d16d9 100644
--- a/component/iface/iface.go
+++ b/component/iface/iface.go
@@ -6,7 +6,7 @@ import (
"net/netip"
"time"
- "github.com/metacubex/mihomo/common/singledo"
+ "github.com/abyss219/mihomo/common/singledo"
)
type Interface struct {
diff --git a/component/keepalive/tcp_keepalive.go b/component/keepalive/tcp_keepalive.go
index 14ec862b..e705579e 100644
--- a/component/keepalive/tcp_keepalive.go
+++ b/component/keepalive/tcp_keepalive.go
@@ -5,8 +5,8 @@ import (
"runtime"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/utils"
)
var (
diff --git a/component/keepalive/tcp_keepalive_go123_windows.go b/component/keepalive/tcp_keepalive_go123_windows.go
index 2462e80c..9834f1f4 100644
--- a/component/keepalive/tcp_keepalive_go123_windows.go
+++ b/component/keepalive/tcp_keepalive_go123_windows.go
@@ -9,7 +9,7 @@ import (
"sync"
"syscall"
- "github.com/metacubex/mihomo/constant/features"
+ "github.com/abyss219/mihomo/constant/features"
"golang.org/x/sys/windows"
)
diff --git a/component/loopback/detector.go b/component/loopback/detector.go
index c639ab22..73914fab 100644
--- a/component/loopback/detector.go
+++ b/component/loopback/detector.go
@@ -7,10 +7,10 @@ import (
"os"
"strconv"
- "github.com/metacubex/mihomo/common/callback"
- "github.com/metacubex/mihomo/component/iface"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/features"
+ "github.com/abyss219/mihomo/common/callback"
+ "github.com/abyss219/mihomo/component/iface"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/features"
"github.com/puzpuzpuz/xsync/v3"
)
diff --git a/component/mmdb/mmdb.go b/component/mmdb/mmdb.go
index 81644b00..486c0d34 100644
--- a/component/mmdb/mmdb.go
+++ b/component/mmdb/mmdb.go
@@ -3,9 +3,9 @@ package mmdb
import (
"sync"
- mihomoOnce "github.com/metacubex/mihomo/common/once"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ mihomoOnce "github.com/abyss219/mihomo/common/once"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/oschwald/maxminddb-golang"
)
diff --git a/component/mmdb/reader.go b/component/mmdb/reader.go
index 42e500c9..39e3a956 100644
--- a/component/mmdb/reader.go
+++ b/component/mmdb/reader.go
@@ -5,7 +5,7 @@ import (
"net"
"strings"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
"github.com/oschwald/maxminddb-golang"
)
diff --git a/component/nat/proxy.go b/component/nat/proxy.go
index 66af3be2..c9771712 100644
--- a/component/nat/proxy.go
+++ b/component/nat/proxy.go
@@ -3,8 +3,8 @@ package nat
import (
"net"
- "github.com/metacubex/mihomo/common/atomic"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/atomic"
+ C "github.com/abyss219/mihomo/constant"
)
type writeBackProxy struct {
diff --git a/component/nat/table.go b/component/nat/table.go
index 66241fb4..be7baa0d 100644
--- a/component/nat/table.go
+++ b/component/nat/table.go
@@ -4,7 +4,7 @@ import (
"net"
"sync"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"github.com/puzpuzpuz/xsync/v3"
)
diff --git a/component/process/process.go b/component/process/process.go
index 464f5a79..ddd970e5 100644
--- a/component/process/process.go
+++ b/component/process/process.go
@@ -4,7 +4,7 @@ import (
"errors"
"net/netip"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
var (
diff --git a/component/process/process_freebsd_amd64.go b/component/process/process_freebsd_amd64.go
index 1884afcc..a9ce5bc2 100644
--- a/component/process/process_freebsd_amd64.go
+++ b/component/process/process_freebsd_amd64.go
@@ -10,8 +10,8 @@ import (
"syscall"
"unsafe"
- "github.com/metacubex/mihomo/common/nnip"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/nnip"
+ "github.com/abyss219/mihomo/log"
)
// store process name for when dealing with multiple PROCESS-NAME rules
diff --git a/component/process/process_windows.go b/component/process/process_windows.go
index 73ac0255..bae60007 100644
--- a/component/process/process_windows.go
+++ b/component/process/process_windows.go
@@ -7,8 +7,8 @@ import (
"syscall"
"unsafe"
- "github.com/metacubex/mihomo/common/nnip"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/nnip"
+ "github.com/abyss219/mihomo/log"
"golang.org/x/sys/windows"
)
diff --git a/component/profile/cachefile/cache.go b/component/profile/cachefile/cache.go
index 7b4cdfc2..f5cb4c5a 100644
--- a/component/profile/cachefile/cache.go
+++ b/component/profile/cachefile/cache.go
@@ -5,9 +5,9 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/profile"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/profile"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/bbolt"
)
diff --git a/component/profile/cachefile/etag.go b/component/profile/cachefile/etag.go
index 028fe504..03f10c3d 100644
--- a/component/profile/cachefile/etag.go
+++ b/component/profile/cachefile/etag.go
@@ -3,8 +3,8 @@ package cachefile
import (
"time"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/bbolt"
"github.com/vmihailenco/msgpack/v5"
diff --git a/component/profile/cachefile/fakeip.go b/component/profile/cachefile/fakeip.go
index 20a09f9c..5581daab 100644
--- a/component/profile/cachefile/fakeip.go
+++ b/component/profile/cachefile/fakeip.go
@@ -3,7 +3,7 @@ package cachefile
import (
"net/netip"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/bbolt"
)
diff --git a/component/profile/cachefile/subscriptioninfo.go b/component/profile/cachefile/subscriptioninfo.go
index c68f92eb..9b4352ab 100644
--- a/component/profile/cachefile/subscriptioninfo.go
+++ b/component/profile/cachefile/subscriptioninfo.go
@@ -1,7 +1,7 @@
package cachefile
import (
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/bbolt"
)
diff --git a/component/profile/profile.go b/component/profile/profile.go
index 36db8cc3..315cee21 100644
--- a/component/profile/profile.go
+++ b/component/profile/profile.go
@@ -1,7 +1,7 @@
package profile
import (
- "github.com/metacubex/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/atomic"
)
// StoreSelected is a global switch for storing selected proxy to cache
diff --git a/component/proxydialer/proxydialer.go b/component/proxydialer/proxydialer.go
index 71a658b8..dd0f3073 100644
--- a/component/proxydialer/proxydialer.go
+++ b/component/proxydialer/proxydialer.go
@@ -8,12 +8,12 @@ import (
"net/netip"
"strings"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/tunnel"
- "github.com/metacubex/mihomo/tunnel/statistic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/tunnel"
+ "github.com/abyss219/mihomo/tunnel/statistic"
)
type proxyDialer struct {
diff --git a/component/proxydialer/sing.go b/component/proxydialer/sing.go
index 71180c01..ba7b327e 100644
--- a/component/proxydialer/sing.go
+++ b/component/proxydialer/sing.go
@@ -4,7 +4,7 @@ import (
"context"
"net"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
diff --git a/component/proxydialer/slowdown.go b/component/proxydialer/slowdown.go
index c62fc344..4a126bce 100644
--- a/component/proxydialer/slowdown.go
+++ b/component/proxydialer/slowdown.go
@@ -5,8 +5,8 @@ import (
"net"
"net/netip"
- "github.com/metacubex/mihomo/component/slowdown"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/slowdown"
+ C "github.com/abyss219/mihomo/constant"
)
type SlowDownDialer struct {
diff --git a/component/proxydialer/slowdown_sing.go b/component/proxydialer/slowdown_sing.go
index cc3a46aa..8ce0c262 100644
--- a/component/proxydialer/slowdown_sing.go
+++ b/component/proxydialer/slowdown_sing.go
@@ -4,7 +4,7 @@ import (
"context"
"net"
- "github.com/metacubex/mihomo/component/slowdown"
+ "github.com/abyss219/mihomo/component/slowdown"
M "github.com/sagernet/sing/common/metadata"
)
diff --git a/component/resolver/host.go b/component/resolver/host.go
index 34da8e9f..899e149d 100644
--- a/component/resolver/host.go
+++ b/component/resolver/host.go
@@ -8,9 +8,9 @@ import (
"strings"
_ "unsafe"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/resolver/hosts"
- "github.com/metacubex/mihomo/component/trie"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/resolver/hosts"
+ "github.com/abyss219/mihomo/component/trie"
"github.com/metacubex/randv2"
)
diff --git a/component/resolver/relay.go b/component/resolver/relay.go
index 818b4152..ab3ed00c 100644
--- a/component/resolver/relay.go
+++ b/component/resolver/relay.go
@@ -7,7 +7,7 @@ import (
"net"
"time"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
D "github.com/miekg/dns"
)
diff --git a/component/resolver/resolver.go b/component/resolver/resolver.go
index 1eb3d642..395ce83f 100644
--- a/component/resolver/resolver.go
+++ b/component/resolver/resolver.go
@@ -8,8 +8,8 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/trie"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/trie"
"github.com/metacubex/randv2"
"github.com/miekg/dns"
diff --git a/component/resource/fetcher.go b/component/resource/fetcher.go
index 39beee85..3c2581f7 100644
--- a/component/resource/fetcher.go
+++ b/component/resource/fetcher.go
@@ -5,9 +5,9 @@ import (
"os"
"time"
- "github.com/metacubex/mihomo/common/utils"
- types "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/utils"
+ types "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/log"
"github.com/sagernet/fswatch"
"github.com/samber/lo"
diff --git a/component/resource/vehicle.go b/component/resource/vehicle.go
index 00b3170b..56b61cdf 100644
--- a/component/resource/vehicle.go
+++ b/component/resource/vehicle.go
@@ -9,10 +9,10 @@ import (
"path/filepath"
"time"
- "github.com/metacubex/mihomo/common/utils"
- mihomoHttp "github.com/metacubex/mihomo/component/http"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- types "github.com/metacubex/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/common/utils"
+ mihomoHttp "github.com/abyss219/mihomo/component/http"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ types "github.com/abyss219/mihomo/constant/provider"
)
const (
diff --git a/component/sniffer/base_sniffer.go b/component/sniffer/base_sniffer.go
index 55f51c50..3594d79d 100644
--- a/component/sniffer/base_sniffer.go
+++ b/component/sniffer/base_sniffer.go
@@ -3,9 +3,9 @@ package sniffer
import (
"errors"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/sniffer"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/sniffer"
)
type SnifferConfig struct {
diff --git a/component/sniffer/dispatcher.go b/component/sniffer/dispatcher.go
index ada43176..0a7b230f 100644
--- a/component/sniffer/dispatcher.go
+++ b/component/sniffer/dispatcher.go
@@ -6,11 +6,11 @@ import (
"net/netip"
"time"
- "github.com/metacubex/mihomo/common/lru"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/sniffer"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/lru"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/sniffer"
+ "github.com/abyss219/mihomo/log"
)
var (
diff --git a/component/sniffer/http_sniffer.go b/component/sniffer/http_sniffer.go
index 76bf1559..28b62301 100644
--- a/component/sniffer/http_sniffer.go
+++ b/component/sniffer/http_sniffer.go
@@ -7,9 +7,9 @@ import (
"net"
"strings"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/sniffer"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/sniffer"
)
var (
diff --git a/component/sniffer/quic_sniffer.go b/component/sniffer/quic_sniffer.go
index 0e3994f0..5ec7852e 100644
--- a/component/sniffer/quic_sniffer.go
+++ b/component/sniffer/quic_sniffer.go
@@ -8,9 +8,9 @@ import (
"errors"
"io"
- "github.com/metacubex/mihomo/common/buf"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/buf"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
"github.com/metacubex/quic-go/quicvarint"
"golang.org/x/crypto/hkdf"
diff --git a/component/sniffer/tls_sniffer.go b/component/sniffer/tls_sniffer.go
index b57f36ec..afd92680 100644
--- a/component/sniffer/tls_sniffer.go
+++ b/component/sniffer/tls_sniffer.go
@@ -6,9 +6,9 @@ import (
"fmt"
"strings"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/sniffer"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/sniffer"
)
var (
diff --git a/component/tls/reality.go b/component/tls/reality.go
index ff028257..989b97dd 100644
--- a/component/tls/reality.go
+++ b/component/tls/reality.go
@@ -19,8 +19,8 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/ntp"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/ntp"
"github.com/metacubex/randv2"
utls "github.com/metacubex/utls"
diff --git a/component/tls/utls.go b/component/tls/utls.go
index 31733e50..63fac967 100644
--- a/component/tls/utls.go
+++ b/component/tls/utls.go
@@ -4,7 +4,7 @@ import (
"crypto/tls"
"net"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
utls "github.com/metacubex/utls"
"github.com/mroth/weightedrand/v2"
diff --git a/component/trie/domain_set.go b/component/trie/domain_set.go
index 3fd8041f..94037cca 100644
--- a/component/trie/domain_set.go
+++ b/component/trie/domain_set.go
@@ -7,7 +7,7 @@ import (
"sort"
"strings"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"github.com/openacid/low/bitmap"
)
diff --git a/component/trie/domain_set_test.go b/component/trie/domain_set_test.go
index 38ba1622..de8dd871 100644
--- a/component/trie/domain_set_test.go
+++ b/component/trie/domain_set_test.go
@@ -4,7 +4,7 @@ import (
"golang.org/x/exp/slices"
"testing"
- "github.com/metacubex/mihomo/component/trie"
+ "github.com/abyss219/mihomo/component/trie"
"github.com/stretchr/testify/assert"
)
diff --git a/component/trie/domain_test.go b/component/trie/domain_test.go
index 6aab72d3..f1a498b7 100644
--- a/component/trie/domain_test.go
+++ b/component/trie/domain_test.go
@@ -4,7 +4,7 @@ import (
"net/netip"
"testing"
- "github.com/metacubex/mihomo/component/trie"
+ "github.com/abyss219/mihomo/component/trie"
"github.com/stretchr/testify/assert"
)
diff --git a/component/trie/ipcidr_trie.go b/component/trie/ipcidr_trie.go
index ee8659be..324abd43 100644
--- a/component/trie/ipcidr_trie.go
+++ b/component/trie/ipcidr_trie.go
@@ -3,7 +3,7 @@ package trie
import (
"net"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
)
type IPV6 bool
diff --git a/component/updater/update_core.go b/component/updater/update_core.go
index 2aab7833..273a787c 100644
--- a/component/updater/update_core.go
+++ b/component/updater/update_core.go
@@ -15,9 +15,9 @@ import (
"sync"
"time"
- mihomoHttp "github.com/metacubex/mihomo/component/http"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ mihomoHttp "github.com/abyss219/mihomo/component/http"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/klauspost/cpuid/v2"
)
@@ -41,8 +41,8 @@ var (
backupExeName string // 备份文件名
updateExeName string // 更新后的可执行文件
- baseURL string = "https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo"
- versionURL string = "https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/version.txt"
+ baseURL string = "https://github.com/abyss219/mihomo/releases/download/Prerelease-Alpha/mihomo"
+ versionURL string = "https://github.com/abyss219/mihomo/releases/download/Prerelease-Alpha/version.txt"
packageURL string
latestVersion string
)
@@ -52,8 +52,8 @@ func init() {
amd64Compatible = "-compatible"
}
if !strings.HasPrefix(C.Version, "alpha") {
- baseURL = "https://github.com/MetaCubeX/mihomo/releases/latest/download/mihomo"
- versionURL = "https://github.com/MetaCubeX/mihomo/releases/latest/download/version.txt"
+ baseURL = "https://github.com/abyss219/mihomo/releases/latest/download/mihomo"
+ versionURL = "https://github.com/abyss219/mihomo/releases/latest/download/version.txt"
}
}
diff --git a/component/updater/update_geo.go b/component/updater/update_geo.go
index 719a5215..cad55bf3 100644
--- a/component/updater/update_geo.go
+++ b/component/updater/update_geo.go
@@ -8,15 +8,15 @@ import (
"runtime"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/batch"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/geodata"
- _ "github.com/metacubex/mihomo/component/geodata/standard"
- "github.com/metacubex/mihomo/component/mmdb"
- "github.com/metacubex/mihomo/component/resource"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/batch"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/geodata"
+ _ "github.com/abyss219/mihomo/component/geodata/standard"
+ "github.com/abyss219/mihomo/component/mmdb"
+ "github.com/abyss219/mihomo/component/resource"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/oschwald/maxminddb-golang"
)
diff --git a/component/updater/update_ui.go b/component/updater/update_ui.go
index bd2a5881..7c826f6a 100644
--- a/component/updater/update_ui.go
+++ b/component/updater/update_ui.go
@@ -10,8 +10,8 @@ import (
"strings"
"sync"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type UIUpdater struct {
diff --git a/component/updater/utils.go b/component/updater/utils.go
index b5c694ff..a58a8af9 100644
--- a/component/updater/utils.go
+++ b/component/updater/utils.go
@@ -8,7 +8,7 @@ import (
"os"
"time"
- mihomoHttp "github.com/metacubex/mihomo/component/http"
+ mihomoHttp "github.com/abyss219/mihomo/component/http"
"golang.org/x/exp/constraints"
)
diff --git a/config/config.go b/config/config.go
index ba6097bc..7da90773 100644
--- a/config/config.go
+++ b/config/config.go
@@ -11,30 +11,30 @@ import (
"time"
_ "unsafe"
- "github.com/metacubex/mihomo/adapter"
- "github.com/metacubex/mihomo/adapter/outbound"
- "github.com/metacubex/mihomo/adapter/outboundgroup"
- "github.com/metacubex/mihomo/adapter/provider"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/auth"
- "github.com/metacubex/mihomo/component/cidr"
- "github.com/metacubex/mihomo/component/fakeip"
- "github.com/metacubex/mihomo/component/geodata"
- P "github.com/metacubex/mihomo/component/process"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/component/sniffer"
- "github.com/metacubex/mihomo/component/trie"
- C "github.com/metacubex/mihomo/constant"
- providerTypes "github.com/metacubex/mihomo/constant/provider"
- snifferTypes "github.com/metacubex/mihomo/constant/sniffer"
- "github.com/metacubex/mihomo/dns"
- L "github.com/metacubex/mihomo/listener"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/log"
- R "github.com/metacubex/mihomo/rules"
- RC "github.com/metacubex/mihomo/rules/common"
- RP "github.com/metacubex/mihomo/rules/provider"
- T "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/adapter"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ "github.com/abyss219/mihomo/adapter/outboundgroup"
+ "github.com/abyss219/mihomo/adapter/provider"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/auth"
+ "github.com/abyss219/mihomo/component/cidr"
+ "github.com/abyss219/mihomo/component/fakeip"
+ "github.com/abyss219/mihomo/component/geodata"
+ P "github.com/abyss219/mihomo/component/process"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/sniffer"
+ "github.com/abyss219/mihomo/component/trie"
+ C "github.com/abyss219/mihomo/constant"
+ providerTypes "github.com/abyss219/mihomo/constant/provider"
+ snifferTypes "github.com/abyss219/mihomo/constant/sniffer"
+ "github.com/abyss219/mihomo/dns"
+ L "github.com/abyss219/mihomo/listener"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/log"
+ R "github.com/abyss219/mihomo/rules"
+ RC "github.com/abyss219/mihomo/rules/common"
+ RP "github.com/abyss219/mihomo/rules/provider"
+ T "github.com/abyss219/mihomo/tunnel"
orderedmap "github.com/wk8/go-ordered-map/v2"
"golang.org/x/exp/slices"
diff --git a/config/initial.go b/config/initial.go
index 61d12895..59428b66 100644
--- a/config/initial.go
+++ b/config/initial.go
@@ -4,8 +4,8 @@ import (
"fmt"
"os"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
// Init prepare necessary files
diff --git a/config/utils.go b/config/utils.go
index f87fb341..a0ab64bd 100644
--- a/config/utils.go
+++ b/config/utils.go
@@ -6,8 +6,8 @@ import (
"net/netip"
"strings"
- "github.com/metacubex/mihomo/adapter/outboundgroup"
- "github.com/metacubex/mihomo/common/structure"
+ "github.com/abyss219/mihomo/adapter/outboundgroup"
+ "github.com/abyss219/mihomo/common/structure"
)
func trimArr(arr []string) (r []string) {
diff --git a/constant/adapters.go b/constant/adapters.go
index 420a797f..879e4c66 100644
--- a/constant/adapters.go
+++ b/constant/adapters.go
@@ -9,9 +9,9 @@ import (
"sync"
"time"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/dialer"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/dialer"
)
// Adapter Type
diff --git a/constant/context.go b/constant/context.go
index 11ad7011..f086f583 100644
--- a/constant/context.go
+++ b/constant/context.go
@@ -3,7 +3,7 @@ package constant
import (
"net"
- N "github.com/metacubex/mihomo/common/net"
+ N "github.com/abyss219/mihomo/common/net"
"github.com/gofrs/uuid/v5"
)
diff --git a/constant/metadata.go b/constant/metadata.go
index a7380857..9370a91d 100644
--- a/constant/metadata.go
+++ b/constant/metadata.go
@@ -7,7 +7,7 @@ import (
"net/netip"
"strconv"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
)
// Socks addr type
diff --git a/constant/path.go b/constant/path.go
index 1594441c..ed438362 100644
--- a/constant/path.go
+++ b/constant/path.go
@@ -7,8 +7,8 @@ import (
"strconv"
"strings"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/constant/features"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/constant/features"
)
const Name = "mihomo"
diff --git a/constant/provider/interface.go b/constant/provider/interface.go
index 8c6ee6f8..b7c9b109 100644
--- a/constant/provider/interface.go
+++ b/constant/provider/interface.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/constant"
)
// Vehicle Type
diff --git a/constant/sniffer/sniffer.go b/constant/sniffer/sniffer.go
index 36da69a3..5088375e 100644
--- a/constant/sniffer/sniffer.go
+++ b/constant/sniffer/sniffer.go
@@ -1,6 +1,6 @@
package sniffer
-import "github.com/metacubex/mihomo/constant"
+import "github.com/abyss219/mihomo/constant"
type Sniffer interface {
SupportNetwork() constant.NetWork
diff --git a/context/conn.go b/context/conn.go
index bae07c23..5e438703 100644
--- a/context/conn.go
+++ b/context/conn.go
@@ -1,11 +1,11 @@
package context
import (
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"net"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
"github.com/gofrs/uuid/v5"
)
diff --git a/context/dns.go b/context/dns.go
index 1cc2067d..52991915 100644
--- a/context/dns.go
+++ b/context/dns.go
@@ -2,7 +2,7 @@ package context
import (
"context"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"github.com/gofrs/uuid/v5"
"github.com/miekg/dns"
diff --git a/context/packetconn.go b/context/packetconn.go
index feab7666..d537ef4b 100644
--- a/context/packetconn.go
+++ b/context/packetconn.go
@@ -3,8 +3,8 @@ package context
import (
"net"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
"github.com/gofrs/uuid/v5"
)
diff --git a/dns/client.go b/dns/client.go
index 62fc12f9..b159ce99 100644
--- a/dns/client.go
+++ b/dns/client.go
@@ -7,8 +7,8 @@ import (
"net"
"strings"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/log"
D "github.com/miekg/dns"
)
diff --git a/dns/dhcp.go b/dns/dhcp.go
index e3829b7c..56794a8a 100644
--- a/dns/dhcp.go
+++ b/dns/dhcp.go
@@ -8,8 +8,8 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/dhcp"
- "github.com/metacubex/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/dhcp"
+ "github.com/abyss219/mihomo/component/iface"
D "github.com/miekg/dns"
)
diff --git a/dns/dialer.go b/dns/dialer.go
index f4d9e128..1098a48b 100644
--- a/dns/dialer.go
+++ b/dns/dialer.go
@@ -2,7 +2,7 @@ package dns
// export functions from tunnel module
-import "github.com/metacubex/mihomo/tunnel"
+import "github.com/abyss219/mihomo/tunnel"
const RespectRules = tunnel.DnsRespectRules
diff --git a/dns/doh.go b/dns/doh.go
index 027afd58..8497a726 100644
--- a/dns/doh.go
+++ b/dns/doh.go
@@ -16,9 +16,9 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/ca"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/ca"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/quic-go"
"github.com/metacubex/quic-go/http3"
D "github.com/miekg/dns"
diff --git a/dns/doq.go b/dns/doq.go
index 29fdd006..1c0c3606 100644
--- a/dns/doq.go
+++ b/dns/doq.go
@@ -12,9 +12,9 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/ca"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/ca"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/quic-go"
D "github.com/miekg/dns"
diff --git a/dns/enhancer.go b/dns/enhancer.go
index a8c0a5ac..cd335e4f 100644
--- a/dns/enhancer.go
+++ b/dns/enhancer.go
@@ -3,9 +3,9 @@ package dns
import (
"net/netip"
- "github.com/metacubex/mihomo/common/lru"
- "github.com/metacubex/mihomo/component/fakeip"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/lru"
+ "github.com/abyss219/mihomo/component/fakeip"
+ C "github.com/abyss219/mihomo/constant"
)
type ResolverEnhancer struct {
diff --git a/dns/middleware.go b/dns/middleware.go
index b55adc6b..447a0442 100644
--- a/dns/middleware.go
+++ b/dns/middleware.go
@@ -5,13 +5,13 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/lru"
- "github.com/metacubex/mihomo/common/nnip"
- "github.com/metacubex/mihomo/component/fakeip"
- R "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/context"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/lru"
+ "github.com/abyss219/mihomo/common/nnip"
+ "github.com/abyss219/mihomo/component/fakeip"
+ R "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/context"
+ "github.com/abyss219/mihomo/log"
D "github.com/miekg/dns"
)
diff --git a/dns/patch_android.go b/dns/patch_android.go
index 8e744fcd..82eab7e3 100644
--- a/dns/patch_android.go
+++ b/dns/patch_android.go
@@ -3,7 +3,7 @@
package dns
import (
- "github.com/metacubex/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/resolver"
)
var systemResolver []dnsClient
diff --git a/dns/policy.go b/dns/policy.go
index 50dc1719..d726b531 100644
--- a/dns/policy.go
+++ b/dns/policy.go
@@ -1,8 +1,8 @@
package dns
import (
- "github.com/metacubex/mihomo/component/trie"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/component/trie"
+ C "github.com/abyss219/mihomo/constant"
)
type dnsPolicy interface {
diff --git a/dns/resolver.go b/dns/resolver.go
index 9f7e28f3..5cbb6602 100644
--- a/dns/resolver.go
+++ b/dns/resolver.go
@@ -6,14 +6,14 @@ import (
"net/netip"
"time"
- "github.com/metacubex/mihomo/common/arc"
- "github.com/metacubex/mihomo/common/lru"
- "github.com/metacubex/mihomo/common/singleflight"
- "github.com/metacubex/mihomo/component/fakeip"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/component/trie"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/arc"
+ "github.com/abyss219/mihomo/common/lru"
+ "github.com/abyss219/mihomo/common/singleflight"
+ "github.com/abyss219/mihomo/component/fakeip"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/trie"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
D "github.com/miekg/dns"
"github.com/samber/lo"
diff --git a/dns/server.go b/dns/server.go
index 1cf58d4d..b9ec7696 100644
--- a/dns/server.go
+++ b/dns/server.go
@@ -5,9 +5,9 @@ import (
"errors"
"net"
- "github.com/metacubex/mihomo/common/sockopt"
- "github.com/metacubex/mihomo/context"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/sockopt"
+ "github.com/abyss219/mihomo/context"
+ "github.com/abyss219/mihomo/log"
D "github.com/miekg/dns"
)
diff --git a/dns/system.go b/dns/system.go
index ab6c0100..51e7d41a 100644
--- a/dns/system.go
+++ b/dns/system.go
@@ -7,7 +7,7 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/resolver"
D "github.com/miekg/dns"
)
diff --git a/dns/system_common.go b/dns/system_common.go
index e6dabdcf..42d3196c 100644
--- a/dns/system_common.go
+++ b/dns/system_common.go
@@ -6,8 +6,8 @@ import (
"net"
"time"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/log"
"golang.org/x/exp/slices"
)
diff --git a/dns/util.go b/dns/util.go
index 50459cc1..ac5f7ff8 100644
--- a/dns/util.go
+++ b/dns/util.go
@@ -10,11 +10,11 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/nnip"
- "github.com/metacubex/mihomo/common/picker"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/nnip"
+ "github.com/abyss219/mihomo/common/picker"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/log"
D "github.com/miekg/dns"
"github.com/samber/lo"
diff --git a/hub/executor/executor.go b/hub/executor/executor.go
index 3fed360c..913afcfd 100644
--- a/hub/executor/executor.go
+++ b/hub/executor/executor.go
@@ -11,36 +11,36 @@ import (
"time"
_ "unsafe"
- "github.com/metacubex/mihomo/adapter"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/adapter/outboundgroup"
- "github.com/metacubex/mihomo/component/auth"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/geodata"
- mihomoHttp "github.com/metacubex/mihomo/component/http"
- "github.com/metacubex/mihomo/component/iface"
- "github.com/metacubex/mihomo/component/keepalive"
- "github.com/metacubex/mihomo/component/profile"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/component/resource"
- "github.com/metacubex/mihomo/component/sniffer"
- tlsC "github.com/metacubex/mihomo/component/tls"
- "github.com/metacubex/mihomo/component/trie"
- "github.com/metacubex/mihomo/component/updater"
- "github.com/metacubex/mihomo/config"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/dns"
- "github.com/metacubex/mihomo/listener"
- authStore "github.com/metacubex/mihomo/listener/auth"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/inner"
- "github.com/metacubex/mihomo/listener/tproxy"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/ntp"
- "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/adapter"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/adapter/outboundgroup"
+ "github.com/abyss219/mihomo/component/auth"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/geodata"
+ mihomoHttp "github.com/abyss219/mihomo/component/http"
+ "github.com/abyss219/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/keepalive"
+ "github.com/abyss219/mihomo/component/profile"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/resource"
+ "github.com/abyss219/mihomo/component/sniffer"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ "github.com/abyss219/mihomo/component/trie"
+ "github.com/abyss219/mihomo/component/updater"
+ "github.com/abyss219/mihomo/config"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/dns"
+ "github.com/abyss219/mihomo/listener"
+ authStore "github.com/abyss219/mihomo/listener/auth"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/inner"
+ "github.com/abyss219/mihomo/listener/tproxy"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/ntp"
+ "github.com/abyss219/mihomo/tunnel"
)
var mux sync.Mutex
@@ -409,7 +409,7 @@ func updateUpdater(cfg *config.Config) {
updater.DefaultUiUpdater.AutoDownloadUI()
}
-//go:linkname temporaryUpdateGeneral github.com/metacubex/mihomo/config.temporaryUpdateGeneral
+//go:linkname temporaryUpdateGeneral github.com/abyss219/mihomo/config.temporaryUpdateGeneral
func temporaryUpdateGeneral(general *config.General) func() {
oldGeneral := GetGeneral()
updateGeneral(general, false)
diff --git a/hub/hub.go b/hub/hub.go
index 69f627ff..fc6e1939 100644
--- a/hub/hub.go
+++ b/hub/hub.go
@@ -1,10 +1,10 @@
package hub
import (
- "github.com/metacubex/mihomo/config"
- "github.com/metacubex/mihomo/hub/executor"
- "github.com/metacubex/mihomo/hub/route"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/config"
+ "github.com/abyss219/mihomo/hub/executor"
+ "github.com/abyss219/mihomo/hub/route"
+ "github.com/abyss219/mihomo/log"
)
type Option func(*config.Config)
diff --git a/hub/route/cache.go b/hub/route/cache.go
index f07eb33a..0e0e1c47 100644
--- a/hub/route/cache.go
+++ b/hub/route/cache.go
@@ -3,7 +3,7 @@ package route
import (
"net/http"
- "github.com/metacubex/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/resolver"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/configs.go b/hub/route/configs.go
index b23a35a5..a577c739 100644
--- a/hub/route/configs.go
+++ b/hub/route/configs.go
@@ -5,17 +5,17 @@ import (
"net/netip"
"path/filepath"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/component/updater"
- "github.com/metacubex/mihomo/config"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/hub/executor"
- P "github.com/metacubex/mihomo/listener"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/updater"
+ "github.com/abyss219/mihomo/config"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/hub/executor"
+ P "github.com/abyss219/mihomo/listener"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/tunnel"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/connections.go b/hub/route/connections.go
index e0ff2426..30ff10ca 100644
--- a/hub/route/connections.go
+++ b/hub/route/connections.go
@@ -7,7 +7,7 @@ import (
"strconv"
"time"
- "github.com/metacubex/mihomo/tunnel/statistic"
+ "github.com/abyss219/mihomo/tunnel/statistic"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/dns.go b/hub/route/dns.go
index 1762c947..e798f231 100644
--- a/hub/route/dns.go
+++ b/hub/route/dns.go
@@ -5,7 +5,7 @@ import (
"math"
"net/http"
- "github.com/metacubex/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/resolver"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/doh.go b/hub/route/doh.go
index bb5416c4..0d9fc7e3 100644
--- a/hub/route/doh.go
+++ b/hub/route/doh.go
@@ -6,7 +6,7 @@ import (
"io"
"net/http"
- "github.com/metacubex/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/resolver"
"github.com/go-chi/render"
)
diff --git a/hub/route/groups.go b/hub/route/groups.go
index 873a94df..08c6f5a6 100644
--- a/hub/route/groups.go
+++ b/hub/route/groups.go
@@ -9,11 +9,11 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
- "github.com/metacubex/mihomo/adapter/outboundgroup"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/adapter/outboundgroup"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/tunnel"
)
func groupRouter() http.Handler {
diff --git a/hub/route/provider.go b/hub/route/provider.go
index a8611a79..968f7013 100644
--- a/hub/route/provider.go
+++ b/hub/route/provider.go
@@ -4,9 +4,9 @@ import (
"context"
"net/http"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/tunnel"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/tunnel"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/proxies.go b/hub/route/proxies.go
index ba4e03f9..f2e98e35 100644
--- a/hub/route/proxies.go
+++ b/hub/route/proxies.go
@@ -7,11 +7,11 @@ import (
"strconv"
"time"
- "github.com/metacubex/mihomo/adapter/outboundgroup"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/profile/cachefile"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/adapter/outboundgroup"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/profile/cachefile"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/tunnel"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/restart.go b/hub/route/restart.go
index 49d7e517..535cd899 100644
--- a/hub/route/restart.go
+++ b/hub/route/restart.go
@@ -8,8 +8,8 @@ import (
"runtime"
"syscall"
- "github.com/metacubex/mihomo/hub/executor"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/hub/executor"
+ "github.com/abyss219/mihomo/log"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/rules.go b/hub/route/rules.go
index 43d33299..538eae54 100644
--- a/hub/route/rules.go
+++ b/hub/route/rules.go
@@ -1,10 +1,10 @@
package route
import (
- "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/constant"
"net/http"
- "github.com/metacubex/mihomo/tunnel"
+ "github.com/abyss219/mihomo/tunnel"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/hub/route/server.go b/hub/route/server.go
index 3c3e5ca4..fd126c34 100644
--- a/hub/route/server.go
+++ b/hub/route/server.go
@@ -14,12 +14,12 @@ import (
"syscall"
"time"
- "github.com/metacubex/mihomo/adapter/inbound"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/tunnel/statistic"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/tunnel/statistic"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
diff --git a/hub/route/upgrade.go b/hub/route/upgrade.go
index beee77a2..97528d12 100644
--- a/hub/route/upgrade.go
+++ b/hub/route/upgrade.go
@@ -5,8 +5,8 @@ import (
"net/http"
"os"
- "github.com/metacubex/mihomo/component/updater"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/updater"
+ "github.com/abyss219/mihomo/log"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
diff --git a/listener/auth/auth.go b/listener/auth/auth.go
index 9e7632e8..63762a42 100644
--- a/listener/auth/auth.go
+++ b/listener/auth/auth.go
@@ -1,7 +1,7 @@
package auth
import (
- "github.com/metacubex/mihomo/component/auth"
+ "github.com/abyss219/mihomo/component/auth"
)
type authStore struct {
diff --git a/listener/config/hysteria2.go b/listener/config/hysteria2.go
index 3c9df508..60437367 100644
--- a/listener/config/hysteria2.go
+++ b/listener/config/hysteria2.go
@@ -1,7 +1,7 @@
package config
import (
- "github.com/metacubex/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/listener/sing"
"encoding/json"
)
diff --git a/listener/config/shadowsocks.go b/listener/config/shadowsocks.go
index c5c60f10..aa87254a 100644
--- a/listener/config/shadowsocks.go
+++ b/listener/config/shadowsocks.go
@@ -1,7 +1,7 @@
package config
import (
- "github.com/metacubex/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/listener/sing"
"encoding/json"
)
diff --git a/listener/config/tuic.go b/listener/config/tuic.go
index 14a46809..0a64eeeb 100644
--- a/listener/config/tuic.go
+++ b/listener/config/tuic.go
@@ -1,7 +1,7 @@
package config
import (
- "github.com/metacubex/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/listener/sing"
"encoding/json"
)
diff --git a/listener/config/tun.go b/listener/config/tun.go
index 3901bb1d..7bb39d4c 100644
--- a/listener/config/tun.go
+++ b/listener/config/tun.go
@@ -3,8 +3,8 @@ package config
import (
"net/netip"
- "github.com/metacubex/mihomo/common/nnip"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/nnip"
+ C "github.com/abyss219/mihomo/constant"
"golang.org/x/exp/slices"
)
diff --git a/listener/config/vmess.go b/listener/config/vmess.go
index 810d6bc1..25dbe46b 100644
--- a/listener/config/vmess.go
+++ b/listener/config/vmess.go
@@ -1,7 +1,7 @@
package config
import (
- "github.com/metacubex/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/listener/sing"
"encoding/json"
)
diff --git a/listener/http/client.go b/listener/http/client.go
index 0f084fca..f1636ae2 100644
--- a/listener/http/client.go
+++ b/listener/http/client.go
@@ -7,10 +7,10 @@ import (
"net/http"
"time"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
func newClient(srcConn net.Conn, tunnel C.Tunnel, additions []inbound.Addition) *http.Client { // additions using slice let caller can change its value (without size) after newClient return
diff --git a/listener/http/proxy.go b/listener/http/proxy.go
index 5c08cd45..64fbfb9f 100644
--- a/listener/http/proxy.go
+++ b/listener/http/proxy.go
@@ -9,11 +9,11 @@ import (
"strings"
"sync"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/auth"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/auth"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type bodyWrapper struct {
diff --git a/listener/http/server.go b/listener/http/server.go
index 24f07e8b..5e71d414 100644
--- a/listener/http/server.go
+++ b/listener/http/server.go
@@ -3,10 +3,10 @@ package http
import (
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/component/auth"
- C "github.com/metacubex/mihomo/constant"
- authStore "github.com/metacubex/mihomo/listener/auth"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/component/auth"
+ C "github.com/abyss219/mihomo/constant"
+ authStore "github.com/abyss219/mihomo/listener/auth"
)
type Listener struct {
diff --git a/listener/http/upgrade.go b/listener/http/upgrade.go
index ac67ef68..e591c118 100644
--- a/listener/http/upgrade.go
+++ b/listener/http/upgrade.go
@@ -7,10 +7,10 @@ import (
"net/http"
"strings"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
func isUpgradeRequest(req *http.Request) bool {
diff --git a/listener/inbound/auth.go b/listener/inbound/auth.go
index 85e72494..b5190f1b 100644
--- a/listener/inbound/auth.go
+++ b/listener/inbound/auth.go
@@ -1,8 +1,8 @@
package inbound
import (
- "github.com/metacubex/mihomo/component/auth"
- authStore "github.com/metacubex/mihomo/listener/auth"
+ "github.com/abyss219/mihomo/component/auth"
+ authStore "github.com/abyss219/mihomo/listener/auth"
)
type AuthUser struct {
diff --git a/listener/inbound/base.go b/listener/inbound/base.go
index e8f860a0..5c2e2943 100644
--- a/listener/inbound/base.go
+++ b/listener/inbound/base.go
@@ -6,8 +6,8 @@ import (
"net/netip"
"strconv"
- "github.com/metacubex/mihomo/adapter/inbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ C "github.com/abyss219/mihomo/constant"
)
type Base struct {
diff --git a/listener/inbound/http.go b/listener/inbound/http.go
index e20a9a23..9c672927 100644
--- a/listener/inbound/http.go
+++ b/listener/inbound/http.go
@@ -1,9 +1,9 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/listener/http"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/listener/http"
+ "github.com/abyss219/mihomo/log"
)
type HTTPOption struct {
diff --git a/listener/inbound/hysteria2.go b/listener/inbound/hysteria2.go
index 31c2c4b8..5412abe1 100644
--- a/listener/inbound/hysteria2.go
+++ b/listener/inbound/hysteria2.go
@@ -1,10 +1,10 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing_hysteria2"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing_hysteria2"
+ "github.com/abyss219/mihomo/log"
)
type Hysteria2Option struct {
diff --git a/listener/inbound/mixed.go b/listener/inbound/mixed.go
index 1d79929a..c2a83fc4 100644
--- a/listener/inbound/mixed.go
+++ b/listener/inbound/mixed.go
@@ -3,11 +3,11 @@ package inbound
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
- "github.com/metacubex/mihomo/listener/mixed"
- "github.com/metacubex/mihomo/listener/socks"
+ "github.com/abyss219/mihomo/listener/mixed"
+ "github.com/abyss219/mihomo/listener/socks"
)
type MixedOption struct {
diff --git a/listener/inbound/mux.go b/listener/inbound/mux.go
index c4068e10..425abe47 100644
--- a/listener/inbound/mux.go
+++ b/listener/inbound/mux.go
@@ -1,6 +1,6 @@
package inbound
-import "github.com/metacubex/mihomo/listener/sing"
+import "github.com/abyss219/mihomo/listener/sing"
type MuxOption struct {
Padding bool `inbound:"padding,omitempty"`
diff --git a/listener/inbound/redir.go b/listener/inbound/redir.go
index ee090ade..64bd4162 100644
--- a/listener/inbound/redir.go
+++ b/listener/inbound/redir.go
@@ -1,9 +1,9 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/listener/redir"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/listener/redir"
+ "github.com/abyss219/mihomo/log"
)
type RedirOption struct {
diff --git a/listener/inbound/shadowsocks.go b/listener/inbound/shadowsocks.go
index 240e6419..947a71b7 100644
--- a/listener/inbound/shadowsocks.go
+++ b/listener/inbound/shadowsocks.go
@@ -1,10 +1,10 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing_shadowsocks"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing_shadowsocks"
+ "github.com/abyss219/mihomo/log"
)
type ShadowSocksOption struct {
diff --git a/listener/inbound/socks.go b/listener/inbound/socks.go
index 119eec82..15e3be98 100644
--- a/listener/inbound/socks.go
+++ b/listener/inbound/socks.go
@@ -2,9 +2,9 @@ package inbound
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/listener/socks"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/listener/socks"
+ "github.com/abyss219/mihomo/log"
)
type SocksOption struct {
diff --git a/listener/inbound/tproxy.go b/listener/inbound/tproxy.go
index acc8cb5e..fbbfaf71 100644
--- a/listener/inbound/tproxy.go
+++ b/listener/inbound/tproxy.go
@@ -3,9 +3,9 @@ package inbound
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/listener/tproxy"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/listener/tproxy"
+ "github.com/abyss219/mihomo/log"
)
type TProxyOption struct {
diff --git a/listener/inbound/tuic.go b/listener/inbound/tuic.go
index 562228ee..7b98119a 100644
--- a/listener/inbound/tuic.go
+++ b/listener/inbound/tuic.go
@@ -1,10 +1,10 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/tuic"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/tuic"
+ "github.com/abyss219/mihomo/log"
)
type TuicOption struct {
diff --git a/listener/inbound/tun.go b/listener/inbound/tun.go
index 1b0a6a80..328013ec 100644
--- a/listener/inbound/tun.go
+++ b/listener/inbound/tun.go
@@ -4,10 +4,10 @@ import (
"errors"
"strings"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing_tun"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing_tun"
+ "github.com/abyss219/mihomo/log"
)
type TunOption struct {
diff --git a/listener/inbound/tunnel.go b/listener/inbound/tunnel.go
index 2dfaac74..142d1e40 100644
--- a/listener/inbound/tunnel.go
+++ b/listener/inbound/tunnel.go
@@ -3,9 +3,9 @@ package inbound
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
- LT "github.com/metacubex/mihomo/listener/tunnel"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LT "github.com/abyss219/mihomo/listener/tunnel"
+ "github.com/abyss219/mihomo/log"
)
type TunnelOption struct {
diff --git a/listener/inbound/vmess.go b/listener/inbound/vmess.go
index 226a54d5..85eebc69 100644
--- a/listener/inbound/vmess.go
+++ b/listener/inbound/vmess.go
@@ -1,10 +1,10 @@
package inbound
import (
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing_vmess"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing_vmess"
+ "github.com/abyss219/mihomo/log"
)
type VmessOption struct {
diff --git a/listener/inner/tcp.go b/listener/inner/tcp.go
index ee34ada6..bfdc610a 100644
--- a/listener/inner/tcp.go
+++ b/listener/inner/tcp.go
@@ -6,8 +6,8 @@ import (
"net/netip"
"strconv"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
)
var tunnel C.Tunnel
diff --git a/listener/listener.go b/listener/listener.go
index 2e25c8b8..91280a29 100644
--- a/listener/listener.go
+++ b/listener/listener.go
@@ -7,20 +7,20 @@ import (
"strings"
"sync"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/http"
- "github.com/metacubex/mihomo/listener/mixed"
- "github.com/metacubex/mihomo/listener/redir"
- embedSS "github.com/metacubex/mihomo/listener/shadowsocks"
- "github.com/metacubex/mihomo/listener/sing_shadowsocks"
- "github.com/metacubex/mihomo/listener/sing_tun"
- "github.com/metacubex/mihomo/listener/sing_vmess"
- "github.com/metacubex/mihomo/listener/socks"
- "github.com/metacubex/mihomo/listener/tproxy"
- "github.com/metacubex/mihomo/listener/tuic"
- LT "github.com/metacubex/mihomo/listener/tunnel"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/http"
+ "github.com/abyss219/mihomo/listener/mixed"
+ "github.com/abyss219/mihomo/listener/redir"
+ embedSS "github.com/abyss219/mihomo/listener/shadowsocks"
+ "github.com/abyss219/mihomo/listener/sing_shadowsocks"
+ "github.com/abyss219/mihomo/listener/sing_tun"
+ "github.com/abyss219/mihomo/listener/sing_vmess"
+ "github.com/abyss219/mihomo/listener/socks"
+ "github.com/abyss219/mihomo/listener/tproxy"
+ "github.com/abyss219/mihomo/listener/tuic"
+ LT "github.com/abyss219/mihomo/listener/tunnel"
+ "github.com/abyss219/mihomo/log"
"github.com/samber/lo"
)
diff --git a/listener/mixed/mixed.go b/listener/mixed/mixed.go
index 5ac63011..dbdbb0f3 100644
--- a/listener/mixed/mixed.go
+++ b/listener/mixed/mixed.go
@@ -3,15 +3,15 @@ package mixed
import (
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/auth"
- C "github.com/metacubex/mihomo/constant"
- authStore "github.com/metacubex/mihomo/listener/auth"
- "github.com/metacubex/mihomo/listener/http"
- "github.com/metacubex/mihomo/listener/socks"
- "github.com/metacubex/mihomo/transport/socks4"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/auth"
+ C "github.com/abyss219/mihomo/constant"
+ authStore "github.com/abyss219/mihomo/listener/auth"
+ "github.com/abyss219/mihomo/listener/http"
+ "github.com/abyss219/mihomo/listener/socks"
+ "github.com/abyss219/mihomo/transport/socks4"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type Listener struct {
diff --git a/listener/parse.go b/listener/parse.go
index 1c8b6463..2c96af11 100644
--- a/listener/parse.go
+++ b/listener/parse.go
@@ -3,9 +3,9 @@ package listener
import (
"fmt"
- "github.com/metacubex/mihomo/common/structure"
- C "github.com/metacubex/mihomo/constant"
- IN "github.com/metacubex/mihomo/listener/inbound"
+ "github.com/abyss219/mihomo/common/structure"
+ C "github.com/abyss219/mihomo/constant"
+ IN "github.com/abyss219/mihomo/listener/inbound"
)
func ParseListener(mapping map[string]any) (C.InboundListener, error) {
diff --git a/listener/redir/tcp.go b/listener/redir/tcp.go
index 47363182..93403045 100644
--- a/listener/redir/tcp.go
+++ b/listener/redir/tcp.go
@@ -3,9 +3,9 @@ package redir
import (
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/component/keepalive"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/component/keepalive"
+ C "github.com/abyss219/mihomo/constant"
)
type Listener struct {
diff --git a/listener/redir/tcp_darwin.go b/listener/redir/tcp_darwin.go
index 6e1821bb..c8ab59e1 100644
--- a/listener/redir/tcp_darwin.go
+++ b/listener/redir/tcp_darwin.go
@@ -5,7 +5,7 @@ import (
"syscall"
"unsafe"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
)
func parserPacket(c net.Conn) (socks5.Addr, error) {
diff --git a/listener/redir/tcp_freebsd.go b/listener/redir/tcp_freebsd.go
index 9eb199f0..d0f99de5 100644
--- a/listener/redir/tcp_freebsd.go
+++ b/listener/redir/tcp_freebsd.go
@@ -8,7 +8,7 @@ import (
"syscall"
"unsafe"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
"golang.org/x/sys/unix"
)
diff --git a/listener/redir/tcp_linux.go b/listener/redir/tcp_linux.go
index fce74678..34c5ed72 100644
--- a/listener/redir/tcp_linux.go
+++ b/listener/redir/tcp_linux.go
@@ -8,7 +8,7 @@ import (
"syscall"
"unsafe"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
"golang.org/x/sys/unix"
)
diff --git a/listener/redir/tcp_other.go b/listener/redir/tcp_other.go
index ae3bebfd..15f5409f 100644
--- a/listener/redir/tcp_other.go
+++ b/listener/redir/tcp_other.go
@@ -6,7 +6,7 @@ import (
"errors"
"net"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
)
func parserPacket(conn net.Conn) (socks5.Addr, error) {
diff --git a/listener/shadowsocks/tcp.go b/listener/shadowsocks/tcp.go
index b150e4cb..3a92e043 100644
--- a/listener/shadowsocks/tcp.go
+++ b/listener/shadowsocks/tcp.go
@@ -4,12 +4,12 @@ import (
"net"
"strings"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/transport/shadowsocks/core"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/transport/shadowsocks/core"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type Listener struct {
diff --git a/listener/shadowsocks/udp.go b/listener/shadowsocks/udp.go
index 77932ed1..f237a604 100644
--- a/listener/shadowsocks/udp.go
+++ b/listener/shadowsocks/udp.go
@@ -3,13 +3,13 @@ package shadowsocks
import (
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/sockopt"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/shadowsocks/core"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/sockopt"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/shadowsocks/core"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type UDPListener struct {
diff --git a/listener/shadowsocks/utils.go b/listener/shadowsocks/utils.go
index 5d6a2977..1db78e3e 100644
--- a/listener/shadowsocks/utils.go
+++ b/listener/shadowsocks/utils.go
@@ -6,7 +6,7 @@ import (
"net"
"net/url"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type packet struct {
diff --git a/listener/sing/context.go b/listener/sing/context.go
index e1e8b452..05135fc5 100644
--- a/listener/sing/context.go
+++ b/listener/sing/context.go
@@ -4,7 +4,7 @@ import (
"context"
"golang.org/x/exp/slices"
- "github.com/metacubex/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/adapter/inbound"
"github.com/sagernet/sing/common/auth"
)
diff --git a/listener/sing/sing.go b/listener/sing/sing.go
index 0d4bb926..ec8d14b4 100644
--- a/listener/sing/sing.go
+++ b/listener/sing/sing.go
@@ -8,11 +8,11 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/adapter/outbound"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
vmess "github.com/metacubex/sing-vmess"
mux "github.com/sagernet/sing-mux"
diff --git a/listener/sing_hysteria2/server.go b/listener/sing_hysteria2/server.go
index 77ad8efd..11e8628a 100644
--- a/listener/sing_hysteria2/server.go
+++ b/listener/sing_hysteria2/server.go
@@ -11,14 +11,14 @@ import (
"net/url"
"strings"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/adapter/outbound"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/sockopt"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/sockopt"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/sing-quic/hysteria2"
diff --git a/listener/sing_shadowsocks/server.go b/listener/sing_shadowsocks/server.go
index 5f2a4292..47225328 100644
--- a/listener/sing_shadowsocks/server.go
+++ b/listener/sing_shadowsocks/server.go
@@ -6,14 +6,14 @@ import (
"net"
"strings"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/common/sockopt"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- embedSS "github.com/metacubex/mihomo/listener/shadowsocks"
- "github.com/metacubex/mihomo/listener/sing"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/ntp"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/common/sockopt"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ embedSS "github.com/abyss219/mihomo/listener/shadowsocks"
+ "github.com/abyss219/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/ntp"
shadowsocks "github.com/metacubex/sing-shadowsocks"
"github.com/metacubex/sing-shadowsocks/shadowaead"
diff --git a/listener/sing_tun/dns.go b/listener/sing_tun/dns.go
index 505f16ac..699395d2 100644
--- a/listener/sing_tun/dns.go
+++ b/listener/sing_tun/dns.go
@@ -7,10 +7,10 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/listener/sing"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/log"
"github.com/sagernet/sing/common/buf"
"github.com/sagernet/sing/common/bufio"
diff --git a/listener/sing_tun/iface.go b/listener/sing_tun/iface.go
index 543d206c..832634c2 100644
--- a/listener/sing_tun/iface.go
+++ b/listener/sing_tun/iface.go
@@ -4,7 +4,7 @@ import (
"errors"
"net/netip"
- "github.com/metacubex/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/iface"
"github.com/sagernet/sing/common/control"
)
diff --git a/listener/sing_tun/server.go b/listener/sing_tun/server.go
index ba337b01..e0e1db50 100644
--- a/listener/sing_tun/server.go
+++ b/listener/sing_tun/server.go
@@ -12,15 +12,15 @@ import (
"strings"
"sync"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/iface"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/provider"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/iface"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/provider"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/log"
tun "github.com/metacubex/sing-tun"
"github.com/sagernet/sing/common"
diff --git a/listener/sing_tun/server_android.go b/listener/sing_tun/server_android.go
index d8240534..bb80190e 100644
--- a/listener/sing_tun/server_android.go
+++ b/listener/sing_tun/server_android.go
@@ -7,10 +7,10 @@ import (
"runtime"
"sync"
- "github.com/metacubex/mihomo/component/process"
- "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/features"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/process"
+ "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/features"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/sing-tun"
"github.com/sagernet/netlink"
diff --git a/listener/sing_tun/server_windows.go b/listener/sing_tun/server_windows.go
index 325cf096..5e35e2d0 100644
--- a/listener/sing_tun/server_windows.go
+++ b/listener/sing_tun/server_windows.go
@@ -3,8 +3,8 @@ package sing_tun
import (
"time"
- "github.com/metacubex/mihomo/constant/features"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/constant/features"
+ "github.com/abyss219/mihomo/log"
tun "github.com/metacubex/sing-tun"
)
diff --git a/listener/sing_vmess/server.go b/listener/sing_vmess/server.go
index 7a0afa0b..34b841eb 100644
--- a/listener/sing_vmess/server.go
+++ b/listener/sing_vmess/server.go
@@ -8,13 +8,13 @@ import (
"net/url"
"strings"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing"
- "github.com/metacubex/mihomo/ntp"
- mihomoVMess "github.com/metacubex/mihomo/transport/vmess"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/ntp"
+ mihomoVMess "github.com/abyss219/mihomo/transport/vmess"
vmess "github.com/metacubex/sing-vmess"
"github.com/sagernet/sing/common"
diff --git a/listener/socks/tcp.go b/listener/socks/tcp.go
index cc66613e..038caf53 100644
--- a/listener/socks/tcp.go
+++ b/listener/socks/tcp.go
@@ -4,13 +4,13 @@ import (
"io"
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/auth"
- C "github.com/metacubex/mihomo/constant"
- authStore "github.com/metacubex/mihomo/listener/auth"
- "github.com/metacubex/mihomo/transport/socks4"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/auth"
+ C "github.com/abyss219/mihomo/constant"
+ authStore "github.com/abyss219/mihomo/listener/auth"
+ "github.com/abyss219/mihomo/transport/socks4"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type Listener struct {
diff --git a/listener/socks/udp.go b/listener/socks/udp.go
index ef31b20e..8e6bdc91 100644
--- a/listener/socks/udp.go
+++ b/listener/socks/udp.go
@@ -3,12 +3,12 @@ package socks
import (
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/sockopt"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/sockopt"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type UDPListener struct {
diff --git a/listener/socks/utils.go b/listener/socks/utils.go
index d113d45c..b6e4b2cd 100644
--- a/listener/socks/utils.go
+++ b/listener/socks/utils.go
@@ -3,7 +3,7 @@ package socks
import (
"net"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type packet struct {
diff --git a/listener/tproxy/packet.go b/listener/tproxy/packet.go
index b038d954..ffcee6be 100644
--- a/listener/tproxy/packet.go
+++ b/listener/tproxy/packet.go
@@ -6,10 +6,10 @@ import (
"net"
"net/netip"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type packet struct {
diff --git a/listener/tproxy/tproxy.go b/listener/tproxy/tproxy.go
index 6056047a..2c0f6799 100644
--- a/listener/tproxy/tproxy.go
+++ b/listener/tproxy/tproxy.go
@@ -3,10 +3,10 @@ package tproxy
import (
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/component/keepalive"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/component/keepalive"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type Listener struct {
diff --git a/listener/tproxy/tproxy_iptables.go b/listener/tproxy/tproxy_iptables.go
index bc26b125..b4a8efbd 100644
--- a/listener/tproxy/tproxy_iptables.go
+++ b/listener/tproxy/tproxy_iptables.go
@@ -6,9 +6,9 @@ import (
"net"
"runtime"
- "github.com/metacubex/mihomo/common/cmd"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/cmd"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/log"
)
var (
diff --git a/listener/tproxy/udp.go b/listener/tproxy/udp.go
index f738ef0d..a2365163 100644
--- a/listener/tproxy/udp.go
+++ b/listener/tproxy/udp.go
@@ -4,10 +4,10 @@ import (
"net"
"net/netip"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type UDPListener struct {
diff --git a/listener/tuic/server.go b/listener/tuic/server.go
index 5d807cbc..8459b951 100644
--- a/listener/tuic/server.go
+++ b/listener/tuic/server.go
@@ -7,15 +7,15 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/adapter/inbound"
- CN "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/sockopt"
- C "github.com/metacubex/mihomo/constant"
- LC "github.com/metacubex/mihomo/listener/config"
- "github.com/metacubex/mihomo/listener/sing"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/tuic"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ CN "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/sockopt"
+ C "github.com/abyss219/mihomo/constant"
+ LC "github.com/abyss219/mihomo/listener/config"
+ "github.com/abyss219/mihomo/listener/sing"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/tuic"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/quic-go"
diff --git a/listener/tunnel/packet.go b/listener/tunnel/packet.go
index 165004d6..0218ebed 100644
--- a/listener/tunnel/packet.go
+++ b/listener/tunnel/packet.go
@@ -3,7 +3,7 @@ package tunnel
import (
"net"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
type packet struct {
diff --git a/listener/tunnel/tcp.go b/listener/tunnel/tcp.go
index 7c916a38..f1233757 100644
--- a/listener/tunnel/tcp.go
+++ b/listener/tunnel/tcp.go
@@ -4,9 +4,9 @@ import (
"fmt"
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type Listener struct {
diff --git a/listener/tunnel/udp.go b/listener/tunnel/udp.go
index f7d980ab..b473dfb3 100644
--- a/listener/tunnel/udp.go
+++ b/listener/tunnel/udp.go
@@ -4,10 +4,10 @@ import (
"fmt"
"net"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type PacketConn struct {
diff --git a/log/log.go b/log/log.go
index f1c68b42..d48e436c 100644
--- a/log/log.go
+++ b/log/log.go
@@ -4,7 +4,7 @@ import (
"fmt"
"os"
- "github.com/metacubex/mihomo/common/observable"
+ "github.com/abyss219/mihomo/common/observable"
log "github.com/sirupsen/logrus"
)
diff --git a/main.go b/main.go
index 9a2222df..3906ebd2 100644
--- a/main.go
+++ b/main.go
@@ -14,15 +14,15 @@ import (
"strings"
"syscall"
- "github.com/metacubex/mihomo/component/geodata"
- "github.com/metacubex/mihomo/component/updater"
- "github.com/metacubex/mihomo/config"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/features"
- "github.com/metacubex/mihomo/hub"
- "github.com/metacubex/mihomo/hub/executor"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/rules/provider"
+ "github.com/abyss219/mihomo/component/geodata"
+ "github.com/abyss219/mihomo/component/updater"
+ "github.com/abyss219/mihomo/config"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/features"
+ "github.com/abyss219/mihomo/hub"
+ "github.com/abyss219/mihomo/hub/executor"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/rules/provider"
"go.uber.org/automaxprocs/maxprocs"
)
diff --git a/ntp/service.go b/ntp/service.go
index d4582c99..7bbb2dbd 100644
--- a/ntp/service.go
+++ b/ntp/service.go
@@ -5,9 +5,9 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/proxydialer"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/proxydialer"
+ "github.com/abyss219/mihomo/log"
M "github.com/sagernet/sing/common/metadata"
"github.com/sagernet/sing/common/ntp"
diff --git a/rules/common/base.go b/rules/common/base.go
index 1abbe72c..26b8230a 100644
--- a/rules/common/base.go
+++ b/rules/common/base.go
@@ -3,7 +3,7 @@ package common
import (
"errors"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"golang.org/x/exp/slices"
)
diff --git a/rules/common/domain.go b/rules/common/domain.go
index 306eb65f..a77493e6 100644
--- a/rules/common/domain.go
+++ b/rules/common/domain.go
@@ -3,7 +3,7 @@ package common
import (
"strings"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"golang.org/x/net/idna"
)
diff --git a/rules/common/domain_keyword.go b/rules/common/domain_keyword.go
index 9d6f1c15..f73ad197 100644
--- a/rules/common/domain_keyword.go
+++ b/rules/common/domain_keyword.go
@@ -3,7 +3,7 @@ package common
import (
"strings"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"golang.org/x/net/idna"
)
diff --git a/rules/common/domain_regex.go b/rules/common/domain_regex.go
index d214a772..e48b5fc9 100644
--- a/rules/common/domain_regex.go
+++ b/rules/common/domain_regex.go
@@ -1,7 +1,7 @@
package common
import (
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"github.com/dlclark/regexp2"
)
diff --git a/rules/common/domain_suffix.go b/rules/common/domain_suffix.go
index c5b87208..14ed0e53 100644
--- a/rules/common/domain_suffix.go
+++ b/rules/common/domain_suffix.go
@@ -3,7 +3,7 @@ package common
import (
"strings"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"golang.org/x/net/idna"
)
diff --git a/rules/common/dscp.go b/rules/common/dscp.go
index c839b20d..4dbd2f14 100644
--- a/rules/common/dscp.go
+++ b/rules/common/dscp.go
@@ -3,8 +3,8 @@ package common
import (
"fmt"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
)
type DSCP struct {
diff --git a/rules/common/final.go b/rules/common/final.go
index d3a415a0..63ab5cea 100644
--- a/rules/common/final.go
+++ b/rules/common/final.go
@@ -1,7 +1,7 @@
package common
import (
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
type Match struct {
diff --git a/rules/common/geoip.go b/rules/common/geoip.go
index 61fae504..ba9f918a 100644
--- a/rules/common/geoip.go
+++ b/rules/common/geoip.go
@@ -6,12 +6,12 @@ import (
"net/netip"
"strings"
- "github.com/metacubex/mihomo/component/geodata"
- "github.com/metacubex/mihomo/component/geodata/router"
- "github.com/metacubex/mihomo/component/mmdb"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/geodata"
+ "github.com/abyss219/mihomo/component/geodata/router"
+ "github.com/abyss219/mihomo/component/mmdb"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"golang.org/x/exp/slices"
)
diff --git a/rules/common/geosite.go b/rules/common/geosite.go
index 851bc8a4..92609b83 100644
--- a/rules/common/geosite.go
+++ b/rules/common/geosite.go
@@ -3,12 +3,12 @@ package common
import (
"fmt"
- "github.com/metacubex/mihomo/component/geodata"
- _ "github.com/metacubex/mihomo/component/geodata/memconservative"
- "github.com/metacubex/mihomo/component/geodata/router"
- _ "github.com/metacubex/mihomo/component/geodata/standard"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/geodata"
+ _ "github.com/abyss219/mihomo/component/geodata/memconservative"
+ "github.com/abyss219/mihomo/component/geodata/router"
+ _ "github.com/abyss219/mihomo/component/geodata/standard"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type GEOSITE struct {
diff --git a/rules/common/in_name.go b/rules/common/in_name.go
index 9b14ef6a..5eef233a 100644
--- a/rules/common/in_name.go
+++ b/rules/common/in_name.go
@@ -2,7 +2,7 @@ package common
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"strings"
)
diff --git a/rules/common/in_type.go b/rules/common/in_type.go
index fc73b208..35469aab 100644
--- a/rules/common/in_type.go
+++ b/rules/common/in_type.go
@@ -2,7 +2,7 @@ package common
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"strings"
)
diff --git a/rules/common/in_user.go b/rules/common/in_user.go
index ebe881af..4d4d9e4a 100644
--- a/rules/common/in_user.go
+++ b/rules/common/in_user.go
@@ -2,7 +2,7 @@ package common
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"strings"
)
diff --git a/rules/common/ipasn.go b/rules/common/ipasn.go
index 7d554103..fe1db8cc 100644
--- a/rules/common/ipasn.go
+++ b/rules/common/ipasn.go
@@ -1,10 +1,10 @@
package common
import (
- "github.com/metacubex/mihomo/component/geodata"
- "github.com/metacubex/mihomo/component/mmdb"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/geodata"
+ "github.com/abyss219/mihomo/component/mmdb"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type ASN struct {
diff --git a/rules/common/ipcidr.go b/rules/common/ipcidr.go
index 1f02a5f5..d1743aa5 100644
--- a/rules/common/ipcidr.go
+++ b/rules/common/ipcidr.go
@@ -3,7 +3,7 @@ package common
import (
"net/netip"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
)
type IPCIDROption func(*IPCIDR)
diff --git a/rules/common/ipsuffix.go b/rules/common/ipsuffix.go
index 3251faf8..fc753fdc 100644
--- a/rules/common/ipsuffix.go
+++ b/rules/common/ipsuffix.go
@@ -1,7 +1,7 @@
package common
import (
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"net/netip"
)
diff --git a/rules/common/network_type.go b/rules/common/network_type.go
index 83a332d8..f5397955 100644
--- a/rules/common/network_type.go
+++ b/rules/common/network_type.go
@@ -2,7 +2,7 @@ package common
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"strings"
)
diff --git a/rules/common/port.go b/rules/common/port.go
index d3f6e1b4..17122bf2 100644
--- a/rules/common/port.go
+++ b/rules/common/port.go
@@ -3,8 +3,8 @@ package common
import (
"fmt"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
)
type Port struct {
diff --git a/rules/common/process.go b/rules/common/process.go
index 8932e946..5ad14e26 100644
--- a/rules/common/process.go
+++ b/rules/common/process.go
@@ -3,7 +3,7 @@ package common
import (
"strings"
- C "github.com/metacubex/mihomo/constant"
+ C "github.com/abyss219/mihomo/constant"
"github.com/dlclark/regexp2"
)
diff --git a/rules/common/uid.go b/rules/common/uid.go
index c80632b0..7996b1cd 100644
--- a/rules/common/uid.go
+++ b/rules/common/uid.go
@@ -4,9 +4,9 @@ import (
"fmt"
"runtime"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type Uid struct {
diff --git a/rules/logic/logic.go b/rules/logic/logic.go
index f7b5a987..81331ac2 100644
--- a/rules/logic/logic.go
+++ b/rules/logic/logic.go
@@ -6,8 +6,8 @@ import (
"strings"
"sync"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/rules/common"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/rules/common"
list "github.com/bahlo/generic-list-go"
)
diff --git a/rules/logic_test/logic_test.go b/rules/logic_test/logic_test.go
index e88c8578..d09da56f 100644
--- a/rules/logic_test/logic_test.go
+++ b/rules/logic_test/logic_test.go
@@ -2,10 +2,10 @@ package logic_test
import (
// https://github.com/golang/go/wiki/CodeReviewComments#import-dot
- . "github.com/metacubex/mihomo/rules/logic"
+ . "github.com/abyss219/mihomo/rules/logic"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/rules"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/rules"
"github.com/stretchr/testify/assert"
"testing"
)
diff --git a/rules/parser.go b/rules/parser.go
index 83325433..8b2b8ccf 100644
--- a/rules/parser.go
+++ b/rules/parser.go
@@ -3,10 +3,10 @@ package rules
import (
"fmt"
- C "github.com/metacubex/mihomo/constant"
- RC "github.com/metacubex/mihomo/rules/common"
- "github.com/metacubex/mihomo/rules/logic"
- RP "github.com/metacubex/mihomo/rules/provider"
+ C "github.com/abyss219/mihomo/constant"
+ RC "github.com/abyss219/mihomo/rules/common"
+ "github.com/abyss219/mihomo/rules/logic"
+ RP "github.com/abyss219/mihomo/rules/provider"
)
func ParseRule(tp, payload, target string, params []string, subRules map[string][]C.Rule) (parsed C.Rule, parseErr error) {
diff --git a/rules/provider/classical_strategy.go b/rules/provider/classical_strategy.go
index 205a8e59..9cfec38e 100644
--- a/rules/provider/classical_strategy.go
+++ b/rules/provider/classical_strategy.go
@@ -4,9 +4,9 @@ import (
"fmt"
"strings"
- C "github.com/metacubex/mihomo/constant"
- P "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/log"
+ C "github.com/abyss219/mihomo/constant"
+ P "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/log"
)
type classicalStrategy struct {
diff --git a/rules/provider/domain_strategy.go b/rules/provider/domain_strategy.go
index b893f038..9da3a37e 100644
--- a/rules/provider/domain_strategy.go
+++ b/rules/provider/domain_strategy.go
@@ -5,10 +5,10 @@ import (
"io"
"strings"
- "github.com/metacubex/mihomo/component/trie"
- C "github.com/metacubex/mihomo/constant"
- P "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/trie"
+ C "github.com/abyss219/mihomo/constant"
+ P "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/log"
"golang.org/x/exp/slices"
)
diff --git a/rules/provider/ipcidr_strategy.go b/rules/provider/ipcidr_strategy.go
index 9efffed9..d0856a53 100644
--- a/rules/provider/ipcidr_strategy.go
+++ b/rules/provider/ipcidr_strategy.go
@@ -5,10 +5,10 @@ import (
"io"
"net/netip"
- "github.com/metacubex/mihomo/component/cidr"
- C "github.com/metacubex/mihomo/constant"
- P "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/cidr"
+ C "github.com/abyss219/mihomo/constant"
+ P "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/log"
"go4.org/netipx"
)
diff --git a/rules/provider/mrs_converter.go b/rules/provider/mrs_converter.go
index dbbe51cb..59953fda 100644
--- a/rules/provider/mrs_converter.go
+++ b/rules/provider/mrs_converter.go
@@ -7,7 +7,7 @@ import (
"io"
"os"
- P "github.com/metacubex/mihomo/constant/provider"
+ P "github.com/abyss219/mihomo/constant/provider"
"github.com/klauspost/compress/zstd"
)
diff --git a/rules/provider/parse.go b/rules/provider/parse.go
index 97d513fc..97b99c20 100644
--- a/rules/provider/parse.go
+++ b/rules/provider/parse.go
@@ -5,11 +5,11 @@ import (
"fmt"
"time"
- "github.com/metacubex/mihomo/common/structure"
- "github.com/metacubex/mihomo/component/resource"
- C "github.com/metacubex/mihomo/constant"
- P "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/rules/common"
+ "github.com/abyss219/mihomo/common/structure"
+ "github.com/abyss219/mihomo/component/resource"
+ C "github.com/abyss219/mihomo/constant"
+ P "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/rules/common"
)
var (
diff --git a/rules/provider/provider.go b/rules/provider/provider.go
index 5c456832..0d2d3405 100644
--- a/rules/provider/provider.go
+++ b/rules/provider/provider.go
@@ -9,11 +9,11 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/component/resource"
- C "github.com/metacubex/mihomo/constant"
- P "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/rules/common"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/component/resource"
+ C "github.com/abyss219/mihomo/constant"
+ P "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/rules/common"
"gopkg.in/yaml.v3"
)
diff --git a/rules/provider/rule_set.go b/rules/provider/rule_set.go
index 2ad0bd3d..eedd6bd3 100644
--- a/rules/provider/rule_set.go
+++ b/rules/provider/rule_set.go
@@ -3,9 +3,9 @@ package provider
import (
"net/netip"
- C "github.com/metacubex/mihomo/constant"
- P "github.com/metacubex/mihomo/constant/provider"
- "github.com/metacubex/mihomo/rules/common"
+ C "github.com/abyss219/mihomo/constant"
+ P "github.com/abyss219/mihomo/constant/provider"
+ "github.com/abyss219/mihomo/rules/common"
)
type RuleSet struct {
diff --git a/test/clash_test.go b/test/clash_test.go
index 90ac9d22..12a2bafe 100644
--- a/test/clash_test.go
+++ b/test/clash_test.go
@@ -19,10 +19,10 @@ import (
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
"github.com/docker/go-connections/nat"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/hub/executor"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/hub/executor"
+ "github.com/abyss219/mihomo/transport/socks5"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
diff --git a/test/hysteria_test.go b/test/hysteria_test.go
index e783d9c2..17f71918 100644
--- a/test/hysteria_test.go
+++ b/test/hysteria_test.go
@@ -6,8 +6,8 @@ import (
"time"
"github.com/docker/docker/api/types/container"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
"github.com/stretchr/testify/assert"
)
diff --git a/test/snell_test.go b/test/snell_test.go
index 311ca7b7..57cf5561 100644
--- a/test/snell_test.go
+++ b/test/snell_test.go
@@ -6,8 +6,8 @@ import (
"time"
"github.com/docker/docker/api/types/container"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
"github.com/stretchr/testify/require"
)
diff --git a/test/ss_test.go b/test/ss_test.go
index 866fe3a8..877a7e5d 100644
--- a/test/ss_test.go
+++ b/test/ss_test.go
@@ -9,8 +9,8 @@ import (
"time"
"github.com/docker/docker/api/types/container"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
"github.com/stretchr/testify/require"
)
diff --git a/test/trojan_test.go b/test/trojan_test.go
index c6b1fea0..ce97a3df 100644
--- a/test/trojan_test.go
+++ b/test/trojan_test.go
@@ -7,8 +7,8 @@ import (
"time"
"github.com/docker/docker/api/types/container"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
"github.com/stretchr/testify/require"
)
diff --git a/test/vless_test.go b/test/vless_test.go
index d0e6f071..3e66950c 100644
--- a/test/vless_test.go
+++ b/test/vless_test.go
@@ -6,8 +6,8 @@ import (
"time"
"github.com/docker/docker/api/types/container"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
"github.com/stretchr/testify/assert"
)
diff --git a/test/vmess_test.go b/test/vmess_test.go
index 80c3d4d8..a3d6ab03 100644
--- a/test/vmess_test.go
+++ b/test/vmess_test.go
@@ -6,8 +6,8 @@ import (
"time"
"github.com/docker/docker/api/types/container"
- "github.com/metacubex/mihomo/adapter/outbound"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/adapter/outbound"
+ C "github.com/abyss219/mihomo/constant"
"github.com/stretchr/testify/require"
)
diff --git a/transport/gun/gun.go b/transport/gun/gun.go
index cf986c8e..00b21030 100644
--- a/transport/gun/gun.go
+++ b/transport/gun/gun.go
@@ -17,10 +17,10 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/buf"
- "github.com/metacubex/mihomo/common/pool"
- tlsC "github.com/metacubex/mihomo/component/tls"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/buf"
+ "github.com/abyss219/mihomo/common/pool"
+ tlsC "github.com/abyss219/mihomo/component/tls"
"golang.org/x/net/http2"
)
diff --git a/transport/hysteria/conns/faketcp/obfs.go b/transport/hysteria/conns/faketcp/obfs.go
index cf58e569..197fef5b 100644
--- a/transport/hysteria/conns/faketcp/obfs.go
+++ b/transport/hysteria/conns/faketcp/obfs.go
@@ -1,7 +1,7 @@
package faketcp
import (
- "github.com/metacubex/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/transport/hysteria/obfs"
"net"
"sync"
"syscall"
diff --git a/transport/hysteria/conns/faketcp/tcp_linux.go b/transport/hysteria/conns/faketcp/tcp_linux.go
index 2aaaf139..10b0044e 100644
--- a/transport/hysteria/conns/faketcp/tcp_linux.go
+++ b/transport/hysteria/conns/faketcp/tcp_linux.go
@@ -20,7 +20,7 @@ import (
"github.com/metacubex/gopacket"
"github.com/metacubex/gopacket/layers"
- "github.com/metacubex/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/dialer"
)
var (
diff --git a/transport/hysteria/conns/udp/hop.go b/transport/hysteria/conns/udp/hop.go
index 0a888749..944b1a8b 100644
--- a/transport/hysteria/conns/udp/hop.go
+++ b/transport/hysteria/conns/udp/hop.go
@@ -9,8 +9,8 @@ import (
"syscall"
"time"
- "github.com/metacubex/mihomo/transport/hysteria/obfs"
- "github.com/metacubex/mihomo/transport/hysteria/utils"
+ "github.com/abyss219/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/transport/hysteria/utils"
"github.com/metacubex/randv2"
)
diff --git a/transport/hysteria/conns/udp/obfs.go b/transport/hysteria/conns/udp/obfs.go
index a5c6c06c..08f24298 100644
--- a/transport/hysteria/conns/udp/obfs.go
+++ b/transport/hysteria/conns/udp/obfs.go
@@ -1,7 +1,7 @@
package udp
import (
- "github.com/metacubex/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/transport/hysteria/obfs"
"net"
"sync"
"time"
diff --git a/transport/hysteria/conns/wechat/obfs.go b/transport/hysteria/conns/wechat/obfs.go
index c5ec47ee..27bfbc3f 100644
--- a/transport/hysteria/conns/wechat/obfs.go
+++ b/transport/hysteria/conns/wechat/obfs.go
@@ -6,8 +6,8 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/hysteria/obfs"
"github.com/metacubex/randv2"
)
diff --git a/transport/hysteria/core/client.go b/transport/hysteria/core/client.go
index 782948c0..4c20e01a 100644
--- a/transport/hysteria/core/client.go
+++ b/transport/hysteria/core/client.go
@@ -11,10 +11,10 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/transport/hysteria/obfs"
- "github.com/metacubex/mihomo/transport/hysteria/pmtud_fix"
- "github.com/metacubex/mihomo/transport/hysteria/transport"
- "github.com/metacubex/mihomo/transport/hysteria/utils"
+ "github.com/abyss219/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/transport/hysteria/pmtud_fix"
+ "github.com/abyss219/mihomo/transport/hysteria/transport"
+ "github.com/abyss219/mihomo/transport/hysteria/utils"
"github.com/lunixbochs/struc"
"github.com/metacubex/quic-go"
diff --git a/transport/hysteria/transport/client.go b/transport/hysteria/transport/client.go
index 91876ea9..d5063cb3 100644
--- a/transport/hysteria/transport/client.go
+++ b/transport/hysteria/transport/client.go
@@ -8,11 +8,11 @@ import (
"github.com/metacubex/quic-go"
- "github.com/metacubex/mihomo/transport/hysteria/conns/faketcp"
- "github.com/metacubex/mihomo/transport/hysteria/conns/udp"
- "github.com/metacubex/mihomo/transport/hysteria/conns/wechat"
- obfsPkg "github.com/metacubex/mihomo/transport/hysteria/obfs"
- "github.com/metacubex/mihomo/transport/hysteria/utils"
+ "github.com/abyss219/mihomo/transport/hysteria/conns/faketcp"
+ "github.com/abyss219/mihomo/transport/hysteria/conns/udp"
+ "github.com/abyss219/mihomo/transport/hysteria/conns/wechat"
+ obfsPkg "github.com/abyss219/mihomo/transport/hysteria/obfs"
+ "github.com/abyss219/mihomo/transport/hysteria/utils"
)
type ClientTransport struct{}
diff --git a/transport/shadowsocks/core/cipher.go b/transport/shadowsocks/core/cipher.go
index 7cb12c45..67abe67e 100644
--- a/transport/shadowsocks/core/cipher.go
+++ b/transport/shadowsocks/core/cipher.go
@@ -7,9 +7,9 @@ import (
"sort"
"strings"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowaead"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowstream"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowaead"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowstream"
)
type Cipher interface {
diff --git a/transport/shadowsocks/shadowaead/packet.go b/transport/shadowsocks/shadowaead/packet.go
index f9d21ec7..e7e6a403 100644
--- a/transport/shadowsocks/shadowaead/packet.go
+++ b/transport/shadowsocks/shadowaead/packet.go
@@ -6,8 +6,8 @@ import (
"io"
"net"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
)
// ErrShortPacket means that the packet is too short for a valid encrypted packet.
diff --git a/transport/shadowsocks/shadowaead/stream.go b/transport/shadowsocks/shadowaead/stream.go
index de0993b2..e186e53d 100644
--- a/transport/shadowsocks/shadowaead/stream.go
+++ b/transport/shadowsocks/shadowaead/stream.go
@@ -7,7 +7,7 @@ import (
"io"
"net"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
const (
diff --git a/transport/shadowsocks/shadowstream/packet.go b/transport/shadowsocks/shadowstream/packet.go
index 39d09a70..797ab057 100644
--- a/transport/shadowsocks/shadowstream/packet.go
+++ b/transport/shadowsocks/shadowstream/packet.go
@@ -6,8 +6,8 @@ import (
"io"
"net"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
)
// ErrShortPacket means the packet is too short to be a valid encrypted packet.
diff --git a/transport/shadowtls/shadowtls.go b/transport/shadowtls/shadowtls.go
index a0a3d7fb..1e8d4020 100644
--- a/transport/shadowtls/shadowtls.go
+++ b/transport/shadowtls/shadowtls.go
@@ -11,8 +11,8 @@ import (
"io"
"net"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
)
const (
diff --git a/transport/simple-obfs/http.go b/transport/simple-obfs/http.go
index 9c3f8e00..015fac7f 100644
--- a/transport/simple-obfs/http.go
+++ b/transport/simple-obfs/http.go
@@ -9,7 +9,7 @@ import (
"net"
"net/http"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
"github.com/metacubex/randv2"
)
diff --git a/transport/simple-obfs/tls.go b/transport/simple-obfs/tls.go
index a0cbc350..13bb1d29 100644
--- a/transport/simple-obfs/tls.go
+++ b/transport/simple-obfs/tls.go
@@ -8,7 +8,7 @@ import (
"net"
"time"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
const (
diff --git a/transport/sing-shadowtls/shadowtls.go b/transport/sing-shadowtls/shadowtls.go
index 2012e20a..c446df47 100644
--- a/transport/sing-shadowtls/shadowtls.go
+++ b/transport/sing-shadowtls/shadowtls.go
@@ -5,9 +5,9 @@ import (
"crypto/tls"
"net"
- "github.com/metacubex/mihomo/component/ca"
- tlsC "github.com/metacubex/mihomo/component/tls"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/component/ca"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ "github.com/abyss219/mihomo/log"
utls "github.com/metacubex/utls"
"github.com/sagernet/sing-shadowtls"
diff --git a/transport/snell/cipher.go b/transport/snell/cipher.go
index e18ce510..9342561d 100644
--- a/transport/snell/cipher.go
+++ b/transport/snell/cipher.go
@@ -4,7 +4,7 @@ import (
"crypto/aes"
"crypto/cipher"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowaead"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowaead"
"golang.org/x/crypto/argon2"
"golang.org/x/crypto/chacha20poly1305"
diff --git a/transport/snell/pool.go b/transport/snell/pool.go
index cc097df7..54fb5c91 100644
--- a/transport/snell/pool.go
+++ b/transport/snell/pool.go
@@ -5,8 +5,8 @@ import (
"net"
"time"
- "github.com/metacubex/mihomo/component/pool"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowaead"
+ "github.com/abyss219/mihomo/component/pool"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowaead"
)
type Pool struct {
diff --git a/transport/snell/snell.go b/transport/snell/snell.go
index fe3e4ee0..560427f0 100644
--- a/transport/snell/snell.go
+++ b/transport/snell/snell.go
@@ -8,9 +8,9 @@ import (
"net"
"sync"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/transport/shadowsocks/shadowaead"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/transport/shadowsocks/shadowaead"
+ "github.com/abyss219/mihomo/transport/socks5"
)
const (
diff --git a/transport/socks4/socks4.go b/transport/socks4/socks4.go
index 50708eda..5549b480 100644
--- a/transport/socks4/socks4.go
+++ b/transport/socks4/socks4.go
@@ -9,7 +9,7 @@ import (
"net/netip"
"strconv"
- "github.com/metacubex/mihomo/component/auth"
+ "github.com/abyss219/mihomo/component/auth"
)
const Version = 0x04
diff --git a/transport/socks5/socks5.go b/transport/socks5/socks5.go
index 61b555f4..1e4cef78 100644
--- a/transport/socks5/socks5.go
+++ b/transport/socks5/socks5.go
@@ -9,7 +9,7 @@ import (
"net/netip"
"strconv"
- "github.com/metacubex/mihomo/component/auth"
+ "github.com/abyss219/mihomo/component/auth"
)
// Error represents a SOCKS error
diff --git a/transport/ssr/obfs/http_simple.go b/transport/ssr/obfs/http_simple.go
index d59b490d..2e36451d 100644
--- a/transport/ssr/obfs/http_simple.go
+++ b/transport/ssr/obfs/http_simple.go
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/obfs/random_head.go b/transport/ssr/obfs/random_head.go
index a5ad2dab..ac01c109 100644
--- a/transport/ssr/obfs/random_head.go
+++ b/transport/ssr/obfs/random_head.go
@@ -6,7 +6,7 @@ import (
"hash/crc32"
"net"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/obfs/tls1.2_ticket_auth.go b/transport/ssr/obfs/tls1.2_ticket_auth.go
index d5955edc..62ae278b 100644
--- a/transport/ssr/obfs/tls1.2_ticket_auth.go
+++ b/transport/ssr/obfs/tls1.2_ticket_auth.go
@@ -9,8 +9,8 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/transport/ssr/tools"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/transport/ssr/tools"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/protocol/auth_aes128_md5.go b/transport/ssr/protocol/auth_aes128_md5.go
index c6ae415e..78a9a5ca 100644
--- a/transport/ssr/protocol/auth_aes128_md5.go
+++ b/transport/ssr/protocol/auth_aes128_md5.go
@@ -1,6 +1,6 @@
package protocol
-import "github.com/metacubex/mihomo/transport/ssr/tools"
+import "github.com/abyss219/mihomo/transport/ssr/tools"
func init() {
register("auth_aes128_md5", newAuthAES128MD5, 9)
diff --git a/transport/ssr/protocol/auth_aes128_sha1.go b/transport/ssr/protocol/auth_aes128_sha1.go
index cfd55510..8bc087ff 100644
--- a/transport/ssr/protocol/auth_aes128_sha1.go
+++ b/transport/ssr/protocol/auth_aes128_sha1.go
@@ -9,10 +9,10 @@ import (
"strconv"
"strings"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/ssr/tools"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/ssr/tools"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/protocol/auth_chain_a.go b/transport/ssr/protocol/auth_chain_a.go
index 396172ef..8fae4072 100644
--- a/transport/ssr/protocol/auth_chain_a.go
+++ b/transport/ssr/protocol/auth_chain_a.go
@@ -12,11 +12,11 @@ import (
"strconv"
"strings"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/shadowsocks/core"
- "github.com/metacubex/mihomo/transport/ssr/tools"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/shadowsocks/core"
+ "github.com/abyss219/mihomo/transport/ssr/tools"
)
func init() {
@@ -108,7 +108,7 @@ func (a *authChainA) Decode(dst, src *bytes.Buffer) error {
dataLength := int(binary.LittleEndian.Uint16(src.Bytes()[:2]) ^ binary.LittleEndian.Uint16(a.lastServerHash[14:16]))
randDataLength := a.randDataLength(dataLength, a.lastServerHash, &a.randomServer)
length := dataLength + randDataLength
- // Temporary workaround for https://github.com/metacubex/mihomo/issues/1352
+ // Temporary workaround for https://github.com/abyss219/mihomo/issues/1352
if dataLength < 0 || randDataLength < 0 || length < 0 {
return errors.New("ssr crashing blocked")
}
@@ -135,7 +135,7 @@ func (a *authChainA) Decode(dst, src *bytes.Buffer) error {
if dataLength > 0 && randDataLength > 0 {
pos += getRandStartPos(randDataLength, &a.randomServer)
}
- // Temporary workaround for https://github.com/metacubex/mihomo/issues/1352
+ // Temporary workaround for https://github.com/abyss219/mihomo/issues/1352
if pos < 0 || pos+dataLength < 0 || dataLength < 0 {
return errors.New("ssr crashing blocked")
}
diff --git a/transport/ssr/protocol/auth_chain_b.go b/transport/ssr/protocol/auth_chain_b.go
index 223613a9..333bdaf3 100644
--- a/transport/ssr/protocol/auth_chain_b.go
+++ b/transport/ssr/protocol/auth_chain_b.go
@@ -4,7 +4,7 @@ import (
"net"
"sort"
- "github.com/metacubex/mihomo/transport/ssr/tools"
+ "github.com/abyss219/mihomo/transport/ssr/tools"
)
func init() {
diff --git a/transport/ssr/protocol/auth_sha1_v4.go b/transport/ssr/protocol/auth_sha1_v4.go
index 1c616c3f..7c705c96 100644
--- a/transport/ssr/protocol/auth_sha1_v4.go
+++ b/transport/ssr/protocol/auth_sha1_v4.go
@@ -7,9 +7,9 @@ import (
"hash/crc32"
"net"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/transport/ssr/tools"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/transport/ssr/tools"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/protocol/base.go b/transport/ssr/protocol/base.go
index 79870177..1828c599 100644
--- a/transport/ssr/protocol/base.go
+++ b/transport/ssr/protocol/base.go
@@ -10,9 +10,9 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/shadowsocks/core"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/shadowsocks/core"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/protocol/origin.go b/transport/ssr/protocol/origin.go
index 4d8b630a..0e2a5548 100644
--- a/transport/ssr/protocol/origin.go
+++ b/transport/ssr/protocol/origin.go
@@ -4,7 +4,7 @@ import (
"bytes"
"net"
- N "github.com/metacubex/mihomo/common/net"
+ N "github.com/abyss219/mihomo/common/net"
)
type origin struct{}
diff --git a/transport/ssr/protocol/packet.go b/transport/ssr/protocol/packet.go
index 86d573f3..fee6ac64 100644
--- a/transport/ssr/protocol/packet.go
+++ b/transport/ssr/protocol/packet.go
@@ -3,8 +3,8 @@ package protocol
import (
"net"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
)
type PacketConn struct {
diff --git a/transport/ssr/protocol/protocol.go b/transport/ssr/protocol/protocol.go
index ad6bf6ba..fc2dfe62 100644
--- a/transport/ssr/protocol/protocol.go
+++ b/transport/ssr/protocol/protocol.go
@@ -6,7 +6,7 @@ import (
"fmt"
"net"
- N "github.com/metacubex/mihomo/common/net"
+ N "github.com/abyss219/mihomo/common/net"
"github.com/metacubex/randv2"
)
diff --git a/transport/ssr/protocol/stream.go b/transport/ssr/protocol/stream.go
index 436859c3..7365aeea 100644
--- a/transport/ssr/protocol/stream.go
+++ b/transport/ssr/protocol/stream.go
@@ -4,7 +4,7 @@ import (
"bytes"
"net"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
type Conn struct {
diff --git a/transport/ssr/tools/random.go b/transport/ssr/tools/random.go
index c76011e4..21b31303 100644
--- a/transport/ssr/tools/random.go
+++ b/transport/ssr/tools/random.go
@@ -3,7 +3,7 @@ package tools
import (
"encoding/binary"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
// XorShift128Plus - a pseudorandom number generator
diff --git a/transport/trojan/trojan.go b/transport/trojan/trojan.go
index 17f403c1..927a24db 100644
--- a/transport/trojan/trojan.go
+++ b/transport/trojan/trojan.go
@@ -12,13 +12,13 @@ import (
"net/http"
"sync"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/component/ca"
- tlsC "github.com/metacubex/mihomo/component/tls"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/vmess"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/component/ca"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/vmess"
)
const (
diff --git a/transport/tuic/common/congestion.go b/transport/tuic/common/congestion.go
index a0e2be68..ec0aea3d 100644
--- a/transport/tuic/common/congestion.go
+++ b/transport/tuic/common/congestion.go
@@ -1,8 +1,8 @@
package common
import (
- "github.com/metacubex/mihomo/transport/tuic/congestion"
- congestionv2 "github.com/metacubex/mihomo/transport/tuic/congestion_v2"
+ "github.com/abyss219/mihomo/transport/tuic/congestion"
+ congestionv2 "github.com/abyss219/mihomo/transport/tuic/congestion_v2"
"github.com/metacubex/quic-go"
c "github.com/metacubex/quic-go/congestion"
diff --git a/transport/tuic/common/type.go b/transport/tuic/common/type.go
index c663fa0b..9eedcb96 100644
--- a/transport/tuic/common/type.go
+++ b/transport/tuic/common/type.go
@@ -7,8 +7,8 @@ import (
"net"
"time"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
"github.com/metacubex/quic-go"
)
diff --git a/transport/tuic/pool_client.go b/transport/tuic/pool_client.go
index b4c319d8..cef69399 100644
--- a/transport/tuic/pool_client.go
+++ b/transport/tuic/pool_client.go
@@ -8,9 +8,9 @@ import (
"sync"
"time"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
"github.com/metacubex/quic-go"
diff --git a/transport/tuic/server.go b/transport/tuic/server.go
index 354533aa..793f716e 100644
--- a/transport/tuic/server.go
+++ b/transport/tuic/server.go
@@ -7,14 +7,14 @@ import (
"net"
"time"
- "github.com/metacubex/mihomo/adapter/inbound"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/tuic/common"
- v4 "github.com/metacubex/mihomo/transport/tuic/v4"
- v5 "github.com/metacubex/mihomo/transport/tuic/v5"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/tuic/common"
+ v4 "github.com/abyss219/mihomo/transport/tuic/v4"
+ v5 "github.com/abyss219/mihomo/transport/tuic/v5"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/quic-go"
diff --git a/transport/tuic/tuic.go b/transport/tuic/tuic.go
index 02aaa3ad..a189dd82 100644
--- a/transport/tuic/tuic.go
+++ b/transport/tuic/tuic.go
@@ -1,10 +1,10 @@
package tuic
import (
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/tuic/common"
- v4 "github.com/metacubex/mihomo/transport/tuic/v4"
- v5 "github.com/metacubex/mihomo/transport/tuic/v5"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/tuic/common"
+ v4 "github.com/abyss219/mihomo/transport/tuic/v4"
+ v5 "github.com/abyss219/mihomo/transport/tuic/v5"
)
type ClientOptionV4 = v4.ClientOption
diff --git a/transport/tuic/v4/client.go b/transport/tuic/v4/client.go
index 62b419b7..c159c620 100644
--- a/transport/tuic/v4/client.go
+++ b/transport/tuic/v4/client.go
@@ -12,12 +12,12 @@ import (
"sync/atomic"
"time"
- atomic2 "github.com/metacubex/mihomo/common/atomic"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/tuic/common"
+ atomic2 "github.com/abyss219/mihomo/common/atomic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/metacubex/quic-go"
"github.com/metacubex/randv2"
diff --git a/transport/tuic/v4/packet.go b/transport/tuic/v4/packet.go
index 47484e78..8b70dd9b 100644
--- a/transport/tuic/v4/packet.go
+++ b/transport/tuic/v4/packet.go
@@ -5,10 +5,10 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/transport/tuic/common"
+ "github.com/abyss219/mihomo/common/atomic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/metacubex/quic-go"
)
diff --git a/transport/tuic/v4/protocol.go b/transport/tuic/v4/protocol.go
index 29536742..9d33f739 100644
--- a/transport/tuic/v4/protocol.go
+++ b/transport/tuic/v4/protocol.go
@@ -11,8 +11,8 @@ import (
"github.com/metacubex/quic-go"
"lukechampine.com/blake3"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
)
type BufferedReader interface {
diff --git a/transport/tuic/v4/server.go b/transport/tuic/v4/server.go
index 2430866f..7ce29734 100644
--- a/transport/tuic/v4/server.go
+++ b/transport/tuic/v4/server.go
@@ -7,13 +7,13 @@ import (
"net"
"sync"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/common/atomic"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/tuic/common"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/common/atomic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/quic-go"
diff --git a/transport/tuic/v5/client.go b/transport/tuic/v5/client.go
index a3c13d2b..20fac1d2 100644
--- a/transport/tuic/v5/client.go
+++ b/transport/tuic/v5/client.go
@@ -12,12 +12,12 @@ import (
"sync/atomic"
"time"
- atomic2 "github.com/metacubex/mihomo/common/atomic"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/transport/tuic/common"
+ atomic2 "github.com/abyss219/mihomo/common/atomic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/metacubex/quic-go"
"github.com/metacubex/randv2"
diff --git a/transport/tuic/v5/frag.go b/transport/tuic/v5/frag.go
index d680a5d0..2c67ad52 100644
--- a/transport/tuic/v5/frag.go
+++ b/transport/tuic/v5/frag.go
@@ -4,7 +4,7 @@ import (
"bytes"
"sync"
- "github.com/metacubex/mihomo/common/lru"
+ "github.com/abyss219/mihomo/common/lru"
"github.com/metacubex/quic-go"
)
diff --git a/transport/tuic/v5/packet.go b/transport/tuic/v5/packet.go
index 8281a11e..2f938008 100644
--- a/transport/tuic/v5/packet.go
+++ b/transport/tuic/v5/packet.go
@@ -6,10 +6,10 @@ import (
"sync"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/pool"
- "github.com/metacubex/mihomo/transport/tuic/common"
+ "github.com/abyss219/mihomo/common/atomic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/pool"
+ "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/metacubex/quic-go"
"github.com/metacubex/randv2"
diff --git a/transport/tuic/v5/protocol.go b/transport/tuic/v5/protocol.go
index de51a080..772608c5 100644
--- a/transport/tuic/v5/protocol.go
+++ b/transport/tuic/v5/protocol.go
@@ -8,9 +8,9 @@ import (
"net/netip"
"strconv"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
"github.com/metacubex/quic-go"
)
diff --git a/transport/tuic/v5/server.go b/transport/tuic/v5/server.go
index 8454b64c..542cf920 100644
--- a/transport/tuic/v5/server.go
+++ b/transport/tuic/v5/server.go
@@ -7,12 +7,12 @@ import (
"net"
"sync"
- "github.com/metacubex/mihomo/adapter/inbound"
- "github.com/metacubex/mihomo/common/atomic"
- N "github.com/metacubex/mihomo/common/net"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/transport/socks5"
- "github.com/metacubex/mihomo/transport/tuic/common"
+ "github.com/abyss219/mihomo/adapter/inbound"
+ "github.com/abyss219/mihomo/common/atomic"
+ N "github.com/abyss219/mihomo/common/net"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/transport/socks5"
+ "github.com/abyss219/mihomo/transport/tuic/common"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/quic-go"
diff --git a/transport/v2ray-plugin/websocket.go b/transport/v2ray-plugin/websocket.go
index 90ff5efe..e21b21f8 100644
--- a/transport/v2ray-plugin/websocket.go
+++ b/transport/v2ray-plugin/websocket.go
@@ -6,8 +6,8 @@ import (
"net"
"net/http"
- "github.com/metacubex/mihomo/component/ca"
- "github.com/metacubex/mihomo/transport/vmess"
+ "github.com/abyss219/mihomo/component/ca"
+ "github.com/abyss219/mihomo/transport/vmess"
)
// Option is options of websocket obfs
diff --git a/transport/vless/conn.go b/transport/vless/conn.go
index 02224892..3a79cb5b 100644
--- a/transport/vless/conn.go
+++ b/transport/vless/conn.go
@@ -7,9 +7,9 @@ import (
"net"
"sync"
- "github.com/metacubex/mihomo/common/buf"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/transport/vless/vision"
+ "github.com/abyss219/mihomo/common/buf"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/transport/vless/vision"
"github.com/gofrs/uuid/v5"
"google.golang.org/protobuf/proto"
diff --git a/transport/vless/vision/conn.go b/transport/vless/vision/conn.go
index 69ccfba0..a4f4eb13 100644
--- a/transport/vless/vision/conn.go
+++ b/transport/vless/vision/conn.go
@@ -9,9 +9,9 @@ import (
"io"
"net"
- "github.com/metacubex/mihomo/common/buf"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/buf"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/log"
"github.com/gofrs/uuid/v5"
utls "github.com/metacubex/utls"
diff --git a/transport/vless/vision/filter.go b/transport/vless/vision/filter.go
index 55b5663f..73638bf3 100644
--- a/transport/vless/vision/filter.go
+++ b/transport/vless/vision/filter.go
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/log"
)
var (
diff --git a/transport/vless/vision/padding.go b/transport/vless/vision/padding.go
index dd9cb261..e8dbcb03 100644
--- a/transport/vless/vision/padding.go
+++ b/transport/vless/vision/padding.go
@@ -4,8 +4,8 @@ import (
"bytes"
"encoding/binary"
- "github.com/metacubex/mihomo/common/buf"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/buf"
+ "github.com/abyss219/mihomo/log"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/randv2"
diff --git a/transport/vless/vision/vision.go b/transport/vless/vision/vision.go
index 3b9e9379..0251f047 100644
--- a/transport/vless/vision/vision.go
+++ b/transport/vless/vision/vision.go
@@ -10,8 +10,8 @@ import (
"reflect"
"unsafe"
- N "github.com/metacubex/mihomo/common/net"
- tlsC "github.com/metacubex/mihomo/component/tls"
+ N "github.com/abyss219/mihomo/common/net"
+ tlsC "github.com/abyss219/mihomo/component/tls"
"github.com/gofrs/uuid/v5"
utls "github.com/metacubex/utls"
diff --git a/transport/vless/vless.go b/transport/vless/vless.go
index ce07cdb4..94c71c30 100644
--- a/transport/vless/vless.go
+++ b/transport/vless/vless.go
@@ -3,7 +3,7 @@ package vless
import (
"net"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"github.com/gofrs/uuid/v5"
)
diff --git a/transport/vmess/aead.go b/transport/vmess/aead.go
index 89ec6a3b..c5cad8ed 100644
--- a/transport/vmess/aead.go
+++ b/transport/vmess/aead.go
@@ -7,7 +7,7 @@ import (
"io"
"sync"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
type aeadWriter struct {
diff --git a/transport/vmess/chunk.go b/transport/vmess/chunk.go
index f52fc82c..aabeff4c 100644
--- a/transport/vmess/chunk.go
+++ b/transport/vmess/chunk.go
@@ -5,7 +5,7 @@ import (
"errors"
"io"
- "github.com/metacubex/mihomo/common/pool"
+ "github.com/abyss219/mihomo/common/pool"
)
const (
diff --git a/transport/vmess/http.go b/transport/vmess/http.go
index 3c66fe6b..7fd5330c 100644
--- a/transport/vmess/http.go
+++ b/transport/vmess/http.go
@@ -9,7 +9,7 @@ import (
"net/http"
"net/textproto"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"github.com/metacubex/randv2"
)
diff --git a/transport/vmess/tls.go b/transport/vmess/tls.go
index bdaa8ccc..aa81ffe9 100644
--- a/transport/vmess/tls.go
+++ b/transport/vmess/tls.go
@@ -6,8 +6,8 @@ import (
"errors"
"net"
- "github.com/metacubex/mihomo/component/ca"
- tlsC "github.com/metacubex/mihomo/component/tls"
+ "github.com/abyss219/mihomo/component/ca"
+ tlsC "github.com/abyss219/mihomo/component/tls"
)
type TLSConfig struct {
diff --git a/transport/vmess/vmess.go b/transport/vmess/vmess.go
index 22c77ab7..d9928aa1 100644
--- a/transport/vmess/vmess.go
+++ b/transport/vmess/vmess.go
@@ -5,7 +5,7 @@ import (
"net"
"runtime"
- "github.com/metacubex/mihomo/common/utils"
+ "github.com/abyss219/mihomo/common/utils"
"github.com/gofrs/uuid/v5"
"github.com/metacubex/randv2"
diff --git a/transport/vmess/websocket.go b/transport/vmess/websocket.go
index ca3a57b7..3451c3ac 100644
--- a/transport/vmess/websocket.go
+++ b/transport/vmess/websocket.go
@@ -19,10 +19,10 @@ import (
"strings"
"time"
- "github.com/metacubex/mihomo/common/buf"
- N "github.com/metacubex/mihomo/common/net"
- tlsC "github.com/metacubex/mihomo/component/tls"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/buf"
+ N "github.com/abyss219/mihomo/common/net"
+ tlsC "github.com/abyss219/mihomo/component/tls"
+ "github.com/abyss219/mihomo/log"
"github.com/gobwas/ws"
"github.com/gobwas/ws/wsutil"
diff --git a/tunnel/connection.go b/tunnel/connection.go
index 1ea0678c..74b44fe0 100644
--- a/tunnel/connection.go
+++ b/tunnel/connection.go
@@ -7,11 +7,11 @@ import (
"net/netip"
"time"
- "github.com/metacubex/mihomo/common/lru"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/log"
+ "github.com/abyss219/mihomo/common/lru"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/log"
)
type packetSender struct {
diff --git a/tunnel/dns_dialer.go b/tunnel/dns_dialer.go
index 1839869b..0a97607f 100644
--- a/tunnel/dns_dialer.go
+++ b/tunnel/dns_dialer.go
@@ -8,11 +8,11 @@ import (
"net"
"strings"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/component/dialer"
- "github.com/metacubex/mihomo/component/resolver"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/tunnel/statistic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/component/dialer"
+ "github.com/abyss219/mihomo/component/resolver"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/tunnel/statistic"
)
const DnsRespectRules = "RULES"
diff --git a/tunnel/statistic/manager.go b/tunnel/statistic/manager.go
index 3f2770c2..b2dfefe5 100644
--- a/tunnel/statistic/manager.go
+++ b/tunnel/statistic/manager.go
@@ -4,7 +4,7 @@ import (
"os"
"time"
- "github.com/metacubex/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/atomic"
"github.com/puzpuzpuz/xsync/v3"
"github.com/shirou/gopsutil/v4/process"
diff --git a/tunnel/statistic/tracker.go b/tunnel/statistic/tracker.go
index ca592d97..5c0afa56 100644
--- a/tunnel/statistic/tracker.go
+++ b/tunnel/statistic/tracker.go
@@ -6,11 +6,11 @@ import (
"net/netip"
"time"
- "github.com/metacubex/mihomo/common/atomic"
- "github.com/metacubex/mihomo/common/buf"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- C "github.com/metacubex/mihomo/constant"
+ "github.com/abyss219/mihomo/common/atomic"
+ "github.com/abyss219/mihomo/common/buf"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ C "github.com/abyss219/mihomo/constant"
"github.com/gofrs/uuid/v5"
)
diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go
index a3c90db3..accd2e9d 100644
--- a/tunnel/tunnel.go
+++ b/tunnel/tunnel.go
@@ -12,20 +12,20 @@ import (
"sync"
"time"
- N "github.com/metacubex/mihomo/common/net"
- "github.com/metacubex/mihomo/common/utils"
- "github.com/metacubex/mihomo/component/loopback"
- "github.com/metacubex/mihomo/component/nat"
- P "github.com/metacubex/mihomo/component/process"
- "github.com/metacubex/mihomo/component/resolver"
- "github.com/metacubex/mihomo/component/slowdown"
- "github.com/metacubex/mihomo/component/sniffer"
- C "github.com/metacubex/mihomo/constant"
- "github.com/metacubex/mihomo/constant/features"
- "github.com/metacubex/mihomo/constant/provider"
- icontext "github.com/metacubex/mihomo/context"
- "github.com/metacubex/mihomo/log"
- "github.com/metacubex/mihomo/tunnel/statistic"
+ N "github.com/abyss219/mihomo/common/net"
+ "github.com/abyss219/mihomo/common/utils"
+ "github.com/abyss219/mihomo/component/loopback"
+ "github.com/abyss219/mihomo/component/nat"
+ P "github.com/abyss219/mihomo/component/process"
+ "github.com/abyss219/mihomo/component/resolver"
+ "github.com/abyss219/mihomo/component/slowdown"
+ "github.com/abyss219/mihomo/component/sniffer"
+ C "github.com/abyss219/mihomo/constant"
+ "github.com/abyss219/mihomo/constant/features"
+ "github.com/abyss219/mihomo/constant/provider"
+ icontext "github.com/abyss219/mihomo/context"
+ "github.com/abyss219/mihomo/log"
+ "github.com/abyss219/mihomo/tunnel/statistic"
)
const (