LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-24-2004, 04:31 AM   #1
Smooth
Member
 
Registered: May 2003
Location: /home/melbourne
Distribution: RH 8.0
Posts: 39

Rep: Reputation: 15
IPSec compression


Greetings!

I have FreeS/WAN host-to-host ipsec connection between two hosts. When i transferred a video file [approx 34 Meg] with IPCOMP enabled, i got a throughput of 2291 KB/sec. When I transferred a text file [approx 110 Meg] with IPCOMP enabled, i got a throughput of 2428 KB/sec. I did the transfer over 5 times and got similar values. I wonder why i am not getting the same throughput for both the transfers? is it due to the file format? video and text or something..? any idea

Does IPSec IPCOMP compress text file better than a .avi file?


PS: The average packet size when a text file[with compression enabled] was transferred is 850 Bytes and when a video file [with compression enabled] was transferred is 995 bytes.
 
Old 08-28-2004, 05:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK compression happens before encryption.
Plain text compresses better than binary data.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
best compression format dosnlinux Linux - General 8 04-20-2005 09:12 AM
Compression Printing Darrellhugh Linux - General 1 02-09-2005 09:49 AM
compression oldstinkyfish Linux - Software 2 12-02-2004 02:53 PM
Browser + Compression ptreves Linux - General 2 08-14-2004 05:44 PM
best compression drigz Linux - Software 2 06-05-2004 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration