chore: transferred to daeuniverse

This commit is contained in:
mzz2017 2023-03-14 15:01:55 +08:00
parent a6c2a077db
commit e2964ee6aa
119 changed files with 272 additions and 274 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "control/kern/headers"]
path = control/kern/headers
url = https://github.com/v2rayA/dae_bpf_headers
url = https://github.com/daeuniverse/dae_bpf_headers

View File

@ -1,2 +1 @@
* @v2rayA/dae
* @mzz2017

View File

@ -1,6 +1,6 @@
#
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
# Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
#
# The development version of clang is distributed as the 'clang' binary,
@ -27,7 +27,7 @@ endif
.PHONY: clean-ebpf ebpf dae
dae: ebpf
go build -o $(OUTPUT) -trimpath -ldflags "-s -w -X github.com/v2rayA/dae/cmd.Version=$(VERSION) -X github.com/v2rayA/dae/common/consts.MaxMatchSetLen_=$(MAX_MATCH_SET_LEN)" .
go build -o $(OUTPUT) -trimpath -ldflags "-s -w -X github.com/daeuniverse/dae/cmd.Version=$(VERSION) -X github.com/daeuniverse/dae/common/consts.MaxMatchSetLen_=$(MAX_MATCH_SET_LEN)" .
clean-ebpf:
@rm -f control/bpf_bpf*.go && \

View File

