Artur Bergman (crucially) wrote,
Artur Bergman

Some more hacking and neonlights is starting to do something useful.

The packet loss is actually retried packets, which is subtly and sadly not the same. In fact, since this dump was run on the destination, we can assume that retries from src is actually acks getting lost from the destination to the source, which would be packet loss from dst->src and not as indicated src->dst.

It currently does around 1000 packets per second on my laptop. By rewriting the core in C, I hope to avoid the marshal cost.

Code is at and is even commented, but undocumented.

Streams: : 3268
Total Packets : 101012
Total Retries : 6881
Packet loss % : 6.81
Avg packets/stream: 30
Avg retries/stream: 2
***** FROM src ****
Total Packets : 59976
Total Retries : 6016
Packet Loss : 10.03%
Avg packets/stream: 18
Avg retries/stream: 1
***** FROM dst ****
Total Packets : 41036
Total Retries : 865
Packet Loss : 2.11%
Avg packets/stream: 12
Avg retries/stream: 0
Tags: hacking

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.