Re: [Wireshark-dev] Query on status of patches

2007-03-15 Thread Douglas Pratley
I have reintegrated my changes with the latest source, and resubmitted my patches to the bugzilla: [PATCH] User can select dissector based on packet matching display filter 31/1/07 - Bug 1443 [PATCH] TShark input and output options 15/02/2007 - Bug 1444 [PATCH] Ability to provide a file that

Re: [Wireshark-dev] Generating a wireshark RPM

2007-03-14 Thread Douglas Pratley
There is set of instructions that have been recently added to the developer's guide: http://www.wireshark.org/docs/wsdg_html_chunked/ChSrcBinary.html#ChSrcRp m In short: Edit packaging/rpm/SPECS/wireshark.spec.in to set up the ./configure settings for the RPM build the way you want Call the

Re: [Wireshark-dev] User defined name resolution

2007-03-13 Thread Douglas Pratley
I worked on something in this area earlier this year (extending current functionality to allow named subnets / partial matching - the patch has not yet been committed. If you turn on asynchronous name resolution (I think the dialogs may call it concurrent) much of the speed issue with loading

Re: [Wireshark-dev] Query on status of patches

2007-03-09 Thread Douglas Pratley
PROTECTED] wrote: Douglas Pratley wrote: I submitted two patches earlier this year: ... Can anybody tell me their current status? That is: To follow up what Doug has said, I have to say that I've found my recent experiences in getting patches applied less than positive. Anders applied quite a few

[Wireshark-dev] Query on status of patches

2007-03-08 Thread Douglas Pratley
!). I'm slightly concerned that if the patches are not processed soonish then they may become incompatible with the main source tree... Cheers Doug __ Douglas Pratley t +44 845 050 7640 | f +44 845 644 5436 a Detica | PO Box 383 | Horley | Surrey | RH6

[Wireshark-dev] [PATCH] Short section on building RPM for developers guide

2007-02-26 Thread Douglas Pratley
__ Douglas Pratley t +44 845 050 7640 | f +44 845 644 5436 a Detica | PO Box 383 | Horley | Surrey | RH6 7WX | UK __ www.detica.com file:///M:\exchweb\bin\redir.asp?URL=http://www.detica.com/ This message should be regarded as confidential. If you

Re: [Wireshark-dev] Building RPM with Lua support

2007-02-20 Thread Douglas Pratley
success or failure. If it fails you should send back the output of: $ find / -name 'lua.h' -or -name 'liblua.a' + the config.log (gzipped please) so I can find out what's wrong with the configure script. Thanks, Luis On 2/16/07, Douglas Pratley [EMAIL PROTECTED] wrote: Hi guys I'm having

Re: [Wireshark-dev] Building RPM with Lua support

2007-02-19 Thread Douglas Pratley
. Thanks, Luis On 2/16/07, Douglas Pratley [EMAIL PROTECTED] wrote: Hi guys I'm having trouble building a Wireshark RPM with Lua support. I really a Windows (ugh) guy, so I may be missing something obvious. I set up a build environment on Fedora Core 6, installed the libraries

Re: [Wireshark-dev] Saving settings as Profiles

2007-02-16 Thread Douglas Pratley
I'd recommend tackling it in two stages: (a) Do it the normal Wireshark way, with a user_decodes file being read from both the user settings directory and global settings directory at startup (see Appendix A.2 of the users guide), and any changes being saved to the user directory user_decodes

[Wireshark-dev] Building RPM with Lua support

2007-02-16 Thread Douglas Pratley
Hi guys I'm having trouble building a Wireshark RPM with Lua support. I really a Windows (ugh) guy, so I may be missing something obvious. I set up a build environment on Fedora Core 6, installed the libraries for Lua and for ADNS and then said: [my_ws_dir]$ ./autogen.sh [my_ws_dir]$

[Wireshark-dev] Saving settings as Profiles

2007-02-15 Thread Douglas Pratley
Hi guys Following on from recent comments about being able to save user decodes, has anyone been working on being able to save Wireshark settings under different profiles? There's some discussion of this on the Wiki, and it would obviously be a very useful feature if user decodes are persisted.

Re: [Wireshark-dev] [PATCH] User can select dissector based on packet matching display filter

2007-02-15 Thread Douglas Pratley
] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Pratley Sent: 31 January 2007 18:27 To: Developer support list for Wireshark Subject: [Wireshark-dev] [PATCH] User can select dissector based on packet matching display filter Hi

[Wireshark-dev] [PATCH] TShark input and output options

2007-02-13 Thread Douglas Pratley
128 packets). This applies only to TShark, as the code for reading / writing in Wideshark is more widely distributed and I didn't have the time to analyze it fully. Cheers Doug __ Douglas Pratley t +44 845 050 7640 | f +44 845 644 5436 a Detica | PO

Re: [Wireshark-dev] Win32 buildbot unhappy while building docs

