From d4db2b84f250b98ec3422f2be9951f567e6dc97e Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 25 Aug 2011 00:36:04 -0400 Subject: Made the IsValidHost checks configurable --- data/hostserv.example.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'data') diff --git a/data/hostserv.example.conf b/data/hostserv.example.conf index 575c6a416..7e6156374 100644 --- a/data/hostserv.example.conf +++ b/data/hostserv.example.conf @@ -64,6 +64,34 @@ hostserv * The name of the client that should be HostServ. */ name = "HostServ" + + /* + * The characters allowed in a vhost. Changing this is not recommended unless + * you know for sure your IRCd supports whatever characters you are wanting to use. + * Telling services to set a vhost containing characters your IRCd disallows could + * potentially break the IRCd and/or Services. Note these are 1 byte characters, so + * UTF-8 characters will not work. + * + * It is recommended you DON'T change this. + */ + vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJMLMNOPQRSTUVWXYZ0123456789.-" + + /* + * If set, allows vhosts to not contain dots (.). + * Newer IRCds generally do not have a problem with this, but the same warning as + * vhost_chars applies. + * + * It is recommended you DON'T change this. + */ + allow_undotted_vhosts = false + + /* + * The characters that are not allowed to be at the very beginning or very ending + * of a vhost. The same warning as vhost_chars applies. + * + * It is recommended you DON'T change this. + */ + disallow_start_or_end = ".-" } /* -- cgit