painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

Allow configurable TID and TRP ports #86

Closed jennifer-richards closed 6 years ago

jennifer-richards commented 6 years ago

This wound up being more involved than I'd expected / hoped...

The TID and TRP ports for the trust router are configurable parameters. These were used to decide which ports to listen on, which would permit TID requests to be processed and TRP connections to be made. However, the dynamic trust router features assumed the default ports were being used in several places, making the system unusable on other than the default ports.

This pull request fixes this by representing the port as hostname:port in update messages, filter comparisons, and AAA server addresses. It is minimally tested at this point, but compiles and runs.

jennifer-richards commented 6 years ago

Updated to accept an IPv6 address as [::1] or [::1]:12309.