Commit graph

78 commits

Author SHA1 Message Date
Daniel
62dd4355be Add scoping to IPInfo 2020-10-14 11:37:50 +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
Daniel
55b0ae8944 Revamp process attribution of network connections 2020-05-15 17:15:22 +02:00
Daniel
b91b8fcdc9 Fix IP classification for LAN multicast 2020-04-30 14:16:06 +02:00
Daniel
580144a676 Populate connection Inbound attribute 2020-04-29 17:06:57 +02:00
Daniel
542577314b Rename reason ctx to prevent confusion with context.Ctx 2020-04-24 10:57:24 +02:00
Daniel
95041d217c Fix module dependencies, split filter into interception and filter modules 2020-04-24 10:17:15 +02:00
Daniel
350555f843 Fix concurrent map read/write, maybe 2020-04-24 09:59:36 +02:00
Patrick Pacher
8c5526a69b
Add support for verdict and decision reason context 2020-04-21 10:16:32 +02:00
Patrick Pacher
bffe4a9eaf
Add CNAME blocking support 2020-04-21 10:16:25 +02:00
Daniel
92d41961e0 Fix and improve network database ops 2020-04-20 13:57:40 +02:00
Daniel
a33808685c Implement review suggestions 2020-04-20 13:57:07 +02:00
Daniel
033dceab5b Add support for unidentified/system processes/profiles 2020-04-17 21:52:06 +02:00
Patrick Pacher
ef770638f8
Add VerdictFailed and update nameserver 2020-04-14 17:34:54 +02:00
Daniel
e1bab8068f Remove old dns queries from DB 2020-04-08 14:08:13 +02:00
Daniel
7da9e64c27 Save blocked DNS queries 2020-04-08 14:07:59 +02:00
Daniel
249261a3da Implement review suggestions 2020-04-08 14:07:29 +02:00
Daniel
38f57a8954 Rework Communication+Link to Connection 2020-04-07 17:30:33 +02:00