diff options
author | Adam Frisby | 2009-05-11 19:23:51 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-11 19:23:51 +0000 |
commit | 6dcafec22d560c50625c8a391701606a1a0bb363 (patch) | |
tree | 6e0199901946f9a0b7a9797bbc85a30c2b094288 /OpenSim/Framework/Client/IClientIPEndpoint.cs | |
parent | Add selling for $0 back to the sample economy module. This is disabled by (diff) | |
download | opensim-SC-6dcafec22d560c50625c8a391701606a1a0bb363.zip opensim-SC-6dcafec22d560c50625c8a391701606a1a0bb363.tar.gz opensim-SC-6dcafec22d560c50625c8a391701606a1a0bb363.tar.bz2 opensim-SC-6dcafec22d560c50625c8a391701606a1a0bb363.tar.xz |
* Implements IP and DNS based ban facilities to OpenSim.
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;
DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.
IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
Diffstat (limited to 'OpenSim/Framework/Client/IClientIPEndpoint.cs')
-rw-r--r-- | OpenSim/Framework/Client/IClientIPEndpoint.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/Client/IClientIPEndpoint.cs b/OpenSim/Framework/Client/IClientIPEndpoint.cs new file mode 100644 index 0000000..b80dea5 --- /dev/null +++ b/OpenSim/Framework/Client/IClientIPEndpoint.cs | |||
@@ -0,0 +1,12 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Net; | ||
4 | using System.Text; | ||
5 | |||
6 | namespace OpenSim.Framework.Client | ||
7 | { | ||
8 | public interface IClientIPEndpoint | ||
9 | { | ||
10 | IPAddress EndPoint { get; } | ||
11 | } | ||
12 | } | ||