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

RTSP stream does not match source IP address on linux #1568

Closed
3 tasks done
serrj-sv opened this issue Aug 25, 2023 · 4 comments · Fixed by #1334
Closed
3 tasks done

RTSP stream does not match source IP address on linux #1568

serrj-sv opened this issue Aug 25, 2023 · 4 comments · Fixed by #1334
Labels
fixed This issue has been fixed and will be available in the next release. network Network issue

Comments

@serrj-sv
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the nightly release?

  • This issue is present in the nightly release

Describe the Bug

I have a linux machine with multiple network interfaces and policy (source-based) routing.
let's assume there are 2 network interfaces:

eth0: 192.168.10.1/24 with default gateway 192.168.10.254
eth1: 192.168.20.1/24 with default gateway 192.168.20.254 (source-based policy routing)

If I connect to sunshine to IP from outside to 192.168.20.1 - initially it will respond from same ip 192.168.20.1, as expected. But as soon as session established, sunshine will start pushing video stream to machine's default gateway with other source IP (192.168.10.254).
Obviously moonlight will reject these packets, as it does not expect them from other IP.

I fix this temporary with iptables, but ideally it should be fixed in sunshine itself.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Linux

Operating System Version

Fedora 38

Architecture

64 bit

Sunshine commit or version

0.20.0

Package

Linux - AppImage

GPU Type

Intel

GPU Model

Intel

GPU Driver/Mesa Version

wayland

Capture Method (Linux Only)

No response

Config

not relevant

Apps

No response

Relevant log output

not relevant
@cgutman
Copy link
Collaborator

cgutman commented Aug 26, 2023

@cgutman cgutman added the fixed This issue has been fixed and will be available in the next release. label Aug 26, 2023
@LizardByte-bot
Copy link
Member

This issue has been fixed and will be available in the next release.

@cgutman
Copy link
Collaborator

cgutman commented Aug 26, 2023

@serrj-sv
Copy link
Author

Please test

Tested, working as expected now. Thanks a lot !!

@ReenigneArcher ReenigneArcher mentioned this issue Sep 13, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed This issue has been fixed and will be available in the next release. network Network issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants