rolandweber / Pityoulish

A collection of programming/debugging exercises to support a course on Distributed Systems.
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Disable Client IP check when running in the Cloud #117

Closed rolandweber closed 3 years ago

rolandweber commented 4 years ago

The Socket server grants at most one ticket per client IP. That was nice in the classroom, when everyone connected directly to the same WLAN. But it doesn't work when the server is hosted in a Kubernetes cluster in the Cloud. There's a routing component in the way, and all the client IPs are the same.

Disable the client IP check when running as a pod.

rolandweber commented 4 years ago

Had to do that live during the online lecture. But that was just a hack that disabled the check unconditionally.

rolandweber commented 3 years ago

Same problem with the RMI server.