All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oscar Mechanic <oscar@ufomechanic.net>
To: Eric Leblond <eric@inl.fr>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: bandwidth saving idea
Date: Mon, 11 Jul 2005 15:38:57 +0100	[thread overview]
Message-ID: <1121092737.4967.62.camel@OSCARLAPLIN> (raw)
In-Reply-To: <1121088394.26639.8.camel@localhost.localdomain>

On Mon, 2005-07-11 at 15:26 +0200, Eric Leblond wrote: 
> Le lundi 11 juillet 2005 à 14:16 +0100, Oscar Mechanic a écrit :
> > Machine A sends a packet to machine B. As the packet passes through
> > If the same packet is sent again through A it does not send the payload
> > to Machine B but sends the checksum. B sees the checksum finds the
> > payload and replaces the checksum with the payload.
> 
> Well, there's a problem with protocol like TCP, you've got SEQ number
> and other flags in TCP header that are changing even if the datas
> contained in the packet are the same. Thus your compression protocol is
> not efficient. Even a 1000 unit FIFO is useless. Furthermore, your
> protocol is theoritically wrong, as checksum functions are not
> injective.
> 
> You better try to set up an ipsec tunnel with compression between the
> two machines. On protocol other than citrix, this can bring you a good
> compression level (30% or more if I recall correctly some tests I've
> made).
> 
> BR,

Thank you for your response I have looked at ipcomp in detail and find
it a mature and well developed protocol. 

The TCP flags would have to be short sequenced to numeric codes. The
sequence number I will have to think about, as a single packet in the
stream is fine as it would have the same SEQ number. 

Products that work similar to this are already available and as they
most probably already using a BSD or Linux as an RTOS we will just have
to wait forever to see the code.

I do not understand "checksum functions are not injective" my intention
was to hold a name=value list where name is checksum and value is
payload (or reference to payload on disc/FC/RD). 

Regards
Oscar Mechanic

  reply	other threads:[~2005-07-11 14:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-01  0:41 Iptables and kernel modules LAAROUCHI Youssef
2005-07-03 21:09 ` Jonas Berlin
2005-07-11 13:16   ` bandwidth saving idea Oscar Mechanic
2005-07-11 13:26     ` Eric Leblond
2005-07-11 14:38       ` Oscar Mechanic [this message]
2005-07-11 14:49         ` Eric Leblond
2005-07-11 15:02           ` Amin Azez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1121092737.4967.62.camel@OSCARLAPLIN \
    --to=oscar@ufomechanic.net \
    --cc=eric@inl.fr \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.