Merge pull request #162 from tstromberg/fpr-again

Add local port and address to network queries
This commit is contained in:
Thomas Strömberg 2023-02-08 10:13:39 -05:00 committed by GitHub
commit 9bebd8a59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,8 @@ SELECT
protocol,
s.remote_port,
s.remote_address,
s.local_port,
s.local_address,
s.action,
s.status,
p.name,

View File

@ -18,6 +18,8 @@ SELECT
pp.path AS parent_path,
p.parent AS parent_pid,
pp.cmdline AS parent_cmd,
s.local_address,
s.local_port,
s.state,
hash.sha256,
-- This intentionally avoids file.path, as it won't join across mount namespaces

View File

@ -11,6 +11,8 @@
SELECT
s.remote_address,
s.remote_port,
s.local_port,
s.local_address,
p.name,
p.path,
p.cmdline AS child_cmd,

View File

@ -10,6 +10,8 @@ SELECT
s.local_port,
s.remote_port,
s.remote_address,
s.local_port,
s.local_address,
p.name,
p.path,
p.cmdline AS child_cmd,

View File

@ -22,6 +22,8 @@ SELECT DISTINCT
p.start_time,
pos.remote_address,
pos.remote_port,
pos.local_address,
pos.local_port,
pp.cmdline,
pp.path
FROM