Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Richard Sharpe
On Thu, Apr 15, 2021 at 1:23 PM Guy Harris wrote: > > On Apr 15, 2021, at 2:03 AM, Graham Bloice > wrote: > > > Wireshark is a complicated project to build. You can follow the tested > > way, as shown in the Developers Guide, which is essentially what our > > Continuous Integration (CI)

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Guy Harris
On Apr 15, 2021, at 3:46 PM, Vincent Randal wrote: > I managed to save my terminal window contents. It's over 1MB compressed. $ mkdir build.wireshark $ cd build.wireshark $ cmake .. >cmake.out 2>&1 $ make -j 16 >errs 2>&1 $ ls -lh cmake.out errs

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-15 Thread Vincent Randal
Hi Graham, Thank you for taking the time to help with some potential misconceptions. I apologize for not replying to your concerns sooner. I can reassure you we have the same understanding regarding the role of cmake and make in the build process. When I refer to cmake I mean the build method

[Wireshark-dev] packet-dns.c - how to get field value

2021-04-15 Thread chuck c
add_rr_to_tree() add_opt_rr_to_tree() proto_tree_add_item(rr_tree, hf_dns_rr_len, tvb, offset, 2, ENC_BIG_ENDIAN); dissect_dns_answer() case T_PTR: /* Domain Name Pointer (12) */ { const gchar *pname; int pname_len; used_bytes = get_dns_name(tvb, cur_offset,

[Wireshark-dev] Wireshark not dissecting ONC RPC on a different port in build 3.4.4 and an older build but OK on Master?

2021-04-15 Thread Richard Sharpe
Hi folks, I am seeing a weird problem. I grabbed a capture today from a CentOS 7.6-based system that contains some SMB2 traffic and some NFS traffic (on a non-standard port). Wireshark 3.4.4 on Windows will not dissect the RPC packets and thus the NFS packets. However, it will dissect a similar

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Vincent Randal
Hi Pascal, Guy, and numerous others, I managed to save my terminal window contents. It's over 1MB compressed. If I cannot reproduce the problem I will look through that. Thank you, Vincent On Thu, Apr 15, 2021 at 9:10 AM Vincent Randal wrote: > Hi Pascal, > > Where is the build log? I've

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Graham Bloice
On Thu, 15 Apr 2021 at 21:23, Guy Harris wrote: > On Apr 15, 2021, at 2:03 AM, Graham Bloice > wrote: > > > Wireshark is a complicated project to build. You can follow the tested > way, as shown in the Developers Guide, which is essentially what our > Continuous Integration (CI) systems use

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Guy Harris
On Apr 15, 2021, at 2:03 AM, Graham Bloice wrote: > Wireshark is a complicated project to build. You can follow the tested way, > as shown in the Developers Guide, which is essentially what our Continuous > Integration (CI) systems use and most other developers, or you can forge your > own

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Guy Harris
On Apr 15, 2021, at 8:10 AM, Vincent Randal wrote: > Where is the build log? In the file to which you redirected the standard output and error of the make command - or the file created by tee, if piped the standard output and error of the make command to "tee errs" so that the errors are

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Vincent Randal
Hi Pascal, Where is the build log? I've since rebuilt Wireshark successfully in ./build as Graham wisely suggests. This thing is not easy to reproduce. There may be something unstable about my build environment on Ubuntu 18.04 if that even makes sense. What I do have is the build output to the

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Graham Bloice
Wireshark is a complicated project to build. You can follow the tested way, as shown in the Developers Guide, which is essentially what our Continuous Integration (CI) systems use and most other developers, or you can forge your own path on less travelled routes strewn with rocks, rusty nails and

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Pascal Quantin
Hi Vincent, Le jeu. 15 avr. 2021 à 10:52, Vincent Randal a écrit : > (1) There is no error message other than it fails immediately when > beginning building "qtui" (at about 70% of the way into make for > wireshark-3.4.4) > You should have an error message, please check above in the build log.

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Vincent Randal
(1) There is no error message other than it fails immediately when beginning building "qtui" (at about 70% of the way into make for wireshark-3.4.4) (2) Good point. Wireshark uses dissectors to provide details of packets, as you point out. So then the dissector source code provides the details of

Re: [Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Guy Harris
On Apr 15, 2021, at 12:55 AM, Vincent Randal wrote: > (1) building Wireshark in build.wireshark fails > The solution here is to use "build" as the name of the build directory and > then make succeeds. Otherwise, if the build directory has some other name > like build.wireshark then make fails

[Wireshark-dev] (1) building Wireshark in build.wireshark fails, (2) how to get dissector details without packet

2021-04-15 Thread Vincent Randal
Hello, (1) building Wireshark in build.wireshark fails The solution here is to use "build" as the name of the build directory and then make succeeds. Otherwise, if the build directory has some other name like build.wireshark then make fails at about 70% when building qtui. Why do I want to name