diff --git a/cmd/config.go b/cmd/config.go index f14d1ea..d3c7162 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -5,9 +5,9 @@ import ( "github.com/pkg/errors" "github.com/spf13/viper" - "gitlab.com/0ptr/conntracct/internal/pipeline" - "gitlab.com/0ptr/conntracct/internal/sinks" - "gitlab.com/0ptr/conntracct/internal/sinks/types" + "github.com/ti-mo/conntracct/internal/pipeline" + "github.com/ti-mo/conntracct/internal/sinks" + "github.com/ti-mo/conntracct/internal/sinks/types" ) var ( diff --git a/cmd/run.go b/cmd/run.go index 4b23ce3..b4f5f33 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -11,11 +11,11 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "gitlab.com/0ptr/conntracct/internal/apiserver" - "gitlab.com/0ptr/conntracct/internal/config" - "gitlab.com/0ptr/conntracct/internal/pipeline" - "gitlab.com/0ptr/conntracct/internal/pprof" - "gitlab.com/0ptr/conntracct/internal/sinks/types" + "github.com/ti-mo/conntracct/internal/apiserver" + "github.com/ti-mo/conntracct/internal/config" + "github.com/ti-mo/conntracct/internal/pipeline" + "github.com/ti-mo/conntracct/internal/pprof" + "github.com/ti-mo/conntracct/internal/sinks/types" ) // runCmd represents the run command diff --git a/internal/apiserver/apiserver.go b/internal/apiserver/apiserver.go index b4309a4..5041ffa 100644 --- a/internal/apiserver/apiserver.go +++ b/internal/apiserver/apiserver.go @@ -6,7 +6,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/gorilla/mux" - "gitlab.com/0ptr/conntracct/internal/pipeline" + "github.com/ti-mo/conntracct/internal/pipeline" ) var ( diff --git a/internal/config/config.go b/internal/config/config.go index 63e8a06..db127d4 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,6 +1,6 @@ package config -import "gitlab.com/0ptr/conntracct/pkg/bpf" +import "github.com/ti-mo/conntracct/pkg/bpf" // Init sets up the host to make conntracct function correctly. func Init() error { diff --git a/internal/pipeline/acct.go b/internal/pipeline/acct.go index 2c2e6cd..c2bd947 100644 --- a/internal/pipeline/acct.go +++ b/internal/pipeline/acct.go @@ -6,7 +6,7 @@ import ( "github.com/pkg/errors" log "github.com/sirupsen/logrus" - "gitlab.com/0ptr/conntracct/pkg/bpf" + "github.com/ti-mo/conntracct/pkg/bpf" ) // Init initializes the pipeline. Only runs once, subsequent calls are no-ops. diff --git a/internal/pipeline/pipeline.go b/internal/pipeline/pipeline.go index 08018c8..4c37163 100644 --- a/internal/pipeline/pipeline.go +++ b/internal/pipeline/pipeline.go @@ -4,8 +4,8 @@ import ( "sync" log "github.com/sirupsen/logrus" - "gitlab.com/0ptr/conntracct/internal/sinks" - "gitlab.com/0ptr/conntracct/pkg/bpf" + "github.com/ti-mo/conntracct/internal/sinks" + "github.com/ti-mo/conntracct/pkg/bpf" ) // Pipeline is a structure representing the conntracct diff --git a/internal/sinks/influxdb/influxdb.go b/internal/sinks/influxdb/influxdb.go index fd1805f..4261d39 100644 --- a/internal/sinks/influxdb/influxdb.go +++ b/internal/sinks/influxdb/influxdb.go @@ -7,10 +7,10 @@ import ( influx "github.com/influxdata/influxdb/client/v2" - "gitlab.com/0ptr/conntracct/internal/sinks/helpers" - "gitlab.com/0ptr/conntracct/internal/sinks/types" - "gitlab.com/0ptr/conntracct/pkg/boottime" - "gitlab.com/0ptr/conntracct/pkg/bpf" + "github.com/ti-mo/conntracct/internal/sinks/helpers" + "github.com/ti-mo/conntracct/internal/sinks/types" + "github.com/ti-mo/conntracct/pkg/boottime" + "github.com/ti-mo/conntracct/pkg/bpf" ) const ( diff --git a/internal/sinks/sink.go b/internal/sinks/sink.go index 4e5c23f..d986fa1 100644 --- a/internal/sinks/sink.go +++ b/internal/sinks/sink.go @@ -3,10 +3,10 @@ package sinks import ( "fmt" - "gitlab.com/0ptr/conntracct/internal/sinks/influxdb" - "gitlab.com/0ptr/conntracct/internal/sinks/stdout" - "gitlab.com/0ptr/conntracct/internal/sinks/types" - "gitlab.com/0ptr/conntracct/pkg/bpf" + "github.com/ti-mo/conntracct/internal/sinks/influxdb" + "github.com/ti-mo/conntracct/internal/sinks/stdout" + "github.com/ti-mo/conntracct/internal/sinks/types" + "github.com/ti-mo/conntracct/pkg/bpf" ) // An Sink represents a timeseries database or other store diff --git a/internal/sinks/stdout/stdout.go b/internal/sinks/stdout/stdout.go index 2e53af3..10b6616 100644 --- a/internal/sinks/stdout/stdout.go +++ b/internal/sinks/stdout/stdout.go @@ -4,8 +4,8 @@ import ( "bufio" "os" - "gitlab.com/0ptr/conntracct/internal/sinks/types" - "gitlab.com/0ptr/conntracct/pkg/bpf" + "github.com/ti-mo/conntracct/internal/sinks/types" + "github.com/ti-mo/conntracct/pkg/bpf" ) // StdOut is an accounting sink writing to standard output/error. diff --git a/magefile-bpf.go b/magefile-bpf.go index 51d5a96..3119bd5 100644 --- a/magefile-bpf.go +++ b/magefile-bpf.go @@ -12,7 +12,7 @@ import ( "github.com/magefile/mage/target" "github.com/magefile/mage/mg" - "gitlab.com/0ptr/conntracct/pkg/kernel" + "github.com/ti-mo/conntracct/pkg/kernel" "golang.org/x/sync/errgroup" ) diff --git a/main.go b/main.go index 838e657..8685635 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ package main import ( - "gitlab.com/0ptr/conntracct/cmd" + "github.com/ti-mo/conntracct/cmd" ) func main() { diff --git a/pkg/bpf/acct_integration_test.go b/pkg/bpf/acct_integration_test.go index cfe4718..25737e9 100644 --- a/pkg/bpf/acct_integration_test.go +++ b/pkg/bpf/acct_integration_test.go @@ -14,7 +14,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/0ptr/conntracct/pkg/udpecho" + "github.com/ti-mo/conntracct/pkg/udpecho" "golang.org/x/sys/unix" ) diff --git a/pkg/bpf/acct_probe.go b/pkg/bpf/acct_probe.go index 58e1836..db34a23 100644 --- a/pkg/bpf/acct_probe.go +++ b/pkg/bpf/acct_probe.go @@ -6,7 +6,7 @@ import ( "sync" "sync/atomic" - "gitlab.com/0ptr/conntracct/pkg/kernel" + "github.com/ti-mo/conntracct/pkg/kernel" "github.com/iovisor/gobpf/elf" "github.com/pkg/errors" diff --git a/pkg/bpf/helper.go b/pkg/bpf/helper.go index 70c7f89..547a61d 100644 --- a/pkg/bpf/helper.go +++ b/pkg/bpf/helper.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "gitlab.com/0ptr/conntracct/pkg/kallsyms" + "github.com/ti-mo/conntracct/pkg/kallsyms" "golang.org/x/sys/unix" ) diff --git a/pkg/bpf/selector.go b/pkg/bpf/selector.go index dfc2d2d..ff8e10d 100644 --- a/pkg/bpf/selector.go +++ b/pkg/bpf/selector.go @@ -8,7 +8,7 @@ import ( "github.com/blang/semver" "github.com/rakyll/statik/fs" - "gitlab.com/0ptr/conntracct/pkg/kernel" + "github.com/ti-mo/conntracct/pkg/kernel" ) // Select returns a bytes.Reader holding the BPF program to be used for diff --git a/pkg/bpf/sysctl.go b/pkg/bpf/sysctl.go index b67b18f..b1494fa 100644 --- a/pkg/bpf/sysctl.go +++ b/pkg/bpf/sysctl.go @@ -1,6 +1,6 @@ package bpf -import "gitlab.com/0ptr/conntracct/internal/sysctl" +import "github.com/ti-mo/conntracct/internal/sysctl" // Sysctls applies a list of sysctls on the machine. // When verbose is true, logs any changes made to stdout. diff --git a/pkg/kallsyms/kallsyms_test.go b/pkg/kallsyms/kallsyms_test.go index 6e530a8..4bd22c5 100644 --- a/pkg/kallsyms/kallsyms_test.go +++ b/pkg/kallsyms/kallsyms_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "gitlab.com/0ptr/conntracct/pkg/kallsyms" + "github.com/ti-mo/conntracct/pkg/kallsyms" ) func TestKallsyms(t *testing.T) {