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

Don't force bind DNS to IPv6, if it's disabled #1335

Closed
rwjack opened this issue Oct 4, 2023 · 4 comments
Closed

Don't force bind DNS to IPv6, if it's disabled #1335

rwjack opened this issue Oct 4, 2023 · 4 comments
Labels
bug TYPE: a report on something that isn't working needs debug info ATTRIBUTE: this issue requires debug info to continue handling it

Comments

@rwjack
Copy link

rwjack commented Oct 4, 2023

What happened:
image

What did you expect to happen?:
Portmaster to have a switch not to use IPv6, because it probably can't read my mind, that I'm the one that disabled IPv6.

How did you reproduce it?:
I disabled IPv6 on my Desktop's network interface.

@rwjack rwjack added the bug TYPE: a report on something that isn't working label Oct 4, 2023
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you:

  • 🗣️ Our community on Discord is super helpful and active. We also have an AI-enabled support bot that knows Portmaster well and can give you immediate help.
  • 📖 The Wiki answers all common questions and has many important details. If you can't find an answer there, let us know, so we can add anything that's missing.

@Raphty Raphty added the needs debug info ATTRIBUTE: this issue requires debug info to continue handling it label Oct 4, 2023
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Hey @rwjack, thank you for raising this issue with us.

After a first review we noticed that we will require the Debug Info for further investigation. However, you haven't supplied any Debug Info in your report.

Please collect Debug Info from Portmaster while the reported issue is present.

@dhaavi
Copy link
Member

dhaavi commented Oct 4, 2023

You did not provide a lot of info here, but the most probable cause is that you haven't fully disabled IPv6. Please disable IPv6 globally and/or on all network adapters. Then, restart Portmaster.

@rwjack
Copy link
Author

rwjack commented Oct 4, 2023

I can't believe I forgot to check if IPv6 was enabled before I opened this ticket. Previously I had disabled it using this playbook:

---
- name: Disable ipv6 on Debian hosts
  hosts: all

  tasks:
    - name: Disable ipv6 now
      shell:
        cmd: >
          sysctl -w net.ipv6.conf.all.disable_ipv6=1 &&
          sysctl -w net.ipv6.conf.default.disable_ipv6=1 &&
          sysctl -w net.ipv6.conf.lo.disable_ipv6=1

    - name: Modify /etc/sysctl.conf
      blockinfile:
        path: /etc/sysctl.conf
        block: |
          net.ipv6.conf.all.disable_ipv6=1
          net.ipv6.conf.default.disable_ipv6=1
          net.ipv6.conf.lo.disable_ipv6=1

Although it must have re-enabled itself after an update or something...

Ran the playbook again, restarted portmaster, no warning now.
Guess we can close this one out, thank you.

@rwjack rwjack closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TYPE: a report on something that isn't working needs debug info ATTRIBUTE: this issue requires debug info to continue handling it
Projects
None yet
Development

No branches or pull requests

3 participants