@ -1,6 +1,6 @@
# dae
<img src="https://github.com/v2rayA/dae/blob/main/logo.png" border="0" width="25%">
<img src="https://github.com/daeuniverse/dae/blob/main/logo.png" border="0" width="25%">
**_dae_**, means goose, is a high-performance transparent proxy solution.

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package cmd
@ -8,7 +8,7 @@ package cmd
import (
"fmt"
"github.com/spf13/cobra"
"github.com/v2rayA/dae/config"
"github.com/daeuniverse/dae/config"
)
var (

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package cmd
@ -8,7 +8,7 @@ package cmd
import (
"fmt"
"github.com/spf13/cobra"
"github.com/v2rayA/dae/cmd/internal"
"github.com/daeuniverse/dae/cmd/internal"
"os"
"strconv"
"strings"

View File

@ -6,12 +6,12 @@ import (
"github.com/okzk/sdnotify"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/v2rayA/dae/cmd/internal"
"github.com/v2rayA/dae/common/subscription"
"github.com/v2rayA/dae/config"
"github.com/v2rayA/dae/control"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/v2rayA/dae/pkg/logger"
"github.com/daeuniverse/dae/cmd/internal"
"github.com/daeuniverse/dae/common/subscription"
"github.com/daeuniverse/dae/config"
"github.com/daeuniverse/dae/control"
"github.com/daeuniverse/dae/pkg/config_parser"
"github.com/daeuniverse/dae/pkg/logger"
"os"
"os/signal"
"path/filepath"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package cmd
@ -8,7 +8,7 @@ package cmd
import (
"fmt"
"github.com/spf13/cobra"
"github.com/v2rayA/dae/cmd/internal"
"github.com/daeuniverse/dae/cmd/internal"
"os"
"strconv"
"strings"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package cmd

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package assets

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package bitlist
@ -8,7 +8,7 @@ package bitlist
import (
"fmt"
"github.com/mzz2017/softwind/common"
"github.com/v2rayA/dae/pkg/anybuffer"
"github.com/daeuniverse/dae/pkg/anybuffer"
"math/bits"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package bitlist

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package consts

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package consts

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package consts

View File

@ -1,12 +1,12 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package consts
import (
internal "github.com/v2rayA/dae/pkg/ebpf_internal"
internal "github.com/daeuniverse/dae/pkg/ebpf_internal"
"strconv"
"strings"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package consts

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package common

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package netutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package netutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package netutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package netutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package subscription
@ -11,7 +11,7 @@ import (
"encoding/json"
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/daeuniverse/dae/common"
"io"
"net"
"net/http"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package common
@ -12,7 +12,7 @@ import (
"encoding/binary"
"encoding/hex"
"fmt"
internal "github.com/v2rayA/dae/pkg/ebpf_internal"
internal "github.com/daeuniverse/dae/pkg/ebpf_internal"
"golang.org/x/net/dns/dnsmessage"
"net/netip"
"net/url"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package dns
@ -8,10 +8,10 @@ package dns
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/config"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/config"
"golang.org/x/net/dns/dnsmessage"
"net/netip"
"net/url"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package dns
@ -8,8 +8,8 @@ package dns
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/pkg/config_parser"
"golang.org/x/net/dns/dnsmessage"
"strings"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package dns
@ -8,11 +8,11 @@ package dns
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/component/routing/domain_matcher"
"github.com/v2rayA/dae/config"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/component/routing/domain_matcher"
"github.com/daeuniverse/dae/config"
"github.com/daeuniverse/dae/pkg/config_parser"
"golang.org/x/net/dns/dnsmessage"
"strconv"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package dns
@ -9,12 +9,12 @@ import (
"fmt"
"github.com/mzz2017/softwind/pkg/zeroalloc/buffer"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/component/routing/domain_matcher"
"github.com/v2rayA/dae/config"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/v2rayA/dae/pkg/trie"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/component/routing/domain_matcher"
"github.com/daeuniverse/dae/config"
"github.com/daeuniverse/dae/pkg/config_parser"
"github.com/daeuniverse/dae/pkg/trie"
"golang.org/x/net/dns/dnsmessage"
"net/netip"
"strconv"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dns
@ -9,8 +9,8 @@ import (
"context"
"fmt"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/common/netutils"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/common/netutils"
"net"
"net/url"
"strconv"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dialer
@ -9,7 +9,7 @@ import (
"fmt"
"github.com/mzz2017/softwind/pkg/fastrand"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/daeuniverse/dae/common/consts"
"strings"
"sync"
"time"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dialer

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dialer
@ -13,8 +13,8 @@ import (
"github.com/mzz2017/softwind/pkg/fastrand"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/common/netutils"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/common/netutils"
"golang.org/x/net/dns/dnsmessage"
"net"
"net/http"

View File

@ -4,8 +4,8 @@ import (
"fmt"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/mzz2017/softwind/protocol/http"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/component/outbound/dialer"
"net"
"net/url"
"strconv"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dialer

View File

@ -1,13 +1,13 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dialer
import (
"fmt"
"github.com/v2rayA/dae/common"
"github.com/daeuniverse/dae/common"
"net/url"
)

View File

@ -7,9 +7,9 @@ import (
"github.com/mzz2017/softwind/protocol"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/mzz2017/softwind/protocol/shadowsocks"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/component/outbound/transport/simpleobfs"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/outbound/transport/simpleobfs"
"net"
"net/url"
"strconv"

View File

@ -8,8 +8,8 @@ import (
"github.com/mzz2017/softwind/protocol/shadowsocks_stream"
"github.com/mzz2017/softwind/transport/shadowsocksr/obfs"
"github.com/mzz2017/softwind/transport/shadowsocksr/proto"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/component/outbound/dialer"
"net"
"net/url"
"strconv"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package dialer

View File

@ -3,7 +3,7 @@ package socks
import (
"fmt"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/outbound/dialer"
//"github.com/mzz2017/softwind/protocol/socks4"
"github.com/mzz2017/softwind/protocol/socks5"
"net"

View File

@ -6,10 +6,10 @@ import (
"github.com/mzz2017/softwind/protocol"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/mzz2017/softwind/transport/grpc"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/component/outbound/transport/tls"
"github.com/v2rayA/dae/component/outbound/transport/ws"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/outbound/transport/tls"
"github.com/daeuniverse/dae/component/outbound/transport/ws"
"net"
"net/url"
"strconv"

View File

@ -8,10 +8,10 @@ import (
"github.com/mzz2017/softwind/protocol"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/mzz2017/softwind/transport/grpc"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/component/outbound/transport/tls"
"github.com/v2rayA/dae/component/outbound/transport/ws"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/outbound/transport/tls"
"github.com/daeuniverse/dae/component/outbound/transport/ws"
"net"
"net/url"
"regexp"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package outbound
@ -9,8 +9,8 @@ import (
"fmt"
"github.com/mzz2017/softwind/netproxy"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/outbound/dialer"
"time"
)

View File

@ -1,15 +1,15 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package outbound
import (
"github.com/mzz2017/softwind/pkg/fastrand"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/pkg/logger"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/pkg/logger"
"testing"
"time"
)

View File

@ -1,14 +1,14 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package outbound
import (
"fmt"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/config"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/config"
"strconv"
)

View File

@ -1,14 +1,14 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package outbound
import (
"fmt"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/pkg/config_parser"
"regexp"
"strings"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package outbound
@ -10,10 +10,10 @@ import (
_ "github.com/mzz2017/softwind/protocol/trojanc"
_ "github.com/mzz2017/softwind/protocol/vless"
_ "github.com/mzz2017/softwind/protocol/vmess"
_ "github.com/v2rayA/dae/component/outbound/dialer/http"
_ "github.com/v2rayA/dae/component/outbound/dialer/shadowsocks"
_ "github.com/v2rayA/dae/component/outbound/dialer/shadowsocksr"
_ "github.com/v2rayA/dae/component/outbound/dialer/socks"
_ "github.com/v2rayA/dae/component/outbound/dialer/trojan"
_ "github.com/v2rayA/dae/component/outbound/dialer/v2ray"
_ "github.com/daeuniverse/dae/component/outbound/dialer/http"
_ "github.com/daeuniverse/dae/component/outbound/dialer/shadowsocks"
_ "github.com/daeuniverse/dae/component/outbound/dialer/shadowsocksr"
_ "github.com/daeuniverse/dae/component/outbound/dialer/socks"
_ "github.com/daeuniverse/dae/component/outbound/dialer/trojan"
_ "github.com/daeuniverse/dae/component/outbound/dialer/v2ray"
)

View File

@ -1,11 +1,11 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package routing
import "github.com/v2rayA/dae/common/consts"
import "github.com/daeuniverse/dae/common/consts"
type DomainMatcher interface {
AddSet(bitIndex int, patterns []string, typ consts.RoutingDomainKey)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package domain_matcher
@ -8,8 +8,8 @@ package domain_matcher
import (
"fmt"
"github.com/v2rayA/ahocorasick-domain"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/pkg/trie"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/pkg/trie"
"regexp"
"sort"
"strings"

View File

@ -1,13 +1,13 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package domain_matcher
import (
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/daeuniverse/dae/common/consts"
"golang.org/x/exp/slices"
"math/rand"
"testing"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package domain_matcher
@ -8,10 +8,10 @@ package domain_matcher
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/config"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/config"
"github.com/daeuniverse/dae/pkg/config_parser"
"hash/fnv"
"math/rand"
"reflect"

View File

@ -1,14 +1,14 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package domain_matcher
import (
"fmt"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"regexp"
"strings"
)

View File

@ -1,13 +1,13 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package domain_matcher
import (
"fmt"
"github.com/v2rayA/dae/common/consts"
"github.com/daeuniverse/dae/common/consts"
"regexp"
"strings"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package routing
@ -8,9 +8,9 @@ package routing
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/pkg/config_parser"
"net/netip"
"strings"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package routing
@ -8,8 +8,8 @@ package routing
import (
"fmt"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/pkg/config_parser"
"strconv"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package routing
@ -9,10 +9,10 @@ import (
"fmt"
"github.com/mohae/deepcopy"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/assets"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/v2rayA/dae/pkg/geodata"
"github.com/daeuniverse/dae/common/assets"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/pkg/config_parser"
"github.com/daeuniverse/dae/pkg/geodata"
"net/netip"
"sort"
"strings"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package quicutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package quicutils
@ -11,7 +11,7 @@ import (
"crypto/sha256"
"encoding/binary"
"github.com/mzz2017/softwind/pool"
"github.com/v2rayA/dae/common"
"github.com/daeuniverse/dae/common"
"golang.org/x/crypto/hkdf"
"io"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package quicutils
@ -8,7 +8,7 @@ package quicutils
import (
"bytes"
"encoding/hex"
"github.com/v2rayA/dae/common"
"github.com/daeuniverse/dae/common"
"testing"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package quicutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package quicutils

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing
@ -8,7 +8,7 @@ package sniffing
import (
"errors"
"github.com/mzz2017/softwind/pool"
"github.com/v2rayA/dae/component/sniffing/internal/quicutils"
"github.com/daeuniverse/dae/component/sniffing/internal/quicutils"
"io/fs"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing
@ -8,7 +8,7 @@ package sniffing
import (
"bytes"
"encoding/binary"
"github.com/v2rayA/dae/component/sniffing/internal/quicutils"
"github.com/daeuniverse/dae/component/sniffing/internal/quicutils"
"strings"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package sniffing

View File

@ -1,13 +1,13 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package config
import (
"fmt"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/pkg/config_parser"
"reflect"
"time"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package config
@ -8,8 +8,8 @@ package config
import (
"errors"
"fmt"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/pkg/config_parser"
"io"
"os"
"path/filepath"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package config
@ -10,9 +10,9 @@ type Desc map[string]string
var SectionSummaryDesc = Desc{
"subscription": "Subscriptions defined here will be resolved as nodes and merged as a part of the global node pool.\nSupport to give the subscription a tag, and filter nodes from a given subscription in the group section.",
"node": "Nodes defined here will be merged as a part of the global node pool.",
"dns": "See more at https://github.com/v2rayA/dae/blob/main/docs/dns.md.",
"dns": "See more at https://github.com/daeuniverse/dae/blob/main/docs/dns.md.",
"group": "Node group. Groups defined here can be used as outbounds in section \"routing\".",
"routing": `Traffic follows this routing. See https://github.com/v2rayA/dae/blob/main/docs/routing.md for full examples.
"routing": `Traffic follows this routing. See https://github.com/daeuniverse/dae/blob/main/docs/routing.md for full examples.
Notice: domain traffic split will fail if DNS traffic is not taken over by dae.
Built-in outbound: direct, must_direct, block.
Available functions: domain, sip, dip, sport, dport, ipversion, l4proto, pname, mac.

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package config
@ -8,8 +8,8 @@ package config
import (
"bytes"
"fmt"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/pkg/config_parser"
"reflect"
"strconv"
"strings"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package config

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package config

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package config

View File

@ -1,14 +1,14 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package config
import (
"fmt"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/pkg/config_parser"
"reflect"
"strings"
)

View File

@ -1,13 +1,13 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package config
import (
"fmt"
"github.com/v2rayA/dae/common/consts"
"github.com/daeuniverse/dae/common/consts"
)
type patch func(params *Config) error

View File

@ -1,12 +1,12 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
import (
"github.com/v2rayA/dae/common/consts"
"github.com/daeuniverse/dae/common/consts"
"net"
"net/netip"
"strconv"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -12,9 +12,9 @@ import (
"fmt"
"github.com/cilium/ebpf"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/pkg/ebpf_internal"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/pkg/ebpf_internal"
"net/netip"
"os"
"path/filepath"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -8,7 +8,7 @@ package control
import (
"github.com/cilium/ebpf"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/outbound/dialer"
"golang.org/x/sys/unix"
"strconv"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -14,16 +14,16 @@ import (
"github.com/mzz2017/softwind/pool"
"github.com/mzz2017/softwind/protocol/direct"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/common/netutils"
"github.com/v2rayA/dae/component/dns"
"github.com/v2rayA/dae/component/outbound"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/config"
"github.com/v2rayA/dae/pkg/config_parser"
internal "github.com/v2rayA/dae/pkg/ebpf_internal"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/common/netutils"
"github.com/daeuniverse/dae/component/dns"
"github.com/daeuniverse/dae/component/outbound"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/config"
"github.com/daeuniverse/dae/pkg/config_parser"
internal "github.com/daeuniverse/dae/pkg/ebpf_internal"
"golang.org/x/net/dns/dnsmessage"
"golang.org/x/sys/unix"
"net"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -12,9 +12,9 @@ import (
"github.com/mohae/deepcopy"
"github.com/safchain/ethtool"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
internal "github.com/v2rayA/dae/pkg/ebpf_internal"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
internal "github.com/daeuniverse/dae/pkg/ebpf_internal"
"github.com/vishvananda/netlink"
"golang.org/x/net/dns/dnsmessage"
"golang.org/x/sys/unix"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -12,11 +12,11 @@ import (
"github.com/mzz2017/softwind/netproxy"
"github.com/mzz2017/softwind/pool"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/common/netutils"
"github.com/v2rayA/dae/component/dns"
"github.com/v2rayA/dae/component/outbound"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/common/netutils"
"github.com/daeuniverse/dae/component/dns"
"github.com/daeuniverse/dae/component/outbound"
"github.com/daeuniverse/dae/component/outbound/dialer"
"golang.org/x/net/dns/dnsmessage"
"io"
"net"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package control

View File

@ -1,7 +1,7 @@
// +build ignore
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
#include <asm-generic/errno-base.h>

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -10,12 +10,12 @@ import (
"fmt"
"github.com/cilium/ebpf"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/v2rayA/dae/component/routing/domain_matcher"
"github.com/v2rayA/dae/config"
"github.com/v2rayA/dae/pkg/config_parser"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"github.com/daeuniverse/dae/component/routing/domain_matcher"
"github.com/daeuniverse/dae/config"
"github.com/daeuniverse/dae/pkg/config_parser"
"net/netip"
"strconv"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -9,9 +9,9 @@ import (
"encoding/binary"
"fmt"
"github.com/cilium/ebpf"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/routing"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/routing"
"net"
)

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -10,10 +10,10 @@ import (
"github.com/mzz2017/softwind/netproxy"
"github.com/mzz2017/softwind/pkg/zeroalloc/io"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/component/sniffing"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/sniffing"
"golang.org/x/sys/unix"
"net"
"net/netip"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -11,11 +11,11 @@ import (
"fmt"
"github.com/mzz2017/softwind/pkg/zeroalloc/buffer"
"github.com/sirupsen/logrus"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/v2rayA/dae/component/sniffing"
internal "github.com/v2rayA/dae/pkg/ebpf_internal"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"github.com/daeuniverse/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/sniffing"
internal "github.com/daeuniverse/dae/pkg/ebpf_internal"
"golang.org/x/net/dns/dnsmessage"
"net"
"net/netip"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -10,7 +10,7 @@ import (
"fmt"
"github.com/mzz2017/softwind/netproxy"
"github.com/mzz2017/softwind/pool"
"github.com/v2rayA/dae/component/outbound/dialer"
"github.com/daeuniverse/dae/component/outbound/dialer"
"net/netip"
"sync"
"time"

View File

@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2023, v2rayA Organization <team@v2raya.org>
* Copyright (c) 2022-2023, daeuniverse Organization <dae@v2raya.org>
*/
package control
@ -11,8 +11,8 @@ import (
"encoding/hex"
"fmt"
"github.com/mzz2017/softwind/netproxy"
"github.com/v2rayA/dae/common"
"github.com/v2rayA/dae/common/consts"
"github.com/daeuniverse/dae/common"
"github.com/daeuniverse/dae/common/consts"
"golang.org/x/sys/unix"
"net/netip"
"os"

View File

@ -16,7 +16,7 @@ dns {
googledns: 'tcp+udp://dns.google:53'
}
# The routing format of 'request' and 'response' is similar with section 'routing'.
# See https://github.com/v2rayA/dae/blob/main/docs/routing.md
# See https://github.com/daeuniverse/dae/blob/main/docs/routing.md
request {
# Built-in upstream in 'request': asis.
# You can also use user-defined upstreams.

View File

@ -84,7 +84,7 @@ make
**Build**
```shell
git clone https://github.com/v2rayA/dae.git
git clone https://github.com/daeuniverse/dae.git
cd dae
git submodule update --init
# Minimal dependency build:
@ -111,9 +111,9 @@ popd
Download the example config file:
```shell
curl -L -o example.dae https://github.com/v2rayA/dae/raw/main/example.dae
curl -L -o example.dae https://github.com/daeuniverse/dae/raw/main/example.dae
```
See [example.dae](https://github.com/v2rayA/dae/blob/main/example.dae).
See [example.dae](https://github.com/daeuniverse/dae/blob/main/example.dae).
After fine tuning, run dae:
```shell

View File

@ -5,6 +5,6 @@ Pre-built image and related docs can be found at https://hub.docker.com/r/daeuni
Also, you can use `docker compose`:
```shell
git clone https://github.com/v2rayA/dae
git clone https://github.com/daeuniverse/dae
docker compose up -d --build
```

View File

@ -42,7 +42,7 @@ You should configure dae as follows:
```
4. If you bind to LAN, make sure your DHCP server will distribute dae as the DNS server (DNS request should be forwarded by dae for domain based traffic split).
5. If there is still a DNS issue and there are no warn/error logs, you have to change your listening port of external DNS (here is AdGuardHome) from 53 to non-53 port. See [#31](https://github.com/v2rayA/dae/issues/31#issuecomment-1467358364).
5. If there is still a DNS issue and there are no warn/error logs, you have to change your listening port of external DNS (here is AdGuardHome) from 53 to non-53 port. See [#31](https://github.com/daeuniverse/dae/issues/31#issuecomment-1467358364).
## External DNS on another machine in LAN
@ -83,4 +83,4 @@ You should configure dae as follows:
```
4. If you bind to LAN, make sure your DHCP server will distribute dae as the DNS server (DNS request should be forwarded by dae for domain based traffic split).
5. If there is still a DNS issue and there are no warn/error logs, you have to change your listening port of external DNS (here is AdGuardHome) from 53 to non-53 port. See [#31](https://github.com/v2rayA/dae/issues/31#issuecomment-1467358364).
5. If there is still a DNS issue and there are no warn/error logs, you have to change your listening port of external DNS (here is AdGuardHome) from 53 to non-53 port. See [#31](https://github.com/daeuniverse/dae/issues/31#issuecomment-1467358364).

View File

@ -30,14 +30,14 @@ Download the sample config file:
```bash
mkdir -p /etc/dae
curl -L -o /etc/dae/config.dae https://github.com/v2rayA/dae/raw/main/example.dae
curl -L -o /etc/dae/config.dae https://github.com/daeuniverse/dae/raw/main/example.dae
```
## Setup
```bash
# download the sample systemd.service
sudo curl -L -o /etc/systemd/system/dae.service https://github.com/v2rayA/dae/raw/main/install/dae.service
sudo curl -L -o /etc/systemd/system/dae.service https://github.com/daeuniverse/dae/raw/main/install/dae.service
# reload and restart daemon to take effect
sudo systemctl daemon-reload

Some files were not shown because too many files have changed in this diff Show More