Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For the Planetlab landmarks an interpretive script (also see here for the original is supplied with the target ($target) and the number of pings ($ping) to make. For the SLAC ping servers and the Looking glass sites the landmark is accessed by a URL provided in the sites.txt file (see below) in the PingSites token (e.g. http://www.slac.stanford.edu/cgi-wrap/nph-traceroute.pl?choice=yes&function=trace&target=$target).

 It can also be called from the command line, e.g.
>setenv REMOTE_ADDR 134.79.18.134; perl -d -T bin/reflector.cgi "region=northamerica&target=134.79.16.9&tier=0&type=slac"
However unless you have  a PlanetLab cookie for your host it will not fully work

Files

 The list of SLAC and Looking Glass landmarks is read from /afs/slac/www/comp/net/wan-mon/tulip>ne sites.txt. the format is space separated tokens:

...

Simultaneous landmarks

Parallel requests / landmark

Request timeout

Duration (secs)

 20

5

2

50

20

5

10

60

10

5

2

88

40

5

2

34

20

10

2

50

Testing


20

10

2

50

Testing

 It can be tested from a web browser by entering the URL (e.g. from a browser or from wget), e.g.

Code Block

http://www-wanmon.slac.stanford.edu/cgi-wrap/reflector.cgi?region=northamerica&target=134.79.16.9

It can also be called from the command line It can be tested from a web browser by entering the URL, e.g.

...

>setenv REMOTE_ADDR 134.79.18.134; perl -d -T bin/reflector.cgi

...

"region=northamerica&target=134.79.16.9

...

&tier=0&type=slac"
However unless you have  a PlanetLab cookie for your host it will not fully work.

Sample Scripts

traceroute.pl: This script has been written with special security considerations so it will help in implementing reflector.cgi

...