mirror of
https://github.com/safing/portmaster
synced 2025-04-17 17:39:10 +00:00
Update org import paths
This commit is contained in:
parent
619e11d8e1
commit
9741bc412e
108 changed files with 274 additions and 274 deletions
Gopkg.lockGopkg.tomlREADME.mdbuild
core
dnsonly.gofirewall
config.godialer.gofirewall.go
inspection
interception
master.goports.gointel
main.gonameserver
network
pmctl
process
database.gofind.gogetpid_linux.gogetpid_windows.go
iphelper/test
matching.goproc
process.goprocess_windows.goxdgicons
profile
active.godatabase.godefaults.goendpoints.goendpoints_test.goflags.goflags_test.goframework.goidentifier_linux.go
index
matching
module.goprofile.goset.goset_test.gospecialprofiles.goupdates.gostatus
threats
ui
38
Gopkg.lock
generated
38
Gopkg.lock
generated
|
@ -4,7 +4,7 @@
|
|||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:636265d7c62365795e14a5d323a48db1409795adf96241bea7335d054f9d1879"
|
||||
name = "github.com/Safing/portbase"
|
||||
name = "github.com/safing/portbase"
|
||||
packages = [
|
||||
"api",
|
||||
"config",
|
||||
|
@ -349,24 +349,24 @@
|
|||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
input-imports = [
|
||||
"github.com/Safing/portbase/api",
|
||||
"github.com/Safing/portbase/config",
|
||||
"github.com/Safing/portbase/crypto/hash",
|
||||
"github.com/Safing/portbase/crypto/random",
|
||||
"github.com/Safing/portbase/database",
|
||||
"github.com/Safing/portbase/database/dbmodule",
|
||||
"github.com/Safing/portbase/database/iterator",
|
||||
"github.com/Safing/portbase/database/query",
|
||||
"github.com/Safing/portbase/database/record",
|
||||
"github.com/Safing/portbase/database/storage",
|
||||
"github.com/Safing/portbase/database/storage/bbolt",
|
||||
"github.com/Safing/portbase/info",
|
||||
"github.com/Safing/portbase/log",
|
||||
"github.com/Safing/portbase/modules",
|
||||
"github.com/Safing/portbase/notifications",
|
||||
"github.com/Safing/portbase/utils",
|
||||
"github.com/Safing/portbase/utils/osdetail",
|
||||
"github.com/Safing/portbase/utils/testutils",
|
||||
"github.com/safing/portbase/api",
|
||||
"github.com/safing/portbase/config",
|
||||
"github.com/safing/portbase/crypto/hash",
|
||||
"github.com/safing/portbase/crypto/random",
|
||||
"github.com/safing/portbase/database",
|
||||
"github.com/safing/portbase/database/dbmodule",
|
||||
"github.com/safing/portbase/database/iterator",
|
||||
"github.com/safing/portbase/database/query",
|
||||
"github.com/safing/portbase/database/record",
|
||||
"github.com/safing/portbase/database/storage",
|
||||
"github.com/safing/portbase/database/storage/bbolt",
|
||||
"github.com/safing/portbase/info",
|
||||
"github.com/safing/portbase/log",
|
||||
"github.com/safing/portbase/modules",
|
||||
"github.com/safing/portbase/notifications",
|
||||
"github.com/safing/portbase/utils",
|
||||
"github.com/safing/portbase/utils/osdetail",
|
||||
"github.com/safing/portbase/utils/testutils",
|
||||
"github.com/agext/levenshtein",
|
||||
"github.com/cloudflare/cfssl/crypto/pkcs7",
|
||||
"github.com/cookieo9/resources-go",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ignored = ["github.com/Safing/portbase", "github.com/Safing/safing-core", "github.com/Safing/safing-core/formats/varint"]
|
||||
ignored = ["github.com/safing/portbase", "github.com/safing/safing-core", "github.com/safing/safing-core/formats/varint"]
|
||||
|
||||
[prune]
|
||||
go-tests = true
|
||||
|
|
|
@ -32,7 +32,7 @@ If you want to know more, here are [the docs](http://docs.safing.io/).
|
|||
|
||||
The `pmctl` command will help you get up and running. It will bootstrap your the environment and download additional files it needs. All commands need the `--db` parameter with the database location, as this is where all the data and also the binaries live.
|
||||
|
||||
Just download `pmctl` from the [releases page](https://github.com/Safing/portmaster/releases) and put it somewhere comfortable. You may freely choose where you want to put the database - it needs to be the same for all commands. Here we go - run every command in a seperate terminal window:
|
||||
Just download `pmctl` from the [releases page](https://github.com/safing/portmaster/releases) and put it somewhere comfortable. You may freely choose where you want to put the database - it needs to be the same for all commands. Here we go - run every command in a seperate terminal window:
|
||||
|
||||
# start the portmaster:
|
||||
sudo ./pmctl run core --db=/opt/pm_db
|
||||
|
@ -48,7 +48,7 @@ Just download `pmctl` from the [releases page](https://github.com/Safing/portmas
|
|||
#### Feedback
|
||||
|
||||
We'd love to know what you think, drop by on [our forum](https://discourse.safing.community/) and let us know!
|
||||
If you want to report a bug, please [open an issue on Github](https://github.com/Safing/portmaster/issues/new).
|
||||
If you want to report a bug, please [open an issue on Github](https://github.com/safing/portmaster/issues/new).
|
||||
|
||||
## Documentation
|
||||
|
||||
|
|
2
build
2
build
|
@ -54,5 +54,5 @@ if [[ $1 == "dev" ]]; then
|
|||
fi
|
||||
|
||||
# build
|
||||
BUILD_PATH="github.com/Safing/portbase/info"
|
||||
BUILD_PATH="github.com/safing/portbase/info"
|
||||
go build $DEV -ldflags "-X ${BUILD_PATH}.commit=${BUILD_COMMIT} -X ${BUILD_PATH}.buildOptions=${BUILD_BUILDOPTIONS} -X ${BUILD_PATH}.buildUser=${BUILD_USER} -X ${BUILD_PATH}.buildHost=${BUILD_HOST} -X ${BUILD_PATH}.buildDate=${BUILD_DATE} -X ${BUILD_PATH}.buildSource=${BUILD_SOURCE}" $*
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package core
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/Safing/portbase/notifications"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/modules"
|
||||
"github.com/safing/portbase/notifications"
|
||||
|
||||
// module dependencies
|
||||
_ "github.com/Safing/portbase/database/dbmodule"
|
||||
_ "github.com/Safing/portbase/database/storage/bbolt"
|
||||
_ "github.com/safing/portbase/database/dbmodule"
|
||||
_ "github.com/safing/portbase/database/storage/bbolt"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -7,12 +7,12 @@ import (
|
|||
"runtime"
|
||||
"syscall"
|
||||
|
||||
"github.com/Safing/portbase/info"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/info"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
// include packages here
|
||||
_ "github.com/Safing/portmaster/nameserver/only"
|
||||
_ "github.com/safing/portmaster/nameserver/only"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package firewall
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/config"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portbase/config"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"net"
|
||||
|
||||
"github.com/Safing/portmaster/intel"
|
||||
"github.com/safing/portmaster/intel"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -8,16 +8,16 @@ import (
|
|||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/Safing/portmaster/firewall/inspection"
|
||||
"github.com/Safing/portmaster/firewall/interception"
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
"github.com/safing/portmaster/firewall/inspection"
|
||||
"github.com/safing/portmaster/firewall/interception"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
|
||||
// module dependencies
|
||||
_ "github.com/Safing/portmaster/core"
|
||||
_ "github.com/Safing/portmaster/profile"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,8 +5,8 @@ package inspection
|
|||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -10,13 +10,13 @@ import (
|
|||
"github.com/google/gopacket/layers"
|
||||
"github.com/google/gopacket/tcpassembly"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/firewall/inspection"
|
||||
"github.com/Safing/portmaster/firewall/inspection/tls/tlslib"
|
||||
"github.com/Safing/portmaster/firewall/inspection/tls/verify"
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/firewall/inspection"
|
||||
"github.com/safing/portmaster/firewall/inspection/tls/tlslib"
|
||||
"github.com/safing/portmaster/firewall/inspection/tls/verify"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
// TODO:
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/Safing/portmaster/firewall/inspection/tls/tlslib"
|
||||
"github.com/safing/portmaster/firewall/inspection/tls/tlslib"
|
||||
)
|
||||
|
||||
var clientHelloSample = []byte{
|
||||
|
|
|
@ -13,9 +13,9 @@ import (
|
|||
|
||||
"github.com/cloudflare/cfssl/crypto/pkcs7"
|
||||
|
||||
"github.com/Safing/portbase/crypto/hash"
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/safing/portbase/crypto/hash"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/record"
|
||||
)
|
||||
|
||||
// Cert saves a certificate.
|
||||
|
|
|
@ -12,10 +12,10 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/crypto/hash"
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/crypto/hash"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
// CARevocationInfo saves Information on revokation of Certificates of a Certificate Authority.
|
||||
|
|
|
@ -14,8 +14,8 @@ import (
|
|||
|
||||
"golang.org/x/crypto/ocsp"
|
||||
|
||||
"github.com/Safing/portbase/crypto/hash"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/crypto/hash"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/crypto/hash"
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/safing/portbase/crypto/hash"
|
||||
"github.com/safing/portbase/database"
|
||||
)
|
||||
|
||||
// useful references:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
package interception
|
||||
|
||||
import "github.com/Safing/portmaster/network/packet"
|
||||
import "github.com/safing/portmaster/network/packet"
|
||||
|
||||
var (
|
||||
// Packets channel for feeding the firewall.
|
||||
|
|
|
@ -3,12 +3,12 @@ package interception
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/notifications"
|
||||
"github.com/Safing/portbase/utils/osdetail"
|
||||
"github.com/Safing/portmaster/firewall/interception/windowskext"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/Safing/portmaster/updates"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/notifications"
|
||||
"github.com/safing/portbase/utils/osdetail"
|
||||
"github.com/safing/portmaster/firewall/interception/windowskext"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/updates"
|
||||
)
|
||||
|
||||
var Packets chan packet.Packet
|
||||
|
|
|
@ -7,7 +7,7 @@ package nfqueue
|
|||
// import (
|
||||
// "sync"
|
||||
//
|
||||
// "github.com/Safing/portmaster/network/packet"
|
||||
// "github.com/safing/portmaster/network/packet"
|
||||
// )
|
||||
//
|
||||
// type multiQueue struct {
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
"time"
|
||||
"unsafe"
|
||||
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
var queues map[uint16]*NFQueue
|
||||
|
|
|
@ -5,7 +5,7 @@ package nfqueue
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"github.com/coreos/go-iptables/iptables"
|
||||
|
||||
"github.com/Safing/portmaster/firewall/interception/nfqueue"
|
||||
"github.com/safing/portmaster/firewall/interception/nfqueue"
|
||||
)
|
||||
|
||||
// iptables -A OUTPUT -p icmp -j", "NFQUEUE", "--queue-num", "1", "--queue-bypass
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
|
||||
"github.com/tevino/abool"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
// VerdictRequest is the request structure from the Kext.
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"time"
|
||||
"unsafe"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/tevino/abool"
|
||||
"golang.org/x/sys/windows"
|
||||
)
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
|
||||
"github.com/tevino/abool"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
// Packet represents an IP packet.
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/firewall/interception/windowskext"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/firewall/interception/windowskext"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,15 +7,15 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/notifications"
|
||||
"github.com/Safing/portmaster/intel"
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/notifications"
|
||||
"github.com/safing/portmaster/intel"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/process"
|
||||
"github.com/safing/portmaster/profile"
|
||||
"github.com/safing/portmaster/status"
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/agext/levenshtein"
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/crypto/random"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/crypto/random"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
type portStatus struct {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package intel
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/config"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portbase/config"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/record"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/utils"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/utils"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,11 +5,11 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
// module dependencies
|
||||
_ "github.com/Safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/Safing/portbase/database/dbmodule"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/database/dbmodule"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
// DNS Classes
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/record"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -13,9 +13,9 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
// TODO: make resolver interface for http package
|
||||
|
|
|
@ -11,10 +11,10 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
|
||||
"github.com/Safing/portmaster/network/environment"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/environment"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
)
|
||||
|
||||
// Resolver holds information about an active resolver.
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"errors"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
||||
|
|
14
main.go
14
main.go
|
@ -9,15 +9,15 @@ import (
|
|||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/info"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/info"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
// include packages here
|
||||
_ "github.com/Safing/portmaster/core"
|
||||
_ "github.com/Safing/portmaster/firewall"
|
||||
_ "github.com/Safing/portmaster/nameserver"
|
||||
_ "github.com/Safing/portmaster/ui"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/firewall"
|
||||
_ "github.com/safing/portmaster/nameserver"
|
||||
_ "github.com/safing/portmaster/ui"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -9,14 +9,14 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
"github.com/Safing/portmaster/analytics/algs"
|
||||
"github.com/Safing/portmaster/firewall"
|
||||
"github.com/Safing/portmaster/intel"
|
||||
"github.com/Safing/portmaster/network"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/analytics/algs"
|
||||
"github.com/safing/portmaster/firewall"
|
||||
"github.com/safing/portmaster/intel"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,13 +7,13 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
"github.com/Safing/portmaster/analytics/algs"
|
||||
"github.com/Safing/portmaster/intel"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portmaster/analytics/algs"
|
||||
"github.com/safing/portmaster/intel"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -6,10 +6,10 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/notifications"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/notifications"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/process"
|
||||
)
|
||||
|
||||
func checkForConflictingService(err error) {
|
||||
|
|
|
@ -5,8 +5,8 @@ package network
|
|||
import (
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/process"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -10,13 +10,13 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/intel"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/intel"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/process"
|
||||
"github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
// Communication describes a logical connection between a process and a domain.
|
||||
|
|
|
@ -6,12 +6,12 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/iterator"
|
||||
"github.com/Safing/portbase/database/query"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/database/storage"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/iterator"
|
||||
"github.com/safing/portbase/database/query"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/database/storage"
|
||||
"github.com/safing/portmaster/process"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
)
|
||||
|
||||
func GetAssignedAddresses() (ipv4 []net.IP, ipv6 []net.IP, err error) {
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
// TODO: find a good way to identify a network
|
||||
|
|
|
@ -12,8 +12,8 @@ import (
|
|||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
)
|
||||
|
||||
// Gateways returns the currently active gateways
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
|
||||
"golang.org/x/net/icmp"
|
||||
"golang.org/x/net/ipv4"
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
|
||||
maxminddb "github.com/oschwald/maxminddb-golang"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/updates"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/updates"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
// FirewallHandler defines the function signature for a firewall handle function
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package network
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/modules"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/process"
|
||||
)
|
||||
|
||||
// GetOwnComm returns the communication for the given packet, that originates from
|
||||
|
|
|
@ -3,9 +3,9 @@ package network
|
|||
import (
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/safing/portmaster/network/netutils"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
"github.com/safing/portmaster/process"
|
||||
)
|
||||
|
||||
// Static reasons
|
||||
|
|
|
@ -48,5 +48,5 @@ echo "This information is useful for debugging and license compliance."
|
|||
echo "Run the compiled binary with the -version flag to see the information included."
|
||||
|
||||
# build
|
||||
BUILD_PATH="github.com/Safing/portbase/info"
|
||||
BUILD_PATH="github.com/safing/portbase/info"
|
||||
go build -ldflags "-X ${BUILD_PATH}.commit=${BUILD_COMMIT} -X ${BUILD_PATH}.buildOptions=${BUILD_BUILDOPTIONS} -X ${BUILD_PATH}.buildUser=${BUILD_USER} -X ${BUILD_PATH}.buildHost=${BUILD_HOST} -X ${BUILD_PATH}.buildDate=${BUILD_DATE} -X ${BUILD_PATH}.buildSource=${BUILD_SOURCE}" $*
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/Safing/portmaster/updates"
|
||||
"github.com/safing/portmaster/updates"
|
||||
)
|
||||
|
||||
func getFile(identifier string) (*updates.File, error) {
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/Safing/portbase/info"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/updates"
|
||||
"github.com/safing/portbase/info"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/updates"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"path/filepath"
|
||||
"runtime"
|
||||
|
||||
"github.com/Safing/portbase/info"
|
||||
"github.com/Safing/portmaster/updates"
|
||||
"github.com/safing/portbase/info"
|
||||
"github.com/safing/portmaster/updates"
|
||||
)
|
||||
|
||||
func checkForUpgrade() (update *updates.File) {
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
|
||||
processInfo "github.com/shirou/gopsutil/process"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/profile"
|
||||
"github.com/tevino/abool"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"errors"
|
||||
"net"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network/packet"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
// Errors
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package process
|
||||
|
||||
import (
|
||||
"github.com/Safing/portmaster/process/proc"
|
||||
"github.com/safing/portmaster/process/proc"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package process
|
||||
|
||||
import (
|
||||
"github.com/Safing/portmaster/process/iphelper"
|
||||
"github.com/safing/portmaster/process/iphelper"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,7 +5,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/Safing/portmaster/process/iphelper"
|
||||
"github.com/safing/portmaster/process/iphelper"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/query"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/query"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"sync"
|
||||
"syscall"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"sync"
|
||||
"unicode"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
@ -12,9 +12,9 @@ import (
|
|||
|
||||
processInfo "github.com/shirou/gopsutil/process"
|
||||
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/utils/osdetail"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/utils/osdetail"
|
||||
)
|
||||
|
||||
// IsUser returns whether the process is run by a normal user.
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package profile
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/safing/portbase/database"
|
||||
)
|
||||
|
||||
// core:profiles/user/12345-1234-125-1234-1235
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package profile
|
||||
|
||||
import (
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
func makeDefaultGlobalProfile() *Profile {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portmaster/intel"
|
||||
"github.com/safing/portmaster/intel"
|
||||
)
|
||||
|
||||
// Endpoints is a list of permitted or denied endpoints.
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net"
|
||||
"testing"
|
||||
|
||||
"github.com/Safing/portbase/utils/testutils"
|
||||
"github.com/safing/portbase/utils/testutils"
|
||||
)
|
||||
|
||||
func testEndpointDomainMatch(t *testing.T, ep *EndpointPermission, domain string, expectedResult EPResult) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
// Flags are used to quickly add common attributes to profiles
|
||||
|
|
|
@ -3,7 +3,7 @@ package profile
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
func TestProfileFlags(t *testing.T) {
|
||||
|
|
|
@ -9,7 +9,7 @@ package profile
|
|||
// "regexp"
|
||||
// "strings"
|
||||
//
|
||||
// "github.com/Safing/portbase/log"
|
||||
// "github.com/safing/portbase/log"
|
||||
// )
|
||||
//
|
||||
// type Framework struct {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portbase/utils"
|
||||
"github.com/safing/portbase/utils"
|
||||
)
|
||||
|
||||
// GetPathIdentifier returns the identifier from the given path
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/utils"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/utils"
|
||||
)
|
||||
|
||||
// ProfileIndex links an Identifier to Profiles
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package index
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/query"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/query"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
// FIXME: listen for profile changes and update the index
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package matching
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/safing/portbase/database"
|
||||
)
|
||||
|
||||
// core:profiles/user/12345-1234-125-1234-1235
|
||||
|
|
|
@ -3,8 +3,8 @@ package matcher
|
|||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portmaster/process"
|
||||
"github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
// CheckFingerprints checks what fingerprints match and returns the total score.
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/safing/portmaster/process"
|
||||
"github.com/safing/portmaster/profile"
|
||||
)
|
||||
|
||||
// GetIdentificationPath returns the identifier for the given process (linux edition).
|
||||
|
|
|
@ -3,7 +3,7 @@ package matcher
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/safing/portmaster/process"
|
||||
)
|
||||
|
||||
func TestGetIdentifierLinux(t *testing.T) {
|
||||
|
|
|
@ -4,10 +4,10 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/process"
|
||||
"github.com/Safing/portmaster/profile"
|
||||
"github.com/Safing/portmaster/profile/index"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/process"
|
||||
"github.com/safing/portmaster/profile"
|
||||
"github.com/safing/portmaster/profile/index"
|
||||
)
|
||||
|
||||
// GetProfileSet finds a local profile.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package profile
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
// module dependencies
|
||||
_ "github.com/Safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
uuid "github.com/satori/go.uuid"
|
||||
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portbase/utils/testutils"
|
||||
"github.com/Safing/portmaster/status"
|
||||
"github.com/safing/portbase/utils/testutils"
|
||||
"github.com/safing/portmaster/status"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -3,7 +3,7 @@ package profile
|
|||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/safing/portbase/database"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"strings"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/query"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/query"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
func initUpdateListener() error {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package status
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/database/query"
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/database/query"
|
||||
"github.com/safing/portbase/database/record"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package status
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/config"
|
||||
"github.com/safing/portbase/config"
|
||||
)
|
||||
|
||||
type (
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package status
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/database"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/database"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portbase/modules"
|
||||
|
||||
// module dependencies
|
||||
_ "github.com/Safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -3,7 +3,7 @@ package status
|
|||
import (
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
// autopilot automatically adjusts the security level as needed
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/Safing/portbase/database/record"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/database/record"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package threats
|
||||
|
||||
import (
|
||||
_ "github.com/Safing/portmaster/threats/arp"
|
||||
_ "github.com/Safing/portmaster/threats/portscan"
|
||||
_ "github.com/safing/portmaster/threats/arp"
|
||||
_ "github.com/safing/portmaster/threats/portscan"
|
||||
)
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/safing/portbase/log"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package ui
|
||||
|
||||
import (
|
||||
"github.com/Safing/portbase/api"
|
||||
"github.com/Safing/portbase/modules"
|
||||
"github.com/safing/portbase/api"
|
||||
"github.com/safing/portbase/modules"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -13,9 +13,9 @@ import (
|
|||
resources "github.com/cookieo9/resources-go"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/Safing/portbase/api"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/updates"
|
||||
"github.com/safing/portbase/api"
|
||||
"github.com/safing/portbase/log"
|
||||
"github.com/safing/portmaster/updates"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue