> > or on Linux TCP/IP stack level.
> >
>
> Yes, but if you want to have both compression and encryption it is
> crucial to apply compression *before* encryption and I don't see how
> this can happen with this approach.
If I'm not mistaken IPSec gives you both compression and encryption.
Just as an example.
--
Best regards,
Aleksander Alekseev
http://eax.me/