Sponsored Content
Top Forums Programming Uncompress on linux a UDP Payload compressed on win$ using closed source library Post 302198796 by sysadmin9 on Saturday 24th of May 2008 04:14:33 AM
Old 05-24-2008
Uncompress on linux a UDP Payload compressed on win$ using closed source library

I am trying to uncompress a UDP packets payload. The data was compressed using "Xceed Version 4.3" which is a closed source windows program. I need to uncompress the data on a linux box. The technical support people at Xceed tell me that the data was compressed using "the Deflate compression method and formatted using the ZLib format, which is a small header at the start of the data. " You can read the details of their reply at Xceed Community - Does Xceed use industry standard compression algorithms ?

An example of the compressed data is:
http://www.debtconsolidationcare.com...edpacket.1.txt

The complete capture of the UDP packets is at:
http://www.debtconsolidationcare.com...p/wireread.txt

I have tried running:
# g++ zpipe.c -lz [zpipe.c is at http://www.zlib.net/zpipe.c ]
# ./a.out -d < compressedpacket.1.txt > uncompressedpacket.1.txt
zpipe: invalid or incomplete deflate data

I am wondering how should I go about debugging the problem.

Any help and access to your time would be very much appreciated,

Best Wishes,
--
Vikas
SysadminDebt consolidation community: 113,000+ people already helped for free
Internet's first get out of debt community
800 601 1579 x 8003
 

9 More Discussions You Might Find Interesting

1. IP Networking

linux and win nt working together

I was wondering if anybody knew how to make linux and win nt and a novell server integrated there will be no workstations we are trying to get the servers together now we are currently working on Novel and NT and then we want to integrate the linux server into that. We know that we need Samba but... (3 Replies)
Discussion started by: linuxnewbie
3 Replies

2. UNIX for Dummies Questions & Answers

win and linux

Hello everyone I have two disks one with win2000 and the other I´m going to install mandrake10 . There is some way when Im finished to install mandrake when Im boot the machine I can make a selection or windows or linux. When I do this in a single disk I have no problem. but In this case... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

3. IP Networking

snmp linux win

I use snmp protocol on linux, now I have to use snmp on win, i use pc linux. I have activated the service snmp on win but I can not question him on my linux pc, you have any suggestions? (1 Reply)
Discussion started by: fege
1 Replies

4. Windows & DOS: Issues & Discussions

closed-source application & CygWin

Is it possible to install closed-source applications on CygWin? (7 Replies)
Discussion started by: Xterra
7 Replies

5. Programming

help me about sending file through socket udp with c in linux

hi, i am newbie of socket. i want to ask some question. if i want to send file from client to server, how do i do? and if i want to send file from server to client, how do i do? any pro help me and if possible, you can post code for an example i need it very much thank you for helping me:)... (1 Reply)
Discussion started by: tung1984
1 Replies

6. Programming

UDP linux client and Windows server

Hi, I have a situation where i need to communicate a linux client with a windows server, I am using a UDP socket communication channel. I am able to send packets from my linux clients to the windows server but unable to receive any data packet from the server. Do i need to make any setting in... (0 Replies)
Discussion started by: John20
0 Replies

7. Shell Programming and Scripting

Is there any way to find the compressed size of a file without compressing it in linux

i need to backup a directory from one partition to another and and compress that directory after backing up, so i need to predict the compressed size of the directory with out actually compressing it, to check whether the space is available in the destination partition to accommodate the zipped... (2 Replies)
Discussion started by: Kesavan
2 Replies

8. HP-UX

[Solved] how to compress and uncompress the files beween HP UX and Linux OS

I have file with large size in HP-UX os. I need to compress on HP-UX and ftp to linux server and i need to uncompress the files. How can i do this? Any help is highly appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies

9. Filesystems, Disks and Memory

Compressed Filesystem for Linux

Hi Everybody: I'm searching a compressed Filesystem for a external disk, what I use for a full, diary and differential Backup. The performance is not important, I search the best option for compress data, but I want have access to structure disk, with directories and files in the Backup disk.... (6 Replies)
Discussion started by: bypper
6 Replies
FSCK.CRAMFS(8)						       System Administration						    FSCK.CRAMFS(8)

NAME
fsck.cramfs - fsck compressed ROM file system SYNOPSIS
fsck.cramfs [options] file DESCRIPTION
fsck.cramfs is used to check the cramfs file system. OPTIONS
-v, --verbose Enable verbose messaging. -b, --blocksize blocksize Use this blocksize, defaults to page size. Must be equal to what was set at creation time. Only used for --extract. --extract[=directory] Test to uncompress the whole file system. Optionally extract contents of the file to directory. -a This option is silently ignored. -y This option is silently ignored. -V, --version Display version information and exit. -h, --help Display help text and exit. EXIT STATUS
0 success 4 file system was left uncorrected 8 operation error, such as unable to allocate memory 16 usage information was printed SEE ALSO
mount(8), mkfs.cramfs(8) AVAILABILITY
The example command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils /util-linux/>. util-linux April 2013 FSCK.CRAMFS(8)
All times are GMT -4. The time now is 08:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy