* [LARTC] ping can do DS?????
@ 2001-05-18 7:38 Juergen
2001-05-18 10:23 ` Wingtung.Leung
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Juergen @ 2001-05-18 7:38 UTC (permalink / raw)
To: lartc
Today I try a little function in "ping www.yam.com -Q 40" for DS.
And it's workable.
ToS Byte is modify by ping command.
But I thought it's a strange situation.
If that mean that I can use ping for DS high level support???? (Like AF 11)
And it can modify DS field by itself, no need for root's promiss????
(I use ping command without root commission)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] ping can do DS?????
2001-05-18 7:38 [LARTC] ping can do DS????? Juergen
@ 2001-05-18 10:23 ` Wingtung.Leung
2001-05-18 11:41 ` Kurt Wagner
2001-05-18 12:00 ` Juergen Chiu
2 siblings, 0 replies; 4+ messages in thread
From: Wingtung.Leung @ 2001-05-18 10:23 UTC (permalink / raw)
To: lartc
On Fri, 18 May 2001, Juergen wrote:
> Today I try a little function in "ping www.yam.com -Q 40" for DS.
> And it's workable.
> ToS Byte is modify by ping command.
> But I thought it's a strange situation.
> If that mean that I can use ping for DS high level support???? (Like AF 11)
> And it can modify DS field by itself, no need for root's promiss????
> (I use ping command without root commission)
I don't have the -Q option for the ping command, what does it doe on your
system?
Know that ping uses a special type of IP packets, ICMP. I wouldn't be
surprised if the system changes the DS field automaticly.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] ping can do DS?????
2001-05-18 7:38 [LARTC] ping can do DS????? Juergen
2001-05-18 10:23 ` Wingtung.Leung
@ 2001-05-18 11:41 ` Kurt Wagner
2001-05-18 12:00 ` Juergen Chiu
2 siblings, 0 replies; 4+ messages in thread
From: Kurt Wagner @ 2001-05-18 11:41 UTC (permalink / raw)
To: lartc
Hi,
> I don't have the -Q option for the ping command, what does it doe on your
> system?
as far as I can guess he talkes about Alexy's ping clone from the iputils
package. It is a enhanced ping with more options, like "-Q".
host_10.0.0.1: ping -help
Usage: ping [-LRUbdfnqrvV] [-c count] [-i interval] [-w wait]
[-p pattern] [-s packetsize] [-t ttl] [-I interface address]
[ -T timestamp option ] [ -Q tos ] host
> Know that ping uses a special type of IP packets, ICMP. I wouldn't be
> surprised if the system changes the DS field automaticly.
Jep, the app sets the DS field (the former TOS field) in the IP
header of the ICMP echo request packets to the choosen value (via
setsockopt). Quit useful for (diffserv) testing...
host_10.0.0.1: ping -Q 0x1a 10.0.0.2
PING 10.0.0.2 (10.0.0.2) from 10.0.0.1 : 56(84) bytes of data.
64 bytes from 10.0.0.2 (10.0.0.2): icmp_seq=0 ttl$4 timeB.965 msec
host_10.0.0.2>: tcpdump icmp
10.0.0.1 > 10.0.0.2: icmp: echo request (DF) [tos 0x1a,ECT]
10.0.0.2 > 10.0.0.1: icmp: echo reply (DF) [tos 0x1a,ECT]
And, look - it really works. Heureka! :)
Kurt
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] ping can do DS?????
2001-05-18 7:38 [LARTC] ping can do DS????? Juergen
2001-05-18 10:23 ` Wingtung.Leung
2001-05-18 11:41 ` Kurt Wagner
@ 2001-05-18 12:00 ` Juergen Chiu
2 siblings, 0 replies; 4+ messages in thread
From: Juergen Chiu @ 2001-05-18 12:00 UTC (permalink / raw)
To: lartc
Hi,
Maybe you have seen my question about the "ping -Q"...
I feel strange that -Q is for what goal?????
For DiffServ is useless even it can modify the TOS byte, or it's really
for the Router which has DiffServ function???
In my opinion, I think ping is just one time a request and a reply msg.
So I am not sure that ping -Q is for the DiffServ or just for comfortable
to test DiffServ???
Please give me some advice...thx!!!!
On Fri, 18 May 2001, Kurt Wagner wrote:
> Hi,
>
> > I don't have the -Q option for the ping command, what does it doe on your
> > system?
>
> as far as I can guess he talkes about Alexy's ping clone from the iputils
> package. It is a enhanced ping with more options, like "-Q".
>
>
> host_10.0.0.1: ping -help
> Usage: ping [-LRUbdfnqrvV] [-c count] [-i interval] [-w wait]
> [-p pattern] [-s packetsize] [-t ttl] [-I interface address]
> [ -T timestamp option ] [ -Q tos ] host
>
> > Know that ping uses a special type of IP packets, ICMP. I wouldn't be
> > surprised if the system changes the DS field automaticly.
>
> Jep, the app sets the DS field (the former TOS field) in the IP
> header of the ICMP echo request packets to the choosen value (via
> setsockopt). Quit useful for (diffserv) testing...
>
>
> host_10.0.0.1: ping -Q 0x1a 10.0.0.2
> PING 10.0.0.2 (10.0.0.2) from 10.0.0.1 : 56(84) bytes of data.
> 64 bytes from 10.0.0.2 (10.0.0.2): icmp_seq=0 ttl$4 timeB.965 msec
>
> host_10.0.0.2>: tcpdump icmp
> 10.0.0.1 > 10.0.0.2: icmp: echo request (DF) [tos 0x1a,ECT]
> 10.0.0.2 > 10.0.0.1: icmp: echo reply (DF) [tos 0x1a,ECT]
>
> And, look - it really works. Heureka! :)
>
>
> Kurt
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-05-18 12:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-18 7:38 [LARTC] ping can do DS????? Juergen
2001-05-18 10:23 ` Wingtung.Leung
2001-05-18 11:41 ` Kurt Wagner
2001-05-18 12:00 ` Juergen Chiu
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.