[Winpcap-users] I can't seem to read more than 16 bytes fromanoffline file

Isaacks, John H john.isaacks at eds.com
Mon Oct 15 13:46:24 GMT 2007


yes, I can use ethereal to view the original file, it looks fine.
my program used to work but only lately has quit.
I was thinking it has some type of security patch that broke it but that
doesn't explain why ethereal can view the file without problems.
 
I copied the example programs exactly and they can only read 16 bytes at
a time.
 

John Isaacks 
EDS - ITMS Production support 

 


________________________________

	From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
	Sent: Friday, October 12, 2007 11:49 PM
	To: winpcap-users at winpcap.org
	Subject: Re: [Winpcap-users] I can't seem to read more than 16
bytes fromanoffline file
	
	
	Does wireshark/ethereal open the same file properly?
	 
	Have a nice day
	GV
	 
	 

		----- Original Message ----- 
		From: Isaacks, John H <mailto:john.isaacks at eds.com>  
		To: winpcap-users at winpcap.org 
		Sent: Friday, October 12, 2007 2:01 PM
		Subject: [Winpcap-users] I can't seem to read more than
16 bytes from anoffline file



		I'm trying to read a captured ethereal file ( pcap ). 
		My code used to work fine, but now doesn't work on any
of my machines. 
		I was using 3.1 but I have installed lastest 4.0.1 on my
pc and I get the same results as before. 
		I have reverted to simple readfile.c example and the
const struct pcap_pkthdr *header->caplen is always 16 bytes ( 0x10 )

		I even tried the readfile_ex.c version and I get the
same 16 bytes as the caplen. 


		John Isaacks 
		EDS - ITMS Production support 
		MS 216 
		3450 Lakeside Dr 
		Miramar, FL  33027-3277 

		 Phone:+1-954-433-6653 
		+ mailto:john.isaacks at eds.com
<mailto:john.isaacks at eds.com>  


		
________________________________


		

		_______________________________________________
		Winpcap-users mailing list
		Winpcap-users at winpcap.org
		https://www.winpcap.org/mailman/listinfo/winpcap-users
		

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20071015/f7c7c163/attachment.htm


More information about the Winpcap-users mailing list