https://github.com/osquery/osquery logo
#general
Title
# general
k

KryptoNyte

04/23/2020, 7:38 PM
I have a program which starts
osqueryd
by using
--extensions-socket=$HOME/osqueryd/osquery.em
, where the actual path is constructed in a crossplatform way (using
go
's
filepath.Join
function)
s

sundsta

04/23/2020, 7:42 PM
Pipes on Windows look more like
\\.\PIPE\yourthinghere
. see https://en.wikipedia.org/wiki/Named_pipe#In_Windows
👍 1
k

KryptoNyte

04/23/2020, 7:44 PM
Right, I remember something like this, thank you. This means that in my program, I probably need to name the socket differently depending on the platform
s

seph

04/23/2020, 9:57 PM
I’ve also run into issues on windows, where sometims there’s a stale pipe and I can’t make a new one
4 Views