Fast and Secure Protocol

{{Short description|Terminal command scheme used to transfer data}}

{{Infobox networking protocol

| title = Fast and Secure Protocol

| logo =

| logo alt =

| image =

| image alt =

| caption =

| is stack = No

| abbreviation = FASP

| purpose = Data transfer

| developer = Michelle C. Munson and Serban Simu

| date = {{Start date and age| | | }}

| based on = UDP

| influenced =

| osilayer =

| ports = tcp/22, udp/33001

| rfcs =

| hardware =

}}

File:FTP vs Aspera Comparison.webm/FTP and ascp/Aspera/FASP]]

{{Internet protocol suite|transport=FASP}}

The Fast Adaptive and Secure Protocol (FASP) is a proprietary data transfer protocol. FASP is a network-optimized network protocol created by Michelle C. Munson and Serban Simu, productized by Aspera, and now owned by IBM subsequent to its acquisition of Aspera. The associated client/server software packages are also commonly called Aspera.{{cite web|url=https://www.theregister.co.uk/2015/10/01/aspera/|title=Aspera high speed file transfer: Let the cloud protocol wars begin|website=The Register}}{{cite web|url=https://www.ebi.ac.uk/ena/browse/read-download#downloading_files_aspera|title=European Nucleotide Archive: Downloading using Aspera}} The technology is patented under US Patent #8085781, Bulk Data Transfer, #20090063698, Method and system for aggregate bandwidth control.{{cite web|url=https://patents.google.com/patent/US20090063698|title=Method and system for aggregate bandwidth control}} and others.

Built upon the connectionless UDP protocol, FASP does not expect any feedback on every packet sent, and yet provides fully reliable data transfer over best effort IP networks. Only the packets marked as really lost must be requested again by the recipient. As a result, it does not suffer as much loss of throughput as TCP does on networks with high latency or high packet loss and avoids the overhead of naive "UDP data blaster" protocols.{{cite web|url=http://downloads.asperasoft.com/en/technology/shortcomings_of_TCP_2/the_shortcomings_of_TCP_file_transfer_2|title=Aspera - High-speed file transfer software -|website=downloads.asperasoft.com}}{{cite web|url=https://gcn.com/Articles/2014/05/15/FOSE-Data-transfer-protocol.aspx|title=FASP transfer protocol speeds data transmission to the cloud}} The protocol innovates upon naive "data blaster" protocols through an optimal control-theoretic retransmission algorithm and implementation that achieves maximum goodput and avoids redundant retransmission of data. Its control model is designed to fill the available bandwidth of the end-to-end path over which the transfer occurs with only "good" and needed data.

Large organizations like the European Nucleotide Archive, the US National Institutes of Health National Center for Biotechnology Information{{cite web|url=https://www.ncbi.nlm.nih.gov/projects/faspftp/1000genomes/|title=NCBI 1000 Genomes: Aspera Download}} and others{{cite web|url=http://asperasoft.com/partners/joint-partner-solutions/|title=Aspera Joint Partner Solutions|date=20 January 2018|website=asperasoft.com}} use the protocol. The technology was recognized with many awards including an Engineering Emmy from the Academy of Film and Television.

Security

{{Unreferenced section|date=July 2018}}

FASP has built-in security mechanisms that do not affect the transmission speed. The encryption algorithms used are based exclusively on open standards. Some product implementation use secure key exchange and authentication such as SSH.

The data is optionally encrypted or decrypted immediately before sending and receiving with the AES-128. To counteract attacks by monitoring the encrypted information during long transfers, the AES is operated in cipher feedback mode with a random, public initialization vector for each block. In addition, an integrity check of each data block takes place, in which case, for example, a man-in-the-middle attack would be noticed.

Protocol

FASP's control port is TCP port 22{{snd}} the same port that SSH uses. For data transfer, it begins at UDP port 33001, which increments with each additional connection thread.

FASP's flow control algorithm, unlike TCP's, completely ignores packet drops. Instead, it acts on changes in measured packet delivery time. When that is growing, queues are getting longer and channel bandwidth is exceeded; falling, queues are getting shorter. Acting on this information is complicated because the receiver has it and the sender needs it, but its lifetime is often less than the transmission delay; and measurements are noisy. Thus, the sender uses a predictive filter fed updates from the receiver.{{cite web | url=https://news.ycombinator.com/item?id=21909190 | title=Ex Aspera Dev here. I did the encryption and early parallel work. There is a lot... | Hacker News }}

The transmission rate is chosen to match and not exceed the available channel bandwidth, and trigger no drops, accounting for all traffic on the channel.{{Cite book |last=Klimek |first=Ivan |url=https://www.yumpu.com/en/document/view/53450087/technicka-univerzita-v-kosiciach-stargatecnlsk |title=Wide Area Network Traffic Optimization |publisher=Technical University of Košice |year=2011 |location=Košice |pages=49 |language=en |department=Faculty of Electrical Engineering and Informatics}} By contrast, TCP slowly increases its rate until it sees a packet drop and falls back, interpreting any drop as congestion. On a channel with long delay and frequent packet loss, TCP never approaches the actual bandwidth available. FASP cooperates with TCP flows on the same channel, using up bandwidth TCP leaves unused.

See also

References