[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Connect to Unix domain socket instead of host:port
From: |
Gary E. Miller |
Subject: |
Re: Connect to Unix domain socket instead of host:port |
Date: |
Thu, 19 Dec 2024 13:30:28 -0800 |
Yo Pinnacle!
On Thu, 19 Dec 2024 08:58:17 -0500
Pinnacle Systems Group <pinnaclesystemsgroup@gmail.com> wrote:
> It's possible to configure gpsd to use a UNIX domain socket instead
> of the typical TCP host:port setup.
Not "instead of" but "in addition to".
> If your GNSS receiver communicates via a UNIX domain socket, you can
> specify the device using its path. For example:
OP says he wants to client conenct, not receiver conenct.
> 2. Client Connection to gpsd via a UNIX Domain Socket
>
> To allow clients to connect to gpsd through a UNIX domain socket, you
> can specify the socket path when starting gpsd. Use the -S flag to
> disable the default TCP listener and instead specify a UNIX socket
> path with the -F flag:
Dunno why you want to disable TCP clients.
> This approach is often used to improve security and reduce
> overhead by avoiding TCP communication.
If you don't trust your host, you should not run gpsd on it. The code
path's is the same for both, so no "efficiency" argument can be made.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
- Connect to Unix domain socket instead of host:port, Andreas B, 2024/12/18
- Re: Connect to Unix domain socket instead of host:port, Gary E. Miller, 2024/12/18
- Re: Connect to Unix domain socket instead of host:port, Andreas B, 2024/12/19
- Re: Connect to Unix domain socket instead of host:port, Gary E. Miller, 2024/12/19
- Re: Connect to Unix domain socket instead of host:port, Andreas B, 2024/12/19
- Re: Connect to Unix domain socket instead of host:port, Gary E. Miller, 2024/12/19
- Re: Connect to Unix domain socket instead of host:port, Andreas B, 2024/12/20
- Re: Connect to Unix domain socket instead of host:port, Владимир Калачихин, 2024/12/20
Re: Connect to Unix domain socket instead of host:port, Pinnacle Systems Group, 2024/12/19
Re: Connect to Unix domain socket instead of host:port, Pinnacle Systems Group, 2024/12/19
Re: Connect to Unix domain socket instead of host:port, Gary E. Miller, 2024/12/19
Re: Connect to Unix domain socket instead of host:port, Andreas B, 2024/12/19