Live data from Hacker News

Snitch – A friendlier ss/netstat

github.com

31–40 of 109 posts

Re: Snitch – A friendlier ss/netstat

#31

I just want a single tool that has a known, generalized set of capabilities on just about every distribution. Systemd's obsession with remaking every single wheel in Linux has been aggravating enough. Please don't do it again.

Ironic choice of example…

Before systemd presented a generalised interface, there were significant differences in the init and service management systems between the popular Red Hat and Debian families of distros.

Re: Snitch – A friendlier ss/netstat

#32

I just want a single tool that has a known, generalized set of capabilities on just about every distribution. Systemd's obsession with remaking every single wheel in Linux has been aggravating enough. Please don't do it again.

Ironic choice of example… Before systemd presented a generalised interface, there were significant differences in the init and service management systems between the popular Red Hat and Debian families of distros.

Not what I meant. Systemd has been replacing a bunch of commands too. Not just the init system.

Re: Snitch – A friendlier ss/netstat

#33

it's weird that both lsof and ss defaults are so awful Like, ss without any options shows such arcane, rarely needed details as send/receive queue size but not the application socket belongs to . And omits listening sockets which is main use for such tools. I know picking the right defaults is hard ask but they managed to pick all the wrong defaults.

I think the same applies for many of the new breed of command line applications like fd and ag/rg. Being able to use them intuitively trumps ubiquity, speed or features.

Depends on the use case.

If used in scripts, ubiquity and speed can be important. Then again, the output of ss is not ideal for script processing.

Re: Snitch – A friendlier ss/netstat

#34
post #17
post #5

Earlier quoted context omitted.

Tools like these aren't really intended for adversarial environments, and pure network tools that are designed for real adversaries have a really spotty track record (good search: [bro vantage point problem]).

That search did not come up with much. Can you elaborate?

Not tptacek, but my search yielded this which seems relevant (to the network monitoring tool once named Bro, now Zeek):

https://www.icir.org/mallman/pubs/APT07/APT07.pdf

> The “SH” state indicates that the remote peer sent a SYN followed by a FIN—however, the monitor never recorded a SYN-ACK from the local peer. At first glance, this would seem to indicate a scanner that is trying to make connection attempts look as real as possible in the hopes of not triggering an alarm. However, such connections can also indicate a vantage point problem whereby the monitor is not observing outgoing traffic from some hosts. While in general the monitor placement at LBNL can observe both incoming and outgoing traffic, there were periods of time where the traffic for some LBNL hosts would partially bypass the monitor. From a measurement perspective this is clearly undesirable.

Re: Snitch – A friendlier ss/netstat

#35

it's weird that both lsof and ss defaults are so awful Like, ss without any options shows such arcane, rarely needed details as send/receive queue size but not the application socket belongs to . And omits listening sockets which is main use for such tools. I know picking the right defaults is hard ask but they managed to pick all the wrong defaults.

I think the same applies for many of the new breed of command line applications like fd and ag/rg. Being able to use them intuitively trumps ubiquity, speed or features.

But it's not tradeoff! You can make default view useful without trading versatility.

Another annoying part is not supporting json or even CSV. Some tools got modernized with it (like iproute2 tool set), but for these you might as well do /proc scraping yourself...

Re: Snitch – A friendlier ss/netstat

#36
post #33

Earlier quoted context omitted.

I think the same applies for many of the new breed of command line applications like fd and ag/rg. Being able to use them intuitively trumps ubiquity, speed or features.

Depends on the use case. If used in scripts, ubiquity and speed can be important. Then again, the output of ss is not ideal for script processing.

That's the problem, it's not good for humans, it's not great for scripts

Re: Snitch – A friendlier ss/netstat

#37
post #25
post #13

I love the recent increase in TUI-based tooling. This looks cool - will check it out!

Are they as accessible as GUI though (genuine question) UI libraries have a lot of features for allowing people with disabilities to “read” and interact with the screen in efficient ways

Accessibility is a great thing to have and strive for, but it cannot be the number one design principle.

Imagine if everything around us would be designed for blind people.

Re: Snitch – A friendlier ss/netstat

#38
post #8

When I saw this headline I assumed it was Little Snitch an existing network monitor and firewall for Macs. Might need a different name. https://www.obdev.at/products/littlesnitch/index.html

Wow that's so nice, would there be an equivalent for PC? (Windows or Linux)

Re: Snitch – A friendlier ss/netstat

#39
post #38
post #8

When I saw this headline I assumed it was Little Snitch an existing network monitor and firewall for Macs. Might need a different name. https://www.obdev.at/products/littlesnitch/index.html

Wow that's so nice, would there be an equivalent for PC? (Windows or Linux)

1. Linux → https://github.com/evilsocket/opensnitch

2. Windows → https://www.glasswire.com/

3. Windows (open source) → https://github.com/henrypp/simplewall

4. Windows → https://safing.io/

Re: Snitch – A friendlier ss/netstat

#40
post #38

Earlier quoted context omitted.

Wow that's so nice, would there be an equivalent for PC? (Windows or Linux)

1. Linux → https://github.com/evilsocket/opensnitch 2. Windows → https://www.glasswire.com/ 3. Windows (open source) → https://github.com/henrypp/simplewall 4. Windows → https://safing.io/

I've been a long time Litte Snitch user. However, these days I'm just using LuLu: https://objective-see.org/products/lulu.html
Post reply on HN