Commit Graph

94 Commits

Author SHA1 Message Date
Daniel 914418876d Add IPv6 dual-stack support 2020-11-02 14:18:42 +01:00
Daniel d4dea212dd Fix decoding IPv6 addresses 2020-11-02 14:16:35 +01:00
Daniel 7b72d9fe4b Clean up code and fix linter errors 2020-10-30 13:33:29 +01:00
Daniel 18a1386bc5 Revamp profile and process handling
Also, introduce the Internal flag to Profiles
2020-10-29 16:26:14 +01:00
Daniel c09d32cf08 Add option key responsible for the verdict
Also, expose the RevisionCounter
2020-10-29 16:24:17 +01:00
Patrick Pacher 997787e3f2 Merge branch 'develop' into feature/ui-revamp 2020-10-20 13:00:28 +02:00
Daniel e87cae2463 Implement review suggestions and fixes 2020-10-20 08:55:37 +02:00
Daniel c3d16610a2 Fix build tags 2020-10-19 14:01:59 +02:00
Daniel a560262818 Implement review suggestions 2020-10-19 13:34:25 +02:00
Daniel 8502d83e27 Improve concurrent connection handling support 2020-10-16 14:59:25 +02:00
Patrick Pacher 2ccf8c635a Merge branch 'develop' into feature/ui-revamp 2020-10-16 10:00:04 +02:00
Daniel be75c2d99b Implement review suggestions, fix tests 2020-10-15 15:25:34 +02:00
Daniel 0e83268356 Match endpoints by destination port 2020-10-15 12:13:25 +02:00
Daniel cfafbfca4e Improve trace logging 2020-10-15 11:48:27 +02:00
Daniel 62dd4355be Add scoping to IPInfo 2020-10-14 11:37:50 +02:00
Patrick Pacher 4fc5c65ed7 Add ProcessContext to network connection 2020-10-08 14:11:36 +02:00
Patrick Pacher 75bc5df34d Refactor connection locking 2020-10-07 11:55:01 +02:00
Daniel 89dfbf72e6 Final feedback implementation and fixes 2020-09-24 22:03:02 +02:00
Daniel 67cdc52fcd Implement Feedback 2020-09-24 17:25:00 +02:00
Daniel 3f3d82bdf1 Improve debug information in DNS responses 2020-09-24 17:12:01 +02:00
Daniel f46e759524 Use new Purge method of the database 2020-09-24 16:57:54 +02:00
Daniel b9f011fa37 Fix location estimation on Windows
Also, switch to a better Portal Test IP.
2020-08-19 16:17:27 +02:00
Daniel 9d35ff3192 Fix and improve network listener system integration and check
Also, improve logging.
2020-08-12 14:33:09 +02:00
Patrick Pacher 85e4beafa1 Move LMS scoring from nameserver to firewall 2020-08-11 10:28:05 +02:00
Patrick Pacher 071f2a9bd5 Silience "not found" errors in recover-iptables 2020-08-04 13:14:09 +02:00
Patrick Pacher 4d56752989 Use NextHeader as a fallback for unknown IPv6 protocols 2020-07-31 15:15:38 +02:00
Safing 9639775ad7 Fix IPv6 connection handling and refactor packet parsing 2020-07-31 14:32:18 +02:00
Daniel 8512d7003f Improve IP classification test 2020-07-27 12:26:19 +02:00
Daniel 3b063e9057 Fix incoming TCP connection direction
This fixes a bug where incoming TCP connections without a matching process would be falsely classified as an outgoing connection.
2020-07-22 14:07:19 +02:00
Daniel 084c194da3 Enable building on unsupported systems 2020-07-22 11:13:57 +02:00
Daniel 047352f9b5 Implement review suggestions
Fix local. resolving in Firefox
2020-07-15 13:59:56 +02:00
Daniel e369a9484a Improve captive portal handling 2020-07-15 08:53:55 +02:00
Daniel 55978515ab Fix windows socket PID interface 2020-07-14 14:40:36 +02:00
Daniel 73da96fe98 Update windows interface to match the linux one 2020-07-12 22:22:52 +02:00
Daniel 7c6c4552aa Create interface for socket info structs, fix caching bug
From PR Review https://github.com/safing/portmaster/pull/72
2020-07-10 14:09:53 +02:00
Daniel 9f42e6ff93 Retry finding a socket's PID on linux 2020-06-05 15:49:15 +02:00
Daniel 93a3ad2a80 Improve retrying 2020-05-25 17:35:14 +02:00
Daniel 6b02dcd725 Transition to table structs, use OnceAgain for fetching tables 2020-05-25 17:22:46 +02:00
Daniel e464ee136c Fix superfluous decision re-evaluations 2020-05-20 15:14:48 +02:00
Daniel f1765a7abb Fix linter errors 2020-05-20 14:53:03 +02:00
Daniel e65ae8b55d Implement review suggestions 2020-05-19 16:57:55 +02:00
Daniel c146a61704 Improve waiting when searching the system state table 2020-05-19 13:09:01 +02:00
Daniel 3f9876fc09 Expose network system state table to api 2020-05-19 09:39:03 +02:00
Daniel ad93b19968 Switch Exists function of network state pkg to use packet.Info 2020-05-19 09:22:50 +02:00
Daniel 7649859ba6 Switch connection state lookups to use the packet.Info struct
Also, rename the Direction attribute on packet.Info to Inbound
2020-05-18 17:08:32 +02:00
Daniel 0036d25672 Demote error and warning logging when process of packet could not be found 2020-05-18 17:07:30 +02:00
Daniel 85c7fd4af7 Improve udp connection attribution for broadcast and multicast packets 2020-05-18 14:29:04 +02:00
Daniel e473c0e228 Remove iphelper test package
You can get the same thing by doing this in the iphelper pkg dir: GOOS=windows go test -c
2020-05-16 22:44:52 +02:00
Daniel 886d30278f Fix IPv4 parsing from windows state tables 2020-05-16 22:43:42 +02:00
Daniel ca8b36cbc7 Fix FQDN validation and add tests 2020-05-15 22:44:24 +02:00