Re: [Wireshark-dev] Wireshark version

2008-07-09 Thread Guillaume Bienkowski
mmand line, it should give you the right version number: $ tshark -v TShark 1.0.1 Copyright 1998-2008 Gerald Combs <[EMAIL PROTECTED]> and contributors. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PA

Re: [Wireshark-dev] Start Dissection from an upper layer?

2008-06-12 Thread Guillaume Bienkowski
Eloy Paris a écrit : > > Give something like this a try (this code snippet assumes all the > libwireshark initializations have been done already): > > [snip] > > > fdata->lnk_t = wtap_pcap_encap_to_wtap_encap(DLT_RAW); > [snip] > > > Let us know how it goes. > > Cheers, > > Eloy Paris.- > nete

Re: [Wireshark-dev] Start Dissection from an upper layer?

2008-06-10 Thread Guillaume Bienkowski
l", NLPID_IP, ip_handle); dissector_add("fr.ietf", NLPID_IP, ip_handle); dissector_add("x.25.spi", NLPID_IP, ip_handle); dissector_add("arcnet.protocol_id", ARCNET_PROTO_IP_1051, ip_handle); dissector_add("arcnet.protocol_id", ARCNET_PROTO_IP_1

Re: [Wireshark-dev] Start Dissection from an upper layer?

2008-06-10 Thread Guillaume Bienkowski
Hello, I *kind of* get what you mean, but I really don't know how to do that. Let me explain what I do: I use the wireshark library to analyze the packets I send it. The main call to the library is done in my code through: epan_dissect_run(edt, &pseudo_header, FakePacket , &fdata, 0); where F

[Wireshark-dev] Start Dissection from an upper layer?

2008-06-10 Thread Guillaume Bienkowski
Hello Guys, I have successfully written a program that uses the Wireshark Lib to dissect some packets. The thing is, through the API I was given from my boss, I can only receive informations from the 3rd layer (IPv4, IPX, ... layer), which confuses the dissectors, and screws the dissection. O

Re: [Wireshark-dev] *** No rule to make target `inet_pton.lo', needed by `libwireshark.la'. Stop.

2008-06-05 Thread Guillaume Bienkowski
Ok I answer to myself The file inet_pton.c seems to be misplaced in the root directory, instead of being in epan/. This causes the make to output an error, not finding the inet_pton.c file. I found a solution to compile correctly on a Japanese website which had the very same problem in

Re: [Wireshark-dev] *** No rule to make target `inet_pton.lo', needed by `libwireshark.la'. Stop.

2008-06-05 Thread Guillaume Bienkowski
BIENKOWSKI Guillaume [FR] a écrit : > > Hello guys, > > I have a problem compiling Wireshark 1.0.0; I get the following error: > > make[3]: Entering directory `/home/gbien/work/wireshark-1.0.0/epan' > make[3]: *** No rule to make target `inet_pton.lo', needed by > `libwireshark.la'. Stop. > make[3

Re: [Wireshark-dev] regarding packet capture

2008-06-03 Thread Guillaume Bienkowski
Look at the epan_dissect_* functions in the epan/epan.c and epan/packet.c files. The real work is done through the epan_dissect_run(..) function, but it's not really clear in the documentation. You can check the example of Eloy Paris in a previous discussion here: http://www.wireshark.org/lists/

Re: [Wireshark-dev] *** No rule to make target `inet_pton.lo', needed by `libwireshark.la'. Stop.

2008-06-02 Thread Guillaume Bienkowski
BIENKOWSKI Guillaume [FR] a écrit : > > Hello guys, > > I have a problem compiling Wireshark 1.0.0; I get the following error: > > make[3]: Entering directory `/home/gbien/work/wireshark-1.0.0/epan' > make[3]: *** No rule to make target `inet_pton.lo', needed by > `libwireshark.la'. Stop. > make[3

[Wireshark-dev] *** No rule to make target `inet_pton.lo', needed by `libwireshark.la'. Stop.

2008-05-30 Thread Guillaume Bienkowski
Hello guys, I have a problem compiling Wireshark 1.0.0; I get the following error: make[3]: Entering directory `/home/gbien/work/wireshark-1.0.0/epan' make[3]: *** No rule to make target `inet_pton.lo', needed by `libwireshark.la'. Stop. make[3]: Leaving directory `/home/gbien/work/wireshark-1.