On Mon, Jul 18, 2011 at 02:08:11PM -0400, Michael Adams wrote:
> A while back I expressed interest in trying to add additional
> compression formats (XZ, ZPAQ-derived). What would be the best way
> for me to try these with the 1.1 codebase? And can 1.1 be used with
> 1.0.x nets out-of-box?
Add it to the {un,}compress_packet() functions in net_packet.c, use compression
levels above 11 for them. Then it is easy to test. However, we have to figure
out a backwards compatible way later.
To make sure your work can be easily merged, go to
https://github.com/gsliepen/tinc, create an account if you do not already have
one, then make a fork of the tinc repository, and then make a clone of that on
you own computer.
Make a branch starting at the 1.1pre2 tag, and add compression support to that
branch. Don't add other features, and don't "fix" unrelated
things. Push the
results back to github, and send a pull request to me (or just email to
tinc-devel).
If you don't like github you can also set up your own public git repository,
or
use git-send-email to email the changes.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL:
<http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20110719/89d64994/attachment.pgp>