Re: how exactly UDP tunneling works...

From: Alun Jones [MS MVP] (alun_at_texis.invalid)
Date: 03/08/04


Date: Mon, 08 Mar 2004 23:07:59 GMT

In article <utKw31V$DHA.3536@tk2msftngp13.phx.gbl>, "Lord of the Ring"
<lordofthering@hotmail.com> wrote:
>Alun, thanks for the reply.... I've seen companies talking about carrying
>UDP over TCP which to me it means that you put a TCP stream in a UDP packet
>and send it......is this correct?? if so do you know of a technical material
>that you can refer me to???

"UDP over TCP" means that you are using an established TCP connection to
send UDP packets over. You are going to encapsulate the UDP packets in some
formatting data that allows the remote end to pick packets out of the TCP
stream. Use only in emergency, because it really changes the dynamic of the
UDP traffic.

Putting "a TCP stream in a UDP packet" is rather unlikely, unless it's a
really small stream. However, you could certainly encapsulate TCP over UDP,
in much the same way that TCP is already encapsulated over IP. This doesn't
significantly change the way that the protocol operates - but it does change
the size of your traffic, and does away with some of the optimisations that
the TCP / IP layers do for you.

I'm not aware of any specific implementations to recommend to you, but a few
good searches should find you something useful.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]

-- 
Texas Imperial Software   | Find us at http://www.wftpd.com or email
1602 Harvest Moon Place   | alun@texis.com.
Cedar Park TX 78613-1419  | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(512)258-9858 | Try our NEW client software, WFTPD Explorer.


Relevant Pages

  • NFS problem with recent 2.6 kernels (also serial console weirdness)
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... mounted filesystem with ordered data mode. ... Mounted root (ext3 filesystem) readonly. ...
    (Linux-Kernel)
  • Solaris 9 <---> linux (2.6.8) NFS file locking problem?
    ... to the same file placed on nfs filesystem. ... 100000 4 tcp 111 portmapper ... 100000 4 udp 111 portmapper ... 100021 1 udp 4045 nlockmgr ...
    (SunManagers)
  • Re: nfs error
    ... kernel: nfs: server ... So if your system uses ypbind be sure that is working properly before ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ...
    (comp.sys.sun.admin)
  • Urgent help with Secure NFS.
    ... have that option - I'm just attempting to tunnel all NFS traffic to the ... 100000 4 tcp 111 rpcbind ... 100000 4 udp 111 rpcbind ... 100021 1 tcp 49153 nlockmgr ...
    (SSH)
  • Re: dsnetwork
    ... please quote what you are replying to as well as who you are ... However, TCP has built-in congestion/flow control, so it will not reach ... the theoretical maximums that UDP will. ... Because if a UDP packet is lost, you have to detect that yourself and ...
    (microsoft.public.win32.programmer.directx.video)