Versions Compared

Key

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

...

Code Block
knoppix@0[~]$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 *:8100                  *:*                     LISTEN     
tcp        0      0 *:bootpc                *:*                     LISTEN     
tcp        0      0 *:8200                  *:*                     LISTEN     
tcp        0      0 *:3765                  *:*                     LISTEN     
tcp6       0      0 *:7123                  *:*                     LISTEN     
tcp6       0      0 *:ssh                   *:*                     LISTEN     
tcp6       0      0 *:4823                  *:*                     LISTEN     
tcp6       0      0 *:3001                  *:*                     LISTEN     
tcp6       0      0 *:861                   *:*                     LISTEN     
tcp6       0      0 ::ffff:172.16.203.1:ssh ::ffff:172.16.203:54248 ESTABLISHED
udp        0      0 172.16.203.130:ntp      *:*                                
udp        0      0 NPToolkit:ntp           *:*                                
udp        0      0 *:ntp                   *:*                                
udp6       0      0 fe80::20c:29ff:fe1b:ntp *:*                                
udp6       0      0 ip6-localhost:ntp       *:*                                
udp6       0      0 *:ntp                   *:*                                  

Setting up Syslog

Add the following code for syslog configuration in knoppix.sh.

Note that SSH is on only for this demo.

The use of ipv6 is becauase the virtual machine is networked over ipv6.

Port

Use

Information

8100

NPAD Control

Does not respond to HTTP

8200

NPAD

Traceroutes

3765

Reverse (SLAC) Traceroute server

cgi scripts

3001

Network Diagnostics Tool

Performance testing port

7123

Network Diagnostics Tool

web frontend to java applet for performance tests

4823

bwctl

bandwidth measurement

861

owamp

One way delay measurements

On top of this list, iperf instances instantiated through bwctl must also have some ports (tcp) open for tcp tests. The default range is 5001-5100.

Also NPAD requires ports 8002-8020 open.

Setting up Syslog

The syslog daemon starts on default. It can be customised with a copy of the syslog.conf file.

Add the following code for syslog configuration in knoppix.sh.

Code Block

# Syslog configuration
Code Block

# Syslog configuration
if [ -f /UNIONFS/media/$MNT/NPTools/syslog.conf ]; then
    restore_NPT_file $MNT syslog.conf /etc/
fi

The standard syslog.conf was copied from the slac machinesused from a slac machines (however, as netlog is accessible from anywhere by the slac subnet, this may be somewhat limited).

Testing Services

ntp

Code Block
knoppix@0[~]$ cp /etc/ntp.conf /mnt/sdb1/NPTools/

...