Line state/colours

Line colours are based on the last cause code reported by RADIUS which depends on whether the line is on-line or off line and why.

The cause codes are defined by the standard (RFC2866) and do not always fit all circumstances.

Logged inLine is logged in, no error
User RequestPPP restart or termination from far end, or L2TP session close from far end
Lost CarrierLCP echo timeout
Lost ServiceL2TP session close with specific message indicating loss of sync
Idle TimeoutUsed to indicate a lost session, e.g. NAS crash
Session TimeoutSession timeout reached (normally after one hour on a blocked login)
Admin ResetManual or remote session or tunnel termination
Admin RebootLNS reboot or other RADIUS accounting issue
Port ErrorL2TP relay failure, or L2TP tunnel level close
NAS ErrorAny unknown internal error in LNS including no negotiation slots (too busy)
NAS RequestSession steering (directed to different LNS)
NAS RebootNot used
Port UnneededTry another response on RADIUS (steering)
Port Pre-emptedSame login twice. As login is based on circuit ID this is not normally seen.
Port SuspendedLine dropped because of an attack
Service UnavailableRADIUS timeout
CallbackNot used
User ErrorAny sort of PPP negotiation failure, or an authentication failure and also some L2TP negotiation errors
Host RequestNot used
BlockedLine is logged in but blocked due to bad password or blocked login
InvalidLine not valid (not installed, or is ceased)