Hycon-0.1.51.jar
What's new
Hycon 0.1.51: security update
Updating is recommended.
SECURITY
- Slow clients can no longer freeze the panel or ban sharing. A client that sent its request one byte at a time could tie the panel up forever. Requests now have 20 seconds to arrive and 120 seconds to be answered.
- Nobody can lock you out of your own account. Five wrong passwords for an account name used to lock that account for everyone. An address that has logged into the account before can now still log in.
- Ban sharing can't be shut off by strangers. A few bad requests from anyone used to lock every follower server out. Now only the address that sent them is locked out.
- BlockedCommands also blocks a command's aliases. Before, a blocked command could be run under another name.
- Proxy addresses can't be faked. With TrustProxy on, the visitor address a proxy sends is only believed from this machine, a private network (LAN, VPN, WireGuard, Tailscale) or the new TrustedProxies list.
- The login page can't be flooded. One address can hold at most 20 login-page sessions.
- Log downloads are OWNER only. Whole log files hold every player's IP address. Moderators still watch the live console.
- The GeoIP download stops at 1 GB unpacked, so a broken file can't fill the disk.
- The jar no longer includes the developer's test files.
OTHER
- Hycon now has a license (LICENSE, also inside the jar): free to use on your servers, no reselling or redistributing the jar.
- A bad filter on the Bugs or Reports list shows "Unknown status" instead of a server error.
ACTION NEEDED FOR SOME SERVERS
If a proxy reaches your panel from a public IP (for example a VPS in front of your game server), add that IP to TrustedProxies in hycon.json, for example: "TrustedProxies": ["203.0.113.7"]
Otherwise every visitor shares the proxy's address for the login limit. If it's missing, the server log names the address to add. Cloudflare Tunnel and proxies on the same machine or a private network need no change.
This mod has no additional files