We can't help you without source code.
Regards,
Seb :)
Kathy Chen a écrit :
Hi, all,
When I call
u_char *packet = pcap_next(handle, &header);
I can get the packet length value, but I can't really
get the "packet" data (Using printf(..., packet)).
Even if I call this "pcap_next()" continuously,
Kathy Chen a écrit :
Hi,
Sorry to bother you.
I want to know in what situations the machine's
network is set to "promiscuous" mode. For example, I
know when I execute "tcpdump" on my machine, it's set
to be in promiscuous mode. Any other cases?
Yes, that's program's that decide to put your NIC
Another question is that the -x and -xx options are supposed to restrict
tcpdump's output to hex only (no ASCII), but I'm still seeing the ASCII
when I use them.
I can answer this one. It was a bug, i fixed it and guy checked
it in :
http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/tcpdump.c
Juts
Guy Harris wrote:
On Sep 3, 2004, at 3:48 AM, Sebastien Vincent wrote:
So I made changes into ./tcpdump.c and it now works fine.
Checked in.
Ok thanks.
Sebastien Vincent
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.
* print nothing.
+ */
+if (h->caplen > hdrlen)
+ascii_print("\n\t", sp + hdrlen,
+h->caplen - hdrlen);
+}
}
putchar('\n');
[EMAIL PROTECTED] shinmei $
Hope I can help :)
Sebastien Vincent
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.