Skip to content

7.2: Fix parsing ip addr with peer information#2544

Open
ap-wtioit wants to merge 1 commit intounraid:7.2from
ap-wtioit:fix/7.2_rc_peer_to_peer_connection_github
Open

7.2: Fix parsing ip addr with peer information#2544
ap-wtioit wants to merge 1 commit intounraid:7.2from
ap-wtioit:fix/7.2_rc_peer_to_peer_connection_github

Conversation

@ap-wtioit
Copy link

When adding tun0 to listening interfaces in settings. Unraid 7+ tries to parse:
ip addr show scope global primary -deprecated dev tun0

36: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq state UNKNOWN group default qlen 500
    link/none 
    inet 10.9.8.66 peer 10.9.8.65/32 scope global tun0
       valid_lft forever preferred_lft forever

and gets 10.9.8.66 peer 10.9.8.65/32 scope global tun0 as the "IP" of the interface. This then proceeds to break sshd and nginx config for unraid.

With this fix the peer information is removed and only the interfaces IP (in the example 10.9.8.66) is kept.

Info @wt-io-it

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ap-wtioit ap-wtioit changed the title Fix parsing ip addr with peer information 7.2: Fix parsing ip addr with peer information Feb 12, 2026
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

Successfully merging this pull request may close these issues.

1 participant