Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2011-01-06 Thread
于 2010年12月06日 03:08, Stephen Fisher 写道: On Sun, Dec 05, 2010 at 11:36:12PM +0800, 刘昆 wrote: To be specific,I want add "/usr/include/mysql/mysql.h" header file and link "libmysqlclient.so" lib to do my work. So how should I do to? The quickest way would be to

[Wireshark-dev] I want to add a default header file path

2011-01-06 Thread
I want to add a default header file include path just like "/home/administrator/program/openssl/include" into the wireshark source code to make the code I have modifed. How should I do? ___ Sent via:Wireshark-dev mailing l

Re: [Wireshark-dev] I want to pop up a window when http dissector dissect some kind of payload

2010-12-13 Thread
于 2010年12月14日 13:21, Bill Meier 写道: > On 12/13/2010 10:41 PM, 刘昆 wrote: > >> If I want to pop up a window when http dissector dissect some kind of >> payload,where can I write the gtk code ? >> > > As Guy Harris already indicated to you when you as

[Wireshark-dev] I want to pop up a window when http dissector dissect some kind of payload

2010-12-13 Thread
If I want to pop up a window when http dissector dissect some kind of payload,where can I write the gtk code ? ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe:

Re: [Wireshark-dev] I want to program in "packet-http.c:dissect_http" with some gtk gui functions

2010-12-09 Thread
于 2010年12月09日 12:03, Guy Harris 写道: On Dec 8, 2010, at 7:53 PM, 刘昆 wrote: I want to program in "packet-http.c:dissect_http" with some gtk gui functions .But when I "make" there are some errors : epan/.libs/libwireshark.so: undefined reference to `gtk_window_new' e

[Wireshark-dev] I want to program in "packet-http.c:dissect_http" with some gtk gui functions

2010-12-08 Thread
I want to program in "packet-http.c:dissect_http" with some gtk gui functions .But when I "make" there are some errors : epan/.libs/libwireshark.so: undefined reference to `gtk_window_new' epan/.libs/libwireshark.so: undefined reference to `gtk_main' epan/.libs/libwireshark.so: undefined reference

Re: [Wireshark-dev] where can I find the ip src address in packet-http.c

2010-12-06 Thread
于 2010年12月07日 11:56, Guy Harris 写道: On Dec 6, 2010, at 7:48 PM, 刘昆 wrote: I have solve this problem about get ip address.However there is another question,When I print the ip address I notice there are two ip addresses I get. Yes, there are two IP addresses in every IP packet - the source

Re: [Wireshark-dev] where can I find the ip src address in packet-http.c

2010-12-06 Thread
于 2010年12月07日 10:47, Guy Harris 写道: On Dec 6, 2010, at 6:39 PM, 刘昆 wrote: Thank you. Now I have noticed "data" is a pointer I add "printf("%s\n",(pinfo->src).data)" For almost all address types, including IPv4 and IPv6 addresses, the data field

Re: [Wireshark-dev] where can I find the ip src address in packet-http.c

2010-12-06 Thread
于 2010年12月07日 09:56, Guy Harris 写道: On Dec 6, 2010, at 5:47 PM, 刘昆 wrote: I want to find out the ip source address in packet-http.c.At first,I thought dissect_http:pinfo->src->data should save the ip source address,however when I use gdb to print pinfo->src->data ,the value i

[Wireshark-dev] where can I find the ip src address in packet-http.c

2010-12-06 Thread
I want to find out the ip source address in packet-http.c.At first,I thought dissect_http:pinfo->src->data should save the ip source address,however when I use gdb to print pinfo->src->data ,the value is "0x8b5301a" .But my ipv4 address is "10.32.59.49 ",it seems the two values don't match.So what'

[Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-12-05 Thread
I want to modify the Makefile to add some lib of mysql so that I can make packet-http.c with some mysql code. To be specific,I want add "/usr/include/mysql/mysql.h" header file and link "libmysqlclient.so" lib to do my work. So how should I do to? ___

Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-11-29 Thread
于 2010年11月20日 02:03, Stephen Fisher 写道: > On Fri, Nov 19, 2010 at 08:55:18PM +0800, 刘昆 wrote: > > >> I want to modify the Makefile to add some lib of mysql so that I can >> make packet-http.c with some mysql code.How should I do ? >> > Try following the exam

[Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-11-19 Thread
I want to modify the Makefile to add some lib of mysql so that I can make packet-http.c with some mysql code.How should I do ? ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-d

[Wireshark-dev] I want to modify the source code of wireshark to pop up a GUI window

2010-11-13 Thread
I want to modify the source code of wireshark to pop up a GUI window to show some information when the dissector start to dissect http packet.How should I do? Should I program at packet-http.c:dissect_http? or Where? ___ Sen

Re: [Wireshark-dev] I want to print the string tvb->real_data on the ubuntu terminal

2010-10-26 Thread
于 2010年10月27日 01:25, Guy Harris 写道: > On Oct 26, 2010, at 7:43 AM, 刘昆 wrote: > > >> In fact,I want to program to filter some certain URL or IP address in the >> packet but not the header just as when we use proxy to access a web ,the >> real URL is not in the heade

Re: [Wireshark-dev] I want to print the string tvb->real_data on the ubuntu terminal

2010-10-26 Thread
于 2010年10月26日 14:13, Guy Harris 写道: On Oct 25, 2010, at 8:46 PM, 刘昆 wrote: In fact ,all I need to print is just the URL or IP address in the payload.I think the URL or IP address should be printable? The URL should be printable. The IP address, if you mean the IP address in the IP

Re: [Wireshark-dev] I want to print the string tvb->real_data on the ubuntu terminal

2010-10-25 Thread
于 2010年10月26日 06:39, Guy Harris 写道: > On Oct 24, 2010, at 2:25 AM, 刘昆 wrote: > > >> tvb->real_data is a pointer.And I guess the contents of this pointer >> should be the payload of the packet just as >> >> "const guint8 *) 0x8b53042 &q

Re: [Wireshark-dev] I want to print the string tvb->real_data on the ubuntu terminal

2010-10-24 Thread
于 2010年10月24日 15:30, Guy Harris 写道: > On Oct 23, 2010, at 9:39 PM, 刘昆 wrote: > > >> I want to print the string "tvb->real_data " >> > It's not a string. It's a sequence of octets, which might or might not > encode printable chara

[Wireshark-dev] I want to print the string tvb->real_data on the ubuntu terminal

2010-10-23 Thread
I want to print the string "tvb->real_data "which at packet-http.c:dissect on the ubuntu terminal .But whatever I add "printf("%s\n",tvb->real_data);"or"printf(stdout,"%s\n",tvb->real_data);" into the packet-http:dissect_http function ,nothing to be showed on the terminal. What should I do to disp

[Wireshark-dev] When I use gdb to debug wireshark,error occurs

2010-10-22 Thread
I want to use gdb to debug wireshark . First ,I download the source code of wireshark to install.And I use "make CFLAGS="-g -O0"" to create symbols to be used by gdb. And when I want to set breakpoint at packet-http.c:dissect_http .I use command "b packet-http.c:dissect_http",however gdb print "N

Re: [Wireshark-dev] Still, I can't find the location where the captured data saved

2010-10-18 Thread
于 2010年10月18日 18:33, yami 写道: > How to find the cf_read() function is a quiz to you, if you do not > know how to do that. > > On Mon, Oct 18, 2010 at 2:58 PM, 刘昆 <mailto:liukunmeis...@gmail.com>> wrote: > > 于 2010年10月18日 12:43, yami 写道: >> packet-http.c i

[Wireshark-dev] where the captured traffic is saved when live capturing

2010-10-18 Thread
I want to know where the captured traffic is saved when live capturing.My point is which function at which file get the data captured when live capturing. Thank you very much. ___ Sent via:Wireshark-dev mailing list Archi

Re: [Wireshark-dev] Still, I can't find the location where the captured data saved

2010-10-18 Thread
good start for you. On Tue, Oct 12, 2010 at 7:24 PM, 刘昆 <mailto:liukunmeis...@gmail.com>> wrote: Still, I can't find the location where the captured data saved.For example,now I want find which variable save the data captured in the http protocol.My meaning is the da

[Wireshark-dev] Still, I can't find the location where the captured data saved

2010-10-12 Thread
Still, I can't find the location where the captured data saved.For example,now I want find which variable save the data captured in the http protocol.My meaning is the data list at the bottom in the wireshark.I have searched for the data in the packet-http.c but still confused.Who can tell me which

Re: [Wireshark-dev] Make wireshark error

2010-09-17 Thread
于 2010年09月18日 04:14, Guy Harris 写道: > On Sep 17, 2010, at 7:20 AM, 刘昆 wrote: > > >> When I make wireshark source code on ubuntu ,error occurs >> >> capture-pcap-util.c:274: error: static declaration of >> ‘pcap_datalink_name_to_val’ follows non-static decla

[Wireshark-dev] Make wireshark error

2010-09-17 Thread
When I make wireshark source code on ubuntu ,error occurs capture-pcap-util.c:274: error: static declaration of ‘pcap_datalink_name_to_val’ follows non-static declaration /usr/local/include/pcap/pcap.h:326: note: previous declaration of ‘pcap_datalink_name_to_val’ was here capture-pcap-util.c:289:

Re: [Wireshark-dev] how does the wireshark print the contents of the packets

2010-09-16 Thread
于 2010年09月15日 23:04, Jaap Keuter 写道: > On Wed, 15 Sep 2010 22:34:41 +0800, 刘昆 wrote: > >> 于 2010年09月15日 19:13, Jaap Keuter 写道: >> >>> Hi, >>> >>> You'll find an interface between the wiretap library providing input >>> and th

Re: [Wireshark-dev] how does the wireshark print the contents of the packets

2010-09-15 Thread
t; > Thanks, > Jaap > > On Wed, 15 Sep 2010 15:17:51 +0800, 刘昆 wrote: > >> If I want to understand how the wireshark print the contents of the >> packets wireshark just as the table at the bottom in wireshark GUI,which >> files should I read. In fact,I just want

[Wireshark-dev] how does the wireshark print the contents of the packets

2010-09-15 Thread
If I want to understand how the wireshark print the contents of the packets wireshark just as the table at the bottom in wireshark GUI,which files should I read. In fact,I just want to find out the array which save the data of the packet wireshark has captured so that I can do some work with the da

[Wireshark-dev] If I have finished a dissector, how could I install it into the wireshark?

2010-09-13 Thread
If I have finished a dissector,how could I install it into the wireshark? I have put the c file into the folder dissectors and rebulid the wireshark source code ,however it dosen't work . ___ Sent via:Wireshark-dev mailin

[Wireshark-dev] Who can tell me the relationship about the dissect_message_http, dissect_http_message, dissect_http and the dissect_http_udp

2010-09-13 Thread
Who can tell me the relationship about the dissect_message_http,dissect_http_message,dissect_http and the dissect_http_udp in the c file packet-http.c ___ Sent via:Wireshark-dev mailing list Archives:http://www.wiresha

[Wireshark-dev] We want to develop a Monitoring Software based on wireshark

2010-09-06 Thread
We want to develop a software just like this First,we let the software run and capture the data packets in computer.Then when some words or IP address in the data packets matching to the data we preestablish,a warning box must be showed to tell us something happen. In fact, we just want to modif