|
Our getuserfromtcp() function also returns the PID
On Linux systems, /proc/<PID>/exe is a symlink to the executed binary
We can permit only authorized programs to make outbound connections
|
Only works for binaries.
For scripts, the interpreter is checked, not the script.
|