[Wireshark-dev] Is tcp.len -1 a valid display filter?

2011-10-27 Thread Stig Bjørlykke
Hi. On a 32-bit system the display filter tcp.len -1 seems to be valid, and does return all TCP packets. This happens because we use strtoul() to convert the string -1 to a unsigned long, and the documentation states that the string is converted to an unsigned long value in the obvious manner.

[Wireshark-dev] Is it still ok to create hidden items ?

2011-10-27 Thread Teto
Hi, Just had a question about what's the best practice. I have a packet with a field contianing several keywords. I intend to split those keywords so that one can filter display based upon a keyword. My problem is am compelled to display each keyword separately (one itemp per kewyord and group

Re: [Wireshark-dev] Is it still ok to create hidden items ?

2011-10-27 Thread ronnie sahlberg
Hi, I think one of the reasons why one should avoid hidden items is that if they dont show up in the dissect pane, users might not be aware that they exist at all. And then they will not be able to use them. Wireshark supports so very many different filter fields that it is not practical to use

Re: [Wireshark-dev] Is it still ok to create hidden items ?

2011-10-27 Thread Speck Michael EHWG AVL/GAE
Hi Matt, putting all keywords in one item should work for you. You could use a display filter like yourProtocol.yourFieldname contains keyword_to_search_for That should find all packets with the desired keyword. BTW, using matches (instead of contains) enables you to use regular

Re: [Wireshark-dev] Is it still ok to create hidden items ?

2011-10-27 Thread Jeff Morriss
Teto wrote: Hi, Just had a question about what's the best practice. I have a packet with a field contianing several keywords. I intend to split those keywords so that one can filter display based upon a keyword. My problem is am compelled to display each keyword separately (one itemp per

Re: [Wireshark-dev] Is it still ok to create hidden items ?

2011-10-27 Thread Teto
Thanks for both of your ideas. What bothers me with Michaels'idea is that I wonder how many wireshark users know of or use contains and matches compared to eq or == keywords. From that point of view, Jeff's idea looks as a good idea. On Thu, Oct 27, 2011 at 3:34 PM, Jeff Morriss

Re: [Wireshark-dev] complex problem

2011-10-27 Thread Jeff Morriss
Marcel Haas wrote: On Tue, 18 Oct 2011 13:49:55 -0400, Jeff Morriss jeff.morriss...@gmail.com wrote: Marcel Haas wrote: On Thu, 13 Oct 2011 09:03:38 -0400, Jeff Morriss jeff.morriss...@gmail.com wrote: Marcel Haas wrote: Hey, maybe the problem isnt so complex to solve but its complex for me

Re: [Wireshark-dev] Is tcp.len -1 a valid display filter?

2011-10-27 Thread Stephen Fisher
On Thu, Oct 27, 2011 at 08:28:43AM +0200, Stig Bjørlykke wrote: On a 32-bit system the display filter tcp.len -1 seems to be valid, and does return all TCP packets. The attached patch fixes this, but can we do this check in a simpler manner? Is there a problem with accepting -1 in that

Re: [Wireshark-dev] Fwd: [FOSDEM] Dates for FOSDEM 2012: 4 5 February

2011-10-27 Thread Gerald Combs
On 10/27/11 1:07 AM, Martin Kaiser wrote: Thus wrote Gerald Combs (ger...@wireshark.org): Would anyone be interested in meeting at FOSDEM in February for a Wireshark Bug Day? As I recall, someone suggested this at Sharkfest. Should we register at http://fosdem.org/2012/call_for_devrooms

[Wireshark-dev] support for Bluetooth protocol live capture

2011-10-27 Thread vijay
Can anyone tell me if wireshark support live capture of bluetooth traffic. Wireshark wiki says libpcap supports live capture of bluetooth packets , Wireshark can read pcap files containing bluetooth traffic. But wireshark cannot capture bluetooth traffic. I donot understand why it is so? wont the

Re: [Wireshark-dev] support for Bluetooth protocol live capture

2011-10-27 Thread Guy Harris
On Oct 27, 2011, at 7:50 PM, vijay wrote: Can anyone tell me if wireshark support live capture of bluetooth traffic. On Linux, yes. Wireshark wiki says libpcap supports live capture of bluetooth packets , Wireshark can read pcap files containing bluetooth traffic. But wireshark cannot

Re: [Wireshark-dev] display filtering + how to analyze some TCP packets

2011-10-27 Thread Guy Harris
On Oct 26, 2011, at 3:14 AM, Teto wrote: On Tue, Oct 25, 2011 at 6:37 PM, Guy Harris g...@alum.mit.edu wrote: If it's a predefined port for TCP, do the same sort of thing, but using tcp.port and the predefined TCP port number and handle for the dissector for your protocol when it runs