lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1276602615.14011.464.camel@localhost>
Date:	Tue, 15 Jun 2010 12:50:14 +0100
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	ratheesh k <ratheesh.ksz@...il.com>
Cc:	netdev@...r.kernel.org, linux-net@...r.kernel.org
Subject: Re: ftp on udp and tcp .

On Tue, 2010-06-15 at 12:50 +0530, ratheesh k wrote:
> Hi ,
> 
>        what is real advantage of UDP over TCP / TCP over UDP .  If i
> put the question in a different way - if run ftp application on UDP
> and TCP , what is the real difference / advantage  ??

TCP handles segmentation and bandwidth/congestion management.  It
recovers from packet loss and reordering.  Recent implementations are
also quite resilient to address spoofing.  The downsides are higher
latency (potentially very high when recovering from packet loss), higher
setup cost (3-way handshake), and lack of multicast support.

UDP does none of that.  It gives you flexibility and control, but the
downside is you have to handle all of those problems yourself.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