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

After Vpn client is connected to L2tp/Ipsec (PPPX) Vpn server with wsdd2 running, the server disappears from Neighborhoods ! #42

Open
CpServiceSpb opened this issue Jun 23, 2022 · 1 comment

Comments

@CpServiceSpb
Copy link

There is Ubuntu 18.04 x64 LTS no-GUI server.
There is L2tp/Ipsec server is set up on the server, wsdd2 is launched here as well.
There are some Windows clients on local network where the server is sited.
And some Vpn clients - Android/Windows exists as well.
Initially the server is shown on local network Windows clients neighborhood.
But after establishing L2tp/Ipsec connection from Vpn clients (PPPX interface is added) ther server disaapears from local network Windows clients neighborhood.
Only wsdd2 daemon restarnig helps to return the server to neighborhood.

Why is os happened ?

@CpServiceSpb
Copy link
Author

I answer for my question by myself.
In my case the situation is appeared after new interface up, doesn' t matter which one, even ppp.
It is connected with that wsdd2 binary restarts itself after appearing new interface on the system for checking any changes and reloading settings/bindings.
I a patch that allow to behavior in this manner only if up interface which wsdd2 is currently binded to, for example, if it' s binded to lan and the interface is restarted via ifdown lan && ifup lan, then wsdd2 is restarted and reloads interface configuration and rebinded to lan again; if it is binded to lan, but wan is restarted, there is nothing.
But if interface is specified via -i switch.
If there is no an interface, the same way wsdd2 as was

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

1 participant