CrushMFT Documentation

Listeners#

A listener is a port, or a range of ports, that CrushBalance accepts clients on, together with the CrushMFT servers (endpoints) it passes them to. The Listeners page shows all of them and is where you add, start, stop and remove them. Concepts explains the listener modes.

The Listeners page

A listener's card#

Part Shows
Name and colour the name you gave it (or its address), in its colour on the map and in charts
Mode TCP, TLS, HTTP or HTTPS
State Running; Stopped (you stopped it); Unlicensed (register first); Bind error (the port is taken or not allowed, with the reason); Config error; No endpoints
Address the address and port, or a range such as "40000–40099 (100 ports)"
Live active connections and new connections per second
Endpoints how many there are and how many are up, down or unknown
Problems a bind or configuration error, "Paused" when a connection limit is reached, and warnings about its settings

Edit opens the listener editor. Stop stops accepting new clients at once; sessions that are open continue until they end. Start opens the port again.

The ⋯ menu has:

  • Duplicate: a copy with the name "… (copy)", stopped, so it cannot collide on the port before you change it. Passwords are not copied; enter them again.
  • View connections: the Connections page for this listener.
  • Delete: removes the listener. It stops accepting at once, and open sessions continue until they end. With open sessions you type the name to confirm.

Add a listener#

Add listener offers three templates and a blank listener. A template only fills in a listener for you: you see everything it made and can change any value before you save.

The listener templates

Template Makes Page
HTTPS for CrushMFT WebInterface one https listener with CrushAuth cookie stickiness and the PROXY header Template: HTTPS for CrushMFT WebInterface
FTP with passive ranges one control listener plus one passive port range per CrushMFT server, and the list of CrushMFT settings to apply Template: FTP with passive ranges
TCP or TLS one listener for SFTP, FTPS pass-through or any other TCP service; it can end TLS Template: TCP or TLS
Blank listener an empty listener that you fill in field by field in the listener editor

A new listener starts as soon as you save it, if CrushBalance is registered.

What a change does to open sessions#

  • Changing the address, port or enabled state closes and reopens the listener's port; open sessions continue.
  • Every other change applies to new connections. On http and https listeners, each request is routed with the current endpoints and rules, so changes also apply from the next request of an open session.
  • Open sessions are never cut by a change, a stop or a delete.