Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two processes of the same VPN connection #50

Open
yura-mdj opened this issue May 10, 2022 · 1 comment
Open

two processes of the same VPN connection #50

yura-mdj opened this issue May 10, 2022 · 1 comment

Comments

@yura-mdj
Copy link

Hi all

When a client connects to sstpd, two processes of the same VPN connection are created in Linux
зображення

Is that how it should be?

@tisj
Copy link
Contributor

tisj commented May 3, 2024

This is expected because of the notty option/argument to pppd, which creates an additional child process:

notty
Normally, pppd requires a terminal device. With this option, pppd will allocate itself a pseudo-tty master/slave pair and use the slave as its terminal device. Pppd will create a child process to act as a 'character shunt' to transfer characters between the pseudo-tty master and its standard input and output.

If you use the tree option to ps (-f) you would visually see that pid 32489 it is a sub-process of 32488.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants