Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-21 Thread Moshe
> I.e., represent a sequence of packets (of a particular type), rather than representing the raw contents of a file? > To do that, the generator of the fuzzed data would have to generate a sequence of bytes in the form of a sequence of {byte count, bytes} blobs, unless all packets were the same siz

Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-21 Thread Guy Harris
On Dec 21, 2016, at 4:38 AM, Moshe wrote: > I apologize for my lack of clarity. Peter is correct, I am interested in > fuzzing dissectors. > > My plan is to have the sequence of raw bytes represent a pcap file. I.e., represent a sequence of packets (of a particular type), rather than represen

Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-21 Thread Alexis La Goutte
On Wed, Dec 21, 2016 at 1:38 PM, Moshe wrote: > I apologize for my lack of clarity. Peter is correct, I am interested in > fuzzing dissectors. > > My plan is to have the sequence of raw bytes represent a pcap file. There > can be many packets in a single pcap, which would allow testing state > in

Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-21 Thread Moshe
I apologize for my lack of clarity. Peter is correct, I am interested in fuzzing dissectors. My plan is to have the sequence of raw bytes represent a pcap file. There can be many packets in a single pcap, which would allow testing state interactions. Moshe On Dec 21, 2016 6:19 AM, "Guy Harris"

Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-21 Thread Guy Harris
On Dec 21, 2016, at 2:12 AM, Peter Wu wrote: > From the efforts that I have seen, Moshe seems to be targeting the > dissectors functions. Since these may appear over the network, it is > probably one of the more interesting parts to tackle first. Then I'm not sure how well > The second step is

Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-21 Thread Peter Wu
On Tue, Dec 20, 2016 at 09:36:33PM -0800, Guy Harris wrote: > On Dec 20, 2016, at 8:31 PM, Moshe wrote: > > > I've been working on adding Wireshark to Google's oss-fuzz project > > What do you mean by "Wireshark"? > > There are at least two parts of Wireshark that deal with externally-supplied

Re: [Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-20 Thread Guy Harris
On Dec 20, 2016, at 8:31 PM, Moshe wrote: > I've been working on adding Wireshark to Google's oss-fuzz project What do you mean by "Wireshark"? There are at least two parts of Wireshark that deal with externally-supplied data and can be fuzz-tested: 1) the libwiretap library, which re

[Wireshark-dev] Fuzzing Wireshark with oss-fuzz

2016-12-20 Thread Moshe
Hello, I've been working on adding Wireshark to Google's oss-fuzz project, so that Wireshark will benefit from the free CPU power Google is offering. The first step is to adding Wireshark is to submit a request for the project. The Google team merged the request to add Wireshark about 12 hours ag