Skip to content
This repository was archived by the owner on Apr 3, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions cmd/tun2socks/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"syscall"
"time"

"github.com/eycorsican/go-tun2socks/common/dns"
"github.com/eycorsican/go-tun2socks/common/log"
_ "github.com/eycorsican/go-tun2socks/common/log/simple" // Register a simple logger.
"github.com/eycorsican/go-tun2socks/common/stats"
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/filter"
"github.com/eycorsican/go-tun2socks/tun"
"github.com/kiarsy/go-tun2socks/common/dns"
"github.com/kiarsy/go-tun2socks/common/log"
_ "github.com/kiarsy/go-tun2socks/common/log/simple" // Register a simple logger.
"github.com/kiarsy/go-tun2socks/common/stats"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/filter"
"github.com/kiarsy/go-tun2socks/tun"
)

var version = "undefined"
Expand Down
8 changes: 4 additions & 4 deletions cmd/tun2socks/main_d.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"net"
"strings"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/d"
"github.com/eycorsican/go-tun2socks/proxy/socks"
"github.com/kiarsy/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/d"
"github.com/kiarsy/go-tun2socks/proxy/socks"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/tun2socks/main_dns_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package main
import (
"flag"

"github.com/eycorsican/go-tun2socks/common/dns/cache"
"github.com/kiarsy/go-tun2socks/common/dns/cache"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tun2socks/main_dns_fallback.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package main
import (
"flag"

"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/dnsfallback"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/dnsfallback"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tun2socks/main_echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package main

import (
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/echo"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/echo"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/tun2socks/main_fakedns.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package main
import (
"flag"

"github.com/eycorsican/go-tun2socks/common/dns/fakedns"
"github.com/kiarsy/go-tun2socks/common/dns/fakedns"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/tun2socks/main_redirect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package main

import (
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/redirect"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/redirect"
)

func init() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/tun2socks/main_shadowsocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (

sscore "github.com/shadowsocks/go-shadowsocks2/core"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/shadowsocks"
"github.com/kiarsy/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/shadowsocks"
)

func init() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/tun2socks/main_socks.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package main
import (
"net"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/socks"
"github.com/kiarsy/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/socks"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/tun2socks/main_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package main

import (
"github.com/eycorsican/go-tun2socks/common/stats/session"
"github.com/kiarsy/go-tun2socks/common/stats/session"
)

func init() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/tun2socks/main_v2ray.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
vproxyman "v2ray.com/core/app/proxyman"
vbytespool "v2ray.com/core/common/bytespool"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/eycorsican/go-tun2socks/core"
"github.com/eycorsican/go-tun2socks/proxy/v2ray"
"github.com/kiarsy/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/core"
"github.com/kiarsy/go-tun2socks/proxy/v2ray"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions common/dns/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/miekg/dns"

cdns "github.com/eycorsican/go-tun2socks/common/dns"
"github.com/eycorsican/go-tun2socks/common/log"
cdns "github.com/kiarsy/go-tun2socks/common/dns"
"github.com/kiarsy/go-tun2socks/common/log"
)

const minCleanupInterval = 5 * time.Minute
Expand Down
8 changes: 4 additions & 4 deletions common/dns/fakedns/fakedns.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (

"github.com/miekg/dns"

cdns "github.com/eycorsican/go-tun2socks/common/dns"
"github.com/eycorsican/go-tun2socks/common/log"
"github.com/eycorsican/go-tun2socks/core"
cdns "github.com/kiarsy/go-tun2socks/common/dns"
"github.com/kiarsy/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/core"
)

const (
FakeResponseTtl uint32 = 1 // in sec
FakeResponseTtl uint32 = 1 // in sec
)

type simpleFakeDns struct {
Expand Down
2 changes: 1 addition & 1 deletion common/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net"
"strconv"

"github.com/eycorsican/go-tun2socks/common/lsof"
"github.com/kiarsy/go-tun2socks/common/lsof"
)

var logger Logger
Expand Down
2 changes: 1 addition & 1 deletion common/log/simple/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package simple
import (
golog "log"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/common/log"
)

type simpleLogger struct {
Expand Down
2 changes: 1 addition & 1 deletion common/log/v2ray/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

vlog "v2ray.com/core/common/log"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/common/log"
)

type v2rayLogger struct {
Expand Down
2 changes: 1 addition & 1 deletion common/lsof/lsof_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"syscall"
"unsafe"

win "github.com/eycorsican/go-tun2socks/common/lsof/windows"
win "github.com/kiarsy/go-tun2socks/common/lsof/windows"
)

func GetCommandNameBySocket(network string, addr string, port uint16) (string, error) {
Expand Down
4 changes: 2 additions & 2 deletions common/stats/session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"golang.org/x/text/language"
"golang.org/x/text/message"

"github.com/eycorsican/go-tun2socks/common/log"
"github.com/eycorsican/go-tun2socks/common/stats"
"github.com/kiarsy/go-tun2socks/common/log"
"github.com/kiarsy/go-tun2socks/common/stats"
)

const maxCompletedSessions = 50
Expand Down
Loading