Git Product home page Git Product logo

Comments (9)

havfo avatar havfo commented on May 16, 2024 1

I can reproduce the error with the following rules:

Flush tables

iptables -F
iptables -X

Default TCP allow established

iptables -A INPUT -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT

Default allow DNS (udp)

iptables -A INPUT -p udp --sport 53 -j ACCEPT
iptables -A INPUT -p udp --dport 53 -j ACCEPT
iptables -A OUTPUT -p udp --sport 53 -j ACCEPT
iptables -A OUTPUT -p udp --dport 53 -j ACCEPT

Block udp input

iptables -A INPUT -p udp -j DROP

Default global policy

iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT

Run all those in order and try using Firefox.

from edumeet.

havfo avatar havfo commented on May 16, 2024 1

You can make it work again by blocking all OUTPUT UDP:

Block udp output

iptables -A OUTPUT -p udp -j DROP

from edumeet.

so010 avatar so010 commented on May 16, 2024

This is most likely a bug in mediasoup and a big problem because Firefox users can't connect to room if they are behind a udp-blocking firewall.
Edit: As there is mentioned on https://groups.google.com/forum/#!topic/mediasoup/5x6D37p53Pc
there is a bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1034964 wich most likely is the problem here.

from edumeet.

misi avatar misi commented on May 16, 2024

I will try to check it..

from edumeet.

misi avatar misi commented on May 16, 2024

What happens if you disable in firefox config the ICE tcp
so set in about:config the media.peerconnection.ice.tcp to false?
Does it solve it?

from edumeet.

misi avatar misi commented on May 16, 2024

Check it with https://eper.lab.vvc.niif.hu it seems ok and runs correctly without udp with ice.tcp enabled, but use relayed TCP

from edumeet.

so010 avatar so010 commented on May 16, 2024

from edumeet.

misi avatar misi commented on May 16, 2024

Strange. :-/

What I have tested and what works for me is the following:
I have two FF tab connected to the same room, and I modeled the udp blocked network with -j DROP in INPUT and OUTPUT chain to and from the SFU (eper..).

So what could be the difference in your case?

Longer delay because of the distance?

I am wondering how should I model better way the UDP drooping firewall?
e.g. Does it send ICMP reject instead of DROP?

from edumeet.

havfo avatar havfo commented on May 16, 2024

Fixed in new client/server

from edumeet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.