jonm / SillyMUD

SillyMUD, a derivative of DikuMud
Other
8 stars 5 forks source link

Enhanced wizard security #69

Closed jonm closed 8 years ago

jonm commented 8 years ago

Supports specifying multiple rules in a security file, and then checks the address of the currently connected socket against the rules; if one matches then the wizard character is allowed in.

Rules can be any of:

Addresses #57.

dangitall commented 8 years ago

Why didn't putting ::1 in the security file work for me? </ipv6 newb>

jonm commented 8 years ago

Well, this is probably because the game currently only listens on an IPv4 (AF_INET) socket and hence you connected from 127.0.0.1 and not ::1.

Until #68 is done this won't work; I just did both IPv4 and IPv6 at the same time to make the security implementation forward compatible.