You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add status reporting, unbanning, modify message limits
Status can now be grabbed from LAN by sending "send report" as text message on channel 0.
Status includes the current client list, channel list, ban list and server statistics.
You can also unban IPs by sending e.g. "unban 127.0.0.1" as text message on subchannel 0. Currently no command exists to ban an IP, shut down the server, or change server limits.
Note Darkwire is also a trusted IP; you can remove it in the IsIPTrusted function.
The server statistics of messages/bytes are dumped at end of app, triggered by Ctrl-C in console. Console input is not listened to, so you must either use the send report feature to see the statistics otherwise.
Note ban entries are not kept across reboots.
The message limit was modified so UDP messages are dropped if 4/5ths of the limit is reached. For example, if maximum sent messages is 100 b/s, any UDP beyond 80 b is dropped; TCP is not dropped if it's within 80-100b/s, but going beyond 100 b/s will trigger a kick.
Essentially, this means clients can send more TCP even if they've reached the soft UDP limit.
0 commit comments