Commit graph

20 commits

Author SHA1 Message Date
Daniel
43cfba8445 Add IP scoping data to entity.Entity and network.Connection 2021-03-20 22:07:17 +01:00
Daniel
df7afe985e Add fast network table lookup 2021-02-23 13:10:08 +01:00
Daniel
914418876d Add IPv6 dual-stack support 2020-11-02 14:18:42 +01:00
Daniel
9d35ff3192 Fix and improve network listener system integration and check
Also, improve logging.
2020-08-12 14:33:09 +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
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
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
85c7fd4af7 Improve udp connection attribution for broadcast and multicast packets 2020-05-18 14:29:04 +02:00
Daniel
55b0ae8944 Revamp process attribution of network connections 2020-05-15 17:15:22 +02:00