All of lore.kernel.org
 help / color / mirror / Atom feed
* using packet filtering to discover TCP end-to-end latency
@ 2007-05-21  4:05 Rohit Grover
  2007-05-21 17:25 ` Martijn Lievaart
  0 siblings, 1 reply; 2+ messages in thread
From: Rohit Grover @ 2007-05-21  4:05 UTC (permalink / raw)
  To: netfilter

Hello,

I need to discover the TCP end-to-end latency between web clients and  
servers transparently (i.e. without altering the clients or the  
servers in any way). I have squid running as a proxy server on a  
linux box, sitting between the clients and the servers. I can have  
the clients change their proxy settings to have requests pass through  
squid. Squid can measure latencies between itself and the web  
servers. The problem is to measure the network latency when squid  
tries to forward the server responses back to clients.

Can packet filtering help me with this? Can I, for example, filter  
for the client ACK of the last bit of data sent from squid back to  
the client?

Also, I still need to device a solution to measure network latency  
experienced by the client's SYN sent to the squid box. Any ideas?

thanks in advance,
Rohit Grover.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using packet filtering to discover TCP end-to-end latency
  2007-05-21  4:05 using packet filtering to discover TCP end-to-end latency Rohit Grover
@ 2007-05-21 17:25 ` Martijn Lievaart
  0 siblings, 0 replies; 2+ messages in thread
From: Martijn Lievaart @ 2007-05-21 17:25 UTC (permalink / raw)
  To: Rohit Grover; +Cc: netfilter

Rohit Grover wrote:
> Hello,
>
> I need to discover the TCP end-to-end latency between web clients and 
> servers transparently (i.e. without altering the clients or the 
> servers in any way). I have squid running as a proxy server on a linux 
> box, sitting between the clients and the servers. I can have the 
> clients change their proxy settings to have requests pass through 
> squid. Squid can measure latencies between itself and the web servers. 
> The problem is to measure the network latency when squid tries to 
> forward the server responses back to clients.
>
> Can packet filtering help me with this? Can I, for example, filter for 
> the client ACK of the last bit of data sent from squid back to the 
> client?
>
> Also, I still need to device a solution to measure network latency 
> experienced by the client's SYN sent to the squid box. Any ideas?
>

I would hire a packeteer for this. Expensive, but is perfect for this 
job. Otherwise, capture with wireshark (formerly Ethereal), export to 
csv, write a small program. (I don't think wireshark has a plugin for 
exactly this).

I would NOT do this with packet filtering unless I need (near) realtime 
analysis. And even then.

HTH,
M4



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-21 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21  4:05 using packet filtering to discover TCP end-to-end latency Rohit Grover
2007-05-21 17:25 ` Martijn Lievaart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.