LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   About LooseUDP in 2.4(newbie) (https://www.linuxquestions.org/questions/linux-networking-3/about-looseudp-in-2-4-newbie-152510/)

linuxpion 03-02-2004 04:28 AM

About LooseUDP in 2.4(newbie)
 
I had found much details about looseUDP,but most of them are about kernel 2.0 or 2.2. Little about 2.4.
Could anyone tell me how to use looseUDP in 2.4?
I am working on upnp test issues recently. One test is about looseUDP in Group NAT Traversal.

Any advice will be greatly appreciated~ :)

linuxpion 03-02-2004 11:48 PM

There is some contents from mailist below:

For those interested, here is a brief explanation of what (I believe) the
Loose UDP patch is:

Using this patch the following behaviour is allowed:
Host A is located behind a MASQ firewall with
the Loose UDP patch installed.
Host B and C are located "outside" this firewall.
- Host A sends a UDP packet to host B from UDP port X.
This packet is MASQed by the firewall
(so it looks like the packet is sent from the firewall's
external interface port Y.)
- Host B sends information to host C about host A
(i.e. IP address and port number)
- Host C sends a UDP packet to host A on port X.
However, since the original packet from host A was MASQed
C will actually try to reach host A by sending to the firewall's
external interface on port Y.

john_sagitta 03-17-2004 09:15 PM

We've met exactly the same problem!!
 
Hi,
Recently I am also working on this issue. Microsoft UPnP IGD test suite always failed at this point.

Someones announced that kernel 2.4.x/netfilter framework has supported looseUDP inherently. But it seems not true.

Now i'm trying to solve this problem by modifying the codes of netfilter framework, mainly at IP connection track and IP NAT parts. If you find some better way to solve this problem, Please tell me :)

Best regards,
e-mail: john_sagitta@hotmail.com


All times are GMT -5. The time now is 06:00 PM.