2007-02-12 Thread Douglas Pratley
For what it's worth, wsug.validated builds fine on my machine, both using nmake and cygwin make. Unless I've not noticed a commit that fixes this, perhaps this is a problem with the build machine environment? Apologies if you've already got that far in your debugging. Cheers Doug

Re: [Wireshark-dev] Option to allow processing of unrecognisedData-link level PCAP file

2007-02-06 Thread Douglas Pratley
, Douglas Pratley [EMAIL PROTECTED] wrote: Hi guys At the moment, if Wireshark comes across an unexpected data-link level type in the global header when reading a PCAP file, it completely rejects the file. This doesn't allow the user to apply any intelligence, e.g. by manipulating the wtap_encap

[Wireshark-dev] Name resolution

2007-02-05 Thread Douglas Pratley
to have live DNS turned on (with the slowdown that implies). Can anyone confirm this? Might it be more sensible to have a setting that allow the use of the hosts file without live DNS? Cheers Doug __ Douglas Pratley t +44 845 050 7640 | f +44

[Wireshark-dev] Option to allow processing of unrecognised Data-link level PCAP file

2007-02-05 Thread Douglas Pratley
Doug __ Douglas Pratley t +44 845 050 7640 | f +44 845 644 5436 a Detica | PO Box 383 | Horley | Surrey | RH6 7WX | UK __ www.detica.com file:///M:\exchweb\bin\redir.asp?URL=http://www.detica.com

[Wireshark-dev] Controlling Tshark output format

2007-02-01 Thread Douglas Pratley
Hi all I'm looking at implementing a feature from the Wishlist that we would like as well: the ability to control the output of tshark e.g. tshark -Tfields -e ip - e udp - e tcp.port This new format would produce a line per packet, but would do full dissection. ip would dump out the whole

Re: [Wireshark-dev] [PATCH] New menu items to copy packet data

2007-01-31 Thread Douglas Pratley
Of Stephen Fisher Sent: 30 January 2007 19:28 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] [PATCH] New menu items to copy packet data On Mon, Jan 29, 2007 at 10:04:20AM -, Douglas Pratley wrote: Try this - the tar / gzip tools I have on Windows seem to be a bit

Re: [Wireshark-dev] [PATCH] New menu items to copy packet data

2007-01-31 Thread Douglas Pratley
Stephen Fisher wrote: On Mon, Jan 29, 2007 at 10:22:15AM -, Douglas Pratley wrote: Are there any other encodings / decodings it would be worth having available (uuencode? zip?). This might be better done as a full Select bytes and decode / encode feature rather than

Re: [Wireshark-dev] [Wireshark-commits] rev 20609: /trunk/ /trunk/:config.h.win32

