View Single Post
Old 04-17-2006, 02:42 AM   #5 (permalink)
RunUO2874
Forum Novice
 
RunUO2874's Avatar
 
Join Date: Jan 2006
Location: Canada
Age: 21
Posts: 230
Default

You can specify wildcard addresses. RunUO currently supports wildcards * and ?.

The easiest way to support IP ranges is actually with a mod of Core\Utility.cs:IPMatch, however you can do it by parsing the string in Scripts\Accounting\Firewall.cs:IsBlocked and looping through each one.

Actually, you could just rip IPMatch from Utility.cs, put it somewhere in Firewall.cs, and make it handle ranges there. Not a very nice way to do it, but might work.
__________________
Fear anonymity.

Last edited by RunUO2874; 04-17-2006 at 02:45 AM.
RunUO2874 is offline   Reply With Quote