1. 8
    1. 2

      This is a test harness for the TCP implementation that allows it to be run entirely in userland.

      Does Haiku use the FreeBSD network stack, and, if so, does this share code with libuinet?

      Being able to run pcap files against the network stack sounds really useful for fuzzing.

      1. 3

        Does Haiku use the FreeBSD network stack

        No, we do not; so no code is shared here.

        It’s also just a shell for the TCP implementation and nothing else; it doesn’t run the IPv4/v6 portions of the stack, or the routing logic, etc.

        Being able to run pcap files against the network stack sounds really useful for fuzzing.

        Ah, that’s not what the changes described in the report were about; that was just about adding a way to dump packets from the userland test harness into a pcap file. But in fact replaying pcap files can already be done with “tcpreplay”, I think.