News for hackers. Stuff that matters.
Re:Show HN: pg_netstat, a Postgres extension to monitor data... by xani_ on Tuesday September 13, 2022 @09:26AM (#32823977)
> Before install this extension, you need to give network packet capture permission to Postgres binary.

At that point you have root and can use any of the dozen estabilished ways to do the same thing tho ?

Re:Show HN: pg_netstat, a Postgres extension to monitor data... by burmecia on Tuesday September 13, 2022 @09:32AM (#32824039)
Yes, you need root to grant capture permission to Postgres, but Postgres doesn't need to run as root. The main purpose is to easily ingest network traffic data into Postgres for further process. Yes we can use tcpdump to do the same thing, but that needs another tool to load data into Postgres.
Re:Show HN: pg_netstat, a Postgres extension to monitor data... by mrits on Tuesday September 13, 2022 @09:47AM (#32824236)
Do you come to this site looking for old established tech to talk about?
Re:Show HN: pg_netstat, a Postgres extension to monitor data... by burmecia on Tuesday September 13, 2022 @10:02AM (#32824409)
I like old solid tech like Postgres, libpcap and etc. Putting them together with new tech like Rust and pgx is also fascinating.