ports live in /etc/services
CS-Wide Traffic
The best source is to run Wireshark on Knuth
(i.e., run ssh -Y username@knuth.cs.hmc.edu wireshark
from a machine that has X11 installed)
All of Knuth's traffic should be visible (mostly SSH, LDAP, NFS, and DNS, of course,
but also a certain amount of NTP, HTTP, IPP, and random other stuff)
as well as traffic from the two virtual machines running on Knuth:
Vilkes (the VM that should be replacing the decade old Wilkes hardware at some point) and Parchmon (a Windows 10 virtual machine that monitors usage/supplies/errors on the Xerox copier and periodically reports back to the company we lease it from).
Also, all the usual random broadcast/multicast traffic:
ARP, IPv6 Neighbor Discovery, Simple Service Discovery Protocol
(a UPnP thing that Parchmon is constantly doing),
Dropbox LAN Sync, NetBIOS Name
Service (Windows), MDNS, DHCP, STP, LLDP, etc.
DNS & DHCP
On VLAN 42fixed IPv4 addresses are used.
That includes CS lab Macs.
Addresses are assignedto the Macs with DHCP,
but the DHCP server has a table mapping MAC addresses to IP addresses,
so it always hands out the correct (and same) address to each machine.
This is also why you cannot just plug a random machine into VLAN 42
and get an address; if the DHCP mapping does not have an address for your MAC address,
then you don’t get an address.
On VLANs 40, 41, and 43 we hand out random addresses to anyone who asks for one.
There is a standard for dynamic DNS (RFC 2136)
where hosts can register changes to DNS whenever
they get a new IP address, but we don’t currently use it for that.
(We do use RFC 2136 for some other stuff,
e.g., creating temporary TXT records for performing dns-01 challenges
(https://tools.ietf.org/html/draft-ietf-acme-acme-14) and to request TLS certificates from letsencrypt.org.)
ssh -X ‹your-id›@knuth.cs.hmc.edu
where ‹your-id›
is your id (e.g., if your id is mjones, use ssh -X mjones@