Implement tracking of remote ports.