On 2024-07-07 19:14:53 +0100, Richard Lewis wrote:
> On Sun, 7 Jul 2024 at 00:21, Vincent Lefevre <vinc...@vinc17.net> wrote:
> > I suggest to also use the --program option for netstat,
> 
> Despite the name, it prefers to use ss(1) not netstat(1), and i dont
> think ss has such an option?

There's the -p option:

joooj:~> ss -anp | grep 60001
udp   UNCONN    0      0                                                    
0.0.0.0:60001                                         0.0.0.0:*      
users:(("mosh-server",pid=16426,fd=4))

> - we could make PORTS configurable - does mosh always use 6001 or is
> it more random?

https://mosh.org/ says "Mosh will use the first available UDP port,
starting at 60001 and stopping at 60999. If you are only going to
have a small handful of concurrent sessions on a server, then you
can forward a smaller range of ports (e.g., 60000 to 60010)."

> - we could document this in README.FALSE-POSITIVES (although it
> already says something about this, but can
>    mention mosh as an example)

It is much better to avoid them.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to