Wireshark-bugs: [Wireshark-bugs] [Bug 10805] Websocket dissector does not find subdissector corr

Date: Mon, 05 Jan 2015 05:14:02 +0000

Comment # 11 on bug 10805 from
Hi Matin,

Thanks for looking into this issue. I uploaded captured packets and screenshots
for using released and modified wireshark to dissector my packets.

Here is the code in my dissector proto_reg_handoff_viewvc(void) function.

    viewvc_handle = new_register_dissector("viewvc", dissect_viewvc,
proto_viewvc);
    dissector_add_uint("ws.port", VIEWVC_PORT, viewvc_handle);



(In reply to Martin Kaiser from comment #7)
> (In reply to Yang Liu from comment #6)
> > I am trying to create a dissector above websocket protocol, but websocket
> > didn't pass payload to my dissector each time. my protocol is running on
> > port 32123, each time websocket dissector is called pinfo->match_uint = 6,
> > so my dissector never called.
> > 
> 
> Ok.
> 
> The (only) example that I tried had websocket on top of http and match_uint
> was correctly set to 80, probably by dissector_try_uint_new() when going
> from tcp to http.
> 
> Could you share the capture file that you're using so we can check if
> match_uint is set correctly?
> 
> Thanks,
> Martin


You are receiving this mail because:
  • You are watching all bug changes.