2007-01-30 Thread Douglas Pratley
The logic of this looks wrong to me in one sense - the message tells you that your compiler is 14.00 when it is not (I'm still using 12.00). I would have thought it should be reversed, so that given a compiler number, it checks that the variant is one of the accepted values. More importantly, I

Re: [Wireshark-dev] What is View/Display Filter Macros in the menu?!?

2007-01-25 Thread Douglas Pratley
May I suggest that a section is added to the Developers Guide and / or Readme.developer that just points out that the documentation source _is_ part of the Wireshark source and can be found in /docbook and built according to the instructions in the readme there. And that people are expected to

Re: [Wireshark-dev] [PATCH] New menu items to copy packet data

2007-01-22 Thread Douglas Pratley
:59:56PM -, Douglas Pratley wrote: This is a patch adding items to the context menus for the packet list and packet details panes for copying packet data to the clipboard. Looking good so far. I fixed a few warnings about unused variables. BTW, if you have a function call

Re: [Wireshark-dev] [Wireshark-commits] rev 20442: /trunk/tools/lemon/ /trunk/tools/lemon/: lemon.c

2007-01-16 Thread Douglas Pratley
I get a similar crash under Windows. I'm having trouble reverting back to a good baseline without losing today's work, so it would be great if this could be fixed... I'm afraid I can't work out quite what the dependencies are here. Cheers Doug -Original Message- From: [EMAIL PROTECTED]

Re: [Wireshark-dev] Define dissector port

2007-01-15 Thread Douglas Pratley
Hi I don't think there is (if I am wrong, please someone tell me!). I am currently working on allowing the user to force the selection of the next dissector using display filters (initially for TCP and UDP), which I think would do what you want. You would use the display filter tcp.port for all

[Wireshark-dev] [PATCH] New menu items to copy packet data

2007-01-11 Thread Douglas Pratley
wp1_copy.patch Hi This is a patch adding items to the context menus for the packet list and packet details panes for copying packet data to the clipboard. New menu item on packet list pane: Copy (sub menu) - Summary (Text) Copies fields displayed in the packet list, tab

Re: [Wireshark-dev] Are user decodes persisted?

2007-01-05 Thread Douglas Pratley
= tcp_port_table:get_dissector(80) for port in {4888,4889,4890,4891} do tcp_port_table:add(port,http_dissector) end end On 1/5/07, Douglas Pratley [EMAIL PROTECTED] wrote: Thanks for that. I might see if there is a sensible way to (optionally) persist them when I get a moment

[Wireshark-dev] Ability to Decode As arbitrary protocol

2006-12-21 Thread Douglas Pratley
Hiya One thing I'd would like to able to do (and there seemed to be some demand for it in recent mails in the users list) is to be able to select an unexpected protocol to Decode As in the GUI on the fly. Playing around in the code and with Lua, this looks quite easy as a one off - just grab the

Re: [Wireshark-dev] Microsoft Visual C Version 6 support is a bitoutdated ...

2006-12-20 Thread Douglas Pratley
We went through upgrades from MSCV 6 - 7.1 - 8 in my last job. The only real problem we ran into (apart from all the code tweaks in the C++ to make it compile 6 - 7.1, which is not relevant here) was in passing dynamically allocated memory across binary boundaries. If everyone has followed the

Re: [Wireshark-dev] Microsoft Visual C Version 6 support is a bitoutdated ...

2006-12-20 Thread Douglas Pratley
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guy Harris Sent: 20 December 2006 10:36 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Microsoft Visual C Version 6 support is a bitoutdated ... Douglas Pratley wrote

[Wireshark-dev] Adding copy packet data functionality to the packet list and packet details panes

2006-12-15 Thread Douglas Pratley
Hiya There are a few items in the Wishlist about being able to copy packet data to the clipboard that I'm thinking of having a go at (partially) implementing. I'm not going to look at actually being able to edit the packet list, just being able to get data out of Wireshark. I don't want to

Re: [Wireshark-dev] Protocol development

2006-12-13 Thread Douglas Pratley
Unfortunately, I don't think Wireshark can't quite do what you want. I am assuming that you have the protocol stack: Ethernet - maps to next layer by Ethertype field IP - maps to next layer by Protocol field UDP - maps to next layer by Port field your protocol As Sebastien said, the UDP

Re: [Wireshark-dev] Patch adding option to display time asseconds(and fractions) since epoch

2006-12-06 Thread Douglas Pratley
Seconds since 1970-01-01 00:00:00 GMT: 1234567890.123456 (should that be UTC?) is quite a long menu item. I think that there is also an advantage in having the word epoch in there as it ties to the command line 'e' sub-switch to '-t' and the names in the code. I'd favour Seconds since UNIX

Re: [Wireshark-dev] Patch adding option to display time as seconds(and fractions) since epoch

2006-12-05 Thread Douglas Pratley
, Dec 04, 2006 at 03:59:09PM -, Douglas Pratley wrote: Corrected patch; epan/column.c and epan/column_utils.c were not included. This one has now been properly tested against a clean checkout of today's code. - New menu option available under view\time display format - New sub-option (e

Re: [Wireshark-dev] Option to display time in seconds since epoch

2006-12-04 Thread Douglas Pratley
I love the smell of pedantry in the morning; smells like - home. ;-) I was planning to have the fractional precision user-configurable in line with the other timestamp display formats. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guy Harris Sent: 02

[Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch

2006-12-04 Thread Douglas Pratley
- New menu option available under view\time display format - New sub-option (e) to -t switch for both wireshark and tshark - Extended recent settings code to handle new value - Did NOT add new explicit epoch time column Cheers Doug This message should be regarded as confidential. If you have

Re: [Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch - PLEASE HOLD OFF

2006-12-04 Thread Douglas Pratley
difference means no-one has wasted any time on this yet. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Pratley Sent: 04 December 2006 13:37 To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] Patch adding option to display time

[Wireshark-dev] Patch adding option to display time as seconds (and fractions) since epoch

2006-12-04 Thread Douglas Pratley
Corrected patch; epan/column.c and epan/column_utils.c were not included. This one has now been properly tested against a clean checkout of today's code. - New menu option available under view\time display format - New sub-option (e) to -t switch for both wireshark and tshark - Extended recent

Re: [Wireshark-dev] Compiling under MSVC 6.0 - simple Q, clear cut A ?

2006-12-01 Thread Douglas Pratley
[Apologies if this message appears twice - I am having some trouble persuading exchange to be consistent about which SMTP address it uses for outgoing email, and my first try bounced as a non-menber] The wiki tips page has a couple of useful sections on debugging and setting up browse

Re: [Wireshark-dev] Compiling under MSVC 6.0 - simple Q, clear cut A ?

2006-12-01 Thread Douglas Pratley
not quite - the compiler still disables breakpoint in the dissector, as it fails to see the (symbolic) connection. Methinks you need .bsc files for that, which MSVC generates when you compile from the IDE, but apprently nmake does not. any ideas? Douglas Pratley [EMAIL PROTECTED] wrote

[Wireshark-dev] Option to display time in seconds since epoch

2006-12-01 Thread Douglas Pratley
objections to the idea? Regards Doug __ Douglas Pratley - Senior Software Engineer t +44 845 050 7640 | f +44 845 644 5436 a Detica | PO Box 383 | Horley | Surrey | RH6 7WX | UK __ www.detica.com file:///M