Skip Menu |
 

This queue is for tickets about the AnyEvent-Ping-TCP CPAN distribution.

Report information
The Basics
Id: 123574
Status: new
Priority: 0/
Queue: AnyEvent-Ping-TCP

People
Owner: Nobody in particular
Requestors: kl [...] vsen.dk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Exposing counter - to track packagedrop?
Download (untitled) / with headers
text/plain 483b
I was wondering if you could expose the counter.. that tcp_ping_syn maintains.. So f.ex. if I run tcp_ping_syn 100 times against a specific host:port combination.. I would like to get a count of how many ack's was returned (a number less than 100 - would mean a package was dropped)? The best way would probably be to have a seperate function tcp_ping_droprate - where you can get the count of sent and received syn/ack's and percent missed? That wouldn't break existing usage.
From: kl [...] vsen.dk
Download (untitled) / with headers
text/plain 462b
Currently I do packagedrop calculations - by sending one ping.. for each endpoint to test.. and then run the corresponding ack (which means I'll wait for $timeout) - and count if I got $latency (otherwise that means the package never got an ack).. that works for calculating packagedrops.. and I have found some targets (when I send 100 tcp_syn's - having a few percentage package drops).. but it also means the test takes 100x$timeout when the port is closed :(


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.