[Wireshark-dev] Wireshark and real-time network issue detection?

2006-10-30 Thread Lars Ruoff
Hi list, I wonder if Wireshark could be extended to provide real-time network issue detection and if there was any interest in the community to implement this feature. Let me explain. What i would like to have is the following: Wireshark (tshark to be precise) would be run from another

Re: [Wireshark-dev] Wireshark and real-time network issue detection?

2006-10-30 Thread frederic heem
Hi, Did you have a look at www.snort.org ? It may be what you are looking for. Frederic Heem. Alle 15:03, lunedì 30 ottobre 2006, Lars Ruoff ha scritto: Hi list, I wonder if Wireshark could be extended to provide real-time network issue detection and if there was any interest in the

Re: [Wireshark-dev] Wireshark and real-time network issue detection?

2006-10-30 Thread Lars Ruoff
Hi, frederic heem wrote: Hi, Did you have a look at www.snort.org ? It may be what you are looking for. I had a look at it (although a short one i admit). From what i can see from a first glance, - snort provides nearly no means of decoding (and thus creating rules for) higher level

Re: [Wireshark-dev] Help understanding Epan's dissectors

2006-10-30 Thread angustia
Hello, I understand that Wiretap passes the necessary information in pseudo-headers, but how does the following subdissections work? I mean, who finds out that an ethernet packet is IP, and from that, which one is TCP, and from that, which one belongs to whatever program... Thanks,

Re: [Wireshark-dev] Wireshark and real-time network issue detection?

2006-10-30 Thread frederic heem
Alle 15:32, lunedì 30 ottobre 2006, Lars Ruoff ha scritto: Hi, frederic heem wrote: Hi, Did you have a look at www.snort.org ? It may be what you are looking for. I had a look at it (although a short one i admit). Fine, at least you've had a look a it. Actually, I'm looking for the

Re: [Wireshark-dev] [patch] YMSG dissector update

2006-10-30 Thread Gennady Feldman
Did anybody have a chance to look over my patch?Gena01On 10/25/06, Gennady Feldman [EMAIL PROTECTED] wrote: Here is an updated patch. Should be pretty safe. Just added a couple of constants and changed some strings to be cleaner and easier to read. Gena01On 9/18/06, Jaap Keuter [EMAIL PROTECTED]

[Wireshark-dev] Is using a locally defined (ie defined in the function) memory , to store the structure elements in tvb --safer?

2006-10-30 Thread prashanth joshi
Hi, When ever we need to alter the data that is on tvb, we need to copy the data in to our memory. So would it be safer to copy the data from tvb to the local memory ( ie stack memory ) always? I guess ethereal always has a copy of the local memory contents that we add to the display tree.

Re: [Wireshark-dev] Wireshark and real-time network issue detection?

2006-10-30 Thread Lars Ruoff
frederic heem wrote: Actually, I'm looking for the almost the same feature: The monitor asks tshark to be advised when a packet matches a filter. As soon as tshark received such a packet, it signals the application that has requested such packet. That would be a special (trivial) case of

Re: [Wireshark-dev] Help understanding Epan's dissectors

2006-10-30 Thread Jaap Keuter
Hi, Ah, so all is clear on the wiretap front. Well from there on (look in packet-frame.c) the frame dissector looks in wtap_encap_dissector_table for the dissector handling Ethernet (in this case). This dissector (see packet-eth.c) has registered itself during startup in this table (search for

Re: [Wireshark-dev] [patch] YMSG dissector update

2006-10-30 Thread Jaap Keuter
Hi, Checked in. Thanx, Jaap On Mon, 30 Oct 2006, Gennady Feldman wrote: Did anybody have a chance to look over my patch? Gena01 On 10/25/06, Gennady Feldman [EMAIL PROTECTED] wrote: Here is an updated patch. Should be pretty safe. Just added a couple of constants and changed some

Re: [Wireshark-dev] Help understanding Epan's dissectors

2006-10-30 Thread angustia
Hello, I think I get it now. It is not the higher level dissectors that actively search for lower lever dissectors in their source file. It is the lower level dissectors that register themselves with all possible higher lever dissectors where they might occur. So the packet-*.c files

Re: [Wireshark-dev] Help understanding Epan's dissectors

2006-10-30 Thread Jaap Keuter
Hi, See the frame dissector in packet-frame.c for instance. It uses this line: if (!dissector_try_port(wtap_encap_dissector_table, pinfo-fd-lnk_t, tvb, pinfo, parent_tree)) { It uses wtap_encap_dissector_table to search for the pinfo-fd-lnk_t entry and calls that dissector (oke it's

[Wireshark-dev] Fwd: Bug #1138 fix: 'Follow TP streams gets stream direction wrong...

2006-10-30 Thread Stephen Fisher
Anyone get a chance to review this patch for inclusion? Thanks! - Forwarded message from Stephen Fisher [EMAIL PROTECTED] - Date: Wed, 25 Oct 2006 20:05:25 -0700 From: Stephen Fisher [EMAIL PROTECTED] To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] Bug #1138 fix: 'Follow TP