[Bug]: Predefined traffic sets default route on macOS
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 52/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- rust
- Domínio
- networking
Direção de pesquisa
Start by tracing how the macOS client configures routes when connecting with predefined traffic; the issue identifies netstat -rn as the way to observe the result but names no source files or tests. Compare the routes before and after connecting and investigate why a default route appears. Done when predefined traffic installs only the location’s configured routes and leaves the default route unchanged.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
When choosing predefined traffic and connecting to the VPN, a default route is set (visible via netstat -rn).
We assumed that predefined traffic only routes the subnets defined in our location. A customer who relies on Defguard can't work properly, because his other active WireGuard tunnels can't function while Defguard hijacks the traffic.
Steps to reproduce
- Check routes via
netstat -rn(especially default routes). - Connect via predefined traffic.
- Check routes via
netstat -rnagain. - There is now a default route on the Defguard interface.
Expected behavior
No default route is set, only the routes defined in the location for predefined traffic.
Workaround by a customer: Create a VM on macOS, install the Defguard client in it and use the VM as a router. Only allow the routes that are required for using Defguard.
Actual behavior
A default route is set, which prevents customers and potentially colleagues from using multiple VPNs at the same time as Defguard.
Defguard version
All version on the latest 2.1 stable build
Environment details
macOS (any tested version after 2024)
Deployment / install method
Docker / Docker Compose
Relevant logs / output
Relevant configuration (redacted)
- Linguagem predominante
- Rust
- Estrelas
- 373
- Forks
- 42
- Merge médio
- 21h 18min
- PRs com merge (30d)
- 50
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de DefGuard/client
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Mantenedores costumam responder em até 1 dia
-
macOS: Inform user that Network Extension is not enabledTalvez já em andamento @moubctez assumiu há 1 dia. Abertaenhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
DefGuard/client#1327 · 4 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de DefGuard/client
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
RustCrypto/utils#1597 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Non-`main` default branchesAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
max-sixty/worktrunk#4727 · 7 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
-
follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
carrick-sh/carrick#1859 ·
Mantenedores costumam responder em até 1 dia