Ask Your Question

JCAMP's profile - activity

2024-03-19 15:40:28 +0000 received badge  Famous Question (source)
2024-03-19 15:23:54 +0000 received badge  Famous Question (source)
2024-03-19 15:23:54 +0000 received badge  Notable Question (source)
2021-05-16 18:03:04 +0000 received badge  Notable Question (source)
2021-04-26 06:54:11 +0000 received badge  Popular Question (source)
2020-10-27 17:14:10 +0000 received badge  Popular Question (source)
2020-10-11 02:33:06 +0000 received badge  Popular Question (source)
2019-01-08 12:15:12 +0000 edited question How to dissect packets whose destination IP lies within a range of IP addresses

How to dissect packets whose destination IP lies within a range of IP addresses I'm trying to only dissect packets whose

2019-01-08 12:15:11 +0000 edited question How to dissect packets whose destination IP lies within a range of IP addresses

How to find the destination IP of a packet within the dissector I'm trying to only dissect packets whose destination add

2019-01-08 10:57:53 +0000 commented answer How to dissect packets whose destination IP lies within a range of IP addresses

So the prototype of using IPs that are equals works. But how do I compare against an upper and lower bound of IPs that t

2019-01-08 10:43:18 +0000 commented answer How to dissect packets whose destination IP lies within a range of IP addresses

My mistake, I am now

2019-01-08 10:12:53 +0000 marked best answer How to dissect packets whose destination IP lies within a range of IP addresses

I'm trying to only dissect packets whose destination address is within a range of IP addresses. E.g. all packets between 130.0.0.1 and 130.255.255.255. How do I take the destination IP address from the packet and compare it to the upper and lower bound of the IP addresses to be dissected?

As a prototype I've tried making a variable of type address and setting the values to what I think they should be. So type AT_IPv4, len = 4, and data pointing to an array that is 4 bytes long, with those being set to that of the destination ip address of the packets. But when I use cmp_address(&pinfo->dst, &ip)==1 it comes out as false, have tried using net_dst instead of dst and I get the same result.

2019-01-08 09:56:22 +0000 edited question How to dissect packets whose destination IP lies within a range of IP addresses

How to find the destination IP of a packet within the dissector I'm trying to only dissect packets whose destination add

2019-01-07 16:59:00 +0000 received badge  Editor (source)
2019-01-07 16:59:00 +0000 edited question How to dissect packets whose destination IP lies within a range of IP addresses

How to find the destination IP of a packet within the dissector I'm trying to only dissect packets whose destination add

2019-01-07 16:40:25 +0000 marked best answer Dissector doesn't do anything

I've followed the instructions in this video from SharkFest Wireshark Developer and User Conference: https://www.youtube.com/watch?v=biNdE... about making a dissector for TCP traffic. However, once I've built the dissector (In C) and put the .c file into /usr/local/include/wireshark/epan/dissectors and run wireshark, all TCP traffic on the specified FOO_PORT still shows as TCP, and not FOO, and it isn't dissected. Has anybody else followed this video (the last 15 minutes is the C part) and come across this?

2019-01-07 16:37:41 +0000 asked a question How to dissect packets whose destination IP lies within a range of IP addresses

How to find the destination IP of a packet within the dissector I'm trying to only dissect packets whose destination add

2019-01-07 15:55:16 +0000 marked best answer How do I only dissect packets within a range of IP addresses but any port?

I'd like to dissect UDP packets whose destination IP address is within a range of IP addresses. I seem to be able to have my dissector working on a particular port using dissector_add_uint("udp.port", PORT, pro_handle) but I'd like to dissect UDP packets to any port, but with a particular IP address.

2019-01-07 15:55:16 +0000 received badge  Scholar (source)
2019-01-07 15:31:00 +0000 commented answer How do I only dissect packets within a range of IP addresses but any port?

Thank you. Do you know how to get the destination IP address from the packet within the dissector? I've tried many appro

2019-01-04 10:19:32 +0000 asked a question How do I only dissect packets within a range of IP addresses but any port?

How do I only dissect packets within a range of IP addresses but any port? I'd like to dissect UDP packets whose destina

2018-12-20 20:26:07 +0000 commented answer Dissector doesn't do anything

A tarball. All of the files in that directory are .h files, is that normal? Thank you very much for the link.

2018-12-20 20:22:30 +0000 commented answer Register routine, register_tap_listener, register_wtap_module, register_codec_module routines

Yes, that's exactly what I'm trying to do.

2018-12-20 17:20:57 +0000 commented answer Register routine, register_tap_listener, register_wtap_module, register_codec_module routines

Hi. Yes I've got that routine in my code. Do I simply add the lib DissectorLib.so file into usr/local/lib/wireshark/plug

2018-12-20 17:17:44 +0000 commented answer Dissector doesn't do anything

The perfect person to answer then! I don't seem to have the CMakeLists.txt file in the epan/dissectors directory. Can I

2018-12-20 16:45:42 +0000 asked a question Dissector doesn't do anything

Dissector doesn't do anything I've followed the instructions in this video from SharkFest Wireshark Developer and User C

2018-12-20 16:39:42 +0000 asked a question Register routine, register_tap_listener, register_wtap_module, register_codec_module routines

Register Routine, Register_tap_listener, Register_wtap_module, Register_codec_module routines I've followed chapter 9 to