LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-10-2008, 05:58 AM   #1
orko
Member
 
Registered: Nov 2003
Location: Chittagong, Bangladesh
Distribution: RHEL 5
Posts: 63

Rep: Reputation: 19
decress icmp reply timing


i've clients behind my linux box. here is the yahoo ping timing from one of my client's pc

C:\Documents and Settings\Razib Shahriar>ping yahoo.com -t

Pinging yahoo.com [216.109.112.135] with 32 bytes of data:

Reply from 216.109.112.135: bytes=32 time=281ms TTL=54
Reply from 216.109.112.135: bytes=32 time=285ms TTL=54
Reply from 216.109.112.135: bytes=32 time=280ms TTL=54
Reply from 216.109.112.135: bytes=32 time=285ms TTL=54
Reply from 216.109.112.135: bytes=32 time=284ms TTL=54


is there anything i can do in my linux box so that ping reply from yahoo.com can be less then 50 ms.
 
Old 03-10-2008, 06:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
more bandwidth, better isp, different country... if you use a tool like mtr or even normal traceroute, you can see the delay between each hop, which would show you where things are getting held up.
 
Old 03-11-2008, 10:11 AM   #3
orko
Member
 
Registered: Nov 2003
Location: Chittagong, Bangladesh
Distribution: RHEL 5
Posts: 63

Original Poster
Rep: Reputation: 19
thanks for your reply,

i know all about this. i want to know is there any way (like using scrpit in linux box) where i can tell if someone ping to specific ip the reply will go 100 ms lesser then real ping time.

thing is something like ......... i've a poor bandwidth, but i want to show the icmp reply is good from certain site.
 
Old 03-11-2008, 10:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Sorry i don't understand what you mean.
 
Old 03-18-2008, 11:36 AM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
No you can't alter a users perceived ping response. The time is calculated by the source host recording the departure and receipt times of the ICMP exchange. There's nothing in the packet that you can alter to change it. You could potentially forge a response to the ping from a local device, but why would you? It wouldn't take anyone long to realise that your lying to them as RTT doesn't just affect ping response is directly affects application response. Forging a ping response doesn't fix you basic problem of high RTT.
 
Old 03-19-2008, 12:44 AM   #6
orko
Member
 
Registered: Nov 2003
Location: Chittagong, Bangladesh
Distribution: RHEL 5
Posts: 63

Original Poster
Rep: Reputation: 19
thanks pete,

its just R&d . never mind.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to start timing and print the timing result on portions of java codes ?? alred Programming 2 05-15-2006 10:00 AM
icmp echo reply wont work pali Linux - Networking 2 08-17-2005 12:34 PM
ICMP traffic archives/writing ICMP traffic in a file maia_1 Programming 0 07-20-2004 03:43 AM
icmpv6_send: no reply to icmp error hip0 Linux - Networking 0 03-23-2004 02:19 AM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration