1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 23:54:47 +02:00

3430 Commits

Author SHA1 Message Date
Bram Matthys b1aae19ed5 Huh? Guess this 'branch protection' thing from GitHub isn't working. 2016-12-05 10:11:26 +01:00
Bram Matthys f31a55eaaa Cleanup src/Makefile as per ohnobinki's suggestion in #3979. 2016-12-05 10:07:16 +01:00
Bram Matthys ce27d8d8ed Accidental commit to 3.2.x branch. Reverting. 2016-12-05 09:44:12 +01:00
Bram Matthys 25af5338e3 Merge pull request #62 from Adam-/master+svsmoded
Services coders: you can now set "SVSMODE Nick +d" to set the 'deaf' user mode. Note that "SVSMODE Nick +d svsidhere" also still works.
This should be a harmless change, unless some services packages are accidentally trying to set emtpy svsids like "SVSMODE Nick +d "... if you do, then the target nick will be deaf now..
2016-12-05 09:40:29 +01:00
Adam 1e7391b9ba m_svsmode.c: allow setting +d 2016-09-14 20:36:10 -04:00
Bram Matthys 91e5639a77 3.2.10.7 2016-09-03 20:50:01 +02:00
Bram Matthys fb629bd489 Fix AUTHENTICATE bug (SASL) 2016-09-03 20:09:12 +02:00
Bram Matthys f72a982a82 Add dialog box. That should be the last change for 3.2.10.6. I hope. 2015-12-11 10:32:54 +01:00
Bram Matthys 059605c341 Update example.*conf: those are not for 'Unreal3.2 and higher' but 'Unreal3.2.x' 2015-12-11 10:17:25 +01:00
Bram Matthys 07ad68e3d4 .6 yes 2015-12-11 10:08:41 +01:00
Bram Matthys 0fa129325e UnrealIRCd 3.2.10.6 release 2015-12-11 10:05:50 +01:00
Bram Matthys 46314dc3bb Add red header saying this documentation is about UnrealIRCd 3.2.x and refer to the UnrealIRCd 4 documentation. 2015-11-09 17:11:21 +01:00
Bram Matthys 78f1540ec5 UnrealIRCd 3.2.10.5 release 2015-08-16 15:05:42 +02:00
Bram Matthys b7e579df89 Self-signed certificates generated with 'make pem' are now 4096 bits and valid for 10 years. Also use SHA256 for signing. 2015-05-18 12:22:23 +02:00
Bram Matthys 1f9f12660a init_ctx_client() was accidentally setting options on ctx_server. Reported by Jobe (#4346). 2015-05-18 12:06:49 +02:00
Bram Matthys af0e823116 Fix out-of-bounds read in parse_.._netmask. Reported by dg (#4349).
Function was sometimes reading 1 byte before the actual string.
2015-05-18 11:37:43 +02:00
Bram Matthys 18c617bb35 Modules can now simply include "unrealircd.h" rather than include
various files in a specific order and risk missing one.
2015-04-25 13:36:05 +02:00
Bram Matthys 3b25ba5aed Fix build with LibreSSL / Detect missing RAND_egd. Patch from Bernard Spil. 2015-04-06 10:44:56 +02:00
Bram Matthys 506870ec86 In m_svsnick the HOOKTYPE_LOCAL_NICKCHANGE is called later than in m_nick,
this means that if you hook this in a module and then send something from
the hooked function to other servers it may cause a KILL from another server
since the nick may already be changed (Ghost kill). For example if you
send a MODE or something else. Subsequent kill chasing would cause the
victim to be killed.
2015-04-06 10:16:30 +02:00
Travis McArthur 82781bc3a9 Merge pull request #11 from Adam-/master+svsnick
Ignore svsnicks when the new nick is the same as the old one
2014-08-26 08:12:28 -07:00
Adam 0602bf1991 Ignore svsnicks when the new nick is the same as the old one 2014-08-26 10:37:32 -04:00
Travis McArthur 7eae9f8ffd Merge pull request #10 from Adam-/master+cidr
Fix core from parse_v4_netmask parsing invalid cidrs
2014-08-14 12:47:20 -07:00
Adam 53616c9ec5 Fix core from parse_v4_netmask parsing invalid cidrs 2014-08-06 04:10:03 -04:00
Bram Matthys 37a6cf430b undo head 2014-07-28 11:28:31 +02:00
Bram Matthys 9ca203c1c6 report as 3.2.10.4 on windows 2014-07-26 17:34:00 +02:00
Bram Matthys ea2caffdf1 Update curl-ca-bundle from Dec 29 20:03:40 2012 to Tue Jul 15 08:33:20 2014 2014-07-26 17:25:08 +02:00
Bram Matthys 9ccf8250fc 3.2.10.4 2014-07-26 17:21:39 +02:00
Bram Matthys 976a6eb116 Fix compile errors when building with clang instead of gcc, which is more
and more becoming the default nowadays such as on FreeBSD.
Reported by QIXOZL (#4239). Backported the patch from Heero.
2014-07-06 16:00:09 +02:00
Bram Matthys 61f94bd6d8 For services who allow you to log in by account name but still allow you to
use a different nick: when you're logged in you are now considered
registered as far as channel mode +M (only registered users may speak and
+R (only registered users may join) are concerned. Same for user mode +R
(only allow private messages from registered users).
Tech: whenever services set SVID and it's not * and does not start with a
      number, then we consider this user to be 'logged in'.
      Whenever a user is set +r (s)he is also considered 'logged in'.
      This way it's compatible with both older and new services and doesn't
      introduce security issues with older services using servicetimestamp
      for nick tracking or other means.
This issue was reported by ShawnSmith (#4318).
2014-07-05 14:05:23 +02:00
Bram Matthys 082b9c58db update version to .3 2014-05-31 20:48:42 +02:00
Bram Matthys d2a544bc17 Prepare for 3.2.10.3 2014-05-31 10:24:06 +02:00
Bram Matthys 2df6ad48be Fix crash if SASL is enabled and ping-cookie is disabled (neither are the
default). Reported by fbi (#4307).
2014-05-30 11:32:18 +02:00
Bram Matthys 625483821a Fix './unreal backtrace': on more recent gdb versions or in languages other
than English not always all tmp/*.so files were added. Therefore the
backtrace was often (much) less informative. We now use a different method.
2014-03-30 15:57:16 +02:00
AngryWolf 7186af38f0 Updated unreal32docs.hu.html to changes till Mon, 20 Jan 2014 22:10:27 +0100. 2014-02-02 11:23:12 +01:00
Bram Matthys 4a7c15b6b0 Add donator 2014-02-01 12:51:07 +01:00
Ouadie Akrour 4c8c5da383 Spanish doc: Added set::spamfilter::stop-on-first-match [yes|no] 2014-01-27 15:09:38 +00:00
Serkan Sepetci 5cbcd7be86 Added set::spamfilter::stop-on-first-match [yes|no] 2014-01-26 17:57:15 +02:00
Thomas Fargeix c3538b357b French doc: Added set::spamfilter::stop-on-first-match (r5476) 2014-01-25 14:28:10 +01:00
Bram Matthys 64c347f828 Added set::spamfilter::stop-on-first-match [yes|no]:
By default this is set to 'yes' which means that once a spamfilter matches
UnrealIRCd will take action immediately and any additional (other)
spamfilters will not be processed.
When this is set to 'no' then after the first spamfilter match other
spamfilters will still be checked. All of these matches will be logged and a
message will go to IRCOps (snomask +S) for each one. The affected user,
however, will only see one spamfilter action (eg: block or kill) which will
be the spamfilter with the 'gravest action' (gzline is highest, block and
warn are lowest).
2014-01-20 22:10:27 +01:00
Bram Matthys 32fff791bd Added SVIDLEN so this value is now separate from NICKLEN. Previously if you
would lower NICKLEN to 9 then services timestamps would be cut off. Reported
by Jobe (#4248).
2014-01-12 16:40:55 +01:00
Bram Matthys 26dc7cbb31 When you specified more than 4 servers in set::timesynch::server you could
experience weird issues such as a flood of 'Cannot accept connections:
invalid argument' messages. Reported by hyper_threader (#4242).
2014-01-12 11:26:29 +01:00
Bram Matthys 1e3e46d4de For silenced users we will now only check the current nick!user@host,
suggested by Stevie (#2226).
2014-01-12 11:15:45 +01:00
Bram Matthys a1bdaa440d Fix possible SASL crash caused by remote server, reported by grawity
(#4219).
2014-01-12 10:40:28 +01:00
Bram Matthys 49b34a6cab Fix compile problem on OS X 10.9, reported and patch provided by
JustinTArthur (#4251).
2014-01-12 10:20:04 +01:00
Bram Matthys 0fa5dec7d7 Secure server to server links were previously hardcoded at SSLv3. This has
been fixed to be 'SSLv3 or later'.  In practice this means that you will now
see a lot more server-to-server links using TLSv1.2.
2014-01-09 21:39:36 +01:00
Thomas Fargeix b16af31e83 French doc: +d umode description update (r5460) 2014-01-03 23:20:54 +01:00
Bram Matthys 6bf05cee61 cares fix (old?) 2013-12-19 18:16:10 +01:00
Bram Matthys 50de952e0b added two donators 2013-12-19 18:15:04 +01:00
Bram Matthys 49b2d6d832 added two donators 2013-12-19 18:14:03 +01:00
Serkan Sepetci 859fb60904 Doc changes detected for help.tr.conf 2013-12-07 13:54:32 +02:00
Serkan Sepetci 2f758a59ac reorganized 2013-12-06 01:05:49 +02:00
Serkan Sepetci 74346e4b40 Last update version 2013-12-06 00:48:01 +02:00
Nathan Phillip Brink 5adf4d7e5b Describe how channel mode +d (Deaf) still intentionally allows bot commands through, thanks Dan39. 2013-12-05 05:20:51 +00:00
Nathan Phillip Brink 0a67350cd0 Allow set::channel-command-prefix to be an empty string. 2013-12-05 05:19:45 +00:00
Nathan Phillip Brink 0f0767d4de Update .hgignore to cover more of autotools and support testing unrealircd by running it out of the repository directory directly. 2013-12-05 05:14:06 +00:00
Bram Matthys 8d7b9fca49 Fix curlinstall script (updated c-ares version) 2013-11-25 20:35:16 +01:00
Bram Matthys 00fd88ff0c Added tag unreal3_2_10_2 for changeset ab013c6c5a79 2013-11-24 20:23:56 +01:00
Bram Matthys f17eca1154 fixed typo preventing a compile, reported by rfrederick (#4245). 2013-11-24 20:22:56 +01:00
Bram Matthys 41019fb446 Removed tag unreal3_2_10_2 2013-11-24 20:21:54 +01:00
Bram Matthys 4b2a9d125a Added tag unreal3_2_10_2 for changeset 90da005ec35a 2013-11-24 16:18:32 +01:00
Bram Matthys bb545c7cbe Fix for OS X so it can actually compile. Reported by QIXOZL (#4236). 2013-11-24 11:30:18 +01:00
Bram Matthys 297c176886 When you use -D or -I in CFLAGS the bundled c-ares configure script
now no longer errors. Reported by QIXOZL (#4244). An attempt for a
more proper fix will be made later.
2013-11-24 11:23:54 +01:00
Bram Matthys dd18157ad0 Removed tag unreal3_2_10_2 2013-11-24 11:15:59 +01:00
Bram Matthys 78b9966a5c Added tag unreal3_2_10_2 for changeset 914db8ce9bd5 2013-11-23 11:31:04 +01:00
Bram Matthys 7acc5aac6e Update win32 installer 2013-11-22 22:36:36 +01:00
Bram Matthys 870eb8710f Update win32 version suffix 2013-11-22 22:35:24 +01:00
Bram Matthys 3091752196 Update curl-ca-bundle with a more recent version 2013-11-22 22:16:53 +01:00
Bram Matthys 5d9cb664b7 Update release notes.. 2013-11-22 22:08:55 +01:00
Bram Matthys 19a8b15b01 Small watch fix 2013-11-22 21:58:01 +01:00
Bram Matthys 47ab99a833 Update release notes 2013-11-22 21:39:19 +01:00
Bram Matthys 9bb05733c8 update release notes 2013-11-20 16:09:07 +01:00
Bram Matthys d5d6ace2e1 Windows installer: require Visual Studio 2012 Redist. package
Unfortunately we can no longer auto-download so we send the user
to a microsoft.com page when the package seems not installed.
Hopefully most users will have it installed though...
2013-11-20 13:49:25 +01:00
Bram Matthys b7bd436b7f autoconf 2013-11-20 12:54:46 +01:00
Bram Matthys f011199ea5 Update c-ares library to 1.10.1 2013-11-20 12:53:19 +01:00
Bram Matthys 2b2308dcdc update version 2013-11-20 12:48:12 +01:00
Bram Matthys d8645f710d Various fixes, more info later. 2013-11-20 12:44:26 +01:00
Thomas Fargeix 50afecfaa7 French doc: fix typos 2013-09-23 23:17:45 +02:00
Serkan Sepetci f18b7e8df1 Translation of the help.tr.conf 2013-05-27 10:13:45 +03:00
Bram Matthys 167a83f7d2 This one is better, and actually compiles ;) 2013-05-10 19:32:14 +02:00
Bram Matthys 3c423d31d2 Fix strange issue where linking didn't work because UnrealIRCd would
bind to (for example) the loopback interface before connecting to the
remote server.
In addition to that, we now don't bind() at all when bind-ip is not
present or is set to "*".
2013-05-10 19:27:36 +02:00
Ouadie Akrour 3fd9fc9846 Re Update the documentation 2013-04-05 21:26:09 +00:00
Bram Matthys a06a748214 Added tag unreal3_2_10_1 for changeset 15542aa9f0d2 2013-04-05 16:25:43 +02:00
Bram Matthys 3e19dc1a8b add .1 suffix to setup.h for Windows. 2013-04-05 16:25:35 +02:00
Bram Matthys 60c880834b Removed tag unreal3_2_10_1 2013-04-05 16:25:16 +02:00
Bram Matthys b5bcf6605e Added tag unreal3_2_10_1 for changeset 0e7e08cf2b35 2013-04-05 16:23:52 +02:00
Bram Matthys ccab872222 Bump version and update date in docs. Add Windows 7. Remove Windows 2000 as
it apparently no longer works (#4180).
2013-04-05 16:15:04 +02:00
Bram Matthys 193b044615 mention doc updates in release notes 2013-04-05 16:09:33 +02:00
Bram Matthys 268373635a Bump version to 3.2.10.1 & update release notes. 2013-04-05 16:08:33 +02:00
Bram Matthys 0362f9c765 Custom modules: move EXLIBS= so shared libraries are always linked.
Reported by DE_Glen (#4182).
2013-04-05 15:36:23 +02:00
Bram Matthys ff5e6a1a0c - Windows: Fix strange linking bug. Outgoing connects from a Windows
IRCd caused a garbled SERVER protocol message, causing 'cannot find
  server' errors and killing of users. Reported by Sunkat (#4183).
2013-04-04 23:07:04 +02:00
William Pitcock f0167d1284 - Pull in poll(2) stuff before any other ircd include files. (#4155)
This allows us to successfully build on systems where pulling in poll.h
  pollutes the code with a broken form of ctypes.h due to a few reasons, not
  limited to, but including, usage of non-namespaced macros which clash with
  our own.
2013-01-14 02:12:43 -06:00
Bram Matthys 7530ce6b29 - Don't remove oper-modes such as +S from non-local clients. Reported by
Magiobiwan (#4166). This caused an issue with bots from anope BotServ
  where user modes +Sq were stripped by the IRCd.
2013-02-19 19:31:30 +01:00
Thomas Fargeix 77ccd6b9dd Update French doc about set::dns::nameserver (r3623cab602e7) 2013-02-13 22:33:12 +01:00
Serkan Sepetci 780a9c4878 Re Update the documentation about set::dns::nameserver 2013-02-10 03:19:03 +02:00
Serkan Sepetci 1a3175f4e7 Update the documentation about set::dns::nameserver 2013-02-10 03:13:20 +02:00
AngryWolf 6d93e605f3 Missed to translate a change from Wed Jul 13 22:36:04 2011 -0400 (19 months ago). 2013-02-04 22:17:42 +01:00
AngryWolf 939b8797e4 Translated changes of the last 5 months (from Fri Aug 17 10:40:23 2012 +0200). 2013-02-04 22:07:19 +01:00
AngryWolf ee775f3e2e Missed to translate a change from Wed Jul 13 23:32:05 2011 -0400 (19 months ago). 2013-02-04 20:28:17 +01:00
AngryWolf 9b296df76c Translated changes from Sat Oct 06 12:48:21 2012 +0200 (4 months ago). 2013-02-04 19:56:00 +01:00
Ouadie Akrour c2d75396da - Update the unreal32doc.es about set::dns::nameserver 2013-02-02 01:37:16 +00:00
Nathan Phillip Brink b1a396ad2b - Update the documentation about set::dns::nameserver to reflect reality (that the setting is only used if c-ares can’t read /etc/resolv.conf). 2013-01-27 05:59:50 +00:00
Bram Matthys c5866e2a80 allow channel: Permit multiple channel items in one block again, was broken by patch from #4125. 2013-01-11 19:05:36 +01:00
Ouadie Akrour cdd354c306 Reupdated unreal32docs.es 2013-01-11 00:26:55 +00:00
Bram Matthys d262f6f5e3 '/rehash -global' did often not rehash all servers. Reported by Cronus (#4143). 2013-01-09 19:41:18 +01:00
Ouadie Akrour 97e3d6a2ce Updated unreal32docs.es 2013-01-02 00:52:36 +00:00
Bram Matthys 9157912636 Added tag unreal3_2_10 for changeset fe153e789040 2012-12-28 17:03:36 +01:00
Bram Matthys 86287db434 Removed tag unreal3_2_10 2012-12-28 17:03:32 +01:00
Bram Matthys 04820fda45 Fix duplicate user@host in away-notify and account-notify, reported by grawity (#4153). 2012-12-28 17:01:05 +01:00
Bram Matthys 42cb9fc22a Added tag unreal3_2_10 for changeset f0c4b60ec111 2012-12-26 15:51:46 +01:00
Bram Matthys 70e06587f9 Removed tag unreal3_2_10 2012-12-26 15:51:41 +01:00
Bram Matthys 614d980596 If you are running the IRCd as root and use IRC_USER/IRC_GROUP then we now
change ownership of the log file to that user/group so it can still write
after the setuid(). Reported by asmadeus (#4152).
2012-12-26 15:51:26 +01:00
Bram Matthys 4c93c3d197 Added tag unreal3_2_10 for changeset 7bf37138e074 2012-12-25 16:56:23 +01:00
Bram Matthys 85db29488f last update of release notes 2012-12-25 16:55:57 +01:00
Bram Matthys 0178632529 Update contributors in /INFO 2012-12-25 11:31:11 +01:00
Bram Matthys 9774805c00 bump version in docs & Unreal.nfo 2012-12-25 10:54:10 +01:00
Bram Matthys 8589555273 Bump version in all source/include/text files 2012-12-25 10:53:12 +01:00
Ouadie Akrour 08d55f0d5e re-updated Spanish documentation 2012-12-05 22:53:44 +00:00
Serkan Sepetci bd865e7a65 re-updated unreal32docs.tr 2012-11-26 21:34:00 +02:00
Serkan Sepetci 537e104611 Updated unreal32docs.tr 2012-11-26 21:21:32 +02:00
Ouadie Akrour 5d25b1b0d5 Updated Spanish documentation 2012-11-26 02:09:11 +00:00
Ouadie Akrour ee4708774a Updated Spanish documentation 2012-11-26 02:03:12 +00:00
Ouadie Akrour be4e63ac89 Updated Spanish documentation 2012-11-24 15:34:43 +00:00
Bram Matthys 139b5e9831 Update ./createchangelog to make it only show changes on default branch. 2012-11-23 19:52:07 +01:00
Bram Matthys 7da12ba3bb - Rename Changes.old to Changes.older
- Rename Changes to Changes.old
- In the Mercurial repository the Changes file no longer exists (except
  for a dummy file). You now need to run ./createchangelog to generate it.
  Of course in official releases the Changes file will be present and
  contain all details.
- From now on, the Changes file is based on the history of the Mercurial
  repository. This means we no longer have to write text manually to the
  Changes file. This simple change helps a lot in future development
  because patches will no longer break when they are being ported from
  one branch to another.
2012-11-23 19:20:40 +01:00
Bram Matthys a831052f22 - Import unreal32docs Spanish translation by Karim Benzema. 2012-11-23 17:51:42 +01:00
Bram Matthys f412e7434f - Argh.. silly Windows symbol crap. 2012-11-12 15:29:38 +01:00
Bram Matthys 3c6f3bd029 - Use a more robust method of learning the server origin for a SASL
agent. Fixes crash reported by Adam.
2012-11-04 17:23:45 +01:00
William Pitcock 2cc9482e18 - Use a more robust method of learning the server origin for a SASL agent. 2012-10-27 22:42:32 +00:00
Bram Matthys 87f52e5939 - Use our own (v)snprintf if not available. 2012-11-04 17:20:31 +01:00
Bram Matthys f964828434 3.2.10-rc1 release was on 2012-10-17 (public on 2012-10-18) 2012-11-04 17:09:14 +01:00
serkan sepetci e7b18e80c9 Updated 3.2.10 and Add Authentication Types documentation 2012-11-02 00:32:22 +02:00
serkan sepetci 6fc134c919 Add allow channel and deny channel documentation. 2012-11-02 00:27:33 +02:00
serkan sepetci 5752aae6d6 Updated Version: 3.2.10 and Add Authentication Types documentation 2012-11-02 00:17:40 +02:00
Anton Samets fda25d1632 I idle hide from regular users in help.ru.conf 2012-10-19 12:34:45 +03:00
Anton Samets 660433ac35 update russian translate for 3.2.10 2012-10-18 19:36:37 +03:00
Bram Matthys 2b7915bfa7 Added tag unreal3_2_10rc1 for changeset 094646e391e6 2012-10-17 15:04:30 +02:00
Thomas Fargeix 3d9359608e French doc: some issues with accents. 2012-10-16 20:16:32 +02:00
Thomas Fargeix 0e39a183c7 French doc: documentation on the new sslclientcertfp
- Moved documentation about auth-types. (r64b3c4006702)
2012-10-16 19:47:10 +02:00
Thomas Fargeix 963872b401 French doc: Add 'class' option to allow/deny channel.
(r3a1f9e484676)
2012-10-16 16:21:57 +02:00
Bram Matthys 734c3c8cdc Added last donator before rc1 2012-10-16 18:49:21 +02:00
Bram Matthys 5a27a51a42 - Remove wircd.def, needs to be re-generated almost each build anyway.. 2012-10-16 18:44:20 +02:00
Bram Matthys d66a4dc14b update e-mail address 2012-10-16 16:12:12 +02:00
Bram Matthys 65b56f0b55 - Removed unreal32docs.es.html (outdated since 2006-12-22),
unreal32docs.gr.html (outdated since 2006-12-02), and
  unreal32docs.nl.html (outdated since 2009-01-18, possibly 2007-07-12).
  These translations are out of date for many years and are causing
  problems for the people who are reading this out of date information.
  If you want to update these translations, or (maybe better) redo
  the translation of unreal32docs in these languages, then send an
  e-mail to syzop@unrealircd.com.
  Note that for all these languages we have had people in the past
  offering to help out, but in the end we never heard back from them,
  so please ONLY contact us if you: 1) are serious, and 2) have
  sufficient time available to work on this project.
  That said, users in your language will greatly appreciate your work!
  Of course, if you want to translate documents in any other language
  then you are welcome to contact us as well.
2012-10-16 16:05:54 +02:00
Bram Matthys 8db9f96bb0 - Bump version number in all translated docs as well (did not change
the 'last update' date, though).
2012-10-16 15:27:04 +02:00
Bram Matthys f70a201715 - Update version to 3.2.10-rc1 2012-10-16 15:25:04 +02:00
Bram Matthys 3fdaf585a0 Added release notes 2012-10-16 15:00:14 +02:00
Bram Matthys 4c30008313 - Windows: fix MOTD file always showing a date of 1/1/1970, reported
by maxarturo (#4102).
2012-10-16 11:33:27 +02:00
Bram Matthys 451dca4522 - 2012-10-15 21:26:27 +02:00
Bram Matthys b600dffdc8 - Added auth method 'sslclientcertfp' which provides an alternative
method to authenticate users with SSL client certificates based
  on SHA256 fingerprints. This can be used instead of the already
  existing 'sslclientcert' so you don't have to use an external file.
  One way to get the SHA256 fingerprint would be:
  openssl x509 -in name-of-pem-file.pem -sha256 -noout -fingerprint
  Suggested and patch supplied by Jobe (#4019).
- Added documentation on the new sslclientcertfp
- Moved documentation on authentication types to one place and refer
  to it from each section (oper::password, vhost::password,
  link::password-receive, etc).
2012-10-15 21:25:38 +02:00
Thomas Fargeix 55a15008f4 French doc: Added set::options::disable-cap (r5066) 2012-10-15 17:54:36 +02:00
Thomas Fargeix 317daa7b79 French doc: use of iso-8859-1 encoding and accents. 2012-10-15 17:52:19 +02:00
Bram Matthys eb12f79ba3 - Added set::options::disable-cap, which can be used to disable the
new CAP support (#4104).
2012-10-15 15:29:52 +02:00
Bram Matthys 96eb692cc6 various win32 fixes:
- Disable USE_POLL on Windows, since it doesn't work with XP and has
  no advantage anyway. Reported by nenolod (#4129).
- Various updates to makefile.win32 and .iss file, found during
  building new versions of zlib, openssl, and curl.
2012-10-15 15:01:35 +02:00
Bram Matthys f1c5f88539 - Upgraded to c-ares 1.9.1. Updated configure & other files. 2012-10-14 12:13:53 +02:00
Bram Matthys e81cf14707 - Fix bug where recursive includes would hang the IRCd, patch from
binki with some minor modifications, reported by warg (#3919).
2012-10-14 11:47:26 +02:00
Bram Matthys 906814a31d - Use poll() in the remote includes functions when USE_POLL is
defined (#4091).
2012-10-14 11:23:14 +02:00
Bram Matthys 3e9d300086 - Add 'class' option to allow/deny channel so you can allow/deny
users based on their class. Patch from fspijkerman (#4125).
2012-10-06 12:48:21 +02:00
Bram Matthys 2c4c190c39 ? 2012-10-06 11:59:09 +02:00
Bram Matthys 7fb0fa1620 - Disable sending of UHNAMES when HTM (High Traffic Mode) is ON,
suggested by driew (#3900).
2012-10-06 11:57:55 +02:00
Bram Matthys aa15c4bfe7 - Disable sending of UHNAMES when HTM (High Traffic Mode) is ON,
suggested by driew (#3900).
2012-10-06 11:55:17 +02:00
Serkan Sepetci f38e3382cc Updated unreal32docs.tr documentation 2012-08-25 18:19:06 +03:00
Thomas Fargeix 3f84b46420 Updated French documentation :
- optional oper::require-modes (r5047)
- hiddenhost-prefix clarification (r5049)
- /silence (r5050)
- some typos
2012-08-23 18:13:28 +02:00
Bram Matthys a292196590 - Remove old reference to networks/ directory from Windows installer 2012-08-17 13:10:15 +02:00
Bram Matthys 2429ad557b - Added missing Mod_Header to m_sasl.c 2012-08-17 13:09:19 +02:00
Bram Matthys 1418ea873b - Install server.*.pem files, patch from katsklaw (#3988).
- The ./Config script will now ask whether to generate an SSL
  certificate when it does not exist (defaults to Yes), instead of
  always generating one.
2012-08-17 12:32:06 +02:00
Bram Matthys 74d519323f a bigger scratch buffer makes me sleep at night ;) 2012-08-17 10:55:40 +02:00
Bram Matthys b8a13305d3 - Show "Ping timeout: XYZ seconds" instead of just "Ping timeout".
Patch from darkex (#3960).
2012-08-17 10:52:40 +02:00
Bram Matthys 97909a4ac0 - Add /SILENCE to HTML documentation (reported by Severus_Snape in
#4072, patch from warg).
2012-08-17 10:45:19 +02:00
Bram Matthys 9e03c16e3a - Clarify that hiddenhost-prefix must be the same on linked servers for
bans to function properly (#4090, patch from warg, reported in #4043
  by maxb).
2012-08-17 10:40:23 +02:00
Bram Matthys d57f3c63cc Changes for #4008 patch. 2012-08-17 10:32:31 +02:00
Nathan Phillip Brink 14315463d1 Add optional oper::require-modes setting to the oper block. (#4008 by katsklaw)
Any attempt to /OPER by someone who doesn't have one of the listed
usermodes is rejected. This can be used to restrict oper blocks to
registered nicks (+r) or secure clients (SSL, +z).
2011-07-13 22:36:04 -04:00
AngryWolf 2d01d8a942 Translated doc changes up to Mon May 07 16:51:03 2012 +0200 (3 months ago). 2012-08-15 17:41:43 +02:00
AngryWolf c279572f22 Translated doc changes up to Sun Jan 22 16:32:28 2012 +0100 (6 months ago). 2012-08-15 10:17:10 +02:00
AngryWolf 91ed924134 Translated doc changes up to Sun Dec 25 13:15:49 2011 +0100 (7 months ago). 2012-08-15 01:13:55 +02:00
Bram Matthys 15667266ab - Module coders: added HOOKTYPE_AWAY (sptr, away-reason). 2012-07-10 16:15:14 +02:00
Bram Matthys 8b8490feb7 - Win32 installer: Latest InnoSetup no longer supports Windows 95/98,
so update Minversion to make the .iss compile.
2012-06-24 16:07:14 +02:00
Bram Matthys 1f8ba91b69 - Win32 installer (SSL): Uncheck 'create certificate' checkbox when
server.cert.pem exists, and check it if the file doesn't exist.
  You can still change the setting, just the default is correct now.
  The code for this was already there but was not working correctly
  causing users to go through the generation process upon each install.
2012-06-24 16:05:07 +02:00
Serkan Sepetci eb392387e7 set::sasl-server setting in the unreal32docs.tr.html documentation. 2012-06-12 01:18:14 +03:00
Thomas Fargeix 1eb1d1da5f - set::sasl-server setting in the documentation. (r5037)
- Fixing various typos.
2012-05-12 01:14:32 +02:00
Bram Matthys 3d8fd3f4be - Changed numeric 307 (RPL_WHOISREGNICK) to 'is identified for this nick',
reported by fbi (#3399).
2012-05-07 17:14:03 +02:00
Bram Matthys 982803a6b8 - SASL now needs to be enabled explicitly by setting a set::sasl-server.
If this is not set, then SASL is off and not advertised.
  If the specified server is not connected, then SASL is off as well.
  This prevents unnecessary delay (and the inability for some clients to
  get online) when SASL is not in use or when the SASL server is down.
2012-05-07 16:51:03 +02:00
Bram Matthys 4207b5e60f - Fixed another SASL crash bug. Always use HookAddEx, not HookAdd!
Crash occured after the first quit of a user after a REHASH.
  Reported by Dave (#4108).
2012-05-07 12:07:43 +02:00
Bram Matthys d439c8906b complete the previous patch (MLOCK).. mostly just bringing it up to date & code-style 2012-05-04 13:05:08 +02:00
William Pitcock 5360e2ffa5 - Add support for server-enforced mode locks (MLOCK).
This allows the IRCd to enforce MLOCKs that are set by services, which
  eliminates clashes between users setting modes and services enforcing
  it's mlock on channels. (#3055)
2012-05-04 12:47:59 +02:00
Bram Matthys 9d6e386f97 - Fix bug caused by new I/O engine (both with and without USE_POLL):
queued data on the receive queue (eg: due to fake lag) was not processed
  unless we got new data from the client.
  Now, better document this. Also, avoid calling dbuf_put with 0 length.
2012-05-02 19:20:52 +02:00
Bram Matthys 3f3b8975e0 - Moved sendto_connectnotice, and thus the call to HOOKTYPE_LOCAL_CONNECT,
so it gets called after the broadcast of NICK to other servers.
2012-05-01 12:10:14 +02:00
Bram Matthys aa206f667f Update donators 2012-04-28 16:00:25 +02:00
Serkan Sepetci 00ce957812 Remove old no-stealth, show-connect-info added. 2012-04-20 00:39:56 +03:00
Thomas Fargeix 2570955e4a - Remove old no-stealth directive from documentation (r5025) 2012-04-14 12:43:46 +02:00
William Pitcock adcb462788 - If set::options::dont-resolve is enabled, then use only the IP information
from a WEBIRC message, reported by Ismat (#4103).
2012-04-09 10:54:17 +02:00
William Pitcock 3563c26a93 - Add support for account-notify client capability (#4098). This capability
can be used to request passive notifications for accountname changes.
2012-04-09 10:48:51 +02:00
Bram Matthys 309dac4f2b - Added 'away-notify' client capability, which informs the client of any AWAY state changes of users on the same channel. Patch from nenolod (#4097). 2012-04-09 10:35:17 +02:00
Bram Matthys 3271ec3a23 - Remove old no-stealth configuration directive from documentation,
reported by katsklaw, patch from warg (#4036).
2012-04-09 10:25:53 +02:00
Bram Matthys 3d728f5f2e - Print out a warning when we can't write to a log file. When booting this
goes to the boot screen. When we are already booted it's sent to all
  IRCOps with a limit of max. 1 message per 5 minutes.
- Refuse to boot when we can't write to any log file.
2012-04-05 21:47:15 +02:00
Bram Matthys 374b79c084 - Win32 compile fix (nenolod) 2012-04-05 21:01:19 +02:00
William Pitcock ad2c969084 Fix Windows build. 2012-03-29 20:05:20 -05:00
Bram Matthys edcadc6c58 - Fix win32 installer: apparently it sometimes complained about not having
- the Visual C++ 2008 redistributable package installed when this was not true.
2012-03-30 20:02:32 +02:00
Bram Matthys 3ada59bc60 - Poll I/O engine: get_client_by_pollfd() may return -1 when there's a race
condition. Don't abort, instead just skip those clients.
  This fixes a crash I had on /SQUIT.
2012-03-26 11:16:10 +02:00
Bram Matthys 46372dc475 - Split up PROTOCTL line, since with the addition of ESVID we exceeded
MAXPARA when using ZIP links.
  This caused an odd charset warning upon link.
2012-03-26 11:08:19 +02:00
Bram Matthys a8000c2efb - Some more SASL fixes, and more... 2012-03-26 10:37:40 +02:00
Bram Matthys 04b68513f8 - Some more SASL fixes 2012-03-25 19:54:56 +02:00
Bram Matthys 40004ef1b3 - Tweak SASL code to conform to current coding style. 2012-03-25 12:32:41 +02:00
Bram Matthys 66b3a7fe6b - Fix crash in AUTHENTICATE (SASL commit from an hour or so ago). 2012-03-25 12:30:51 +02:00
Bram Matthys e88b6477bd Some really minor SASL tweaks 2012-03-25 10:24:40 +02:00
Bram Matthys 61610fe763 - Added support for SASL, patch from nenolod (#4079). 2012-03-25 10:15:28 +02:00
Bram Matthys 1e152a07c0 - Fix for speed optimization a few lines up, was accidentally using ident
username (which might have been 'unknown') instead of effective username.
2012-03-23 20:30:36 +01:00
Serkan Sepetci e40164dcf4 updated again in some places missing. 2012-03-21 14:02:54 +02:00
Serkan Sepetci bfdc7bae73 Updated doc/example.tr.conf - translated by Diablo 2012-03-10 02:32:27 +02:00
Thomas Fargeix 56c263269c - Add set::ping-cookie to French doc (r4995)
- some typos corrections.
2012-03-06 17:50:54 +01:00
Nathan Phillip Brink aa5fe1514d - Call m_cap_Init() when m_cap is loaded through commands.so. Reported by nenolod. 2012-03-06 06:16:53 +00:00
Serkan Sepetci d4d5d46822 Add Bantype ~a documentation and Add usermod +I and remote whois command documentation. 2012-03-06 02:14:55 +02:00
Nathan Phillip Brink 24f2f3b17e merge 2012-03-01 05:27:17 +00:00
Nathan Phillip Brink 72b36e893b - Minor documentation typos, thanks warg (#4094). 2012-03-01 05:12:52 +00:00
Nathan Phillip Brink 4640b4c9ca - Minor documentation typos, thanks warg (#4094). 2012-03-01 05:10:14 +00:00
Bram Matthys 1a76eb59e5 - Speed optimization: First, moved a large part of vsendto_prefix_one into
vmakebuf_local_withprefix. Then use this new function - which creates the
  buffer-to-be-sent - at the top of functions like sendto_channel_butserv
  and sendto_common_channels and send the prepared buffer in the loop that
  comes after it. This means we only prepare the buffer once and then send
  it many times, rather than both building and sending it XYZ times.
  Benchmarking connect-join-quit of 10k clients:
  100 users per channel: no noticeable speed improvement
  1000 users per channel: 18% faster
  10000 users in one channel: 50% faster
  As you can see, unfortunately, for a typical irc network there isn't much
  speed improvement. However, if you have a couple of 500+ user channels or
  get attacked by clones then you may see some improvement in speed and/or lower
  CPU usage.
2012-02-27 15:20:07 +01:00
Bram Matthys 245dea0a70 last change to poll patch for the day.. fixing my own fix ;) 2012-02-26 18:47:33 +01:00
Bram Matthys d1ad60990f changelog entry for all previous commits:
- UnrealIRCd now supports poll() instead of select().
  There are some minor speed benefits if you have more than 1K or 2K
  clients, however the main noticeable difference is that on Linux you can
  now easily enter a higher maximum connection count than 1024 in ./Config,
  without having to edit system header files.
  Of course, you still need to be allowed to use the # of sockets (type
  'ulimit -n' on the shell).
  Support for this is experimental at this stage, but enabled by default
  so it can receive all the testing it deserves. If all goes well, it will
  be the default for 3.2.10.
  Stress testing is very much welcomed!
2012-02-26 18:40:12 +01:00
Bram Matthys 8dd4160c78 make c-ares use 100% poll. and make sure we never deal with negative fds. 2012-02-26 18:25:49 +01:00
Bram Matthys 722064b6f7 Some more changes and fixes regarding poll patch:
* use get_client_by_pollfd() function instead of pollfd_to_client[]
  directly, so we can easily find and debug any mistakes.
* add some commenting
* add extra debugging and core dumping if fd or slot values are out of bounds
* fix race condition in read_authports() where send_authports() 2 lines up
  could have closed the socket, resulting in a read from fd -1.
  NOTE: I've updated the select (non-poll) code as well, should be harmless.
2012-02-26 16:16:06 +01:00
Bram Matthys 02ae61dd29 regarding poll patch:
* move all (re-)initalization to reset_pollfd(), i'm
much more comfortable with that as it aids debugging a lot.
* add parenthesis.

update my own fd check code for poll support
2012-02-26 15:43:02 +01:00
Bram Matthys 5dd1454489 - Added patch from Adam for poll() support (#1245). 2012-02-26 15:28:29 +01:00
Bram Matthys 9c12b0e896 - Even when 'M' was listed in set::oper-only-stats you could still do a
'/STATS m'. Unlike other stats characters, case insensitivity was not
  checked for this one. Reported by and patch from Apocalypse (#4086).
2012-02-26 10:29:20 +01:00
Bram Matthys 719c0f73ae - Moved nospoof to config file, suggested by and patch from nenolod (#4078).
This means ping cookies are now controlled by set::ping-cookie [yes|no].
  The default is 'yes' (enabled).
2012-02-26 10:22:19 +01:00
Bram Matthys c46024fa2d - Make the accept code check if the fd is within bounds instead of relying
on OpenFiles to be correct. This fixes a crash when f.e. 3rd party modules
  have files open but don't increase OpenFiles. Might also fix a curl crash,
  though nobody ever reported one.
2012-02-26 10:09:25 +01:00
Bram Matthys 2e2eea8146 - Added doc/example.es.conf, translated by Severus_Snape. 2012-02-08 18:44:37 +01:00
Bram Matthys 42a30007e7 Donators 2012-02-08 18:16:33 +01:00
Thomas Fargeix 61a94fb5bd - Add usermod +I and remote whois command documentation. (r4988)
- Get rid of networks/ references. (r4990)
2012-01-25 21:04:09 +01:00
Bram Matthys 7ad515fb38 - Get rid of networks/ directory, and all references to it. Suggested by
katsklaw and others (#4056).
2012-01-22 17:09:10 +01:00
Bram Matthys 60bad142e0 - Added remove_oper_modes(), which works just like remove_oper_snomasks(),
and ensures that the user does not have any ircop-only user modes after
  de-opering. This (only) fixes the just added +I umode case, but could
  also prevent future bugs.
2012-01-22 16:52:28 +01:00
Bram Matthys c597c90f4a - New user mode +I (IRCOp only) which hides idle times to other users,
suggested and patch supplied by Nath & binki (#3953).
2012-01-22 16:32:28 +01:00
Bram Matthys b9137af15c - Advertise 'tls' (STARTTLS) capability in CAP. Patch from nenolod (#4081). 2012-01-22 16:03:30 +01:00
Bram Matthys 2df00337d4 - Fix issue with CAP & NOSPOOF. Patch from nenolod (#4077). 2012-01-22 16:01:00 +01:00
Bram Matthys d530dbd43d - Add CAP support. Currently implemented are: multi-prefix (NAMESX), and
userhost-in-names (UHNAMES). Patch from nenotopia (#4018, #4066)
2012-01-20 21:25:59 +01:00
Thomas Fargeix 2b0d66498d - Add Bantype ~a documentation.
- Fix the snomask example.
2012-01-19 19:37:55 +01:00
Nathan Phillip Brink d8a6b6e512 Run ./autogen.sh per 6518968ca480. 2012-01-03 05:50:38 +00:00
Bram Matthys acc011337a - Ditch vsyslog() as it's only a waste of CPU, inspired by #4065. 2012-01-02 22:46:18 +01:00
Nathan Phillip Brink d9e83f70e3 - Fix misuse of stdarg.h macros when calling vsyslog() (#4065 by Jimini). 2012-01-02 20:20:07 +00:00
Bram Matthys 1adc59893d heh ;) 2011-12-28 18:48:46 +01:00
Bram Matthys 9ae963e1fe - Make default service stamp 0 (zero) again, instead of '*' which was
introduced by ESVID changes a few days ago. This makes anope happy,
  and also means nothing will change in a non-ESVID scenario.
2011-12-28 18:39:43 +01:00
Nathan Phillip Brink 23516d8e99 - Enforce matching of unrealircd version and PACKAGE_VERSION macros (#4014).
Now the UNREAL_VERSION_GENERATION, UNREAL_VERSION_MAJOR,
UNREAL_VERSION_MINOR, and UNREAL_VERSION_SUFFIX macros are
autogenerated from PACKAGE_VERSION.
2011-12-26 17:23:36 +00:00
Bram Matthys 9ed1e4fa02 - Throw up an error if a password in the configuration file is too long
(max 48 characters), reported by JasonTik, based on patch from
  WolfSage (#3223).
2011-12-25 16:58:18 +01:00
Bram Matthys 82f9cf54bb extban ~a = also allowed for invex 2011-12-25 16:42:17 +01:00
Bram Matthys 83527ba76d compile fix for just-checked-in patches. 2011-12-25 16:28:58 +01:00
Bram Matthys 3b6bbdc038 - Updated extended ban documentation in help.conf and unreal32docs:
new bantype ~a, and some text about extended bans & invex (+I).
2011-12-25 16:22:07 +01:00
Bram Matthys c1af7ca274 - Added extended ban ~a:<account name> which matches users who are logged
in to services with that account name. This works only on services that
  support ESVID. Patch from nenotopia (#3966).
2011-12-25 14:40:33 +01:00
Bram Matthys d512f79a6a - Show account name in /WHOIS, for ESVID-capable services packages, patch from nenotopia (#3966). 2011-12-25 14:29:03 +01:00
Bram Matthys d272d2d6a0 - Services coders: Added support for ESVID. Instead of a number you can
now store a string (of max NICKLEN size) as service stamp. See
  protoctl.txt and serverprotocol.html in doc/technical for more
  information.
  Patch from nenotopia (#3966).
2011-12-25 14:26:53 +01:00
Bram Matthys e8244902f8 - Tweak: send actual channel name and not user supplied channel in KICK, reported and patch by Stealth (#3298). 2011-12-25 14:06:19 +01:00
Bram Matthys 316828edf8 - Config parser failed to check for invalid set::ssl options, reported and patch by fbi (#4035). 2011-12-25 13:20:19 +01:00
Bram Matthys aa0af2ddd2 - Fix small error in oper block documentation, reported by Stealth (#2318). 2011-12-25 13:15:49 +01:00
Bram Matthys 0e4d604c04 - Added patch from nenotopia to use more modern LUSERS numerics (#3967). 2011-12-25 12:55:02 +01:00
Nathan Phillip Brink 5a57a8f496 - Include CMDS=STARTTLS in ISUPPORT/numeric 005 to let clients discover STARTTLS support through VERSION, before or after registration (#4064). 2011-12-20 22:27:16 +00:00
Nathan Phillip Brink 2ffa9a174f - Fix version string in configure.ac. 2011-11-14 03:40:27 +00:00
Nathan Phillip Brink 0ff0b04a56 - Fix compilation issues with bundled tre and ./curlinstall-ed curl caused by over-generic regexes. Reported by warg. 2011-11-12 06:58:34 +00:00
Nathan Phillip Brink 9299b781f6 - Attempt to make Makefile rules more parallelism friendly. 2011-11-10 05:37:16 +00:00
Nathan Phillip Brink b753c28bec - Fix compilation issue when disabling stacked extbans. https://bugs.gentoo.org/389949 2011-11-09 17:21:39 +00:00
Nathan Phillip Brink cc5e2bc414 - Automatically regenerate Makefile if ./config.status --recheck was run. 2011-11-09 17:16:55 +00:00
Bram Matthys ad81d0b049 Added tag unreal3_2_9 for changeset 9a1784c699d1 2011-11-05 10:24:37 +01:00
Bram Matthys 5298c36d64 some last-minute text fixes 2011-11-05 10:11:58 +01:00
Bram Matthys 095a52e630 Update wircd.def for 3.2.9 release 2011-11-05 10:05:25 +01:00
Bram Matthys 6ab9d06a6c Manually update UNREAL_VERSION_TIME to 201144 2011-11-05 09:58:17 +01:00
Bram Matthys d19bce6c42 ** 3.2.9 release ** 2011-11-05 09:54:12 +01:00
Bram Matthys 9b3e65c6e7 - Updated credits (supporters, coders) 2011-09-11 18:13:35 +02:00
Bram Matthys 879d32064c - Updated credits (donations) 2011-09-07 10:06:27 +02:00
Thomas Fargeix (Alef) deb00ef4ef Add a files {} block to example.fr.conf 2011-07-21 14:12:55 +02:00
Bram Matthys e1574bf1e3 Added tag unreal3_2_9rc2 for changeset 3ada0f7b2163 2011-07-18 21:08:33 +02:00
Bram Matthys 4008e3745f Update curl-ca-bundle.crt & prepare for retag 2011-07-18 21:08:17 +02:00
Bram Matthys ee447742c8 Removed tag unreal3_2_9rc2 2011-07-18 21:07:31 +02:00
Bram Matthys 618da4ab5e Added tag unreal3_2_9rc2 for changeset fa478da23916 2011-07-18 13:00:42 +02:00
Bram Matthys df6e300ecd ** 3.2.9-rc2 release ** + last-minute fix #0004028 2011-07-18 12:55:06 +02:00
Bram Matthys aa6ed2085f - Another fix-for-fix of zip links buffering from a few weeks ago.
Reported by fbi (#0004030).
2011-07-18 12:15:41 +02:00
Bram Matthys 24e14eb26f credits: undo irc2 donation 2011-07-17 23:33:05 +02:00
Nathan Phillip Brink 087b306429 Add a self-documented and commented files {} block to example.conf. 2011-07-13 23:32:05 -04:00
Nathan Phillip Brink 1157b77e5e Add .hgignore, removing replaced .cvsignore files. 2011-07-13 13:11:57 -04:00
Bram Matthys 59fbe14175 - Remove temporary message (Unreal3.2.1) regarding cloaking modules. 2011-07-06 23:41:34 +02:00
Nathan Phillip Brink 4d9482c92b Fix Changes to refer to help.fr.conf instead of help.ft.conf. 2011-07-05 00:23:42 -04:00
Nathan Phillip Brink 371ae17e1c - Add missing quotation to doc/help.ft.conf (#4026 by MewT). 2011-07-05 00:21:58 -04:00
Nathan Phillip Brink f8fbe5e4f0 - Support installing the ircd binary for people who set --with-spath=<dpath>/bin/ircd. 2011-07-05 00:15:23 -04:00
Serkan Sepetci 2cbb7a4a00 Translation of the title. 2011-06-16 00:33:27 +03:00
Serkan Sepetci 8e72ba376b Translation of the title. 2011-06-16 00:29:48 +03:00
Bram Matthys cb8e31af86 update credit in Changelog 2011-06-10 20:34:04 +02:00
Nathan Phillip Brink 7ddb51c09f Clean up Donation file, fixing URL, extraneous apostrophe, and donate URL. 2011-06-08 22:13:36 -04:00
Bram Matthys 5eb7e9eead - Added aliases/atheme.conf, provided by katsklaw and CuleX (#0003990). 2011-06-06 18:14:50 +02:00
Nathan Phillip Brink 80806af8bd Check that the automatically-generated cloak keys fit unrealircd's own criteria before printing them out. (#4017) 2011-06-05 23:03:36 -04:00
Nathan Phillip Brink ceba1d07c6 - Fix compile failure introduced by fdb2fd1f8963 when zip links are disabled. 2011-06-05 23:02:13 -04:00
Bram Matthys 143858cc5b - Zip links: once a link was zipped, the error message when closing the
connection was never actually sent (due to buffering). Hence, things like
  the /SQUIT reason was never seen on the other side (just 'server closed
  the connection'). This has now been fixed.
2011-06-05 21:36:53 +02:00
Bram Matthys 08871c1e6a - The unreal32docs translations in Greek, Spanish and Dutch are marked as out of date.
- CRLF conversion of unreal32docs.gr.html
2011-06-05 21:30:32 +02:00
Bram Matthys 1470edd1f7 - Updated doc/compiling_win32.txt a bit. 2011-06-02 18:17:56 +02:00
Bram Matthys c92df824a5 Add .h/.bat/.iss to LF<->CRLF conversion list 2011-06-01 11:35:03 +02:00
Bram Matthys 8ef4e93bc1 Added .hgeol to take care of LF<->CRLF conversion (for our poor windows users)... 2011-06-01 11:30:32 +02:00
Bram Matthys 57fcb26be2 test ;) 2011-06-01 11:25:16 +02:00
Bram Matthys 5dda9cb79d Convert line endings of doc/example.tr.conf from CRLF to LF. 2011-06-01 11:03:31 +02:00
Bram Matthys 3fe7955615 test ;) 2011-05-30 12:28:39 +02:00
Bram Matthys f72574ae22 Moved from cvs to hg: add big changelog item & update references to CVS. 2011-05-30 10:13:19 +02:00
Nathan Phillip Brink 29b319cb99 Merge all changes into default. 2011-05-23 22:39:05 -04:00
cvs2hg 10d8bd7ba8 convert CVS tags 2011-05-23 04:43:46 +02:00
autoupdate cfec5bb08a Automatic weekly version update: 201120 2011-05-15 23:00:03 +00:00
autoupdate 7ed4b2cac9 Automatic weekly version update: 201119 2011-05-08 23:00:02 +00:00
diablo 9a7ec92d48 Add id attribute for referring to set::anti-spam-quit-message-time. 2011-05-08 21:34:40 +00:00
bock a70e82c418 changes of 18 week 2011-05-07 17:49:16 +00:00
alef 1b60d7c763 Translation of the title. 2011-05-06 15:31:37 +00:00
alef b3398d709c Add id attribute for referring to set::anti-spam-quit-message-time. 2011-05-06 15:27:55 +00:00
autoupdate 1a1cb25c98 Automatic weekly version update: 201118 2011-05-01 23:00:02 +00:00
binki 5a847b490c Add id attribute for referring to set::anti-spam-quit-message-time. 2011-05-01 20:44:59 +00:00
autoupdate aac9b61d9c Automatic weekly version update: 201117 2011-04-24 23:00:02 +00:00
autoupdate 49ad2b388d Automatic weekly version update: 201116 2011-04-17 23:00:02 +00:00
autoupdate b0914f9a44 Automatic weekly version update: 201115 2011-04-10 23:00:03 +00:00
autoupdate 2f0cab1ac1 Automatic weekly version update: 201114 2011-04-03 23:00:02 +00:00
Bram Matthys 64776556a9 - Module coders: Added HOOKTYPE_HANDSHAKE which is called before the client
handshake, IOTW: as soon as the connection is established. This can be
  used to do things prior to accepting any commands, such as sending some text.
2011-04-03 07:45:57 +00:00
autoupdate 71102b1d41 Automatic weekly version update: 201113 2011-03-27 23:00:03 +00:00
autoupdate 0db5417b83 Automatic weekly version update: 201112 2011-03-21 00:00:03 +00:00
binki 34cab7caff - Fix empty/nonexistent short MOTD being shown instead of the full MOTD on user registration. Thanks WakiMiko (#4011). 2011-03-14 19:03:41 +00:00
binki 938b591358 Remove unused local variable. 2011-03-14 18:51:23 +00:00
autoupdate 8a39b26e56 Automatic weekly version update: 201111 2011-03-14 00:00:02 +00:00
autoupdate 26847b8692 Automatic weekly version update: 201110 2011-03-07 00:00:02 +00:00
alef 3acf7b2faa - Fix documentation about channel mode +t and halfops. 2011-02-28 22:32:33 +00:00
diablo 16bd395632 Fix documentation about channel mode +t and halfops. 2011-02-28 21:46:53 +00:00
autoupdate 39dd1eaca8 Automatic weekly version update: 201109 2011-02-28 00:00:02 +00:00
bock 17b5922cea Update of last update docs (about chanmode +t). 2011-02-26 22:13:48 +00:00
binki a5e7197daf - Fix documentation about channel mode +t and halfops, thanks warg (#4007). 2011-02-23 01:24:26 +00:00
autoupdate f1d9606b4f Automatic weekly version update: 201108 2011-02-21 00:00:02 +00:00
autoupdate c68c7918dd Automatic weekly version update: 201107 2011-02-14 00:00:03 +00:00
autoupdate 5a71b706c3 Automatic weekly version update: 201106 2011-02-07 00:00:03 +00:00
autoupdate abae8bad84 Automatic weekly version update: 201105 2011-01-31 00:00:02 +00:00
autoupdate 627bfd9cf7 Automatic weekly version update: 201104 2011-01-24 00:00:02 +00:00
autoupdate e67274fc69 Automatic weekly version update: 201103 2011-01-17 00:00:02 +00:00
autoupdate 7e24744601 Automatic weekly version update: 201102 2011-01-10 00:00:02 +00:00
Bram Matthys cf1a52a927 - Bump server protocol version to 2310, due to the various changes and so
you can use deny link { } blocks if you want to deny older versions than
  this release.
2011-01-08 10:51:58 +00:00
autoupdate 5268649357 Automatic weekly version update: 201101 2011-01-03 00:00:03 +00:00
binki 6c69183d5a - Fix pointer handling in remote MOTD code, fixing a crash on REHASH
reported by goldenwolf (#3992).
2010-12-30 21:05:18 +00:00
binki 6baddddc8e - Fix set::ssl::options::no-starttls not being recognized. 2010-12-29 18:38:28 +00:00
Bram Matthys 0414d09660 - Updated credits a bit (#3980). 2010-12-29 17:10:48 +00:00
Bram Matthys 2883eea6c7 - Update doc/compiling_win32.txt a bit (#3975). 2010-12-29 16:48:34 +00:00
Bram Matthys bcb97efdb3 - Windows installer: if an SSL certificate already exists, then don't check
the 'create SSL certificate' by default. Patch from goldenwolf (#3965).
2010-12-29 16:29:19 +00:00
autoupdate 751584bbcb Automatic weekly version update: 201052 2010-12-27 00:00:03 +00:00
angrywolf 4927abe5b4 Changes from 2010/09/15 to 2010/12/15. 2010-12-26 12:55:40 +00:00
binki 48bc3b2f74 - Fix remote MOTDs for URLs whose path components contain
subdirectories, in the process much simplifying my remote MOTD
  code. Reported by goldenwolf (#3986).
2010-12-25 15:33:01 +00:00
binki 91c3283cfa - Fix bundled TRE compilation error on OpenBSD with pkg-config-0.21
where pkg-config can't find 'tre.pc'. Reported by CuleX. (#3982)
  Also properly escape the sed expression used in the pkg-config call.
2010-12-24 02:29:53 +00:00
diablo f6c843d38f Last unreal32docs.tr.html update 2010-12-22 22:05:38 +00:00
binki df37d83f8b - Fix invalid use of 'wc -l' when detecting the AsynchDNS feature of
libcurl which breaks compilation on FreeBSD; instead use 'grep
  -q'. Reported by Jobe (#3981), solution proposed by satmd.
2010-12-22 16:02:39 +00:00
binki 9f710925f8 - Fix missing #include <stdint.h>. Fixes compile error on OpenBSD
reported by CuleX (#3977).
2010-12-21 04:53:05 +00:00
binki 7041116ec0 - Fix typo 'alias::spampfilter' in German docs, reported by seraphim (#3978). 2010-12-20 05:24:41 +00:00
autoupdate 311efc56b4 Automatic weekly version update: 201051 2010-12-20 00:00:03 +00:00
Bram Matthys 9c30f7b685 - Fixed bug with curl not finding libcares, reported by katslaw.
- Added workaround for 'curl-config' depending on 'bc'.
2010-12-19 16:38:07 +00:00
binki b994ad33bd - Enable parallel building of modules. 2010-12-15 18:45:31 +00:00
cvs2hg 6e837537a8 fixup commit for tag 'unreal3_2_9rc1' 2010-12-15 15:00:54 +00:00
Bram Matthys 4cb6ed06c8 credit 2010-12-15 15:00:53 +00:00
Bram Matthys 84007d4c16 nothing happened, no.. really ;) 2010-12-15 14:59:21 +00:00
Bram Matthys 0c8f523e1d ** 3.2.9-rc1 release ** 2010-12-15 12:50:48 +00:00
Bram Matthys 13a946d0e0 Update credits.. (hosters) 2010-12-15 12:25:23 +00:00
binki 805f1988ec Clarify wording in Makefile.in about how to set the FD_SETSIZE macro using the Makefile variables. 2010-12-15 01:31:16 +00:00
autoupdate aa0f869213 Automatic weekly version update: 201050 2010-12-13 00:00:03 +00:00
Bram Matthys cb60ae3442 compile fix 2010-12-12 21:13:43 +00:00
Bram Matthys dcb34f43f6 make it compile 2010-12-12 17:19:43 +00:00
Bram Matthys d603a53e4e - Win32: show missing /INFO in GUI 2010-12-12 17:08:23 +00:00
Bram Matthys baa7d5f4f3 -include win32/ares/setup.h, -HAVE_INET_PTON etc... ..... ... a r g h 2010-12-12 16:44:27 +00:00
Bram Matthys ef64b411c8 ... 2010-12-12 16:39:12 +00:00
Bram Matthys 1309531df8 forgot to remove an #ifndef 2010-12-12 16:37:34 +00:00
Bram Matthys 58260b3917 Major win32 build system cleanup:
- Win32: Attempt to move to 100% winsock2 (the include, to be precise),
  this means includes have to be in a very particular order (!)
- Win32: #define _WIN32_WINNT 0x0501 and force our own inet_ntop/pton,
  otherwise you get an ntop runtime error on XP and earlier.
- Win32: Get rid of c-ares includes and library in our tree, and use the
  DLL instead of static LIB, just like we do for ssl and zlib.
- Win32: Get rid of TRE lib and includes
- Win32: reorder includes to fix winsock errors with curl
2010-12-12 16:32:55 +00:00
Bram Matthys b8026bbc50 - Fix return values in src/auth.c on Win32. 2010-12-08 10:13:14 +00:00
Bram Matthys 6dab6c11b1 - Error on zero sendq in class::sendq, reported by jonbeard. 2010-12-06 12:47:25 +00:00
autoupdate f6e12c316b Automatic weekly version update: 201049 2010-12-06 00:00:03 +00:00
Bram Matthys 59e35dc066 +Better document 'sslclientcert' in the Oper Block documentation. 2010-12-05 16:49:42 +00:00
Bram Matthys 7f8009c4c1 corrected a typo in changelog x months ago 2010-12-05 16:31:33 +00:00
Bram Matthys 08d8c52885 minor edits 2010-12-05 15:08:24 +00:00
Bram Matthys e821be52d3 - Added release notes. 2010-12-05 14:51:14 +00:00
autoupdate 202318cb12 Automatic weekly version update: 201048 2010-11-29 00:00:03 +00:00
bock b36a576461 Update docs for Russian before 3.2.9 2010-11-22 19:56:12 +00:00
Bram Matthys 5a3e54c385 - Fixed Windows compile problem with current CVS due to m_issecure,
reported and fix provided by therock247uk (#3970).
2010-11-22 10:55:34 +00:00
Bram Matthys 292b6ae15c Bring donations up to date. Last donator: 2010-10-21 2010-11-22 10:51:44 +00:00
diablo 0ae8d7c075 - Added <REHASH -global> & <CHANMODE +Z> & <EXCEPT BAN> & <EXCEPT TKL> & <ALLOW-INSANE-BAN> 2010-11-22 02:24:26 +00:00
autoupdate 7c86c421c9 Automatic weekly version update: 201047 2010-11-22 00:00:02 +00:00
diablo e5502a3ca0 Added '/REHASH -global' command which will rehash all servers on the network 2010-11-21 23:50:43 +00:00
alef 196a4e323e Typo 2010-11-20 23:00:19 +00:00
alef f56639bff0 - mode +Z
- /rehash -global
- except tkl::type all & difference between except tkl and except ban
- set::options::allow-insane-bans
2010-11-20 21:19:23 +00:00
angrywolf c13ab74144 Doc changes from 2009/05/13 to 2009/12/22. 2010-11-20 11:50:46 +00:00
angrywolf c46205e79d Doc changes from 2009/12/06 to 2010/09/15. 2010-11-20 11:04:11 +00:00
Bram Matthys a4f69bee1a typo 2010-11-17 20:39:50 +00:00
Bram Matthys 07b2fbb35e - Windows: When trying to load a module (DLL) windows can give us the
mysterious error 'The specified module could not be found' even though the
  file exists. This usually means that it depends on another DLL, but
  apparently Microsoft decided not to mention that in the error message.
  We now append some small text when such an error happens, saying that it
  could be because of a missing dependency. Reported by Phil.
2010-11-17 18:25:56 +00:00
Bram Matthys 28c19679b2 changelog edit: one SHUN less ;P 2010-11-16 19:40:08 +00:00
Bram Matthys 643355b387 - Added set::options::allow-insane-bans which makes it possible to set
really broad bans such as *@*.xx. Needless to say this can be very
  dangerous. Reported and patch provided by Stealth (#0003963).
2010-11-15 16:23:02 +00:00
Bram Matthys 779444448c - Clarified the difference between 'except ban' (which exempts from KLINE
and ZLINE) and 'except tkl' (which can exempt from GLINE, GZLINE, SHUN,
  QLINE, GQLINE and SHUN). Reported by Digerati (#0002535).
- Added except tkl::type 'all', which exempts from all TKL types (except
  KLINE).
2010-11-15 16:14:20 +00:00
Bram Matthys d107a4a6a8 - Added '/REHASH -global' command which will rehash all servers on the
network. You can also specify options like '/REHASH -global -motd' to
  rehash only the MOTD/RULES/etc. Just like /REHASH <servername> this is a
  NetAdmin-only command. This command is fully backwards compatible with
  older UnrealIRCd version in the sense that it will also REHASH old
  Unreal's. Suggested by 'P' in #0001522.
2010-11-15 15:50:52 +00:00
Bram Matthys d5167c69ad update credits/bugid of install as service vs enccert 2010-11-15 14:11:46 +00:00
Bram Matthys da0d21fe57 - Little tweak to +Z: when the last insecure user parts and the channel is
set +Z (secure), the parting user saw the MODE too, which was silly.
  Reported by Robby22 (#0003720).
2010-11-15 14:00:57 +00:00
Bram Matthys 372fbe7af9 - Win32 installer: Make it so a user can no longer accidentally check both
'install as service' and 'encrypt SSL certificate', as they are
  incompatible (a service cannot ask a user to enter a password).
- Win32 installer: Fixed long outstanding problem with some Vista / Windows 7
  installations, which has to do with file permissions of the Unreal3.2
  folder. Symptoms were error messages such as:
  Unable to create file 'tmp/10D9D743.commands.dll': Permission denied
  But also failing to create SSL certificates, nothing being logged, etc.
  This is now fixed by setting write access on the Unreal3.2 folder to the
  user running the install, unless the user chooses not to use this new
  option (it can be unchecked), in which case the user is warned that he
  should take care of this himself.
  Reported by various persons, special thanks to Bock and goldenwolf for
  helping us to track down this issue (#0003943).
2010-11-15 13:41:04 +00:00
autoupdate d53d7156ae Automatic weekly version update: 201046 2010-11-15 00:00:02 +00:00
Bram Matthys 64dcfe6073 Forgot to remove a FIXME comment which was already fixed ;) 2010-11-13 19:26:59 +00:00
Bram Matthys a2137bda71 local chanmode, chan mode +Z, operoverride with key 'override', sorting HELPOP CHMODES, fishy timestamps:
- Some small updates to the extended channel mode system: it now has minimal
  support for 'local channel modes'. This is really only meant for channel
  mode +Z (upcase z), see next.
- Added Channel Mode Z which indicates if a channel is 'secure' or not.
  This mode works in conjunction with +z (lower case z).
  If +z is set ('only secure users may join'), then the IRCd scans to see
  if everyone in the channel is connected through SSL. If so, then the
  channel is set +Z as well ('channel is secure').
  Whenever an insecure user manages to join, the channel is -Z. And whenever
  all insecure users leave, the channel is set +Z.
  The 'insecure user being present in a +z channel' can be because:
  - An IRCOp joined the channel, and he's not secure
  - When servers link together and a user on the other side is not secure
    This only happens on net merge (equal time stamp).
    On different time stamp, we still kick insecure users on the new side.
  - At the time when +z is set, there are insecure users present.
  This feature was implemented after a heavy discussion in bug #3720 by fez
  and others, and was suggested by Stealth.
  Tech note: +Z/-Z is handled locally by each server. Any attempt to
  remotely set +Z/-Z (eg: by services) will be ignored.
- As mentioned above, +z can now be set even if any insecure users are
  present. Previously, this was not permitted. Now, as soon as the last
  non-SSL user leaves, the channel will be set +Z.
- An oper not connected through SSL previously had to /INVITE himself
  to a channel and then /JOIN the channel with the key 'override'.
  This 'override' key is no longer required, a simple JOIN will suffice.
- Sorted channel modes in /HELPOP ?CHMODES
- Re-enabled 'fishy timestamp' errors in MODE. For some reason this was
  commented out, even though the (more annoying and less useful) code in
  JOIN was enabled so that did not make a lot of sense. It also now logs to
  ircd.log (or whatever you configure). This enables people to easier find
  the cause of any timestamp issues (which usually is badly coded services).
2010-11-13 19:23:05 +00:00
autoupdate 6e8b77aa86 Automatic weekly version update: 201045 2010-11-08 00:00:04 +00:00
autoupdate a741b152c3 Automatic weekly version update: 201044 2010-11-01 00:00:04 +00:00
binki 4237409031 - And another m_nopost makefile.win32 fix. 2010-10-27 20:32:15 +00:00
diablo 820fae9054 *** empty log message *** 2010-10-26 18:35:28 +00:00
autoupdate 78952aed40 Automatic weekly version update: 201043 2010-10-24 23:00:03 +00:00
Bram Matthys 81dd721ed1 - Updated doc/compiling_win32.txt with current free MS SDK information,
patch from goldenwolf.
2010-10-24 12:43:21 +00:00
alef ba262c4a56 - fix typos 2010-10-22 21:16:17 +00:00
Bram Matthys 028f6ff83b - Fix missing OperOverride notices for +u and +L if not chanowner, reported
by Mareo (#0003358), partial patch from DJ.
2010-10-22 13:08:25 +00:00
Bram Matthys 73c2f8174d (interim) fix, not worth mentioning 2010-10-22 13:08:05 +00:00
autoupdate e089980d2a Automatic weekly version update: 201042 2010-10-17 23:00:02 +00:00
alef b09466c8ee - fix some accents issues
- connection -> connexion where needed
2010-10-17 10:20:28 +00:00
alef 639fc51d59 Translate spamfilter 'warn' action. 2010-10-17 09:48:04 +00:00
Bram Matthys 77bc5ab29d - Document spamfilter 'warn' action in unreal32docs. 2010-10-16 09:14:43 +00:00
diablo 6933245997 *** empty log message *** 2010-10-12 19:05:32 +00:00
autoupdate 4a66f658f7 Automatic weekly version update: 201041 2010-10-10 23:00:02 +00:00
alef 685517eadb Mistranslation of +G mode + set::allowed-nickchars 2010-10-09 20:18:48 +00:00
autoupdate 4cb8605d95 Automatic weekly version update: 201040 2010-10-03 23:00:02 +00:00
binki e95ef070d1 - Add m_nopost to makefile.win32 in the hopes that it may work (#3961). 2010-09-30 22:50:30 +00:00
diablo 64ef568a48 *** empty log message *** 2010-09-30 20:44:58 +00:00
autoupdate 492e30676c Automatic weekly version update: 201039 2010-09-26 23:00:02 +00:00
Bram Matthys ed8b8da20b - Fixed braindamage in stacked bans. 2010-09-25 11:21:37 +00:00
binki 08f86d9b2e - Always display the real host of successful OPERing up. Reported by Josh. (#3950) 2010-09-20 12:30:59 +00:00
binki 574ebf6eed - Fix ordering of `9. FAQ'' and `10. Modules'' in HTML docs. 2010-09-20 00:33:31 +00:00
autoupdate b19cb1dcae Automatic weekly version update: 201038 2010-09-19 23:00:02 +00:00
Bram Matthys bf40486341 reworded... as it was already showing the proper error in many cases... but not all :p 2010-09-19 14:34:20 +00:00
Bram Matthys 63dd326113 - SSL errors are now more descriptive. 'Underlying syscall error' is now
gone and shows the actual (surprise!) underlying syscall error.
  Reported by vonitsanet, patch from ohnobinki (#0003157).
2010-09-19 14:26:47 +00:00
Bram Matthys 17c97c8442 - Fixed notices to opers about server delinks not being broadcasted to all
other servers if they were on SSL links. Reported by chotaire (#0003957).
2010-09-19 14:10:43 +00:00
alef ef7a94164c Typo 2010-09-19 13:58:54 +00:00
alef 2d11cf09b9 Updating to r1.1.2.144.2.147 (Modules section, m_nopost + set options, badword block)
+ various html markup fixes
+ some mistranslation
2010-09-19 13:56:18 +00:00
alef 6ee99cde84 Mistranslation 2010-09-19 12:41:43 +00:00
Bram Matthys d717e0fc62 Clarify relationship between nopost and NOSPOOF (in Changelog) 2010-09-19 11:33:13 +00:00
binki a87f26d911 Add missing </b>. 2010-09-15 22:43:51 +00:00
binki 1a01e725c7 - Add the m_nopost module written by syzop and compile it into
commands.so. This module was written to help IRCd maintainers deal
  with some sort of ``XPS'' attack in which javascript-initiated HTTP
  POST form submissions were able to act as dummy IRC bots. These
  simple bots were the cause of much spam. (#3893)
- Add a modules section to the documentation. This was created to put
  all documentation specific to the m_post module in one, easy to find
  place. The documentation on m_post is likely incomplete, however.
2010-09-15 16:22:25 +00:00
binki 1605db3ced - Document the badword block more explicitly and clearly. (#3959) 2010-09-15 16:09:34 +00:00
autoupdate ae6415afa0 Automatic weekly version update: 201037 2010-09-12 23:00:03 +00:00
alef 3dc7f640b8 Updating example.fr.conf - new translator 2010-09-11 20:52:34 +00:00
alef 0bbd7a58cf Update of help.fr.conf - new translator 2010-09-11 18:25:29 +00:00
alef 7bb6728af4 rehash -flags and translation for "garbage collection" 2010-09-11 18:23:29 +00:00
alef c305b860b5 Fixing typos. 2010-09-11 15:30:20 +00:00
Bram Matthys bcd89f7db8 - Reverted an IPv6/Config fix I did on July 17. Reported by chotaire (#3958). 2010-09-08 15:17:46 +00:00
alef fface35935 Major docs update, new translator. 2010-09-08 13:23:50 +00:00
Bram Matthys b83f096e48 - Fixed another compile problem on QNX, reported by chotaire (#3955 too).
- Fixed incorrect messages regarding clock going backwards on QNX 6 and
  later, reported by chotaire (#0003956).
2010-09-08 11:07:22 +00:00
binki a744b9b212 - Don't use sys/errno.h, as it's not POSIX and breaks on QNX-6.5.0. (#3955) 2010-09-07 15:39:47 +00:00
autoupdate ffda323d9d Automatic weekly version update: 201036 2010-09-05 23:00:02 +00:00
diablo 27e4c6f3f7 New translator: diablo. Major update: documentation is now up to date again (week 33) 2010-08-30 09:05:01 +00:00
diablo 2c0e131dc7 changes of week 32 2010-08-30 09:03:04 +00:00
autoupdate 8895f1e60d Automatic weekly version update: 201035 2010-08-29 23:00:03 +00:00
binki 9643607334 - Fix segfault by checking if RESTRICT_USERMODES is NULL in the code for bug #3329. 2010-08-25 04:36:28 +00:00
binki c144008217 - Fix /msg IRC WHOIS response for persons with secure connections. (#3947) 2010-08-24 16:46:29 +00:00
autoupdate 35ec730f8b Automatic weekly version update: 201034 2010-08-22 23:00:02 +00:00
Bram Matthys 9a5c536cce hm :) 2010-08-20 12:16:40 +00:00
Bram Matthys da48cfc039 *** empty log message *** 2010-08-20 12:15:27 +00:00
binki 36c0bdde2e - Remove snomasks upon deopering when it seems like the user shouldn't have snomasks. (#3329) 2010-08-20 11:15:22 +00:00
binki 9f823be20b - Warn users against running UnrealIRCd as root without setting IRC_USER. (#3053 reported by Stealth) 2010-08-20 11:10:00 +00:00
binki 964bb656c7 - Prepend a `0' to the begining of --with-permission, working around a Mac OS X bug and hiding the fact that chmod()'s params are octal from users. (#3189) 2010-08-19 00:58:24 +00:00
bock 96da66cf7a Updated documentation to actual state. 2010-08-18 22:18:57 +00:00
binki d46bdd4841 - Update .cvsignore for Mac OSX's *.dSYM files. 2010-08-17 16:50:42 +00:00
binki e473fbc44c - Actually initialize m_starttls when it's included into commands.so. 2010-08-16 17:00:42 +00:00
Bram Matthys 6dcb276f8d - Get rid of any setsockopt(IPV6_V6ONLY) errors in ircd.log (#3944).
(oh and yeah I removed the prototype of our_crc32 which is totally unrelated...)
2010-08-16 09:31:04 +00:00
binki d012c49f1b - Install ircdcron scripts. (#2620)
- Autogenerate ircdcron/ircd.cron based on ./configure settings.
2010-08-16 02:29:34 +00:00
binki 7272715cec - Upgrade to tre-0.8.0, adding hack similar to the one for c-ares to ensure that the bundled tre is compiled against even when a system libtre is installed. (#3916) 2010-08-16 02:09:51 +00:00
autoupdate 30c5236f25 Automatic weekly version update: 201033 2010-08-15 23:00:02 +00:00
binki 2d10ab189d - IPv6 clones detection support (#2321). allow::ipv6-clone-mask determines the number of bits used when comparing two IPv6 addresses to determine if allow::maxperip is exceeded. This allows an admin to recognize that most IPv6 blocks are allocated to individuals, who might each get a /64 IPv6 block. set::default-ipv6-clone-mask defaults to 64 and provides default value for the allow blocks. 2010-08-15 04:44:16 +00:00
Bram Matthys fae4629c46 un-hi 2010-08-14 18:35:32 +00:00
Bram Matthys a71a1a394f teh hi 2010-08-14 18:35:05 +00:00
Bram Matthys 75d4fecb4b ..This is actually an update of earlier code from CVS, but now it works ok:..
- Added support for "stacked" extbans. Put simply this allows extban combinations
  such as ~q:~c:#test to only silence users on #test, for example. This feature
  is enabled by default, but can be disabled during ./Config -advanced.
  This feature was suggested by Shining Phoenix (#0003193), was then coded
  by aquanight for U3.3, and later on backported and partially redone by Syzop.
  Module coders:
  In an extban ~x:~y:something where we call ~x the 1st, and ~y the 2nd extban:
  Since stacked extbans only makes sense where the 1st one is an action
  extended ban like ~q/~n/~j, most modules won't have to be changed, as
  their extban never gets extended (just like ~c:~q: makes no sense).
  However, you may still want to indicate in some cases that the extban your
  module introduces also shouldn't be used as 2nd extban.
  For example with a textban extban ~T it makes no sense to have ~n:~T.
  The module can indicate this by setting EXTBOPT_NOSTACKCHILD in
  the ExtbanInfo struct used by ExtbanAdd().
  For completeness I note that action modifier extbans are indicated by
  EXTBOPT_ACTMODIFIER. However, note that we currently assume all such
  extbans use the extban_is_ok_nuh_extban and extban_conv_param_nuh_or_extban
  functions. If you don't use these and use EXTBOPT_ACTMODIFIER, then things
  will go wrong with regards to stack-counting.
  Module coders should also note that stacked extbans are not available if
  DISABLE_STACKED_EXTBANS is defined.
- Added extended ban ~R:<nick>, which only matches if <nick> is a registered
  user (has identified to services). This is really only useful in ban
  exemptions, like: +e ~R:Nick would allow Nick to go through all bans if he
  has identified to NickServ. This is often safer than using +e n!u@h.
- Added Extended Invex. This is very much like extended bans, in fact it
  supports some of the same flags. Syntax: +I ~character:mask
  Currently supported are: ~c (channel), ~r (realname) and ~R (registered).
  This can be useful when setting a channel invite only (+i) and then
  setting invite exceptions such as +I ~c:#chan (or even ~c:+#chan), while
  still being able to ban users.
  Because action modifiers (~q/~n/~j) make no sense here, extended invex
  stacking (+I ~a:~b:c) makes no sense either, and is not supported.
  Suggested by DanPMK (#0002817), parts based on patch from ohnobinki.
  Module coders: set EXTBOPT_INVEX in the ExtbanInfo struct used by
  ExtbanAdd() to indicate that your extban may also be used in +I.
- Invex (+I) now always checks cloaked hosts as well. Just like with bans,
  it checks them also when the user is not currently cloaked (eg: did -x, or
  is currently using some VHOST).
- Fixed client desynch caused by (un)banning, reported by Sephiroth (#2837).
2010-08-14 18:27:19 +00:00
binki a0b4fe90ec - Add a missing double-quote to help.conf. 2010-08-13 14:29:55 +00:00
Bram Matthys 0b54bd259e Usage example of +b ~j (from aquanight) 2010-08-13 13:11:28 +00:00
Bram Matthys d8b2069bce - Make extended bans documentation more clear by splitting the extbans in
two groups: one that specifies ban actions (~q/~n/~j) and one that
  introduces new criteria (~c/~r). Also added documentation for ~R which
  does not exist yet, but will soon...
2010-08-13 11:44:24 +00:00
Bram Matthys aaa52b3443 - Uniform naming for 'stacked extbans' in Changelog/etc. 2010-08-13 10:18:27 +00:00
binki f584875279 - Remove extras/c-ares before each time c-ares is compiled. 2010-08-11 03:53:46 +00:00
bock 14472ae09b release update 2010-08-10 20:54:27 +00:00
bock bea978de96 deleted "kline" from logging 2010-08-10 20:34:42 +00:00
autoupdate 58151df3b7 Automatic weekly version update: 201032 2010-08-08 23:00:02 +00:00
binki a6c7bb1043 - Force compilation with bundled c-ares to statically link using more sed hackery in configure.ac. 2010-08-06 03:59:57 +00:00
binki 901b9c272a Make that c-ares-1.6.0. 2010-08-04 01:38:30 +00:00
binki e540730751 - Upgraded c-ares to 1.7.3. API seems compatible with c-ares-1.6.3. (#3932) 2010-08-04 01:36:11 +00:00
binki 0a34af8720 - Define intptr_t in win32's setup.h. (#3939) 2010-08-04 00:03:40 +00:00
binki 94c2b58366 - Fix a few compiler warnings with some double-casting and another const. (#3939) 2010-08-03 23:57:44 +00:00
binki a1d076367e - Fix src/Makefile's lack of depencencies for module.c, related to #3938. 2010-08-03 17:06:05 +00:00
autoupdate eb1f41bd9c Automatic weekly version update: 201031 2010-08-01 23:00:03 +00:00
autoupdate 27c437c953 Automatic weekly version update: 201030 2010-07-25 23:00:02 +00:00
binki 889dd73f15 I forgot a bug number again; extban ~j is for (#3192). 2010-07-22 12:33:09 +00:00
binki 46668768cf - Add an extban of the schema +b ~j:*diff | less@* which _only_ prevents a user from joining a channel. 2010-07-22 12:32:06 +00:00
Bram Matthys 85904c2277 - Fix the detection for curl-without-c-ares a little (#0003940). ** fun.. autoconf 2.61** 2010-07-22 09:59:36 +00:00
Bram Matthys d0cb4dc5f5 Really really minor tweaks ;p 2010-07-22 09:41:56 +00:00
binki c4abef39cd - Remove browser compatibility listing from HTML docs.
- Added information about ``oper::password::auth-type sslclientcert'' and the same for link::password-receive::auth-type. (#3133)
- A little bit more of interlinking and using id="" instead of <a  name="" />
2010-07-21 23:19:53 +00:00
binki 7a3bf15558 - Now define _SOLARIS, USE_LIBCURL, and ZIP_LINKS in setup.h instead of the Makefiles. This means better automatic rebuilds if the latter settings change. 2010-07-20 16:09:10 +00:00
autoupdate 48b76358f4 Automatic weekly version update: 201029 2010-07-18 23:00:03 +00:00
Bram Matthys 48b270347a Signing of comments, removal of comment, not worth mentioning in Changelog 2010-07-17 11:19:48 +00:00
Bram Matthys 7c23a98292 - Same for IPv6 2010-07-17 11:15:37 +00:00
Bram Matthys 8b6967d8b9 - Fixed similar bug like nospoof with ./Config, but now with prefixaq. 2010-07-17 11:05:15 +00:00
Bram Matthys c40fc340b8 - Initialize ARG parameter properly in ./Config, otherwise everything fails. 2010-07-17 10:58:09 +00:00
Bram Matthys 35c30baace - The configure.ac change silently changed the nospoof parameter in
./configure. This meant that the answer to NOSPOOF in ./Config was ignored
  and it was always enabled.
2010-07-17 10:38:36 +00:00
binki b2e4cf82f8 - Support compiling with a bundled c-ares again, the hacky way. (#3931) 2010-07-16 13:14:44 +00:00
binki 45aeb1e61d - Give more clear error to users who use make custommodule'' without MODULEFILE. (#3935) 2010-07-16 12:04:34 +00:00
Bram Matthys 2510f2c94b - Added some checks in ./Config which (often) ensures that the self-compiled
curl version is new enough and is not using a c-ares which is binary
  incompatible. If the self-compiled curl version is (too) outdated, then we
  now suggest to rename it and have the installer re-download and compile
  it automatically. This avoids some potential crashes.
2010-07-16 10:55:45 +00:00
binki 4eff1e8493 - Remove extraneous `I' from configure.ac, run ./autogen.sh. (#3930) 2010-07-15 21:33:54 +00:00
Bram Matthys c9acb9d1c7 - The patch from #0003888 made ./Config favor the curl in /usr, even if it
was not compiled with c-ares, which is clearly a bad idea as then the
  entire IRCd can hang for several seconds or more...
  We now check if they support asynch DNS, and skip them if they don't.
2010-07-15 11:01:34 +00:00
Bram Matthys 6b3132e0c6 This file is out of date ;) 2010-07-14 18:54:52 +00:00
Bram Matthys c514288a0a - Fixed some odd behavior with SVSMODE and +z/-z, reported by TehRes (#0003498), fixed a strange SVSMODE +d <non-number> bug where it would act as a +x too. 2010-07-14 18:54:38 +00:00
Bram Matthys f4630c24e0 - Updated doc/coding-guidelines 2010-07-14 09:26:17 +00:00
binki f72ad19637 - helpop documentation for stacked extbans. 2010-07-13 22:14:45 +00:00
binki d09b68a942 - Prevent stacked bans (like +b ~q:~q:~n:~c:#chanel) from crashing unrealircd due to over-recycling a static buffer. Discovered by syzop. 2010-07-13 14:24:08 +00:00
binki c2279a9298 Added bug reference to changes for #0003918. 2010-07-12 05:02:10 +00:00
binki 4cc0244c58 - Remove remaining nameser.h references from Makfiles. 2010-07-12 01:25:14 +00:00
autoupdate 4238fff401 Automatic weekly version update: 201028 2010-07-11 23:00:02 +00:00
binki d421282cf5 - Remove include/nameser.h and reference to nameser.h from s_bsd.c. The associated functionality has been provided by c-ares for a long time. 2010-07-10 13:52:52 +00:00
binki 649818d4ad - Fix references to motd and friends in src/win32. 2010-07-09 17:46:38 +00:00
binki ac81a9cd9a - Fix references in src/win32 to aMotd to now be to aMotdFile. 2010-07-09 17:25:33 +00:00
binki bd636c4e6d - Attempt to make up for Windows not having mode_t and not complying to POSIX. 2010-07-09 15:40:58 +00:00
binki 7dbf154d04 - Move configure.ac to the project's root.
- Separate m4 macros into *.m4 files (it is much easier to run aclocal now).
- Remove unused DOMAINNAME macro and --with-hostname= options as the DOMAINNAME macro isn't used anywheres and its use shouldn't be encouraged.
- autogen.sh to bootstrap the buildsystem. We now maintain setup.h with autoheader.
- --disable-blah now does the opposite of --enable-blah. The same for --with-blah and --without-blah. (This makes Gentoo users happier).
2010-07-08 02:51:43 +00:00
autoupdate 5cf8ee21a0 Automatic weekly version update: 201027 2010-07-04 23:00:03 +00:00
binki 2a6a4b31ff - Fixed a few trivial compilation warnings. 2010-06-29 03:00:34 +00:00
autoupdate c3ea2568b2 Automatic weekly version update: 201026 2010-06-27 23:00:02 +00:00
binki 7fdd8cce96 - Fixed desynchronized prototype. 2010-06-26 04:36:56 +00:00
binki 11d84d8534 - Replaced some coders@lists.unrealircd.org references with bugs.unrealircd.org.
- Update/add some .cvsignore files.
2010-06-21 21:57:42 +00:00
Bram Matthys 1e5e60d635 - Fixed race condition / reference count issue where an outgoing server connect
would cause the IRCd to crash. Reported by Monk (#0003913).
2010-06-21 12:27:45 +00:00
Bram Matthys a523cec997 blah 2010-06-21 09:27:34 +00:00
autoupdate 2980fe011f Automatic weekly version update: 201025 2010-06-20 23:00:02 +00:00
binki 8ee34484b4 - When removing a SHUN, check if users who were blocked by this SHUN are still blocked by another SHUN. Previously, if multiple shuns covered a single user, removing one of these shuns would mark the user as un-SHUN-ed. (#0003906) 2010-06-20 06:28:38 +00:00
binki c1ca937861 Updated the correct Changes file. 2010-06-19 22:01:39 +00:00
binki aa0c706bff - Handle bad flags in set::ssl::options better (#0003896). 2010-06-19 22:00:05 +00:00
binki 2828e7f8b2 - Rename configure.in to configure.ac and modernize AC_INIT. 2010-06-19 03:22:51 +00:00
binki 9faa5a6d2b - Fix files::shortmotd to by accepted by unrealircd like the docs say it is.
- Fix remote includes download handling which I broke for remote includes ;-).
- Recursively add more consts.
2010-06-17 02:41:43 +00:00
binki d7835d959e - Fix typo 2010-06-16 14:14:08 +00:00
Bram Matthys 6e34938c59 - Forgot to commit the REMOTEINC_SPECIALCACHE stuff to config.h which means
it wasn't actually enabled until now...
2010-06-16 11:47:42 +00:00
binki 06e807130c - Added error message for unknown directives in the "files" block
- Remote MOTD support. Not adequately tested. Required restructuring of the asynchronous download callback and handler.
- Added some consts throughout url.c, etc.
- Fix segfault where the an include directive specifies a URL and cURL follows redirects, resulting in a different resultant URL. The remote includes code would look for the an include block using the resultant URL and assume that it would be found. The new code searches differently, has new checks, and ignores the resultant URL.
- Removed duplicated m_motd() and friends that were both in modules and s_serv.c. The copies in s_serv.c (core) were overriding the in-module functions.
2010-06-16 05:44:15 +00:00
binki fc1e848a2a - Throw out old USE_POLL code which 1. has no buildsystem support and 2. has comments which claim it doesn't work.
- Removed extraneous apostrophe from a module loader error message.
2010-06-15 02:37:50 +00:00
autoupdate 5cf1dc144a Automatic weekly version update: 201024 2010-06-13 23:00:02 +00:00
autoupdate 304e3ad0d4 Automatic weekly version update: 201023 2010-06-06 23:00:03 +00:00
autoupdate 6ab3862520 Automatic weekly version update: 201022 2010-05-30 23:00:02 +00:00
binki 9e64a0121c - More strict sockhost (hostmask) checking in m_nick.c:_register_user(). Fixed some bad string handling as well. See comments in bug (#0003907). 2010-05-28 21:31:36 +00:00
binki f1ec26a07c - Partially fixed bug where IPv4 addresses were randomly mishandled by the cgiirc code, resulting in the sockhost/hostmask being set to something like ::ffff:127.0.0.1, which confused the s2s protocol. Reported by tabrisnet (#0003907). Also, reject incorrectly formed hostnames from WEBIRC command. 2010-05-28 04:30:22 +00:00
Bram Matthys 625102cacd - Fixed bug in CVS where the ban exempt (+e) handling was reversed: if a
non-matching +e was present, one could walk through bans. Reported by
  tabrisnet (#0003909). Bug was caused by chained/stacked extbans.
2010-05-24 12:01:07 +00:00
Bram Matthys a9e547614b send people to the web, and scratch stskeeps ;p 2010-05-24 11:58:55 +00:00
autoupdate a4fc53fc3a Automatic weekly version update: 201021 2010-05-23 23:00:03 +00:00
Bram Matthys ab7957a6a8 docs: credit changes (permanent), the rest: interim credit changes -- needs to be finalized before 3.2.9 release, as always... 2010-05-17 10:01:08 +00:00
binki f4e4df6d6a - ./Config now remembers extra/custom ./configure parameters. 2010-05-17 04:36:43 +00:00
binki df9d102d98 - Added chmode +r to HTML documentation 2010-05-17 03:33:41 +00:00
binki 9f6492169b - SVSMODE now triggers HOOKTYPE_UMODE_CHANGE and HOOKTYPE_REMOTE_CHANMODE. 2010-05-17 02:41:43 +00:00
autoupdate fe33820f02 Automatic weekly version update: 201020 2010-05-16 23:00:11 +00:00
binki 1f89c2f6df Removed ugly ``files {} got initialized!'' message. 2010-05-15 21:23:29 +00:00
binki 38b7350f7c Remove m_addline from commands.so 2010-05-15 21:17:57 +00:00
autoupdate 80c21aac2e Automatic weekly version update: 201019 2010-05-09 23:00:08 +00:00
binki 046eb67100 - Fix -DDEFAULT_PERMISSIONS=0 support. Previously, support.c:unreal_copyfile() would create files with no permissions, breaking loadmodule. (#0003905) 2010-05-05 23:59:27 +00:00
binki 23f72648c4 - Clarify/expand alias block documentation, especially for alias::type=command; (#0003902) 2010-05-05 22:50:31 +00:00
binki c0790e90de - Remove the Compile as hub/leaf'' concept as I'm quite sure this doesn't actually do anything (#0003891) 2010-05-05 22:39:18 +00:00
binki 5f05b3c80b - Update Unreal.nfo with information about new support network setup (#0003904) 2010-05-05 21:55:13 +00:00
autoupdate 0c939fa194 Automatic weekly version update: 201018 2010-05-02 23:00:10 +00:00
autoupdate 24d0463d4c Automatic weekly version update: 201017 2010-04-25 23:00:15 +00:00
Bram Matthys 8e26c4b540 linking bug & ipv6 thing (the latter is completely untested):
- IPv6: it seems some recent Linux dists decided to make IPv6 sockets
  IPv6-only, instead of accepting both IPv4&IPv6 on them like until now.
  FreeBSD (and other *BSD's) already did that move a few years back,
  requiring server admins to sysctl.
  We now make use of a new option to explicitly disable "IPv6-only".
  This should work fine on Linux.
  Whether it provides a complete solution for FreeBSD, I don't know, testing
  is welcome! In theory setting net.inet6.ip6.v6only to 0 should no longer
  be needed, but you might still need to enable ipv6_ipv4mapping.
- Fix stupid issue where current CVS would no longer link TO an earlier
  Unreal server (eg: outgoing connect to a 3.2.8 hub). Reported by ohnobinki
  (#0003901).
2010-04-25 19:14:55 +00:00
autoupdate cd3dd80c54 Automatic weekly version update: 201016 2010-04-18 23:00:17 +00:00
autoupdate e3be08d5d1 Automatic weekly version update: 201014 2010-04-04 23:00:21 +00:00
autoupdate 84a19ab091 Automatic weekly version update: 201013 2010-03-28 23:00:16 +00:00
autoupdate e422f24d52 Automatic weekly version update: 201012 2010-03-22 00:00:10 +00:00
autoupdate a7ea2f49b3 Automatic weekly version update: 201011 2010-03-15 00:00:04 +00:00
Bram Matthys b245850fb0 update donators. 2010-03-08 16:24:22 +00:00
autoupdate 86d8796b77 Automatic weekly version update: 201010 2010-03-08 00:00:12 +00:00
Bram Matthys e47baea5da - Made '/REHASH -motd' really rehash *all* MOTD, OPERMOTD, BOTMOTD and RULES
files. Reported by bitmaster (#0003894).
2010-03-03 13:56:28 +00:00
autoupdate 982e5a82c0 Automatic weekly version update: 201009 2010-03-01 12:14:53 +00:00
Bram Matthys 1af446e5a3 clarify UNREAL_VERSION_TIME: the week # is ISO week. 2010-03-01 12:08:38 +00:00
Bram Matthys fb68c66f31 - Updated ./Config description for NOSPOOF, it already said it protects
against HTTP POST proxies, now added some extra text to say it also
  protects against the Firefox XPS IRC Attack. Also made NOSPOOF enabled by
  default on *NIX (this was already the case on Windows).
- Updated ./Config description for DPATH. Seems quite some people answer
  this question wrong, and when that happens, you only get some obscure
  error when running './unreal start'.
- Fixed 'unreal' script to give a better error if it cannot find the IRCd
  binary.
2010-03-01 11:49:30 +00:00
Bram Matthys a41384b37f - Removed old dgets() and crc32 function (code cleanup) 2010-02-13 13:09:46 +00:00
Bram Matthys ef745b3423 - We now no longer treat \ (backslash) in *MOTD and RULES files as special.
Previously this caused some really odd behavior. Backslashes are now
  treated as-is, so no special escaping is necessary. Reported by DelGurth
  (#0003002).
- Removed old dgets() function
2010-02-13 13:07:19 +00:00
Bram Matthys d4d58c1247 - Better document /REHASH flags. No longer document some flags as they are
redundant and confusing. Also removed an old statement saying k-lines would
  be erased on rehash which is not true. Documented '/rehash -dns'.
  Reported by ohnobinki (#0003881).
2010-02-13 12:48:33 +00:00
Bram Matthys bd999808d7 - Updated pkg-config m4 macro (now 0.23) for configure, patch from ohnobinki (#0003889). 2010-02-13 11:22:53 +00:00
Bram Matthys ee078bb165 Removed old coders, pretty outdated... 2010-02-11 17:38:41 +00:00
Bram Matthys ab2776eb6b - Another c-ares fix for Solaris 10, this time it had to do with
PATH_SEPARATOR, the exact error was: error: PATH_SEPARATOR not set.
  Reported by j0inty, patch provided by ohnobinki (#0003887).
2010-02-08 17:04:42 +00:00
Bram Matthys b2332556ac - Fix for --with-system-cares, reported and patch provided by ohnobinki (#0003890). 2010-02-08 16:59:06 +00:00
Bram Matthys 3bcb2fe524 - Reverted the revert and updated one line to fix the fix. 2010-02-08 16:50:35 +00:00
Bram Matthys d794786ec0 - Patch from above is (temp.) reverted, Unreal wouldn't compile without curl. 2010-01-27 09:13:20 +00:00
Bram Matthys 8171ea4fd8 - Added patch from ohnobinki (#0003888), only slightly edited, which improves
curl detection, added checks to see if curl actually works (print out a
  clear curl error during configure, instead of getting an error during
  'make'), and we now error when using --enable-libcurl without
  --with-system-cares if the system curl depends on c-ares. This is because
  this can cause ABI incompatability between curl's c-ares and our c-ares,
  which leads to odd issues such as:
  Could not resolve host: www.example.net (Successful completion)
  And possibly other weird issues, perhaps even crashes.
2010-01-25 20:23:59 +00:00
Bram Matthys 89e70ff23f woops.. set -x ;) 2010-01-25 10:55:21 +00:00
lowdigit a19e31dbd0 update doc 2010-01-23 12:59:54 +00:00
lowdigit 75ce9d27e7 again doc update 2010-01-18 14:05:04 +00:00
lowdigit 9c22c743c6 doc update 2010-01-18 14:03:38 +00:00
lowdigit 1defbfc962 *** empty log message *** 2010-01-18 13:56:16 +00:00
lowdigit 1d79699c0d another test 2010-01-16 19:13:55 +00:00
lowdigit 341bb11423 test 2010-01-16 19:13:34 +00:00
Bram Matthys 9259ddee06 - Added set::uhnames setting which can be used to disable uhnames by setting
it to 'no', the default is 'yes' (on). Requested by Robin (#0003885) as
  UHNAMES may increase the time of the nick list being loaded from 1 to 4
  seconds when joining several channels with more than 1000 users. As this
  problem is only present on some networks, we keep UHNAMES enabled by
  default.
2010-01-12 18:30:36 +00:00
Bram Matthys 9d3c5ce8e1 - Fixed a /RESTART issue on Linux: Unreal did not properly close all file-
descriptors. Because of this, Unreal did not restart properly as you would
  get an "Address already in use" error. This only seemed to happen when
  logging to syslog, or when there was something wrong with syslogd.
  Reported by Mouse (#0003882).
2010-01-04 13:22:34 +00:00
Bram Matthys 32ab3cba8b woops.. credit ;) 2010-01-04 13:12:29 +00:00
Bram Matthys 7ad6dcd977 - Fixed a /RESTART issue on Linux: Unreal did not properly close all file-
descriptors. Because of this, Unreal did not restart properly as you would
  get an "Address already in use" error. This only seemed to happen when
  logging to syslog.
- Fixed a similar issue with syslog (and debugmode) and closing fd's as well:
  the first port we listened on would not open up, ircd did not log any error.
2010-01-04 13:11:03 +00:00
Bram Matthys 6b28bfd1b7 curl auto-installation:
- Made ./Config description about remote includes a bit more clear.
- When you now answer Yes to Remote includes in ./Config and $HOME/curl does
  not exist, it now asks you if you want to automatically download and
  install curl (which is done by ./curlinstall).
  This has been tested on Linux, further testing on f.e. FreeBSD is
  required.
2010-01-03 16:24:48 +00:00
Bram Matthys cb7c1a821b test 2010-01-01 20:23:37 +00:00
Bram Matthys e3da8c7ebe test 2010-01-01 20:22:41 +00:00
Bram Matthys 55fbab833b test 2010-01-01 20:22:23 +00:00
Bram Matthys ee2f4f5f22 empty line 2010-01-01 20:02:15 +00:00
Bram Matthys dddc8f07e4 PROTOCTL EAUTH/SERVERS/new linking protocol:
- Server protocol: added PROTOCTL EATH=servername, which allows us to
  authenticate the server very early in the handshake process. That way,
  certain commands and PROTOCTL tokens can 'trust' the server.
  See doc/technical/protoctl.txt for details.
- Server protocol: between new Unreal servers we now do the handshake a
  little bit different, so it waits with sending the SERVER command until
  the first PROTOCTL is received. Needed for next.
- Server protocol: added PROTOCTL SERVERS=1,2,3,4,etc by which a server can
  inform the other server which servers (server numeric, actually) it has
  linked. See doc/technical/protoctl.txt and next for details.
- When our server was trying to link to some server, and at the same time
  another server was also trying to link with us, this would lead to a
  server collision: the server would link (twice) ok at first, but then a
  second later or so both would quit with 'Server Exists' with quite some
  mess as a result. This isn't unique to Unreal, btw.
  This happened more often when you had a low connfreq in your link blocks
  (aka: quick reconnects), or had multiple hubs on autoconnect (with same
  connfreq), or when you (re)started all servers at the same time.
  This should now be solved by a new server handshake design, which detects
  this race condition and solves it by closing one of the two (or more)
  connections to avoid the issue.
  This also means that it should now be safe to have multiple hubs with low
  connfreq's (eg: 10s) without risking that your network falls apart.
  This new server handshake (protocol updates, etc) was actually quite some
  work, especially for something that only happened sporadically. I felt it
  was needed though, because (re)linking stability is extremely important.
  This new feature/design/fix requires extensive testing.
  This feature can be disabled by: set { new-linking-protocol 0; };
2010-01-01 19:49:06 +00:00
autoupdate 080a2d6810 Automatic weekly version update: 200952 2009-12-28 05:00:05 +00:00
stylus740 cb385bc103 changes of week52: unreal3_2_fixes doc/example.de.conf doc/unreal32docs.de.html 2009-12-27 08:48:28 +00:00
Bram Matthys feb5d81406 update unreal-notify mailinglist link (old one 404'd), add forums link. 2009-12-24 09:30:50 +00:00
Bram Matthys 0039f7db25 - Removed log target 'kline' from documentation, as it didn't do anything
(use 'tkl' instead). Reported by nephilim and Stealth (#0003849).
2009-12-22 13:49:05 +00:00
autoupdate 75685b1684 Automatic weekly version update: 200951 2009-12-21 05:00:03 +00:00
angrywolf 1eb2a21b49 Typo correction in Files Block 2009-12-15 13:04:59 +00:00
angrywolf 8f1f47aece - Added missing section 'Files block' (for some reason I missed the diff mail for it).
- Grammar correction (removed the affix from irc.unrealircd.org so it's easier to update correctly).
2009-12-15 12:59:46 +00:00
angrywolf 20c00d3697 Changes of week 50 2009-12-15 12:23:15 +00:00
autoupdate 086d464c8a Automatic weekly version update: 200950 2009-12-14 05:00:03 +00:00
stylus740 49fa3ed3d8 unreal32docs.de.html changes of week 50 2009-12-12 11:45:00 +00:00
autoupdate 8b637e344b Automatic weekly version update: 200949 2009-12-07 05:00:04 +00:00
Bram Matthys f5d9a87f08 - Use RPL_STARTTLS/ERR_STARTTLS numerics 2009-12-06 16:59:15 +00:00
Bram Matthys 5a0a71de03 - Added support for STARTTLS. This allows users to switch to SSL without
having to use a special SSL-only port, they can simply switch to SSL on
  any port. This is currently only supported by few clients (such as KVIrc 4).
  This functionality can be disabled by setting set::ssl::options::no-starttls,
  for example if you don't want to offer SSL to your users and only want it
  to be used for server to server links.
  Naturally, the IRCd must be compiled with SSL support for STARTTLS to work.
- Fixed SSL_ERROR_WANT_READ in IRCd_ssl_write()
2009-12-06 16:52:52 +00:00
Bram Matthys a5bd782cdf - Made the timesynch log output more clear and understandable.
- Added an 'UnrealIRCd started' log message on startup.
2009-12-06 16:31:42 +00:00
autoupdate 829247a272 Automatic weekly version update: 200948 2009-11-30 05:00:07 +00:00
Bram Matthys 6aab6d748d hmmm... dilemma... 2009-11-29 16:12:44 +00:00
Bram Matthys 7dee0cdcf1 - Added support for "chained" extbans. Put simply this allows extban combinations
such as ~q:~c:#test to only silence users on #test, for example. This feature
  is enabled by default, but can be disabled during ./Config -advanced. Module
  support for this feature must note the following:
  - For is_ok function, the extban can either assign extban_is_ok_nuh_extban, which
    will deal checking a chained extban (including checking for restricted extbans),
    or it can call that function from its own is_ok routine. For the latter case,
    remember to pass only the mask part of your ban format (ie, don't just pass para as
    otherwise it'll just call your is_ok again).
  - For conv_param function, the extban can either assign extban_conv_param_nuh_or_extban,
    which will automatically call conv_param for a chained extban, or pretty up a n!u@h mask.
  - For is_banned, the extban should call ban_check_mask with the mask part of the parameter.
    This will automatically call is_banned for a stacked extban, or match against a n!u@h. n!u@h
    is checked against the current user (ie, with the info in the globals ban_ip, etc), so things
    can get weird if you call this outside a normal ban check.
  Modules must keep in mind that chained extban support is not available (and neither are the three
  functions above) if DISABLE_STACKED_EXTBANS is #defined (this is controled by Config). Modules will
  not compile/load if they try to use them anyway.
  This change should not break extban modules, and should need some more extensive testing.
- Misc fix for disabling extban chains, should've done stuff in our autoconf
  stuff instead of hacking configure directly :P .
2009-11-29 12:46:29 +00:00
Bram Matthys 0ebf84d100 this is not the way it should be done... but i have no time to fix the real issue. 2009-11-29 11:56:54 +00:00
stylus740 aceb72f52e doc/unreal32docs.de.html Last Chanes of week 48 2009-11-28 18:54:48 +00:00
stylus740 a28d62c5f0 doc/unreal32docs.de.html - Changes of week 48 2009-11-28 18:49:44 +00:00
Bram Matthys 236808d8b4 - set::level-on-join now also supports voice, halfop, protect and owner.
Requested by katsklaw (#0003852). Partial patch provided by katsklaw and
  morpheus_pl.
2009-11-23 15:11:20 +00:00
Bram Matthys 9c234ffdf8 - Added special caching of remote includes. When a remote include fails to
load (for example when the webserver is down), then the most recent
  version of that remote include will be used, and the ircd will still boot
  and be able to rehash. Even though this is quite a simple feature, it
  can make a key difference when deciding to roll out remote includes on
  your network. Previously, servers would be unable to boot or rehash when
  the webserver was down, which would be a big problem (often unacceptable).
  The latest version of fetched urls are cached in the cache/ directory as
  cache/<md5 hash of url>.
  Obviously, if there's no 'latest version' and an url fails, the ircd will
  still not be able to boot. This would be the case if you added or changed
  the path of a remote include and it's trying to fetch it for the first time.
  To disable this new behavior, check out REMOTEINC_SPECIALCACHE in
  include/config.h.
2009-11-23 09:43:10 +00:00
Bram Matthys 22bf17ddc7 - When an incorrect command line argument is passed, the IRCd will no longer
boot. Previously it said 'Server not started' but started anyway.
  Reported and patch provided by ohnobinki (#0003870).
2009-11-23 08:41:53 +00:00
autoupdate 355cc16d32 Automatic weekly version update: 200947 2009-11-23 05:00:04 +00:00
Bram Matthys 2ed84ed506 - Fixed bug reported by mut80r (#0003867) where locops didn't get a
proper vhost when set::hosts::local had a 'user@host' syntax instead of
  just 'host'. Also fixed a bug with regards to +x on-oper with locops.
2009-11-22 13:34:12 +00:00
Bram Matthys e92e2c22c3 - Applied patch from ohnobinki (#0003863) which makes run-time configuration
of files (tune, pid, motd) possible.
2009-11-22 12:23:00 +00:00
Bram Matthys 51d30af3fd - Applied patch from k4be (#0003866) which introduces a new packet hook
(HOOKTYPE_PACKET). Replacing the 'text to be sent' to a client is
  supported, which allows character(set) conversion in a module.
  Note that modifying an incoming message by the hook is not supported.
2009-11-22 12:10:56 +00:00
autoupdate 945bceb218 Automatic weekly version update: 200946 2009-11-16 05:00:03 +00:00
autoupdate 169f754f01 Automatic weekly version update: 200945 2009-11-09 05:00:04 +00:00
Bram Matthys c7ea6217e5 - Fixed IPv4 ip's in link::bind-ip on IPv6 builds. This caused issues ranging
from not binding to that ip when linking, to not being able to link at
  all. Also fixed a very small memory leak upon /REHASH. Bug reported by
  Mr_Smoke (#0003858).
2009-11-04 10:46:57 +00:00
autoupdate f60c2574d3 Automatic weekly version update: 200944 2009-11-02 05:00:04 +00:00
autoupdate c6c2cf9371 Automatic weekly version update: 200943 2009-10-26 05:00:04 +00:00
autoupdate 4d79d9f5d2 Automatic weekly version update: 200942 2009-10-19 05:00:03 +00:00
autoupdate 8bf078190e Automatic weekly version update: 200941 2009-10-12 05:00:04 +00:00
autoupdate 1922d94bf9 Automatic weekly version update: 200940 2009-10-05 05:00:03 +00:00
autoupdate 4ea0a642ff Automatic weekly version update: 200939 2009-09-28 05:00:04 +00:00
autoupdate 110b0aa9ac Automatic weekly version update: 200938 2009-09-21 05:00:03 +00:00
autoupdate d9a77b8112 Automatic weekly version update: 200937 2009-09-14 05:00:03 +00:00
autoupdate c6ca269538 Automatic weekly version update: 200936 2009-09-07 05:00:03 +00:00
autoupdate 2921b50e00 Automatic weekly version update: 200935 2009-08-31 05:00:04 +00:00
Bram Matthys 125102aad7 - class name 'default' is reserved. Using it caused the ircd to crash
on-boot, reported by Dragon_Legion (#0003864).
2009-08-26 10:27:04 +00:00
autoupdate a5deb6bb23 Automatic weekly version update: 200934 2009-08-24 05:00:04 +00:00
autoupdate 6319b36e2a Automatic weekly version update: 200933 2009-08-17 05:00:03 +00:00
Bram Matthys 660f7d97c4 #3865 -- reported by fbi 2009-08-15 15:10:57 +00:00
autoupdate 7ca4d97ae9 Automatic weekly version update: 200932 2009-08-10 05:00:03 +00:00
autoupdate 4558c380c5 Automatic weekly version update: 200931 2009-08-03 05:00:03 +00:00
autoupdate fa0060ed27 Automatic weekly version update: 200930 2009-07-27 05:00:03 +00:00
autoupdate 147b5013aa Automatic weekly version update: 200929 2009-07-20 05:00:04 +00:00
autoupdate 9b7033b9fe Automatic weekly version update: 200928 2009-07-13 05:00:03 +00:00
autoupdate cd19366da1 Automatic weekly version update: 200927 2009-07-06 05:00:04 +00:00
autoupdate 57618c1c6d Automatic weekly version update: 200926 2009-06-29 05:00:04 +00:00
autoupdate 698660b485 Automatic weekly version update: 200925 2009-06-22 05:00:03 +00:00
autoupdate dc6eebbe09 Automatic weekly version update: 200924 2009-06-15 05:00:03 +00:00
Bram Matthys b070d8805c - Fixed issue where a negative time offset (either caused by ircd.tune or
timesynch) made autoconnect not work for the duration of the offset
  (eg: -60 would make autoconnect wait 60 seconds after boot, instead of
  autoconnecting almost immediately). Reported by aragon (#0003853).
2009-06-08 08:49:07 +00:00
autoupdate 69b7a3c35d Automatic weekly version update: 200923 2009-06-08 05:00:03 +00:00
autoupdate dfcdaaa152 Automatic weekly version update: 200922 2009-06-01 05:00:04 +00:00
autoupdate 3fbec6bf4e Automatic weekly version update: 200921 2009-05-25 05:00:04 +00:00
angrywolf 8ebb8dfbd6 Updated my email address. (The old one discontinued working.) 2009-05-19 04:15:50 +00:00
autoupdate 2efc764311 Automatic weekly version update: 200920 2009-05-18 05:00:04 +00:00
stylus740 ec7429fb4b doc/example.de.conf doc/unreal32docs.de.html - changes of week 20 2009-05-16 16:50:57 +00:00
Bram Matthys 6ff6367008 - Fix /VERSION output on Windows, especially for Vista and newer Windows,
patch from BuHHunyx and Bock (#0003846).
2009-05-13 13:02:57 +00:00
Bram Matthys f3733c32ca - Comitted Windows Installer fix that was put in 3.2.8.1, fixing
#0003845 and #0003809 (MS Visual Studio Redistributable package automatic
  installation).
2009-05-13 12:54:50 +00:00
Bram Matthys 66e4674f3f - Comitted windows fix that was put in 3.2.8.1 for installer 2009-05-13 12:14:45 +00:00
Bram Matthys d45a18d7b2 - Fixed crash on Linux (with a 'new' dynamic linker) when a module has
been updated and then reloaded. From now on we just copy to a tempfile,
  and never hardlink. (bug #3557).
2009-05-13 10:33:52 +00:00
Bram Matthys 5d8532eb86 /* Prevent crashes due to invalid prototype/ABI.
* And force the use of at least the version shipped with Unreal
 * (or at least one without known security issues).
 */
this text is fcked btw.. whatever...
2009-05-13 10:30:57 +00:00
Bram Matthys 5f727eec74 - Applied another patch from ohnobinki which adds --with-system-cares
(#0003847).
2009-05-13 10:28:06 +00:00
Bram Matthys 70ec1b1ef8 - Added ./configure option called --with-system-tre by which you can specify
a path to the TRE library (instead of using the TRE we ship with Unreal).
  Patch provided by ohnobinki (#0003842).
2009-05-13 09:35:44 +00:00
Bram Matthys fb60748df2 - Update some urls 2009-05-13 09:25:23 +00:00
Bram Matthys 68ec992861 - Print out an error if a user uses standard ./configure stuff instead of
./Config. Won't catch all cases, but will definitely catch most problems.
2009-05-13 09:24:30 +00:00
autoupdate 433760a916 Automatic weekly version update: 200919 2009-05-11 05:00:04 +00:00
autoupdate 891daa18b4 Automatic weekly version update: 200917 2009-04-27 05:00:04 +00:00
Bram Matthys 76c107edba changelogupdate:- Fixed crash on Linux (with a 'new' dynamic linker) when a
module has
  been updated and then reloaded. From now on we just copy to a tempfile,
  and never hardlink. (bug #???????).
2009-04-22 11:50:29 +00:00
Bram Matthys cd30253ea2 - Fixed crash on Linux when a module has been updated and then reloaded.
From now on we just copy to a tempfile, and never hardlink. (bug #???????).
2009-04-22 11:42:38 +00:00
Bram Matthys c7b782693c changelog-only: - Don't do show-connect-info on serversonly ports 2009-04-22 11:14:14 +00:00
Bram Matthys f692661583 - Don't do show-connect-info on servers-only ports 2009-04-22 11:13:21 +00:00
autoupdate e794eaa393 Automatic weekly version update: 200916 2009-04-20 05:00:05 +00:00
Bram Matthys 16d9810740 - Fixed compile issue on Solaris regarding c-ares (-lrt), reported and
test shell provided by fraggeln (#0003854).
- Improved automatic SSL detection on Solaris (/usr/sfw), reported by
  fraggeln (also #0003854).
2009-04-15 11:10:06 +00:00
Bram Matthys 762bbd407b - Fixed (serious) security issue regarding allow::options::noident,
reported by meepmeep (#0003852).
** 3.2.8.1 release **
2009-04-12 12:40:36 +00:00
autoupdate 6df508b06a Automatic weekly version update: 200914 2009-04-06 05:00:03 +00:00
autoupdate 6687c3188d Automatic weekly version update: 200913 2009-03-30 05:00:03 +00:00
autoupdate c51039b750 Automatic weekly version update: 200912 2009-03-23 05:00:03 +00:00
autoupdate c811a925a4 Automatic weekly version update: 200911 2009-03-16 05:00:03 +00:00
stylus740 8c13a60907 Changes week 11 doc/unreal32docs.de.html 2009-03-14 12:34:02 +00:00
autoupdate 6dfb1a7847 Automatic weekly version update: 200910 2009-03-09 05:00:03 +00:00
autoupdate f6e1a74fca Automatic weekly version update: 200909 2009-03-02 05:00:06 +00:00
Bram Matthys ac00905029 last-minute change before real 3.2.8 rls 2009-03-01 16:26:20 +00:00
Bram Matthys be55051f44 ** 3.2.8 release ** 2009-03-01 15:00:32 +00:00
Bram Matthys 6196abbf7b UHNAMES & WATCHOPTS, other fixes, copyright 2009-03-01 14:49:03 +00:00
Bram Matthys a0e4982335 protover 2309 = Unreal 3.2.6, 3.2.7, 3.2.8 2009-03-01 14:48:38 +00:00
Bram Matthys bd4292e301 - Updated credits (donations) 2009-02-28 15:44:59 +00:00
Bram Matthys 0ae378c5ce stskeeps did contribute to 3.2.8, not with direct commits but by me using a few
backports. However, I think it would be confusing to list him in the active
coders list... so moved to 'past unreal3.2 coders/contributors'.
2009-02-28 15:08:01 +00:00
autoupdate a094103c67 Automatic weekly version update: 200908 2009-02-23 05:00:04 +00:00
Bram Matthys de4eb8ec75 - Fixed harmless (but silly) message which happened on every IRCd boot
(time jump message).
(correction)
2009-02-20 13:19:36 +00:00
Bram Matthys cc8a592557 - Fixed very silly 'time jumped .. seconds ahead (0 -> ..)' message which
happened on every IRCd boot.
2009-02-20 13:00:07 +00:00
Bram Matthys 529bd19465 - 'link xx with SSL option enabled on non-SSL compile' was incorrectly
printed out as a warning, when in fact it's an error (and was treated as
  such). Same for ZIP on non-zip compile. Reported by Stealth (#0003833).
..& updated credits..
2009-02-18 19:19:53 +00:00
autoupdate 7dced92085 Automatic weekly version update: 200907 2009-02-16 05:00:03 +00:00
angrywolf fc5f1c0042 Changes of week 04 2009-02-13 14:09:53 +00:00
autoupdate 4a4f518380 Automatic weekly version update: 200906 2009-02-09 05:00:03 +00:00
Bram Matthys d051624476 ** 3.2.8-rc2 *NIX downloads replaced ** 2009-02-08 12:26:55 +00:00
Bram Matthys 2fd46b9cd7 Update from Serkan of 2009-02-02 2009-02-08 10:47:43 +00:00
stylus740 0fba832934 Repaired help.conf.de 2009-02-02 22:10:48 +00:00
autoupdate 144d2dcd82 Automatic weekly version update: 200905 2009-02-02 05:00:04 +00:00
Bram Matthys 662af43a45 - Fix for compile problem on FreeBSD (and possibly other OS's):
- When pkg-config is present but does not recognize --static, use
    default c-ares library options.
  - Set default c-ares library options to -lcares on FreeBSD and others.
    Set to -lcares -lrt on Linux (previously was -lcares -lrt for all).
  Thanks to goldenwolf for the bugreport (#0003803) and providing a test-
  shell to trace this issue down.
2009-02-01 16:43:33 +00:00
Bram Matthys fd043453b9 - Some text fixes regarding time shift feature 2009-02-01 10:12:49 +00:00
stylus740 a62456b243 Changes week 05 doc/unreal32docs.de.html 2009-02-01 09:05:27 +00:00
bock 49f05da55c fixed typo. 2009-01-31 10:24:14 +00:00
autoupdate bccb8dba2a Automatic weekly version update: 200904 2009-01-26 05:00:05 +00:00
Bram Matthys 46deee2cdc - Smallll fix for time shift protection <- now hopefully rc2 for real.. 2009-01-25 11:25:15 +00:00
Bram Matthys 09cf365162 ** 3.2.8-rc2 release ** 2009-01-25 11:19:34 +00:00
stylus740 6426b73838 Changes of week 04: doc/unreal32docs.de.html 2009-01-25 07:49:11 +00:00
Bram Matthys 8918b99248 - Throttling time is now more accurate, especially with larger time values
such as 3 connections per 60 seconds. Previously that could result in 3
  per 90 seconds due to timer inaccuracy, now max 65 seconds (max 5s
  inaccuracy).
2009-01-24 15:38:20 +00:00
Bram Matthys 98db288079 - Added some big warnings regarding big timeshifts.
In the IRCd world correct time is very important. This means that time
  should be correct when the IRCd is booted, either by running ntpd/ntpdate
  on the system or some other synchronization software, or by using the
  built-in timesync feature.
  Whenever the clock is adjusted for more than a few seconds AFTER the IRCd
  has booted, it can lead to dangerous effects ranging from unfair
  timestamps
  for nicks and channels (and hence the possibility to takeover channels),
  to even completely stalling the IRCd (negative timeshift) or making it so
  nobody can connect anymore due to throttling (positive timeshift).
  We now try to 'fix' the worst effects such as the IRCd freeze and
  throttling. This does not fix the whole problem, so I've added some big
  warnings when the clock is adjusted, including an annoying one every 5
  minutes if the clock was set backwards, until the time is OK again
  (catches up with the original time).
  This fixes #0003230 reported by Stealth, and #0002521 reported by durrie.
2009-01-24 15:16:15 +00:00
bock 72c0cb09e9 changes of week 4 2009-01-24 12:37:37 +00:00
Bram Matthys 651add103b Updated credits to reflect coders, contributors and testers of this 3.2.8 release. 2009-01-20 20:49:21 +00:00
Bram Matthys 3aa9afefeb +operoverride fixes 2009-01-20 19:53:35 +00:00
Bram Matthys 8f00cf9dd1 - Updated regex documentation in unreal32docs, it had some incorrect
statements regarding wildcards. Reported by james2vegas (#0003800).
2009-01-19 10:03:24 +00:00
Bram Matthys 20b66249ca bump - too late 2009-01-19 10:03:06 +00:00
autoupdate c6661334a9 Automatic weekly version update: 200903 2009-01-19 05:00:03 +00:00
mark 4a431863c6 Changes of week 01/09 2009-01-18 19:19:02 +00:00
Bram Matthys df508ff00c - Added note to release notes regarding Suse 10.3 on amd64 causing a crash
on-boot. #0003725, #0003653, #0003791.
2009-01-18 13:21:02 +00:00
autoupdate ada0607eb7 Automatic weekly version update: 200902 2009-01-12 05:00:04 +00:00
angrywolf aedce0405f Changes of week 01 2009-01-10 17:48:52 +00:00
Bram Matthys c6b0eb6987 +- Remote includes (constant) crash with new curl/c-ares versions
..something like that... xref #3785
2009-01-09 19:59:26 +00:00
bock 90a548c310 3.2.8-rc1 2009-01-05 18:07:21 +00:00
Bram Matthys ffef7193bb ispell 2009-01-05 11:35:37 +00:00
Bram Matthys f982828981 - Fixed OperOverride bug: if you are halfop you couldn't -q/-a, reported
by Strawberry_Kittens (#0003758).
2009-01-05 11:31:23 +00:00
autoupdate d6aafe4a7b Automatic weekly version update: 200901 2009-01-05 05:00:04 +00:00
Bram Matthys eac36b6344 changelog edit:
from:
mac os x unconfirmed thing
to:
- Fix for Mac OS X compile problem (in setpgrp), reported by Bock / Jckf
  (#0003767).
2009-01-04 15:08:21 +00:00
stylus740 5674d8b607 Changes week 01 in doc/example.de.conf doc/unreal32docs.de.html 2009-01-04 11:24:39 +00:00
bock 2fe59ca280 Updates for 3.2.8 2009-01-03 23:52:06 +00:00
Bram Matthys f0367674e7 - Bump docdate.. 2009-01-03 15:32:45 +00:00
Bram Matthys 28872c4570 - (#0003761).
+  (#0003761). Patch provided by Stealth.
2009-01-03 15:15:07 +00:00
Bram Matthys 6539f0bb92 - Added documentation for set::spamfilter::slowdetect-warn,
set::spamfilter::slowdetect-fatal, set::ssl::server-cipher-list,
  set::ssl::renegotiate-bytes, set::ssl::renegotiate-timeout,
  set::watch-away-notification and ./unreal gencloak. Reported by Bock
  (#0003764).
- set::ssl::renegotiate-bytes: fix when specifying a value such as 10m.
- './unreal gencloak' now actually works
- Fix typo in user mode q notice, reported by Strawberry_Kittens and others
  (#0003761).
- Possible fix for MAC OS X compile problem - UNCONFIRMED.
2009-01-03 15:13:59 +00:00
bock 08e6b37957 Missed ";" in line 22. 2009-01-02 12:47:40 +00:00
autoupdate 734d37feda Automatic weekly version update: 200852 2008-12-29 05:00:05 +00:00
Bram Matthys 559376cbf1 ** 3.2.8-rc1 release ** 2008-12-28 14:31:34 +00:00
Bram Matthys e689ab0888 - A notice is now sent when listing spamfilters through /SPAMFILTER just
like /stats f. Bug #0003752 reported by Strawberry_Kittens, similar to
  #0002533.
2008-12-28 11:33:38 +00:00
Bram Matthys bd9c1afce3 - New HOOKTYPE_LOCAL_NICKPASS: the 2 parameters are: sptr (client) and nsptr
(NickServ client, NULL if not present). You can return 1 (HOOK_DENY) to
  make the IRCd not send IDENTIFY to NickServ. Suggested by tabrisnet
  (#0003739).
(sorry, previous half-commit to src/modules/m_nick.c was accidental)
2008-12-28 10:01:13 +00:00
Bram Matthys fa328676c6 update... 2008-12-28 09:55:56 +00:00
Bram Matthys 73114abc47 - Fixed crash which could happen when rehashing while linking to a server,
this could be #0003689 reported by Monk.
2008-12-27 12:19:38 +00:00
Bram Matthys 4c81ce30e8 - Added set::watch-away-notification which can be set to 'no' to disable
WATCH away notification. The default is 'yes' (=enabled).
2008-12-27 11:14:01 +00:00
Bram Matthys c7172fefd3 - Added release notes (not finished yet). 2008-12-24 17:08:58 +00:00
Bram Matthys 56eddc1547 - Win32: rebuild TRE for Vstudio 2008 (and ditch C++ / MSVCP... dependency). 2008-12-24 12:55:17 +00:00
Bram Matthys cc0641ee00 The following patch has been REVERSED - causes a 15s delay on-boot in non-service mode:
- Win32: Made UnrealIRCd run as a service under non-privileged accounts
  (ones that do not belong to the Administrator group). Reported by
  skyflash, Bock, zer, etc... Thanks to BuHHunyx for some hints on how to
  fix this.
2008-12-24 12:15:44 +00:00
Bram Matthys a77b8c4da2 - Win32: Made UnrealIRCd run as a service under non-privileged accounts
(ones that do not belong to the Administrator group). Reported by
  skyflash, Bock, zer, etc... Thanks to BuHHunyx for some hints on how to
  fix this.
2008-12-23 15:47:04 +00:00
Bram Matthys aaae2532ea blah 2008-12-23 15:43:27 +00:00
Bram Matthys 5daa5216ac - Added some countermeasures against crash-on-boot, #0003725 and #0003653,
reported by Ablom2008 and mist26.
2008-12-22 16:17:17 +00:00
Bram Matthys cdd38d79f4 - Fix OOB read caused by UHNAMES support. 2008-12-22 16:12:30 +00:00
Bram Matthys f17c5cc9e1 - Fix NAMES with UHNAMES support, screwed it up at 'Win32 compile fixes' a
few lines up...
2008-12-22 12:19:06 +00:00
autoupdate 5899dd9596 Automatic weekly version update: 200851 2008-12-22 05:00:04 +00:00
Bram Matthys 024a63587a - Fix crash if settime/expirytime is out of range in TKL, set by another
server.
  Should never happen except when using faulty services or when something
  else
  got horrible wrong (like a date which is 40 years ahead). Reported by
  Darth Android (#0003738).
2008-12-21 14:28:09 +00:00
Bram Matthys ac157694c5 - except ban { } is now also effective against Z:lines. It already protected
when the user was connected, but not once he/she tried to reconnect, this
  is now fixed. Reported several times, last by Stealth in #0003377.
2008-12-21 13:34:54 +00:00
Bram Matthys 62df06ea1a - Win32: build w/manifest. Looks like Unreal@Win32 now actually works again
:).
2008-12-19 16:51:30 +00:00
Bram Matthys 5cd7ab9f06 - Upgraded c-ares on windows to 1.6.0 as well. 2008-12-19 16:17:04 +00:00
Bram Matthys 5ce5d49c89 - Win32 compile fixes. 2008-12-17 16:46:20 +00:00
autoupdate 6e221c61c4 Automatic weekly version update: 200850 2008-12-15 05:00:04 +00:00
Bram Matthys fcbeeea502 - Win32 makefile: removed /MAPINFO:LINES, since visual studio 2005 and up
don't support this and will fail to compile UnrealIRCd. This fixes #3680,
  reported by therock247uk.
- Upgraded c-ares to 1.6.0 (also now using pkg-config).
  If you get a "undefined reference to `clock_gettime'" error, then you
  might consider installing 'pkg-config' on your system, and then simply
  re-run
  ./Config and make, should fix things.
__TODO__: win32 c-ares upgrade to 1.6.0 (and copy & fix header files).
__TODO__: testing! testing! i'd like to be sure this c-ares is stable!
2008-12-14 19:16:24 +00:00
Bram Matthys 58a2f012eb CRLF to LF? 2008-12-14 11:32:14 +00:00
autoupdate 3a3962e7ba Automatic weekly version update: 200849 2008-12-08 05:00:04 +00:00
autoupdate 7b6905b5a9 Automatic weekly version update: 200848 2008-12-01 05:00:04 +00:00
autoupdate c79642e840 Automatic weekly version update: 200847 2008-11-24 05:00:03 +00:00
autoupdate 111891aac3 Automatic weekly version update: 200845 2008-11-10 05:00:03 +00:00
autoupdate 6080f1da73 Automatic weekly version update: 200844 2008-11-03 05:00:03 +00:00
autoupdate 6f823465ef Automatic weekly version update: 200843 2008-10-27 05:00:03 +00:00
autoupdate 35baca56a6 Automatic weekly version update: 200842 2008-10-20 05:00:03 +00:00
autoupdate 38f1772942 Automatic weekly version update: 200841 2008-10-13 05:00:04 +00:00
autoupdate 8ed0a98738 Automatic weekly version update: 200840 2008-10-06 05:00:03 +00:00
autoupdate 69d733c02a Automatic weekly version update: 200839 2008-09-29 05:00:03 +00:00
autoupdate b8417a1e60 Automatic weekly version update: 200838 2008-09-22 05:00:03 +00:00
autoupdate 54c4c0960a Automatic weekly version update: 200837 2008-09-15 05:00:03 +00:00
autoupdate f7c87ee208 Automatic weekly version update: 200836 2008-09-08 05:00:03 +00:00
autoupdate c0d56f5aa2 Automatic weekly version update: 200835 2008-09-01 05:00:03 +00:00
autoupdate ced7d9ab6c Automatic weekly version update: 200834 2008-08-25 05:00:04 +00:00
Bram Matthys 638e557bee - /REHASH -all not case sensitive 2008-08-19 13:14:43 +00:00
Bram Matthys 693b5634d5 - #0003313 reported by Stealth, regarding not erroring/warning when me::name
is bigger than HOSTLEN, from now it will error on config read. [Backport, sts]
2008-08-19 13:09:49 +00:00
Bram Matthys c20f785012 - #0001924 - requested by syzop: Added ./unreal gencloak, which generates
random keys 10 ~ 20 characters in length (*NIX only). [Backport, aquanight]
2008-08-19 13:01:29 +00:00
Bram Matthys 291bc5c8c3 - #0002833 reported and patched by tabrisnet, implementing UHNAMES
[Backport, only slightly modified for speed]
2008-08-19 12:43:54 +00:00
Bram Matthys b52906461c - #0002172 reported by Stealth, patched by WolfSage, fixing if you have an
admin block, and forget a semicolon on a line, Unreal will proceed to use
  the block with no error, but the information will be incorrect/incomplete.
2008-08-19 11:45:17 +00:00
Bram Matthys b488517226 - #0002475 reported by aquanight on detecting \'s in module filenames on
win32 and not do ./module for it [Backport]
2008-08-19 11:38:49 +00:00
autoupdate 70d5d8ba51 Automatic weekly version update: 200833 2008-08-18 05:00:04 +00:00
Bram Matthys ebf40ab6e6 - Added set::ssl::server-cipher-list, #002368 requested by Beastie
[Backport, sts]
- Added set::ssl::renegotiate-bytes, set::ssl:renegotiate-timeout, #0002971
  suggested by tabrisnet. Gets activated when >0. Please set sane values.
  [Backport, sts]
2008-08-11 13:54:35 +00:00
Bram Matthys c48ea59940 - #0001740 reported by Trocotronic, making the IRCd send ERROR : to all
links with possible reason for RESTART; like /die does it. [BACKPORT]
2008-08-11 13:04:06 +00:00
Bram Matthys 450021dec8 compile fix for win32 2008-08-11 12:16:13 +00:00
autoupdate 637122b021 Automatic weekly version update: 200832 2008-08-11 05:00:04 +00:00
Bram Matthys cadd4230e9 - configure script is now generated by autoconf 2.61 (was: 2.59), hopefully
that won't cause any issues, perhaps it even helps to fix some bugs...
2008-08-10 13:18:08 +00:00
Bram Matthys d10223fc2e - The OS version output is now taken from uname() at runtime instead of
'uname -a' at compile time. This fixes bug #1438 and #3320 reported by
  Mouse and Monk, where because of previous behavior the IRCd sometimes
  would not compile in certain environments.
2008-08-09 14:56:34 +00:00
Bram Matthys 0af8ede2f1 + Reported by ash11. 2008-08-09 11:20:33 +00:00
Bram Matthys 6a641aa5f5 - Limit watch status requests to one per time, more will often flood you off
and is stupid/useless.
2008-08-09 11:17:50 +00:00
Bram Matthys b809428392 - Added another Mac OS X hack, such as one that should help against
'error setting max fd's to 9223372036854775807' which prevents the ircd
  from booting up. Reported by btcentral and Bock. This hack might not be
  totally correct though ;).
2008-08-08 10:14:14 +00:00
Bram Matthys 06c209ffce - Added slow spamfilter detection. For each spamfilter, Unreal will check,
each time it executes, how LONG it takes to execute. When a certain
  threshold
  is reached the IRCd will warn or even remove the spamfilter. This will
  prevent
  a spamfilter (regex) from slowing down the IRCd too much, though it's
  still not
  a guarantee that it will never go to a halt (eg: in case it takes several
  minutes to execute a regex or loops forever).
  Warning can be configured via set::spamfilter::slowdetect-warn (default:
  250 milliseconds) and automatic deletion of spamfilters if it takes too
  long is set through set::spamfilter::slowdetect-fatal (default: 500 ms).
  NOTE: slow spamfilter detection is currently not available on Windows.
  NOTE 2: to disable slow detection you can set the warn and fatal settings
  to 0 (zero). OR to really disable all code, remove SPAMFILTER_DETECTSLOW
  from include/config.h and recompile.
2008-08-08 09:19:03 +00:00
autoupdate 7b92553909 Automatic weekly version update: 200828 2008-07-14 05:00:04 +00:00
autoupdate f3a4e11355 Automatic weekly version update: 200827 2008-07-07 05:00:03 +00:00
autoupdate 3364e1fb47 Automatic weekly version update: 200826 2008-06-30 05:00:04 +00:00
autoupdate 36ca3f55bc Automatic weekly version update: 200825 2008-06-23 05:00:03 +00:00
autoupdate 330fcd4f82 Automatic weekly version update: 200824 2008-06-16 05:00:03 +00:00
autoupdate 686ad9e52b Automatic weekly version update: 200823 2008-06-09 05:00:03 +00:00
autoupdate 3c3fb28955 Automatic weekly version update: 200822 2008-06-02 05:00:04 +00:00
autoupdate c5b7417e39 Automatic weekly version update: 200821 2008-05-26 05:00:04 +00:00
Bram Matthys 99ba7c9acd - Upgraded c-ares to 1.5.1, thanks to aegis for the partial patch (#0003671).
This also fixed a curl compile/run issue, reported by static-x (#0003545).
2008-04-07 15:03:31 +00:00
autoupdate 747d84334a Automatic weekly version update: 200811 2008-03-17 05:00:03 +00:00
autoupdate 15b25a5afc Automatic weekly version update: 200810 2008-03-10 05:00:04 +00:00
autoupdate a698c401c7 Automatic weekly version update: 200809 2008-03-03 05:00:03 +00:00
Bram Matthys 7c400e7dc1 - Ok, finished away notification in WATCH. It now shows the away reasons too.
This new feature (away notify) is announced in 005 (ISUPPORT) as: WATCHOPTS=A

  Format is: WATCH A +UserOne +UserTwo

  New numerics to cope with away notification in WATCH are:
  RPL_NOWISAWAY: to indicate the user is away _when adding_ it to WATCH list
  RPL_GONEAWAY:  user was not away, but is now
  RPL_NOTAWAY:   user was away, but is no longer away
  RPL_NOWISAWAY: user was away, and still is, but the reason changed
  Example:

  WATCH A +Target
  Request to add user 'Target' to the watch list with away notification

  :maintest.test.net 609 MySelf Target ~blih test.testnet 1204309588 :not here atm
  Reply to watch add: user is online and away, reason is provided

  :maintest.test.net 599 MySelf Target ~blih test.testnet 1204309588 :is no longer away
  User is back (no longer away)

  :maintest.test.net 598 MySelf Target ~blih test.testnet 1204309722 :lunch
  State change: user is now away, reason is provided

  :maintest.test.net 597 MySelf Target ~blih test.testnet 1204309738 :shopping, bbl
  User is still away, but reason changed.

  The syntax for each numeric is:
  <nickname> <username> <hostname> <awaysince> :<away reason>
  In case of 599 (RPL_NOTAWAY) it is:
  <nickname> <username> <hostname> <awaysince> :is no longer away

  For the record, this is all based on a draft from codemastr from 2004, which was
  implemented in Unreal3.3 (devel branch) in 2006. Today, in 2008 it was updated
  with away reason support and backported to Unreal3.2. Because away notification
  hasn't been used until now (due to it only being in Unreal3.3) we felt it was
  safe to break some numerics.
2008-02-29 18:44:07 +00:00
Bram Matthys 635ab4858e - Backport from 3.3 away notification from Oct 2006, this is v0, a further
patch will follow soon and the numerics will be changed.
2008-02-29 13:58:59 +00:00
autoupdate 9a81a2a67f Automatic weekly version update: 200808 2008-02-25 05:00:03 +00:00
Bram Matthys 7cd21aa28a extending vl a bit.. 2008-02-23 16:15:24 +00:00
Bram Matthys 9635c45fd0 HOOKTYPE_RAWPACKET_IN: not very useful, it's not meant for packet manipulation but for inspection before stuff is even parsed. keeping undocumented for now... 2008-02-23 16:10:38 +00:00
autoupdate e80c63cf22 Automatic weekly version update: 200807 2008-02-18 05:00:03 +00:00
Bram Matthys 38fd630d9f - Fixed (G)ZLINE check.. it was incorrectly rejecting many IPv6 bans.
Reported by guigui (#0003572).
2008-02-11 16:05:12 +00:00
Bram Matthys f966682883 - So called 'smart' banning is now disabled by default, this means you can
now set a ban on *!*@*h.com and then later add one on *!*@*blah.com
  without
  any trouble. Previously the second one was rejected due to the former
  already matching it. To change it back edit the include/config.h setting
  SOCALLEDSMARTBANNING.
2008-02-11 16:00:13 +00:00
autoupdate 301452efb7 Automatic weekly version update: 200806 2008-02-11 05:00:03 +00:00
autoupdate 1cc2a6b355 Automatic weekly version update: 200805 2008-02-04 05:00:03 +00:00
autoupdate c81820b958 Automatic weekly version update: 200804 2008-01-28 05:00:03 +00:00
autoupdate 56eff93642 Automatic weekly version update: 200803 2008-01-21 05:00:04 +00:00
autoupdate 7eef11db14 Automatic weekly version update: 200802 2008-01-14 05:00:03 +00:00
babass 1c2fd041ae Correction syntaxique dans help.fr.conf 2008-01-13 15:18:03 +00:00
autoupdate a7c8428cc4 Automatic weekly version update: 200801 2008-01-07 05:00:04 +00:00
autoupdate 41ee204108 Automatic weekly version update: 200753 2007-12-31 05:00:03 +00:00
bock b9c4ba0d2f fixed, added, documented changes from original unreal32docs.html 2007-12-30 13:22:06 +00:00
Bram Matthys 10fd56d4e8 - ChanMode +S/+c: reverse is now stripped/blocked as well, because it's
similar to color, and is just as annoying (..if not worse).
2007-12-30 11:27:06 +00:00
autoupdate dd09869ef2 Automatic weekly version update: 200752 2007-12-24 05:00:04 +00:00
babass f4ff22b7d0 Clarirication 2007-12-21 16:45:02 +00:00
autoupdate 45d335a225 Automatic weekly version update: 200751 2007-12-17 05:00:04 +00:00
angrywolf 90fbe18a95 Changes of week 50 2007-12-15 14:47:40 +00:00
stylus740 7f22468f5f Changes week 50 of doc/unreal32docs.de.html 2007-12-15 13:57:00 +00:00
Bram Matthys 9881318847 - unreal32docs.html: doubt it will help much but at least this makes it a
little bit more clear (#3548), chatops vs globops.
2007-12-10 14:10:20 +00:00
autoupdate a26f959aad Automatic weekly version update: 200750 2007-12-10 05:00:04 +00:00
autoupdate 6220be843b Automatic weekly version update: 200749 2007-12-03 05:00:03 +00:00
angrywolf 8211dcfdb5 Changes of week 47 2007-11-26 10:47:16 +00:00
autoupdate d381a74959 Automatic weekly version update: 200748 2007-11-26 05:00:04 +00:00
babass 41696810a2 Doc pour set::level-on-join 2007-11-24 16:41:51 +00:00
stylus740 61f7edbf70 Update doc/unreal32docs.de.html week 47 2007-11-24 11:01:12 +00:00
Bram Matthys e3abcabdfb docs for set::level-on-join 2007-11-19 13:24:29 +00:00
Bram Matthys c97e538442 - Added set::level-on-join: which level should the user get when (s)he's is
the first to enter a channel. Currently only 'none' and 'op' are supported.
2007-11-19 13:19:28 +00:00
autoupdate 49fe2c12aa Automatic weekly version update: 200747 2007-11-19 05:00:03 +00:00
autoupdate 259e03dbcb Automatic weekly version update: 200746 2007-11-12 05:00:03 +00:00
autoupdate 949f96492f Automatic weekly version update: 200745 2007-11-05 05:00:04 +00:00
Bram Matthys 2a498427bf - Fixed bug (in all Unreal versions) with parameter channelmodes, any 3rd
party module which adds an extra parameter chanmode could cause crashes.
2007-11-04 18:03:47 +00:00
Bram Matthys 481c374af8 - Channelmode modules without parameters (like: +X, but not: +X 1) no longer
have to be permanent. Channelmodes with parameters still have to be PERM
  however, and there are currently no plans to change it.
2007-11-01 16:46:07 +00:00
Bram Matthys bcf6941b4b - Usermode modules now no longer have to be permanent (#3174), this was
simply a bug that was introduced when adding remote includes support years
  ago.
2007-11-01 13:40:26 +00:00
autoupdate 0609cc8ea1 Automatic weekly version update: 200744 2007-10-29 05:00:03 +00:00
Bram Matthys ba517c3f2c - Minor source cleanup in src/modules/m_map.c, suggested by fez (#0003540). 2007-10-24 15:44:36 +00:00
autoupdate 1f4279d417 Automatic weekly version update: 200743 2007-10-22 05:00:03 +00:00
autoupdate 383cce9bb6 Automatic weekly version update: 200742 2007-10-15 05:00:04 +00:00
Bram Matthys 75706516ab - Fixed set::modes-on-join: could crash or disfunction with certain
parameter mode combinations.
2007-10-13 13:24:27 +00:00
Bram Matthys 8cd5d09b16 copyright 2007-10-13 10:59:31 +00:00
autoupdate c1a2f7e185 Automatic weekly version update: 200741 2007-10-08 05:00:03 +00:00
Bram Matthys 5f60a0d949 - Remove part reason when user is banned, suggested by vonitsanet (#0003354). 2007-10-02 09:30:34 +00:00
Bram Matthys 48dc0d824a - Hopefully fixed 'Overflowed unzipbuf increase UNZIP_BUFFER_SIZE' issue,
reported by Monk (#0003453). It should be large enough now. Also changed the
  way we deal with this when it happens (if it ever happens again..): we now
  close the server connection, instead of trying to continue, because continueing
  is too dangerous.
2007-10-02 09:14:25 +00:00
Bram Matthys ce5c2b3800 - Hopefully fixed 'Overflowed unzipbuf increase UNZIP_BUFFER_SIZE' issue,
reported by Monk (#0003453). It should be large enough now.
2007-10-01 19:27:46 +00:00
autoupdate 409bb73a1d Automatic weekly version update: 200740 2007-10-01 05:00:04 +00:00
stylus740 0eb5980d15 Changes of week 38 unreal32docs.de.html 2007-09-27 15:51:13 +00:00
angrywolf 3dd887ec05 Changes of week 38 2007-09-27 09:22:43 +00:00
Bram Matthys 62af4dd7a0 - Fixed Mac OS X issue where "access denied" errors were encountered when
trying to read unrealircd.conf. All due to strange chmod() behavior. We now no
  longer try to set permissions on Mac OS X. Patch provided by Tibby (#3489).
2007-09-25 15:23:27 +00:00
babass ab3bc3d45a - Documentation de CHROOTDIR dans unreal32docs, rapporté par Beastie (#0002446) 2007-09-25 15:10:51 +00:00
autoupdate 3e24e69fa3 Automatic weekly version update: 200739 2007-09-24 05:00:04 +00:00
Bram Matthys 29680132b9 - Document CHROOTDIR in unreal32docs, reported by Beastie (#0002446). 2007-09-19 09:02:01 +00:00
Bram Matthys 75bf27a52b rephrase...
- CGI:IRC + IPv6: Fixed cgiirc block hostname never matching ipv4 cgiirc
  gateway properly (..again..), this was previously reported by pv2b.
2007-09-19 08:47:59 +00:00
Bram Matthys 9e3ae2b758 - CGI:IRC + IPv6: Fixed cgiirc block hostname never matching ipv4 gateway
properly (..again..), this was previously reported by pv2b.
- CGI:IRC + IPv6: Fixed issue where all cgiirc ipv4 clients were rejected with
  the message 'Invalid IP address', reported by stskeeps (#0003311), nate
  (#0003533) and others.
2007-09-19 08:46:45 +00:00
autoupdate 835b3779bf Automatic weekly version update: 200738 2007-09-17 05:00:05 +00:00
Bram Matthys 56d1bdfe67 - Fixed oper block bug where ip masks in oper::from::userhost did not always
work succesfully (ex: 192.168.* worked, but 192.168.*.* didn't). Issue was
  introduced in 3.2.7, reported by tabrisnet (#0003494).
2007-09-16 19:02:27 +00:00
Bram Matthys 3160f385a8 - Fixed CHROOTDIR, which was broken in 3.2.7: IRC_USER/IRC_GROUP did not work
properly when CHROOTDIR was in use (#0003454).
2007-09-16 16:18:54 +00:00
autoupdate 5d23e3ed71 Automatic weekly version update: 200737 2007-09-10 05:00:07 +00:00
Bram Matthys 68c5bf4f66 - Now allowing '1.2.3.4' ips again in IPv6 mode as well (instead of enforcing
'::ffff:1.2.3.4' ips in the conf, they are now auto-converted to that).
  Based on patch from tabrisnet.
- Fixed issue where the cgiirc block did not work with IPv6, reported by
  djGrrr, fixed by previous change.
2007-09-05 19:03:06 +00:00
Bram Matthys 15008285aa ok, I don't mind the new 'design' much, but don't rip codemastr completely out of credits! he did a substantial amount of work on UnrealIRCd. Added some other original credits back in as well (even though I don't know these people, they have been credited in 3.2* since the start). 2007-09-05 15:50:50 +00:00
autoupdate 08e6d2562b Automatic weekly version update: 200736 2007-09-03 05:00:05 +00:00
Bram Matthys a9069600c5 - Fixed bug in SJOIN, possibly causing things like odd bans showing up in
some circumstances. Reported by Hurga, patch provided by fbi.
2007-09-02 19:30:14 +00:00
autoupdate 9d7ab14167 Automatic weekly version update: 200735 2007-08-27 05:00:03 +00:00
autoupdate 4331a913cd Automatic weekly version update: 200734 2007-08-20 05:00:04 +00:00
autoupdate 30ad92ade3 Automatic weekly version update: 200733 2007-08-13 05:00:04 +00:00
autoupdate a167693904 Automatic weekly version update: 200732 2007-08-06 05:00:03 +00:00
autoupdate f7f5b203e3 Automatic weekly version update: 200731 2007-07-30 05:00:04 +00:00
autoupdate 43594c811c Automatic weekly version update: 200730 2007-07-23 05:00:04 +00:00
wolfsage fd84dc2c12 Index: Changes
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.2234.2.677
diff -u -r1.1.1.1.2.1.2.1.2.2234.2.677 Changes
--- Changes	17 Jul 2007 23:47:30 -0000	1.1.1.1.2.1.2.1.2.2234.2.677
+++ Changes	17 Jul 2007 23:54:24 -0000
@@ -1531,3 +1531,5 @@
 - Updated release notes
 *** 3.2.7 release ***
 - Fix aquanight's email
+- #0003351 reported by Mareo regarding m_addmotd.so and m_svslusers.so
+  not being created
2007-07-17 23:54:28 +00:00
wolfsage ba83f978fa Fix aquanight's email 2007-07-17 23:47:30 +00:00
autoupdate 2062bd4137 Automatic weekly version update: 200729 2007-07-16 05:00:06 +00:00
stylus740 3005cafeca Changes week 28 for doc/help.de.conf doc/unreal32docs.de.html 2007-07-14 08:42:15 +00:00
oepidus 302bb75217 *** empty log message *** 2007-07-13 23:02:47 +00:00
stskeeps d26692e6f8 done 2007-07-13 14:24:12 +00:00
stskeeps 3e5aba5117 version fix 2007-07-13 14:18:39 +00:00
stskeeps 3f0d91dc34 Unreal.nfo update 2007-07-13 13:29:19 +00:00
stskeeps 71fd0f0af6 Documentation update 2007-07-13 12:09:19 +00:00
oepidus 3320b9a150 *** empty log message *** 2007-07-13 11:55:53 +00:00
stskeeps 37a896df79 3.2.7 release 2007-07-13 10:43:04 +00:00
mark 7436ba747e Changes of week 24/07 2007-07-12 07:15:37 +00:00
babass 4cca75b0cb Préparation à la sortie de la release 3.2.7 2007-07-11 17:13:00 +00:00
stskeeps acda817d3d - Updated release notes 2007-07-11 17:12:11 +00:00
angrywolf 61b7a1277b Changes of week 28 2007-07-11 16:57:30 +00:00
stskeeps 06ea24e88b - Fixed wolfsage eff-up in c-ares.tar.gz, not running make distclean 2007-07-11 16:36:43 +00:00
bock 8cb6d662e1 Update for 3.2.7, added helpop for new commands 2007-07-11 07:33:37 +00:00
stskeeps 1ae33ddbfb - Fix, fix #0003421 patch 2007-07-10 19:35:25 +00:00
stskeeps d67697b7a2 - Entering 3.2.7 RC2 phase 2007-07-10 13:16:59 +00:00
stskeeps 7bc78fae1e - Applied #0003392 patch by Bock, adding some stuff to help.conf 2007-07-10 10:43:21 +00:00
stskeeps e1b48b7d3b - Applied #0003144 patch by Bock, fixing win32 install and such 2007-07-10 10:41:24 +00:00
stskeeps 686732b674 Applied 2999 2007-07-10 10:28:07 +00:00
stskeeps 20d84edaa5 - Applied #0003422 help.conf patches by Bock 2007-07-10 10:11:06 +00:00
stskeeps ddbb84682d - Fixed fixed #003244 fix. 2007-07-10 09:49:02 +00:00
stskeeps 74349aa334 - #0003429 reported by Bock about appearing to accept multiple auth blocks. 2007-07-09 19:46:28 +00:00
autoupdate 9987ec884e Automatic weekly version update: 200728 2007-07-09 05:00:03 +00:00
autoupdate 23d91c269f Automatic weekly version update: 200727 2007-07-02 05:00:04 +00:00
stskeeps d9fbd32352 More .hs 2007-06-27 15:51:47 +00:00
stskeeps e1e037c1b1 - Win32 library updates from Bock 2007-06-27 15:47:32 +00:00
stskeeps 8805dae525 - #0003405 repoted by Stealth regarding wildcards and autoconnect being an
||
- Fixed irc_uid|gid being defined on win32
2007-06-27 11:36:31 +00:00
stskeeps dad8477cb3 - Applied patch to fix some win32 problems reported by Bock, fixed by fez 2007-06-27 10:54:51 +00:00
stskeeps a705ceaa86 - Entering 3.2.7 RC1 phase 2007-06-26 11:27:07 +00:00
autoupdate 21a54860d3 Automatic weekly version update: 200726 2007-06-25 05:00:04 +00:00
stskeeps a9682b7ae2 - #0003244 reported by CuLpA about grammar errors in webtv outputs 2007-06-22 08:42:23 +00:00
autoupdate 0f0ffc9580 Automatic weekly version update: 200725 2007-06-18 05:00:05 +00:00
stskeeps 0e50f34167 - #0003363 patched by adrianp, changing IRC_UID and IRC_GID into
defines IRC_USER, IRC_GROUP which is a string specifiying what user name/
  group name that should be changed into, instead of a hardcoded gid/uid.
  This should make it easier for packaged binary releases to work (even
  though this probably means Debian will take us in, ick .. Can't we pull
  a new fight with debian-legal again?)

- #0003363 patched by adrianp, changing IRC_UID and IRC_GID into
  defines IRC_USER, IRC_GROUP which is a string specifiying what user name/
  group name that should be changed into, instead of a hardcoded gid/uid.
  This should make it easier for packaged binary releases to work (even
  though this probably means Debian will take us in, ick .. Can't we pull
  a new fight with debian-legal again?)
2007-06-17 12:43:52 +00:00
stylus740 121c4b73ab Canges week 24 for doc/example.de.conf doc/help.de.conf doc/unreal32docs.de.html 2007-06-16 14:01:57 +00:00
angrywolf 6ee7e51b40 Little grammar fix for the directive link::ciphers 2007-06-16 12:48:04 +00:00
angrywolf 465c9ed9ae Forgot the example.conf part of 'Changes of week 24' :) 2007-06-16 12:26:15 +00:00
bock 1fd1f3a7b2 Changes of week 24 2007-06-16 10:09:39 +00:00
angrywolf b3dbc78b8c - Changes of week 24
- Retranslated the whole CDIR section (3.15)
- According to http://forditas.fsf.hu/html/node3.html the Hungarian expression for 'Internet Service Provider' should be written with a hypen (all occurrences fixed).
2007-06-16 10:00:16 +00:00
babass b930545ae7 Correction typo 2007-06-16 09:21:12 +00:00
stskeeps 182df5db2d - #0003232 reported by vonitsanet patched by djGrr, regarding /map is not
shown u:lined servers to local opers and /links does
2007-06-15 19:58:45 +00:00
stskeeps f3fce00218 - #0003092 reported by tabrisnet, patched by WolfSage, regarding
documentation says
  link::bind-ip is optional, but not specifying it produces an error
2007-06-15 19:53:54 +00:00
stskeeps a3d2b68abd - #0003382 reported by stealth regarding nested C-style comments messing
up example.conf parsing
2007-06-15 19:50:22 +00:00
stskeeps f3a2d7f6a4 - #0001317 reported by thilo regarding removal of (username) being
appended to topics set by U:Lined servers.
2007-06-15 19:47:26 +00:00
babass 02da9dd0a3 Ajout de l'oper CIDR 2007-06-14 21:05:48 +00:00
stskeeps 451a05d951 - Added oper CIDR 2007-06-14 18:23:38 +00:00
stskeeps 0748ba0aa5 - #0002420 reported by KnuX fixed by WolfSage
- #0003147 reported by vonitsanet, fixed by djGrrr regarding making
  spamfilters work in case of /setname
2007-06-14 18:20:38 +00:00
stskeeps db04a13bbe #0003216 patched by djGrrr, regarding when you run ./Config for a second 2007-06-14 18:15:52 +00:00
stskeeps 797b6f428c - Fixed SVSKILL sending an illegal QUIT 2007-06-14 18:12:10 +00:00
stskeeps 92bd444ac2 - #0002040 reported by aquanight, removing dependancy on +l for +L. This
will be backwards compatible as well, SJOIN doesn't care (TM) and mode
  doesn't either in case of a server sending it. So this will be just a
  client protocol modification.
2007-06-14 18:10:34 +00:00
stskeeps 8cf43a9596 - #0003139 reported by vonitsanet, improving error messages on /connect
when trying to /connect to a server with wildcards (* and ?) in the link
  block. We also raise an error if link::options::autoconnect is used
  together with wildcards in hostname.
2007-06-14 18:06:04 +00:00
stskeeps d673c88159 - Now using #0003028, with more intelligent accept() handling. The IRCd
will now attempt to accept() up to LISTEN_SIZE (possibly saving CPU
  through this under load, and speeding up connection).
- IRCd now also sets the &me fd as being non blocking (wasn't before, that
  was odd..)
2007-06-14 18:02:30 +00:00
stskeeps ee24127381 - #0002533 reported by Dodge_Ram, patched by WolfSage, regarding notices
not being sent when /*line and /shun are used to request stats
2007-06-14 18:01:01 +00:00
stskeeps df0e2ac4de #0003368 patched by Stealth giving users access to do /module on remote
servers
2007-06-14 17:29:36 +00:00
stskeeps 48c9c21708 - #0003027 reported by Trocotronic, regarding doing -l <para> on SJOIN,
and not -l as supposed. This may have caused desyncs
2007-06-14 17:25:57 +00:00
wolfsage 2857f3efe9 Index: Changes
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.2234.2.644
diff -u -r1.1.1.1.2.1.2.1.2.2234.2.644 Changes
--- Changes	12 Jun 2007 00:06:32 -0000	1.1.1.1.2.1.2.1.2.2234.2.644
+++ Changes	12 Jun 2007 00:13:02 -0000
@@ -1468,3 +1468,4 @@
 - #0003264 reported by Robby22 regarding help.conf typo
 - Updated c-ares to version 1.4.0
 - Updated tre to version 0.7.5
+- help.conf updates. Missing some ;'s.
2007-06-12 00:13:07 +00:00
wolfsage b4a879621e Index: Changes
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.2234.2.643
diff -u -r1.1.1.1.2.1.2.1.2.2234.2.643 Changes
--- Changes	11 Jun 2007 23:52:32 -0000	1.1.1.1.2.1.2.1.2.2234.2.643
+++ Changes	12 Jun 2007 00:06:09 -0000
@@ -1467,3 +1467,4 @@
 - help.conf updates... #0002420 reported by KnuX fixed by WolfSage
 - #0003264 reported by Robby22 regarding help.conf typo
 - Updated c-ares to version 1.4.0
+- Updated tre to version 0.7.5
2007-06-12 00:06:33 +00:00
wolfsage 4935dfa45e Index: Changes
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.2234.2.642
diff -u -r1.1.1.1.2.1.2.1.2.2234.2.642 Changes
--- Changes	10 Jun 2007 12:25:06 -0000	1.1.1.1.2.1.2.1.2.2234.2.642
+++ Changes	11 Jun 2007 23:52:00 -0000
@@ -1466,3 +1466,4 @@
 - #0002844 reported by RandomNumber: make spamfilter actions case insensitive
 - help.conf updates... #0002420 reported by KnuX fixed by WolfSage
 - #0003264 reported by Robby22 regarding help.conf typo
+- Updated c-ares to version 1.4.0
2007-06-11 23:52:33 +00:00
autoupdate f97577ae76 Automatic weekly version update: 200724 2007-06-11 05:00:03 +00:00
wolfsage 2ff21308f9 Index: Changes
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.2234.2.641
diff -u -r1.1.1.1.2.1.2.1.2.2234.2.641 Changes
--- Changes	30 Apr 2007 19:47:15 -0000	1.1.1.1.2.1.2.1.2.2234.2.641
+++ Changes	10 Jun 2007 12:25:03 -0000
@@ -1465,3 +1465,4 @@
 - #0002560 reported and patched by w00t, regarding a typo in /SAMODE
 - #0002844 reported by RandomNumber: make spamfilter actions case insensitive
 - help.conf updates... #0002420 reported by KnuX fixed by WolfSage
+- #0003264 reported by Robby22 regarding help.conf typo
2007-06-10 12:25:07 +00:00
autoupdate e33a0d9a09 Automatic weekly version update: 200723 2007-06-04 05:00:03 +00:00
autoupdate 4762baa11a Automatic weekly version update: 200722 2007-05-28 05:00:03 +00:00
autoupdate fc714fc288 Automatic weekly version update: 200721 2007-05-21 05:00:03 +00:00
autoupdate b6ea1ab479 Automatic weekly version update: 200720 2007-05-14 05:00:03 +00:00
babass 9e5a922ca3 Correction de typo pouvant créer un problème à l'installation de l'help.fr.conf 2007-05-12 13:44:41 +00:00
angrywolf 25f5036c35 Changes of week 18 2007-05-12 00:38:49 +00:00
mark 7506b322a5 Changes of week 18/07 2007-05-11 14:35:29 +00:00
autoupdate 87134d99e7 Automatic weekly version update: 200719 2007-05-07 05:00:03 +00:00
Bram Matthys 9505a1f520 turkish doc updates (by Serkan) 2007-05-06 11:33:22 +00:00
babass 9be37f7979 Ajout de AddMOTD et AddoMOTD dans help.fr.conf plus correction syntaxique dans la doc. 2007-05-05 10:56:39 +00:00
stylus740 de9e60bc03 Changes week 18 doc/help.de.conf doc/unreal32docs.de.html 2007-05-05 10:49:04 +00:00
Bram Matthys 152283b769 - help.conf updates... #0002420 reported by KnuX fixed by WolfSage 2007-04-30 19:47:16 +00:00
Bram Matthys 1b587dcbff - #0002844 reported by RandomNumber: make spamfilter actions case insensitive 2007-04-30 19:45:44 +00:00
Bram Matthys 2b9dd64bb3 - #0002560 reported and patched by w00t, regarding a typo in /SAMODE 2007-04-30 19:43:24 +00:00
Bram Matthys 0e5206ea7d - #0003159 reported by aegis and Bock, regarding typos in documentation 2007-04-30 19:42:48 +00:00
Bram Matthys de1fea75f4 - xx reported and fixed by WolfSage (addmotd, addomotd in help.conf) 2007-04-30 19:41:42 +00:00
Bram Matthys e9bb00fec3 - Fixed SVSKILL sending an illegal (wrong direction) QUIT right after, #0003307 2007-04-30 19:37:30 +00:00
autoupdate cfdd3c2889 Automatic weekly version update: 200718 2007-04-30 05:00:05 +00:00
Bram Matthys 1eeae26719 - #3272 patched by w00t, regarding remove restrictions on NOTICE/PRIVMSG $* for opers. 2007-04-25 12:45:39 +00:00
Bram Matthys 043948990c - #0002846 reported by alex323, patched by WolfSage, regarding local ircop cannot issue CLOSE command 2007-04-25 12:43:20 +00:00
Bram Matthys 91391a46b5 - #0003212 patched by Grunt, regarding /userip <someone_else> seemingly
shows your own (cloaked) IP.
2007-04-25 12:36:42 +00:00
Bram Matthys 33bbe5ea8f - #0002932 reported by therock247uk, patched by WolfSage, regarding Local
opers can /chghost /chgident /chgname on someone thats on another server on
  the network.
2007-04-25 12:33:43 +00:00
Bram Matthys f6a0ef0cc2 - #0003146 reported by vonitsanet, regarding Modes O,S (etc) not rejected for modes-on-connect
fixed by djGrrr
2007-04-25 12:30:38 +00:00
Bram Matthys fe3eb0db7d - Fixed #0003171 reported by danieldg (typo) doc/technical 2007-04-25 12:20:13 +00:00
autoupdate 2f49eb5aaf Automatic weekly version update: 200717 2007-04-23 05:00:03 +00:00
autoupdate 2a7f21124f Automatic weekly version update: 200716 2007-04-16 05:00:03 +00:00
autoupdate e5a40f1045 Automatic weekly version update: 200715 2007-04-09 05:00:07 +00:00
autoupdate 48d766e308 Automatic weekly version update: 200714 2007-04-02 05:00:09 +00:00
autoupdate 1a694d14f5 Automatic weekly version update: 200713 2007-03-26 05:00:05 +00:00
autoupdate 996775f16d Automatic weekly version update: 200712 2007-03-19 05:00:04 +00:00
autoupdate fc58297eb0 Automatic weekly version update: 200711 2007-03-12 05:00:03 +00:00
autoupdate dba2097cdd Automatic weekly version update: 200710 2007-03-05 05:00:03 +00:00
autoupdate 3b0f6ea0ac Automatic weekly version update: 200709 2007-02-26 05:00:03 +00:00
aquanight 68595e2d22 Fixed serverprotocol.html typo. 2007-02-19 19:34:38 +00:00
autoupdate 5285c52084 Automatic weekly version update: 200708 2007-02-19 05:00:03 +00:00
Bram Matthys f00fd6eaef maths is teh hard 2007-02-16 14:09:39 +00:00
Bram Matthys 6b370c9c67 - Fixed file descriptor leakage on rehash. This resulted in [number of modules loaded]
file descriptors being leaked upon every /REHASH.
  So if you, for example, had 3 modules loaded and rehashed 30 times, it would cause
  the ircd to consume 60 useless file descriptors (which often means 60 less file
  descriptors being available to clients).
2007-02-16 14:05:44 +00:00
autoupdate 231d06c48d Automatic weekly version update: 200707 2007-02-12 05:00:03 +00:00
Bram Matthys 8c6bb314c5 - Changed password length from 32 to 48, is allocated dynamically anyway. 2007-02-06 15:33:12 +00:00
autoupdate fe34c10de2 Automatic weekly version update: 200706 2007-02-05 05:00:03 +00:00
autoupdate 1846da7c5a Automatic weekly version update: 200705 2007-01-29 05:00:04 +00:00
Bram Matthys 83dda85a6a - Fixed SAPART causing a flood of notices from all servers, fun. Reported and patch
provided by djGrrr.
2007-01-22 13:01:16 +00:00
Bram Matthys 9feef46dae - Fixed SDESC not messaging +s +s clients on local server when it is used, reported by
dre, patch provided by djGrrr.
2007-01-22 12:50:55 +00:00
Bram Matthys c88832d960 - Added ability to enable "no fake lag" for a user through through services via the
new commands SVSNOLAG/SVS2NOLAG (syntax: SVSNOLAG [+|-] NickName). Obviously, care
  should be taken when giving such access to a user since he/she will be able to flood
  at full speed and could possibly take down the entire IRCd (well, everyone on it).
  Suggested by avb, coded by djGrrr.
2007-01-22 12:46:54 +00:00
Bram Matthys d1827e1835 - /WHOIS now shows the ident of local users - if ident enabled and they had an ident -
instead of always "*" in the 'is connecting from' line. Suggested and patch provided
  by djGrrr (#0002888).
2007-01-22 12:36:51 +00:00
Bram Matthys 30bab73c03 - Fixed bug where SVSO was unable to give various operflags such as q, d, X, reported
by prodigy2k7 (#0003203).
2007-01-22 12:25:40 +00:00
autoupdate 35d668ad31 Automatic weekly version update: 200704 2007-01-22 05:00:03 +00:00
autoupdate 1053948bed Automatic weekly version update: 200703 2007-01-15 05:00:03 +00:00
autoupdate 686c7e2f21 Automatic weekly version update: 200702 2007-01-08 05:00:03 +00:00
autoupdate 3f47c89846 Automatic weekly version update: 200701 2007-01-01 05:00:03 +00:00
aquanight c834a47f32 italic fix in serverprotocol 2006-12-28 16:34:06 +00:00
oepidus d99b03660b Changes of week 51 2006-12-25 22:16:37 +00:00
autoupdate 4807a7330c Automatic weekly version update: 200652 2006-12-25 05:00:03 +00:00
stylus740 1e73667155 Correction: doc/help.de.conf 2006-12-24 09:37:08 +00:00
aquanight 42c3227864 Fixed STATS description for server senders 2006-12-23 22:19:53 +00:00
stylus740 6532706da0 doc/help.de.conf Change of week 51 2006-12-23 22:11:59 +00:00
aquanight f738943493 Added WHOIS (#) and STATS (2) to serverprotocol.html. 2006-12-23 20:05:20 +00:00
stylus740 9a5dbf345e Changes of week 51: doc/unreal32docs.de.html 2006-12-23 10:35:49 +00:00
Bram Matthys e5f921e186 - Updated release notes, mass-change of version number, no code changes.
** 3.2.6 release **
2006-12-22 20:19:39 +00:00
Bram Matthys c6c0345b36 Updated release notes (no version change yet) 2006-12-22 20:04:00 +00:00
Bram Matthys 1114003d93 hrmmhrmhrmmmmmm changed leaf-depth to leafdepth 2006-12-22 20:03:47 +00:00
Bram Matthys a34ecabee0 ** 3.2.6-rc3 release ** 2006-12-20 21:05:55 +00:00
Bram Matthys ef8ffdda04 - Showing even more SSL server errors now, hopefully all of them, also changed the
error notice a bit so it's much more like non-SSL server link errors. Reported by
  vonitsanet (#0003150).
2006-12-19 19:37:41 +00:00
Bram Matthys 0f53a33401 - Fixed possible crash with using quarantine, reported by Sephiroth (#0003151). 2006-12-19 12:52:53 +00:00
Bram Matthys 6373b83c39 Updates of week 50 2006-12-18 11:51:56 +00:00
autoupdate f7ca612817 Automatic weekly version update: 200651 2006-12-18 05:00:04 +00:00
babass c06f591878 Changements de la semaine 50 2006-12-17 20:07:02 +00:00
stylus740 72c6875a80 changes of week 50 doc/help.de.conf 2006-12-17 09:15:10 +00:00
Bram Matthys 6c193b7cbe ** 3.2.6-rc2 release ** 2006-12-16 13:36:02 +00:00
Bram Matthys 20603ada50 spellllllingggg 2006-12-16 13:26:26 +00:00
Bram Matthys 4e3745922e plok 2006-12-16 13:22:50 +00:00
mark 298d28940b Changes of week 48/06 2006-12-16 13:18:38 +00:00
Bram Matthys 4f54a7e982 - Post-3.2.5 CVS-only bug: Fixed spamfilter on user target not working properly when
changing nicks (was still trying to match on the old nick), reported by vonitsanet
  (#0003143).
2006-12-12 17:25:19 +00:00
bock c9e5cc23ff Updated SVSNLINE syntax in help.ru.conf (the remove-syntax). 2006-12-12 07:40:05 +00:00
Bram Matthys a314130ca6 - Updated SVSNLINE syntax in help.conf (the remove-syntax). 2006-12-11 12:13:20 +00:00
autoupdate 9fcd92d297 Automatic weekly version update: 200650 2006-12-11 05:00:04 +00:00
angrywolf 4212f96ebc One more little fix. :) 2006-12-06 18:30:43 +00:00
angrywolf e51ac78a93 Changes of week 48 + various grammar corrections 2006-12-06 18:25:53 +00:00
Bram Matthys 0537a49be6 - Fixed SSL bug where an outgoing connect (either autoconnect, or /connect), would not
show any error message when it failed. Error information has also been slightly
  improved. Reported by vonitsanet (#0003138).
2006-12-06 14:33:42 +00:00
babass a1016d0a8e Changements de la semaine 48 2006-12-05 16:11:03 +00:00
Bram Matthys bb265f6c41 - Improved detection of bad set::modes-on-oper and oper::modes, now rejecting things like
'o', 'z', and more.
- Fix from above fixes an /OPER announce problem reported by Bock (#0003135).
2006-12-05 13:50:57 +00:00
autoupdate c62d326a7a Automatic weekly version update: 200649 2006-12-04 05:00:04 +00:00
stylus740 f71fd34887 Changes of week 48 doc/help.de.conf doc/unreal32docs.de.html 2006-12-03 07:40:30 +00:00
Bram Matthys 41efaa9fd8 - Don't show silence list to others 2006-12-02 23:20:57 +00:00
trocotronic 590c7388cb Cambios semana 48 / 2006 2006-12-02 11:11:39 +00:00
gsf db03b6173e Week 48 Changes :) 2006-12-02 09:56:07 +00:00
Bram Matthys 3e134cbb0a - Setting set::pingpong-warning didn't work, reported by vonitsanet, patch supplied by
avb (#0003131).
2006-12-01 15:39:44 +00:00
Bram Matthys a6b8d8ff35 - Added donators since 3.2.5 2006-12-01 15:32:51 +00:00
Bram Matthys ba8cf14b9b - Get rid of some old stuff in release notes 2006-11-30 23:56:45 +00:00
Bram Matthys af0b379650 ** 3.2.6-rc1 release ** 2006-11-30 23:02:02 +00:00
aquanight 6a44b8c3e5 Backport serverprotocol.html updates from 3.3 + 3.2.6 info 2006-11-29 20:03:13 +00:00
babass 0390c6c64f Changements de la semaine 47 (help.fr.conf) 2006-11-28 16:08:44 +00:00
Bram Matthys 7c9ea959f4 updates 2006-11-28 12:04:18 +00:00
bock 974454764f Fixed typo 2006-11-27 14:58:16 +00:00
Bram Matthys 4faaf63e82 - Fixed help.conf typo 2006-11-27 14:39:45 +00:00
autoupdate 63635918f7 Automatic weekly version update: 200648 2006-11-27 05:00:04 +00:00
bock ace157556b Improved description of link::hub/leaf/leafdepth in unreal32docs.ru.html, also fixed typo (leafdepth, not leaf-depth) 2006-11-26 19:33:49 +00:00
Bram Matthys ef7344d586 - Added release notes for 3.2.6 2006-11-26 18:44:59 +00:00
Bram Matthys 8d68e6fa19 - fix for above (c-ares win32 lib) 2006-11-26 14:37:17 +00:00
Bram Matthys a3b32fdedb updated changelog comment, giving more credit
- Made SAPART work for mulitple channels, just like SAJOIN. Reported by Snake and
  SeigHart, patch provided by Bock (#0003064). This also fixes SAPART now being
  announced to all opers globally, just like SAJOIN.
2006-11-26 12:54:06 +00:00
Bram Matthys c29ad02587 - upgraded windows c-ares (areslib.lib) as well. 2006-11-25 22:57:45 +00:00
Bram Matthys 545c641fe8 - c-ares resolver: upgrade to 1.3.2. 2006-11-25 19:39:39 +00:00
Bram Matthys a962ad2877 backport from aquanight:
- Improved description of link::hub/leaf/leafdepth in unreal32docs.html reported by Bugz (#2623),
  also fixed typo (leafdepth, not leaf-depth), reported by monas (#3083).
2006-11-25 19:10:14 +00:00
Bram Matthys 628abf114c FIXFORFIX
- Fixed bug where omitting class::connfreq would result in a huge connection attempt
  flood when autoconnect was enabled. We now set class::connfreq to 60 if it's not
  specified. Reported by Milliways (#0003018).
2006-11-25 16:48:43 +00:00
Bram Matthys ea2b4a1698 spellllling.... (changelog only) 2006-11-25 16:43:23 +00:00
Bram Matthys d9098e44e3 - Fixed bug where ommitting class::connfreq would not give a config error, and would
cause a huge connection attempt flood when autoconnect was enabled. Reported by
  Milliways (#0003018).
2006-11-25 16:42:17 +00:00
bock 08e5ee49d1 Ooops, some more help staff info was added on last commit. Removed to correct. 2006-11-25 15:59:56 +00:00
stylus740 9b47129ad7 Chandes week47 doc/help.de.conf 2006-11-25 10:42:30 +00:00
Bram Matthys b6bed50471 - Fixed compile bug on Solaris due to missing INADDR_NONE, fix provided by Schak
(#0003125).
2006-11-24 21:20:48 +00:00
Bram Matthys c48ab26b0e - Fixed charsys config error message sometimes saying stuff about set::accept-language,
which should be set::allowed-nickchars (the former does not exist). Reported and
  patch provided by avb (#0003122).
2006-11-24 21:07:11 +00:00
bock 97c561715a Added information about extbans to help.ru.conf (/HELPOP EXTBANS) 2006-11-24 21:00:13 +00:00
Bram Matthys 803a67d4c7 - Fixed belarussian-w1251 charset.. accidently copied a "'" which caused an internal
error, reported by Bock (#0003114).
- Added information about extbans to help.conf (/HELPOP ?EXTBANS). Patch from Bock
  (#0003113).
- Made SAPART work for mulitple channels, just like SAJOIN. Patch provided by Bock
  (#0003064). This also fixes SAPART now being announced to all opers globally, just
  like SAJOIN.
- Finally fixed /RESTART issue on windows for good, should now always restart correctly.
  Patch provided by BuHHunyx and Bock (#0002734).
2006-11-24 19:34:05 +00:00
Bram Matthys 697eb2c3e4 - Changed some minor Makefile stuff
- Fixed belarussian-w1251 charset.. accidently copied a "'" which caused an internal
  error.
2006-11-22 15:37:34 +00:00
sinameki d3ca3fb0c4 changes of week 46 2006-11-20 23:28:48 +00:00
autoupdate 31c15ebb93 Automatic weekly version update: 200647 2006-11-20 05:00:03 +00:00
trocotronic 2126961b4b Cambios semana 46 / 2006 2006-11-19 12:35:15 +00:00
babass e50f9f92a4 Changements de la semaine 46 2006-11-19 11:00:48 +00:00
angrywolf cd1889ce93 Changes of week 36 & 46 2006-11-19 08:32:21 +00:00
mark b58fb7e859 Changes of week 46: doc/unreal32docs.html 2006-11-18 15:09:19 +00:00
gsf 38607d32ce Week 46 2006-11-18 12:52:56 +00:00
stylus740 003de86893 Changes of week 46 in: doc/example.de.conf doc/help.de.conf doc/unreal32docs.de.html 2006-11-18 09:04:31 +00:00
bock f4b75de32e Changes of week 46: removed some typo. 2006-11-18 08:54:39 +00:00
autoupdate 3c60bf826d Automatic weekly version update: 200646 2006-11-13 05:00:04 +00:00
bock 0910bdfd81 Corrected doc about set::dns behavior and added set::pingpong-warning 2006-11-12 22:43:14 +00:00
Bram Matthys f3d578f2ec - Fixed a couple of typos and other one-line-text fixes at various places: reported by
aegis (#3081), DanPMK (#2818), tabrisnet (#2974, #2970, #2467), penna (#2721),
  Brad (#2488), vonitsanet (#2467).
- Made OpenSSL version dynamic, reported by buildsmart (#0002975).
- Rejecting fake +z modes in conf, reported by rve (#0002532).
2006-11-12 21:49:52 +00:00
Bram Matthys 34e54c958b - /INVITE's from people on the silence list are now (silently) ignored, suggested by
White_Magic (#0002478).
2006-11-12 20:27:22 +00:00
Bram Matthys ed9e2ccd64 - Snomask N: Don't show nickchanges for U-lines, reported by seneces (#0002636).
- Fixed set::dns::bind-ip directive seen as duplicate, reported by aegis (#0003074).
- set::dns::* block is now no longer mandatory. All info has always been read from
  /etc/resolv.conf (*NIX) or the registry (Win32), and the set::dns block is ignored
  (except for set::dns::bind-ip, but that's a special case). Suggested by many including
  djGrrr to make things slightly more logical (#0003019).
- As a consequence of the above, set::dns blocks were removed from doc/example*conf.
- Added two more characters to Catalan charset, reported by rmh (#0002995).
- Added set::pingpong-warning [yes|no] which decides whether to send the "** If you are
  having problems connecting due to ping timeouts, please type /quote pong .." message
  to each client when NOSPOOF is enabled (usually on Win32). The default is NO.
  Previously this message was always sent if NOSPOOF was on, which often caused
  confusion among users. The message was intended for non-confirming clients, but these
  should be fixed by now, and those that were not fixed (self-made bots/etc) did often
  not understand the message anyway. Anyway, you can still turn it on ;). (#2680).
2006-11-12 19:38:17 +00:00
Bram Matthys f33a2c0d06 - Fixed 'SVSMOTD !' not deleting the services motd in memory, reported by avb (#0003110). 2006-11-12 18:58:18 +00:00
Bram Matthys c4adb49bbb extern int file_exists(char* file); 2006-11-11 20:34:10 +00:00
Bram Matthys 5c8e1da371 - loadmodule now reports proper errors when the actual file can't be found, instead of blaming
it on the temp file, reported in #3015.
(aquanight backport)
2006-11-11 20:33:41 +00:00
Bram Matthys 1d03d16fcb - Cutoff webtv whois at MAXTARGETS (#0003004). 2006-11-11 20:25:03 +00:00
Bram Matthys 0848c29f5e - Fixed set::allowed-nickchars causing a segfault for some unknown charsets, reported
by avb (#0003069).
(aquanight backport)
2006-11-11 20:15:42 +00:00
Bram Matthys 013c376c91 - Moved failed oper snotices to snomask +o, and are sent out to all servers. Also now shows
the uid attempted (like [FAILEDAUTH] does) for incorrect host or maxlogin.
2006-11-11 20:13:00 +00:00
autoupdate 313113cfbf Automatic weekly version update: 200645 2006-11-06 05:00:03 +00:00
Bram Matthys 0bc77f25f9 - Made win32 compile again, reported by Bock (#0003106). 2006-11-05 20:13:10 +00:00
Bram Matthys 3fa0b692ce #if defined(DEBUGMODE) && !defined(_WIN32) 2006-11-05 00:28:39 +00:00
Bram Matthys a7fbab3cb9 - Win32: Fixed a few compiler warnings, suggested by Zell (#0002890). 2006-11-05 00:21:12 +00:00
Bram Matthys 078e26b128 - If the 'crypt' algorithm is used, then passwords were/are truncated to 8 characters.
We now print a warning when this happens (both on the IRC command and command-line).
  Suggested by JasonTik (#0002953).
2006-11-04 23:53:41 +00:00
Bram Matthys ab7c44f251 - Services timestamps are now always treated as an unsigned long (0..2^32-1), instead
of accidently as signed long during netsynchs. This bug caused issues with values
  larger than 2147483647. Reported by avenger (#0002980).
2006-11-04 22:25:27 +00:00
Bram Matthys 45ec1c7c51 - Win32: we now no longer crash if no access to write to service.log, suggested and
patch by Xuefer (#0002886).
2006-11-04 21:40:57 +00:00
Bram Matthys fe77be7070 - Win32: SSL private key prompt should now no longer crash. Patch provided by Alexey
Markevich (#0002866).
2006-11-04 13:23:37 +00:00
Bram Matthys af598b644f - [internal] Made a spamfilter_build_user_string function that will build the spamfilter
user target string (nick!user@host:info), insteaf of doing it at like 5 places.
- Spamfilter target 'u' (user): the host field (nick!user@HOST:realname) is now escaped
  with brackets if it's an IPv6 address, eg: blah!blah@[1:2:3:4:5:6:7:8]:hello, reported
  by aquanight and others (#0003010).
2006-11-04 00:10:53 +00:00
Bram Matthys 691a5ef783 - Using SVSMODE (or SVS2MODE) to set -x will now actually remove the vhost from memory,
instead of letting it magically reappear whenever +x is set. This means services can
  now properly "unvhost" a user by sending a "SVSMODE User -x+x" (then any existing vhost
  will be removed and user will have a cloaked host). Reported by avenger and others
  (#0002933).
2006-11-03 23:32:24 +00:00
Bram Matthys 54c7b1f322 - Fixed m_names.so not being build (a problem for people not using commands.so),
reported by aegis (#0003085).
2006-11-03 22:40:30 +00:00
Bram Matthys f53a8e204d - Fixed deny link {} blocks being ignored by autoconnect. Reported by a couple people,
also see #0003084.
(backport from aquanight)
2006-11-03 20:36:27 +00:00
Bram Matthys 4ba5134d52 - Fixed SVSO - not removing coadmin (+C). Reported by Muisje (#0003077). 2006-11-03 20:33:56 +00:00
Bram Matthys 25684239fa - Fixed some unitialized pointer things for win32 w/ssl on keyprompt, no idea if it
helps, though. Would appreciate it if another code looks into this. -- Syzop
2006-11-03 19:31:21 +00:00
Bram Matthys fc3f121cf7 - Made it so that when 'java' is enabled for a listen block, then the 2nd parameter to
NICK is not seen as a password on this port. Patch from afolentes (#0003097).
2006-11-03 19:23:30 +00:00
Bram Matthys 4b3d9c126e - Updated ukrainian-w1251 and belarussian-w1251 charsets: some characters were previously
included that shouldn't. Reported by avb (#0003102), patch supplied by Bock.
2006-11-03 13:41:09 +00:00
autoupdate 61ebb53352 Automatic weekly version update: 200644 2006-10-30 05:00:04 +00:00
Bram Matthys b31f629d43 Update... Linebreaks fixed and all. 2006-10-28 17:17:15 +00:00
Bram Matthys 7c3fb9ee6b - Fixed a couple of add_Command/del_Command lines in m_chgname and m_helpop trying to
add the same token twice. Didn't cause any trouble, normally, though...
2006-10-28 14:10:31 +00:00
autoupdate 8c8938a88d Automatic weekly version update: 200643 2006-10-23 05:00:04 +00:00
autoupdate d4c9f5432a Automatic weekly version update: 200642 2006-10-16 05:00:05 +00:00
Bram Matthys 78ce3ffe4f updates.. ;p 2006-10-12 20:59:57 +00:00
Bram Matthys 57ec52f274 Updates 2006-10-10 12:18:59 +00:00
autoupdate 271a62162d Automatic weekly version update: 200641 2006-10-09 05:00:04 +00:00
autoupdate 765fc3bde1 Automatic weekly version update: 200640 2006-10-02 05:00:04 +00:00
Bram Matthys 9aed223b17 - Fixed zlib version check: 1.x is compatible with all 1.*, etc. (#0002966). 2006-09-28 20:43:52 +00:00
Bram Matthys 6ee4cf1ab5 credit.. Emre -> ironic ;P 2006-09-27 17:41:04 +00:00
Bram Matthys 38d5833c5b - Added doc/example.tr.conf (Turkish), translated by Emre. 2006-09-27 15:42:07 +00:00
Bram Matthys 1c1b90a801 - Added doc/help.tr.conf (Turkish), translated by Diablo. 2006-09-26 12:23:57 +00:00
autoupdate 9dc8f5fce1 Automatic weekly version update: 200639 2006-09-25 05:00:03 +00:00
Bram Matthys 1db0cc7dcd - Fixed cloak cutoff problem with long hosts. 2006-09-22 18:34:45 +00:00
Bram Matthys 262e2b2ca6 - Windows 2003: Fixed UnrealIRCd unable to boot if no DNS server is configured, we now
fallback to set::dns::nameserver in such a case. Thanks to Romeo (reporter, #0002802)
  and Bock for tracing this down.
2006-09-19 12:45:18 +00:00
autoupdate 4154d3ff5e Automatic weekly version update: 200638 2006-09-18 05:00:04 +00:00
Bram Matthys ac79932314 - Kick non-SSL users when the channel turns out to be +z during netmerge, reported by
Ron2K (#0002942).
(patch 90% by Trocotronic)
2006-09-15 12:29:01 +00:00
bock 45dd5b37f4 *Changes of week 36 2006-09-11 18:16:28 +00:00
autoupdate b30ff15c65 Automatic weekly version update: 200637 2006-09-11 05:00:05 +00:00
sinameki 6012a6e473 doc update of week 36 2006-09-10 20:19:59 +00:00
mark a138c0efb2 * Changes of week 36/06 2006-09-10 16:43:07 +00:00
trocotronic bffba7fc75 Cambios semana 36/06 2006-09-09 13:03:48 +00:00
stylus740 a3807a8d0a Changes of week 36 unreal32docs.de.html 2006-09-09 11:13:16 +00:00
babass 1adfad22f5 Ajout du support de FreeBSD 6.* 2006-09-08 15:46:45 +00:00
Bram Matthys 30dbdaa750 - Fixed small memory leak in resolver (~40 bytes when connecting to a server)
- Made Unreal use the original name in case of a CNAME, instead of the forwarded name,
  reported by jerrcsnet (#0003054).
- The "looking up your hostname" message was always sent, regardless of show-connect-info.
2006-09-06 12:24:05 +00:00
autoupdate 40d234d182 Automatic weekly version update: 200636 2006-09-04 05:00:03 +00:00
Bram Matthys c81b7595ab - Fix for channel mode +f: It incorrectly didn't eat a paramter on unset (ouch!), even
though it always acted like it did in the MODE line sent to the channel. This bug caused
  desynchs in some cases. Bug reported by Korfio (#0003048).
- Fixes to SVSNICK: case-change no longer causes a collision, don't return the value from
  exit_client (which would be FLUSH_BUFFER), fix QUIT not being sent back on collision.
- Fix for above so it doesn't -r the client.
2006-09-03 20:50:12 +00:00
Bram Matthys 31aaee7652 - Fixed bug in MODE #channel showing extended channel mode parameters when not in #channel.
- Made 'MODE #channel b' and friends show bans to ircops even when not in channel.
2006-08-29 13:22:58 +00:00
Bram Matthys 745dbfcfe0 - Module coders: Fixed CALLBACKTYPE_CLOAK_EX, it was not working properly at all. 2006-08-29 11:57:24 +00:00
autoupdate 198abda16c Automatic weekly version update: 200635 2006-08-28 05:00:04 +00:00
stylus740 4ae3b7071b doc/unreal32docs.de.html Changes of week 34 2006-08-26 08:27:05 +00:00
Bram Matthys 078915c8bd - Fixed some bugs in webtv code that could have caused trouble in the future (off by one),
reported by Ilja van Sprundel.
2006-08-23 11:15:23 +00:00
Bram Matthys 601eb71ba7 - Fixed SSL crash problem due to previous SSL change. 2006-08-23 10:43:02 +00:00
autoupdate 78d7291dcb Automatic weekly version update: 200634 2006-08-21 05:00:04 +00:00
Bram Matthys 1c993b2b24 - Fixed /SAJOIN able to join insecure users to +z channels, reported by phedny (#0002601). 2006-08-20 23:32:26 +00:00
Bram Matthys 38f4a154f3 - Small compile fix for above 2006-08-20 23:24:41 +00:00
Bram Matthys 05f5cfe02b - The server SSL certificate and private key can now be reloaded without requiring a server
restart, simply use: /REHASH -ssl
2006-08-20 23:05:55 +00:00
Bram Matthys c97cfd7a32 - Removed server numeric output from /MAP for normal users (still visible to ircops).
- Renamed unreal32docs.tk.html to unreal32docs.tr.html
- Module coders: Added HOOKTYPE_POST_SERVER_CONNECT (1 param: cptr) which is called when
  a server connects, just like HOOTYPE_SERVER_CONNECT but this is actually called *after*
  all clients and channels are synched. Obviously needed for some modules which must synch
  data that refers to clients/channels that would otherwise not exist yet on the other side.
2006-08-19 13:34:20 +00:00
autoupdate 30af83b7e3 Automatic weekly version update: 200633 2006-08-14 05:00:04 +00:00
autoupdate 06630b734d Automatic weekly version update: 200632 2006-08-07 05:00:04 +00:00
Bram Matthys c17fc7053d Mark 3.3* fork 2006-08-05 13:48:05 +00:00
Bram Matthys d57fda84df - Fixed SVSMODE -b [user] not always removing all bans (specificly, bans on the cloaked
host when you have a vhost), a code cleanup was also done. Based on patch from tabrisnet.
  Reported by Rob (#0002981).
2006-08-03 12:11:15 +00:00
Bram Matthys 9ea2326637 - Fixed operoverride message if oper is +h and -h's himself, reported by Bock (#2889). 2006-08-03 11:10:58 +00:00
Bram Matthys 4e26a3d494 - Fixed forgotten operoverride logmessage (kick if chan +Q), reported in #2889. 2006-08-03 10:51:05 +00:00
Bram Matthys 21eb4e5b5d - Fixed problem with oper as chanadmin kicking himself causing an operoverride notice,
reported by Bock (as part of #2889).
- Fixed desynch problem with +Q, reported by tabrisnet (#0002992).
- Updated doc/coding-guidelines
- Added bugs.* url to /info, was still showing some email address.
2006-08-03 10:44:55 +00:00
Bram Matthys f5b302c007 plok.. pre-commit. 2006-08-02 19:10:37 +00:00
Bram Matthys 9a804de95b Documented outdated for 69 days. Warning about document being out of date was sent 6 weeks ago. 2006-07-31 11:26:42 +00:00
autoupdate b2007fb08f Automatic weekly version update: 200631 2006-07-31 05:00:03 +00:00
gsf 85e36fda8d added OpenBSD 3.9 2006-07-28 09:50:14 +00:00
autoupdate 7ef365b991 Automatic weekly version update: 200630 2006-07-24 05:00:04 +00:00
Bram Matthys 78463e7d1d - Fixed tld::options:: not working properly, reported by DelGurth (#0003003). 2006-07-21 10:40:22 +00:00
sinameki 198e1c0dd1 doc update of week 27 2006-07-17 22:35:58 +00:00
autoupdate 909fda772b Automatic weekly version update: 200629 2006-07-17 05:00:03 +00:00
mark 18bbcb6dbe - Added a closing comment 2006-07-10 16:36:24 +00:00
autoupdate a4152ff15f Automatic weekly version update: 200628 2006-07-10 05:00:05 +00:00
babass 8eccfa7a33 Ajout du support de OpenBSD 3.9 2006-07-09 17:03:03 +00:00
mark f5a7d5e78b Changes week 27/06 2006-07-08 20:45:47 +00:00
stylus740 8e59f0c60e Changes of week 27: doc/example.de.conf doc/unreal32docs.de.html 2006-07-08 14:14:51 +00:00
angrywolf ed22d43bd2 Changes of week 27 2006-07-08 11:52:42 +00:00
trocotronic dbddfa8376 Cambios semana 27/06 2006-07-08 10:44:28 +00:00
bock 4e575921a1 changes of week 27 2006-07-08 10:28:17 +00:00
Bram Matthys e1dd8acd72 - Made it so undefining SHOW_SECRET (not the default) properly hides +s channels from ircops
(except netadmins), as it should. Reported and patch supplied by Jason (#0002965).
2006-07-04 10:05:18 +00:00
Bram Matthys 32495af164 - Added OpenBSD 3.9 to the supported OS list. 2006-07-04 10:03:27 +00:00
autoupdate b171bb498f Automatic weekly version update: 200627 2006-07-03 05:00:03 +00:00
Bram Matthys 1827f1d59b - Added HOOKTYPE_SILENCED: this is called whenever a message did not get delivered to a user
because the user was on the silence list.
2006-06-27 12:47:53 +00:00
autoupdate 401a8f7f97 Automatic weekly version update: 200626 2006-06-26 05:00:04 +00:00
Bram Matthys 11e6da7c3d - c-ares resolver: upgrade from 1.3.0 to 1.3.1. This mainly fixes compile problems,
including one reported by frigola on an old Sun Cobalt RAQ3.
  It will probably also fix an issue with the just released curl 7.15.4, if compiling
  with remote includes.
  TODO: Update win32 (not urgent)
2006-06-25 12:40:31 +00:00
mark 8953f00c1f -- Changed contact information (unreal32docs.nl.html) 2006-06-23 15:50:44 +00:00
mark 622dd2e02e Added end-comment on line 23, it wasn't there and giving errors 2006-06-22 13:42:42 +00:00
gsf ff8d65b110 Latest Update for 3.2.5 2006-06-21 21:46:42 +00:00
stylus740 c57310b809 corrected little mistake in doc/unreal32docs.de.html 2006-06-20 04:10:41 +00:00
babass 5f22c1acde Correction dans help.fr.conf 2006-06-19 17:26:44 +00:00
autoupdate 2c06dbc9d7 Automatic weekly version update: 200625 2006-06-19 05:00:05 +00:00
aquanight a8079fc9d0 Late commit on 2308. Ugh. 2006-06-18 21:55:20 +00:00
Bram Matthys e7595588d0 testest 2006-06-16 23:37:16 +00:00
Bram Matthys bf66d7d2df test2 2006-06-16 23:15:20 +00:00
Bram Matthys c42713b0de test ;p 2006-06-16 23:04:44 +00:00
Bram Matthys 2b3e89ab01 ** 3.2.5 release ** 2006-06-16 18:12:26 +00:00
Bram Matthys f7a0338e6c - Updated doc/technical/005.txt
- Mass version change
2006-06-15 19:20:39 +00:00
autoupdate 6c1273b311 Automatic weekly version update: 200624 2006-06-12 05:00:05 +00:00
stylus740 fd5d2342e0 unreal32docs.de.html : changes of week 23 2006-06-10 09:04:38 +00:00
angrywolf 21b8a31aec Use the right word for 'update'. 2006-06-08 16:25:22 +00:00
Bram Matthys 73ccaa0cf5 ** 3.2.5-rc3 release ** 2006-06-08 12:17:06 +00:00
Bram Matthys c0d8bf3330 then again, that didn't work 2006-06-08 11:10:28 +00:00
Bram Matthys 9d8854164f This is easier :P 2006-06-08 11:08:46 +00:00
Bram Matthys 4badd8fbd1 - On certain (newer?) FreeBSD's you get "make: Permission denied" after ./Config, but when
you do 'cd ..' and then 'cd -' again, make works just fine. This is going to be the most
  stupid workaround in history... Reported by vonitsanet and others (#0002926).
2006-06-08 10:56:42 +00:00
Bram Matthys c592701f91 - Disable /RESTART if running chrooted since that won't work anyway, reported by kayelem
(#0002956).
2006-06-07 11:31:52 +00:00
Bram Matthys 74c38ca2b5 - Made people with can_override able to change the topic again if not chanop and banned/+m-t,
reported by vonitsanet (#0002952).
2006-06-07 10:40:12 +00:00
Bram Matthys e70055008b reported -> reported and bugfix provided 2006-06-06 23:02:40 +00:00
Bram Matthys 7369f15b40 - Got rid of qline notice that could happen if using services holds (semi-race condition),
reported by tabrisnet (#0002950).
2006-06-06 22:57:07 +00:00
Bram Matthys 0a9cf5420e - Updated release notes, bleh.. I forgot :P 2006-06-06 19:30:06 +00:00
Bram Matthys bc90935c77 ** 3.2.5-rc2 release ** 2006-06-06 18:47:56 +00:00
Bram Matthys 5c53931125 - Removed PATCH5 from module version incompatibility system, so it can be used if we ever
need to update stuff and not enforce modules to recompile.. Might be useful one day ;p
- Updated list of donators
2006-06-06 18:41:56 +00:00
Bram Matthys d430eeb58e - Updated release notes a bit (will be updated more later): backrefs (\1) in regexes are
kinda scary, or at least at the moment.
2006-06-06 11:52:49 +00:00
Bram Matthys c65b46f966 - Fixed problem if c-ares library is already installed system-wide, reported by Trystan.
fix for fix
2006-06-05 23:16:34 +00:00
Bram Matthys d1b7ac4e40 - Fixed problem if c-ares library is already installed system-wide, reported by Trystan. 2006-06-05 23:10:01 +00:00
Bram Matthys 48c6df3558 - Fixed problem with IRCd using old link block settings if using a low connfreq, this made it
for example near-impossible to remove autoconnect for such a server. Reported by mixx941
  (#0002836).
2006-06-05 18:11:18 +00:00
Bram Matthys da44d389ab - Added translated Turkish docs (doc/unreal32docs.tk.html), translated by tt and Timaeus. 2006-06-05 12:59:42 +00:00
autoupdate 738cbdabc6 Automatic weekly version update: 200623 2006-06-05 05:00:04 +00:00
Bram Matthys 1d5742dbcf - Fixed compile (well, configure) problem on FreeBSD if compiling with remote includes
enabled. Reported by psadi (#0002941).
2006-06-03 21:52:59 +00:00
Bram Matthys f584c1f321 2>/dev/null plz 2006-06-03 21:43:52 +00:00
Bram Matthys 5a78c38632 try this ~ 2006-06-03 21:14:16 +00:00
stylus740 f49f6ed4dd unreal32docs.de.html - changes of week 22 2006-06-03 16:06:57 +00:00
Bram Matthys d6de099c2a commentaddedtoprevious: Saves some useless file reads. 2006-06-03 16:01:51 +00:00
Bram Matthys 72ce893ad4 - Made the resolver no longer check /etc/hosts, since that's how it used to be and should be.
and... config.h comment change..
2006-06-03 16:01:24 +00:00
Bram Matthys 329ce537ee it would help if I commit
- #undef STRIPBADWORDS did not work, reported by penna (#0002944).
2006-06-03 15:35:47 +00:00
Bram Matthys 429d6137e6 - #undef STRIPBADWORDS did not work, reported by penna (#0002944). 2006-06-03 15:15:32 +00:00
Bram Matthys abf11b8e66 - Made the "voice needed when channel is +m but -t" actually work, reported by Trystan and
Ron2K (#0002940).
2006-06-01 17:08:12 +00:00
Bram Matthys 41ac3a1907 - Deal with unsupported regexes added by remote servers (possible crash otherwise)
- Fixed crash problem on win32 if TKL times were <0. Obviously it's hard to protect from such
  invalid server traffic, but figured in this case it might be a good idea since *NIX does
  not crash.
- Made a note about possessive quantifiers, they are scary :P.
2006-05-31 23:42:18 +00:00
Bram Matthys b6baf5db33 - Added doc/example.ru.conf, translated by Bock. 2006-05-29 23:57:55 +00:00
angrywolf 91c49f0615 Changes of week 21 2006-05-29 12:43:45 +00:00
angrywolf 9d5b6e5a27 Changes of week 21 + grammar corrections 2006-05-29 12:38:34 +00:00
autoupdate 5d1487756f Automatic weekly version update: 200622 2006-05-29 05:00:04 +00:00
Bram Matthys 71dd4a775c ** 3.2.5-rc1 release ** 2006-05-28 20:57:36 +00:00
Bram Matthys d1626291ef - Win32 makefile/installer updates for new curl/ssl 2006-05-28 20:36:40 +00:00
Bram Matthys ad693eebcb - Fixed crash in /STATS Z (possibly rare), reported by yasinbey (#0002929). 2006-05-28 18:08:48 +00:00
stylus740 b78db0393e Changing of week21 and correcting some spelling mistakes doc/example.de.conf doc/unreal32docs.de.html 2006-05-28 07:52:43 +00:00
bock 6e256359c2 Changes of week 21: doc/unreal32docs.html
Äîáàâëåíà äîêóìåíòàöèÿ ïî "äåéñòâèòåëüíî ïñåâäîíèìàì" ("real alias").
Èñïðàâëåíû íåêîòîðûå íåòî÷íîñòè.
2006-05-27 15:00:25 +00:00
trocotronic 5d0d903809 Cambios semana 21/06 2006-05-27 12:06:13 +00:00
mark 94408ad5f3 -- Changes of week 21
-- Changed my contact information
2006-05-27 08:43:30 +00:00
babass e310ad6fc2 Ajout des 'vrais' alias 2006-05-25 13:19:33 +00:00
Bram Matthys 944f0880a7 - Updated release notes: more modulization and real command alias support.
+- Moved another 2K lines from core to modules, this means 31K lines are now in modules
+  and can be upgraded on the fly.
+- Real Command Aliases: This makes it possible to, for example, alias '/GLINEBOT' to
+  'GLINE <param> 2d Bots are not permitted on this network, etcetc'. For more information,
+  see the docs on the alias block and/or search for "glinebot" in doc/example.conf.
2006-05-25 00:55:18 +00:00
aquanight f46486ebc4 Fix NETINFO parameters. 2006-05-23 18:22:19 +00:00
Bram Matthys 25f0f2a069 - Fixed win32 compile problem cause by timesynch. 2006-05-22 18:30:23 +00:00
Bram Matthys e03b664abf win32 fix attempt 2006-05-22 18:24:11 +00:00
Bram Matthys 6fc5cb169b - Fixed compilation error on FreeBSD and others caused by timesynch, reported by tigra
(#0002921).
2006-05-22 18:15:04 +00:00
Bram Matthys a5dd4e6b77 notexttosend->needmoreparam @ aliases
added glinebot example @ real command aliases / updated description...
- Added 'real' aliases, this are aliases that map to real commands, so you can for example
  map the command '/GLINEBOT <x>' to 'GLINE <x> 2d Bots are not allowed on this server, blabla'.
  See the documentation on the alias block for more information. doc/example.conf contains an
  example as well (search for "glinebot").
2006-05-22 14:01:46 +00:00
autoupdate 206a2c62d6 Automatic weekly version update: 200621 2006-05-22 05:00:04 +00:00
Bram Matthys fdb256ddcb NOTE: WIN32 DOES NOT COMPILE AT THE MOMENT 2006-05-21 23:32:57 +00:00
Bram Matthys 5757c1a50e +extern MODVAR char modebuf[BUFSIZE], parabuf[BUFSIZE]; 2006-05-21 23:26:12 +00:00
Bram Matthys fe4c8b4a83 - Added 'real' aliases, this are aliases that map to real commands, so you can for example
map the command '/BLAH 5' to 'NICK idiot5'. More info in docs on alias block.
- Modulized: badwords system (src/badwords.c is now gone) and StripColors/StripControlCodes
  to m_message, multiple netsynch routines to m_server, send_list to m_list, a certain mode
  routine to m_svsmode, all /MSG IRC.. webtv stuff to src/modules/webtv.c which is compiled
  with m_message.
  This means another ~1500 lines of code are now in modules (and thus can be upgraded on
  the fly), which brings the total of modulized lines at 32K.
2006-05-21 23:16:53 +00:00
bock a0fc4bb5e3 Óñòðàíåíû íåêîòîðûå íåòî÷íîñòè è îøèáêè (íàïðèìåð ïåðåõîäû íà #). 2006-05-21 16:49:25 +00:00
bock c69121e001 Íåáîëüøàÿ êîððåêöèÿ âèäà html, èñïðàâëåíèå îïå÷àòîê è îøèáîê, äîáàâëåíèå
äîêóìåíòàöèè ïî ñèíõðîíèçàöèè âðåìåíè è cgiirc.
2006-05-21 13:49:48 +00:00
Bram Matthys 0625c384a2 - Updated windows compile instructions again.
- Updated release notes
2006-05-21 13:44:11 +00:00
Bram Matthys 8004d10a65 - Fixed some compile warnings for Windows 2006-05-21 00:38:46 +00:00
Bram Matthys d4c9e0af27 - Added MINIMAL time synchronization support. This is enabled by default and will try to
synchronize the IRCd clock (TSOffset) with a few good time servers. It currently only does
  this on-boot, but it will hopefully help a lot of people with most of their time differences.
  I still keep recommending anyone who can to run proper time-synchronization software such as
  ntpd/ntpdate on their servers.
  To disable time synchronization (eg: because you are already running ntp), you can simply
  set set::timesynch::enabled to no.
  The boot timeout for the timeserver response (=causes boot delay) can be configured via
  set::timesynch::timeout and is set to 3 seconds by default (range is 1s-5s), there should
  be no reason to change this.
  The time server can be configured by setting set::timesynch::server, the default is to
  use 3 time servers on 3 continents (US, EU, AU) which should be sufficient for anyone but
  if you got a good one near you you can use that one instead.
  The time protocol we use is (S)NTP v4.
2006-05-21 00:35:45 +00:00
Bram Matthys 0b0c06fa14 - Fixed oper count bug which happened on /mode, this was our fault (can't blame services in
this case ;p). Reported by KnAseN and many others (#0002581).
  There might still be other operator count bugs, but these are triggered by a different bug
  and may or may not be caused by services.
2006-05-19 11:49:35 +00:00
Bram Matthys e7e32993af - Made empty command aliases work (no more "no text to send" error) if the alias finds it ok,
which basically means if it allows .*. If you want to require a parameter, use .+ (or
  anything other in regex that requires at least one character). Suggested and patch provided
  by Nazzy (#0002722).
2006-05-17 12:46:26 +00:00
Bram Matthys 9c71708529 - Allow *lining of literalident@* such as clones@* (but not *clones@*), this is also as
far as we want to go with regards to relaxing "too broad" checking... Just continue to use
  services AKILL for (other) "too broad cases", as many people (correctly) do. Change
  suggested by salama (#0002911).
2006-05-17 12:12:03 +00:00
Bram Matthys 1ed25f94a6 - Fixed implicit declaration compiler warning if compiling for ipv6.
- Fixed some small memory leak on rehash.
- Removed spamfilter-oversized-checking when trying to REMOVE one.. duh.. reported by satmd
  (#00029160).
2006-05-17 11:46:24 +00:00
trocotronic 479e06e01e Revisión 2006-05-15 19:37:17 +00:00
trocotronic a43388c2b6 Revisión 2006-05-15 19:31:40 +00:00
autoupdate 93ed724447 Automatic weekly version update: 200620 2006-05-15 05:00:03 +00:00
aquanight 154bbc0ca3 Just one of those days... 2006-05-13 21:41:42 +00:00
aquanight 1654ced15d Format error + forgot PONG token. D'oh. 2006-05-13 21:14:22 +00:00
aquanight 346b947794 You know, maybe I should update the Update Date? 2006-05-13 21:07:33 +00:00
aquanight a8d421d3cc Added PING and PONG. 2006-05-13 21:06:27 +00:00
autoupdate 1efd22d161 Automatic weekly version update: 200619 2006-05-08 05:00:03 +00:00
Bram Matthys 98cd2c254e - Added error checking to (main) setuid/setgid calls. 2006-05-05 23:02:11 +00:00
Bram Matthys 6b6933c1b9 - (multiple?) IPv6 listen blocks could cause a crash in config parser. Reported by Robby22
(#0002868).
2006-05-04 12:08:59 +00:00
autoupdate 6a2e196acf Automatic weekly version update: 200618 2006-05-01 05:00:04 +00:00
Bram Matthys 6a5677c335 unreal.exe -> debugging symbols 2006-04-29 19:43:43 +00:00
Bram Matthys e679a6760b win32 service bugfix 2006-04-29 19:41:18 +00:00
Bram Matthys abfdc9050d - set::ssl::egd does not require a parameter per-se (bug caused few days ago), reported
by Trocotronic (#0002899).
2006-04-29 16:51:38 +00:00
Bram Matthys bdf968e11a - Made it so me::numeric can be changed (when not linked to any servers) so no server restart
is needed anymore (#0002896).
2006-04-29 15:17:39 +00:00
Bram Matthys acbcd3cdd3 - Fixed bug with chinese-* charsets not getting detected properly by config parser.
Reported and patch provided by Xuefer (#0002891).
2006-04-29 14:58:38 +00:00
Bram Matthys 1c4b21e129 - Updated sendnotice() so it sends a proper notice if the user is in pre-connect stage. 2006-04-29 14:51:37 +00:00
Bram Matthys e265c08729 - Module coders: For cloaking, added a new callback type CALLBACKTYPE_CLOAK_EX (which replaces
CALLBACKTYPE_CLOAK). This passes 'aClient *sptr, char *host' instead of only 'char *host'
  to the cloaking module, which can be useful if you need to cloak on something other than
  IP/host. Suggested by fez (#0002275).
  Module may still provide only CALLBACKTYPE_CLOAK though, in fact this is what the official
  cloaking module does. So no updating of cloaking modules needed.
  A side-effect of this "extra cloaking" callback is that we needed to change make_virthost()
  which now has an extra parameter in front, and another side-effect is that calling the
  CALLBACKTYPE_CLOAK may not work since only *_EX might be available. To my knowledge there
  are very few modules (only 1 I know) that will have a problem due to this, so sounds like
  an affordable tradeoff.
2006-04-29 14:49:36 +00:00
Bram Matthys 40f1ad1cfe - Added compiler version checking to "module binary incompatability"-check. This should fix
some more odd problems from people (eg: people switching from GCC 3.x to 4.x and wondering
  why they are crashing or getting other errors).
** actually, this was already comitted, but forgot to commit Changes :p **
2006-04-29 14:36:58 +00:00
Bram Matthys 46a65d553d - Added compiler version checking to "module binary incompatability"-check. This should fix
some more odd problems from people (eg: people switching from GCC 3.x to 4.x and wondering
  why they are crashing or getting other errors).
2006-04-28 14:08:06 +00:00
Bram Matthys 72b530c149 - Fixed null pointer config parser crash, reported by alkalinex (#0002894). 2006-04-28 13:07:15 +00:00
Bram Matthys f0e14f7847 credit zell for vc2005 thing for his help... -> Also thanks to Zell for his help. 2006-04-25 02:10:22 +00:00
autoupdate de2e10619d Automatic weekly version update: 200617 2006-04-24 05:00:04 +00:00
Bram Matthys cf6da5b6d0 "DEBUGEXTRA=0" -> "#DEBUGEXTRA=1": No idea if it's needed, but it's better I guess... 2006-04-19 12:48:47 +00:00
Bram Matthys dabbe786be - Fixed Microsoft Visual Studio 2005 (8.x) unable to compile, and, after fixing that, causing
a lot of crashes. Both are now fixed. Reported by Zell, Yamake, and others (#2875, #2704).
  Fix provided by Xuefer. This also gets rid of some annoying and useless compile warnings
  as well.
2006-04-19 12:38:47 +00:00
aquanight 76350e1319 Fixed a wrong compile flag info. 2006-04-17 06:16:51 +00:00
aquanight 49ee17db5d Updated protocol information about the new PROTOCTL CLK. 2006-04-17 06:02:10 +00:00
autoupdate fc4d4b8ec5 Automatic weekly version update: 200616 2006-04-17 05:00:05 +00:00
Bram Matthys bfb9b91467 - Fixed set::maxdccallow setting to <=0 still allowing one entry to be set, reported by
RSCruiser (#0002883).
2006-04-16 23:58:01 +00:00
Bram Matthys 8607d950b7 - Made the IRCd calculate the cloaked host only once upon connect, and store (cache) it.
- When checking if a user is banned, we always check the cloakhost too. Previously we could
  not do this if the user had a /VHOST (=a minority of the cases, but still...). In short,
  this is some extra protection to combat ban evasion.
- Performance of is_banned() *slightly* improved (just 1-2 usec, but 7 usec if no bans).
- [Module coders] For extban routines, we now offer a routine extban_is_banned_helper(buf)
  which can be used instead of the ban_realhost/etc static chars stuff, see
  extban_modeq_is_banned for a (real-life) example of how this is used.
- [Services coders!] Added PROTOCTL CLK (requires NICKv2) which adds an extra field in the
  NICK command (when a user connects) right before the infofield (gecos).
  The added field contains the cloaked host, that is: the masked host if +x would have been
  set. This field is ALWAYS sent, regardless of whether the user is actually +x or not.
  Services can then store this field in memory, to know the host of the user if the user
  is set +x (+x-t). This is a (better) alternative to PROTOCTL VHP, with no race conditions,
  and avoids some other VHP problems.
  VHP will stay supported though... so it's not mandatory to switch over.
2006-04-16 23:27:56 +00:00
mark e636820eba Added CGI:IRC sections 2006-04-16 20:59:58 +00:00
Bram Matthys f69fd6bf11 win32 changes for this commit:
- c-ares (currently, a forked off version) enhancements:
  - '/quote dns i' now shows the nameserver settings (which is taken from /etc/resolv.conf
    on *NIX, and from the registry on Windows)
  - We no longer depend on a C++ compiler (was useless c-ares dependency caused by libtool)
  - '/REHASH -dns' now rereads the resolver data from resolv.conf/registry, no IRCd restart
    needed anymore. It's currently kinda experimental however, but I *think* it will work ok.
  Unfortunately the above features required some ugly hacks if curl was enabled, so if you
  use curl (Remote includes), feel free to test on your OS (Linux, but especially FreeBSD
  and the other *NIXes) to see if things still compile (make clean; ./Config && make).
2006-04-11 22:27:35 +00:00
Bram Matthys 8ff913a2db - c-ares (currently, a forked off version) enhancements:
- '/quote dns i' now shows the nameserver settings (which is taken from /etc/resolv.conf
    on *NIX, and from the registry on Windows)
  - We no longer depend on a C++ compiler (was useless c-ares dependency caused by libtool)
  - '/REHASH -dns' now rereads the resolver data from resolv.conf/registry, no IRCd restart
    needed anymore. It's currently kinda experimental however, but I *think* it will work ok.
  Unfortunately the above features required some ugly hacks if curl was enabled, so if you
  use curl (Remote includes), feel free to test on your OS (Linux, but especially FreeBSD
  and the other *NIXes) to see if things still compile (make clean; ./Config && make).
2006-04-11 22:00:01 +00:00
Bram Matthys 4826668565 - Made doc/compiling_win32.txt a bit more ugly (mention that only vstudio 7.x actually works
at this moment).
2006-04-10 18:31:15 +00:00
Bram Matthys 97eff14af2 - Made the windows installer better compress things (SolidCompression=true), suggested
by Trocotronic (#0002877).
2006-04-10 14:06:45 +00:00
autoupdate 37e52ffa2d Automatic weekly version update: 200615 2006-04-10 05:00:04 +00:00
Bram Matthys 4530ee5219 - Made it so if the channel is +m but -t, you need at least voice (+v) to change the topic.
Reported by aquanight (#0002233).
[commit accidently happened earlier btw...]
2006-04-09 20:17:25 +00:00
Bram Matthys e0b116a663 - Hide stats request if requested by an U-lined client. Suggested by vonitsanet (#0002865). 2006-04-09 19:34:36 +00:00
Bram Matthys 3c529c7ee1 - Fixed CHROOTDIR compilation problem, reported by toshio (#0002854).
- Improved CHROOTDIR documentation in include/config.h
- Added error if CHROOTDIR is defined but IRC_UID isn't (in include/config.h).
2006-04-09 19:28:30 +00:00
Bram Matthys 5f6f296cac - Removed some odd code causing a 'my port is' message to appear in (f.e.) syslog, reported
by rsc (#0002853).
2006-04-09 18:40:42 +00:00
Bram Matthys eee6d3c8d1 - Local opers may now use /TRACE (local only), suggested by GSF19 (#0002365). 2006-04-09 18:37:38 +00:00
Bram Matthys ae03d2e4e8 - Added chained SSL certificates support, patch provided by justdave (#0002848). 2006-04-09 16:51:04 +00:00
Bram Matthys e88ee5180b tyoos 2006-04-04 19:54:26 +00:00
Bram Matthys a95f26b1c9 - Added minidump support for crashes to aid debugging a bit. 2006-04-04 19:46:22 +00:00
autoupdate d3fc59b08e Automatic weekly version update: 200614 2006-04-03 05:00:04 +00:00
Bram Matthys 6b982f7aae - Fixed (unimportant) DNS resolver problem if using some LAN domains with digits at end,
reported by Bock (#0002843).
2006-04-02 20:13:23 +00:00
Bram Matthys 17b201793c - Changed default PREFIX_AQ behavior to ON instead of OFF. Since basically all major IRC
clients support it now (mIRC, xchat, epic, eggdrop, Klient, PJIRC, irssi, CGI:IRC, etc).
  It has always been weird that win32 had it ON by default and *NIX OFF, anyway.
  Naturally this change will be mentioned clearly in next release notes.
2006-03-30 23:11:08 +00:00
autoupdate 82a65df46c Automatic weekly version update: 200613 2006-03-27 05:00:04 +00:00
mark 2cdfbe6530 - Added doc/example.nl.conf 2006-03-25 13:38:32 +00:00
bock 5f6e18d6a7 Changes since release 3.2.4 2006-03-21 14:46:32 +00:00
autoupdate f87bee6382 Automatic weekly version update: 200612 2006-03-20 05:00:04 +00:00
stylus740 0fc6e26be4 doc/example.de.conf doc/unreal32docs.de.html
Changes of week 11
2006-03-19 19:42:52 +00:00
mark a62cb8de7a Updated to 1.1.2.144.2.101 2006-03-19 11:27:48 +00:00
angrywolf 8c59e918b7 Changes of week 11 (+ grammar corrections) 2006-03-18 20:21:37 +00:00
Bram Matthys 2134f91309 updated credits (requested by Bock) 2006-03-18 19:25:54 +00:00
angrywolf 6c1df13565 Changes of week 11 2006-03-18 18:09:58 +00:00
trocotronic 66a4fb57d4 Cambios semana 11, 2006 2006-03-18 10:40:38 +00:00
babass 424520d2cf Réécriture de certains passages de example.fr.conf et unrealdocs.fr 2006-03-15 19:50:05 +00:00
Bram Matthys 54c2296dae - CGI:IRC: gzlines, zlines, throttling, and unknown connect floods are now all checked for
clients connecting trough a CGI:IRC gateway that is in cgiirc { }. This might also fix a bug
  where (g)zlines were not applied to CGI:IRC clients, reported by devil (#0002850).
2006-03-14 19:47:08 +00:00
autoupdate edaec98025 Automatic weekly version update: 200611 2006-03-13 05:00:03 +00:00
Bram Matthys 898ff7855d - Partially redid m_message, moved some stuff to a subroutine, etc to avoid duplicate code
- Rephrased/editted part of example.conf and unreal32docs to make it a littttttle bit easier
  for beginners / try to mention the FAQ a bit more explicitly.
2006-03-12 20:56:09 +00:00
autoupdate 9db31d4032 Automatic weekly version update: 200610 2006-03-06 05:00:03 +00:00
Bram Matthys 996381ec47 - Fixed possible netsplit problem (#0002790). 2006-03-05 23:35:48 +00:00
autoupdate 161624723c Automatic weekly version update: 200609 2006-02-27 05:00:04 +00:00
Bram Matthys 3109c877aa - Actually committed src/modules/m_names.c... This tends to help with the compiling process. 2006-02-26 13:29:21 +00:00
Bram Matthys bc0465ebfe - Updated win32 makefile due to m_names modulization, reported by Trocotronic (#0002838). 2006-02-26 13:15:22 +00:00
Bram Matthys 69dc0cfe91 changelog comment.. mirc 5.17 -> 6.17 2006-02-26 13:11:41 +00:00
Bram Matthys fd5c1f778f - Fixed bug in currently unused code, reported by DeadNotBuried (#0002835).
- Modulized NAMES command (can now be upgraded on the fly, if ever needed).
- Added NAMESX support, seeing both mIRC (5.17) and XChat support this. What this does is
  send all rights of all users on the channel in the NAMES reply (eg: @+Syzop if the user is +ov)
  instead of only the highest one (@Syzop in previous example). We only do so if the client
  explicitly requested this via a NAMESX in a PROTOCTL message (eg: 'PROTOCTL NAMESX').
  Note that there is a glitch: since most clients only send the PROTOCTL NAMESX after they
  see NAMESX listed in the 005 announce message this has the effect that if there are
  set::auto-join channels present (where users are automatically joined to by the server) the
  extended NAMES reply will not be sent for those channels, because from the IRC server' point
  of view the join happened before the PROTOCTL and hence it does not know the client wanted
  NAMESX at that point (the result is not catastrophic: the old-style NAMES is sent for those
  channels). Anyway, for all non-autojoin channels this works great. So still worth adding IMO.
  Originally suggested in #0000606.
  Side note: this does not mean we dropped the idea of (also) having a challenge-response
  system for good ;).
2006-02-26 01:06:10 +00:00
stylus740 404a5df740 Changes of week08: doc/unreal32docs.de.html 2006-02-25 08:41:20 +00:00
babass 7a7c5bebaa Refonte totale du support CGI:IRC 2006-02-21 19:17:59 +00:00
autoupdate a52dd18f85 Automatic weekly version update: 200608 2006-02-20 05:00:05 +00:00
angrywolf ae29de76d4 *** empty log message *** 2006-02-19 15:52:43 +00:00
angrywolf bd7520b12d Corrected the translation of the word 'feature', as it was pointed out in a radio show (http://www.modemidok.hu/mohh_3-20_050925.shtml, 2005-09-15) that 'featúra' is a weird, slangy and therefore wrong expression for that hard-to-translate word. 2006-02-19 15:31:31 +00:00
angrywolf 65383f4355 Changes of week 07 2006-02-19 12:55:00 +00:00
trocotronic 7ecabaeae3 Cambios semana 07, 2006 2006-02-18 19:38:30 +00:00
Bram Matthys 5d2dc222f2 BLAH! EHM I REMOVED SOMETHING !!1111 OK!!!? 2006-02-18 13:06:23 +00:00
trocotronic bdc18debdc Cambios semana 07, 2006 2006-02-18 12:51:22 +00:00
stylus740 67ea00419a unreal32docs.de.html - Changes of week 07 2006-02-18 10:13:45 +00:00
Bram Matthys d3fc895063 - Fixed (serious) bug in CGI:IRC code, IP's were often not right, reported by 3rror (#2824). 2006-02-16 20:34:09 +00:00
Bram Matthys aca2a5061d - Added error message if c-ares failed to initialize, might help in case something is buggy
(either with Unreal or the OS/environment).
2006-02-16 17:18:00 +00:00
Bram Matthys 6267898f3e REFIX 2006-02-16 16:33:16 +00:00
Bram Matthys 6623b10a16 socket.h? 2006-02-16 16:30:22 +00:00
Bram Matthys 3e0b0f2e18 - Fixed *BSD compile problem caused by changes of above, reported by 3rror (#0002823). <-- credit 2006-02-16 16:26:11 +00:00
Bram Matthys 13f99d6bc1 inet.h! 2006-02-16 16:24:50 +00:00
Bram Matthys ca069a7c88 'usually cgiirc.conf' -> 'cgiirc.conf' 2006-02-16 15:43:34 +00:00
Bram Matthys 07ccc74036 - Redid whole CGI:IRC support. Configuration is now moved to cgiirc { } blocks.
We now support the webirc ('webirc_password' in CGI:IRC) method, which is kinda superior
  to the older method ('realhost_as_password').
  See the Unreal documentation (section '4.36 - Cgiirc Block') for details on how to configure.
- Changed quoting color in unreal32docs.. looks better now IMO (only English docs updated).
2006-02-16 15:32:16 +00:00
Bram Matthys 3d3c59be40 - Fixed win32 compile problem due to CGI:IRC support, reported by therock247uk (#0002821). <-- changelog edit only 2006-02-15 11:29:08 +00:00
Bram Matthys 22921c1b1f - Fixed win32 compile problem due to CGI:IRC support (?) 2006-02-15 11:26:47 +00:00
Bram Matthys b6c75bf985 rephrased CGI:IRC talk 2006-02-14 17:02:47 +00:00
Bram Matthys a47df87139 slightly rephrased CGI:IRC host spoofing explanation 2006-02-14 17:00:16 +00:00
Bram Matthys 99b6f2ea38 - Added CGI:IRC host spoofing support. This means you can mark specific CGI:IRC gateways as
"trusted" and the IRCd will show the users' _real_ host/ip everywhere on IRC, instead of the
  _CGI:IRC-gateway_ host/ip.
  To do so you must set 'realhost_as_password' to 1 in your cgiirc.conf. And add the
  CGI:IRC gateway(s) you fully trust to set::cgiirc::hosts.
2006-02-14 16:58:43 +00:00
Bram Matthys 612c52c7a3 win32compile w/free --> mention it's untested. 2006-02-14 12:39:39 +00:00
Bram Matthys c8bc986778 - Updated win32 compiling instructions; mention the free MS stuff that can be used to compile
UnrealIRCd.
2006-02-14 12:38:51 +00:00
Bram Matthys 5f8bf556e1 - When set::options-show-connect-notice was enabled the "*** Looking up your hostname..."
message was not being shown (all others were). Reported by fbi (#0002820).
2006-02-14 12:36:21 +00:00
Bram Matthys 41bdfc3b29 - When set::options-show-connect-notice was enabled the "*** Looking up your hostname..."
message was not being shown (all others were). Reported by fbi (#0002820).
2006-02-14 12:19:18 +00:00
autoupdate e65c17e2e1 Automatic weekly version update: 200607 2006-02-13 05:00:03 +00:00
stylus740 8bdd8cb5a5 unreal32docs.de.html Changes of week06 2006-02-11 14:11:22 +00:00
Bram Matthys 2487621092 - Updated autoconf/configure.in again (does not produce different ./configure output) 2006-02-07 13:02:14 +00:00
Bram Matthys 545d087a99 - Updated autoconf/configure.in to make newer autoconf's work (developers only), reported
and patch provided by Xuefer (#0002798). Also rebuilt ./configure from configure.in with
  autoconf 2.59 from my own machine.
2006-02-06 19:35:38 +00:00
autoupdate 9422a9ffd1 Automatic weekly version update: 200606 2006-02-06 05:00:04 +00:00
Bram Matthys decce0d11f clarifications regarding fixed version 2006-02-05 17:43:19 +00:00
Bram Matthys 050846cd02 - Added unreal32docs.ru.html, translated by Bock. 2006-02-05 17:32:58 +00:00
Bram Matthys fa9cf506e7 - The '?' wildcard was completely broken in 3.2.4, reported by tabrisnet (#0002797). 2006-02-05 17:20:36 +00:00
Bram Matthys 5dcddc4404 - Updated example.bg.conf, the one shipped with 3.2.4 had several errors. 2006-02-04 21:17:36 +00:00
Bram Matthys d223da8a26 - Fixed amd64 problem regarding /*LINE always saying 'The time you specified is out of range',
reported and test shell provided by Tauop.
2006-02-04 20:30:02 +00:00
Bram Matthys 356c492c49 ** 3.2.4 release ** 2006-02-03 13:42:55 +00:00
Bram Matthys 8364783817 clarified some release notes text 2006-01-30 23:28:39 +00:00
Bram Matthys 43749211fe ** public 3.2.4-rc3 release ** 2006-01-30 21:52:33 +00:00
Bram Matthys dc19350c70 - Redid glob matching. Escaping is now ripped out for normal bans (as it should be), this
means no longer weird issues with +b *\* etc not banning nicks with \ in it.
  ExtBan ~c/~r get special treatment and will use our match_esc [match with escaping]
  routine, that way you can ban channels such as "#f*ck" via "+b ~c:#f\*ck".
  Fix triggered by bugreport of vonitsanet (#0002782).
2006-01-30 20:14:39 +00:00
autoupdate f21bbdadf5 Automatic weekly version update: 200605 2006-01-30 05:00:04 +00:00
aquanight 731b77f206 Minor formatting "whoops". 2006-01-28 21:54:18 +00:00
aquanight bd6979e842 More #2778 fun ;p . 2006-01-28 21:49:42 +00:00
aquanight a50455c225 Knew I forgot something... fixed JOIN 0 bit now. 2006-01-28 19:49:05 +00:00
aquanight 4b2da6f3d0 Base64 info added. 2006-01-28 19:31:18 +00:00
aquanight ca7f59a473 Most of #2778 (will do b64 table later :P) 2006-01-28 17:11:33 +00:00
stylus740 5298931dd8 Changes of week 04 in unreal32docs.de.html 2006-01-28 08:49:00 +00:00
Bram Matthys 08fbbff0f6 updated contact info 2006-01-27 22:00:35 +00:00
Bram Matthys 8a0ebfdab7 - Added unreal32docs.nl.html, translated/maintained by Mark. 2006-01-27 21:07:55 +00:00
Bram Matthys 0d05df5237 changelog-only text change:
- Updated help.ru.conf (corrections by CS-Help / Bock)
- Updated example.bg.conf (by Peace)
2006-01-27 15:47:48 +00:00
Bram Matthys 762e6c7050 changelog-only textfix 2006-01-27 15:46:18 +00:00
Bram Matthys f8194daa68 - Updated help.ru.conf (corrections by CS-Help) and example.bg.conf (by Peace) 2006-01-27 15:42:58 +00:00
Bram Matthys b30301ecfe - Sometimes if an oper was connected trough SSL and had the junk snomask (+s +j) set it
would cause a crash. Reported by chasingsol (#0002777).
2006-01-27 15:25:31 +00:00
cvs2hg dbd9932635 fixup commit for tag 'unreal3_2_4rc2' 2006-01-26 15:22:47 +00:00
Bram Matthys 6c8c7f36a3 - Fixed localhost crash (if no dns record for 127.0.0.1), reported by Trocotronic (#2773). 2006-01-26 15:22:46 +00:00
angrywolf f6ae3f8844 Changes of week 03 2006-01-26 15:03:18 +00:00
Bram Matthys 8dac61a435 ** public 3.2.4-rc2 release ** 2006-01-26 14:57:24 +00:00
Bram Matthys 6e70facb1e - Fixed(?) bug due to match() rewrite: we now use our old rules with escaping again, due to
the switchover we were accidently using different ones which caused funny kill messages
  like "You were killed by a.b.c (a!a.b.c (SOMENICK[N\A](?) <- d.e.f))." This also broke
  some bans in pre2/rc1. Bug reported by HERZ (#0002772).
2006-01-26 14:02:21 +00:00
Bram Matthys 35ce9949d9 added release candidate header to release notes 2006-01-25 20:40:41 +00:00
Bram Matthys 8b42fad320 ** public 3.2.4-rc1 release ** 2006-01-25 20:25:37 +00:00
Bram Matthys 242f66ed6c +- For users using remote includes w/ssl (https, ftps): the CA certificates are now stored
+  in curl-ca-bundle.crt (shipped with Unreal) which contains most major CA's plus CACert.
2006-01-25 16:26:26 +00:00
Bram Matthys 88da136dda copy curl-ca-bundle.crt 2006-01-25 15:10:50 +00:00
Bram Matthys c916651eb4 - Curl users using https/ftps/etc: UnrealIRCd now ships with a 'curl-ca-bundle.crt' which
contains the (root) certificates of most major Certificate Authorities. It is basically
  the default curl ca-bundle.crt plus cacert's certificates.
  The 'curl-ca-bundle.crt' will be copied to the installation dir if needed.
  It will from now on be used by Unreal for all remote includes (curl) related certificates.
  If you want to use https but don't want to buy a certificate, we suggest you to apply for
  a free certificate at CACert (www.CACert.org). Or, alternatively, add your own certificate
  (PEM encoded) to curl-ca-bundle.crt, see 'SSLCERTS' in the curl package for more info.
2006-01-25 15:08:55 +00:00
Bram Matthys 326a981c0a added... 2006-01-25 13:21:39 +00:00
Bram Matthys 6990888040 curl-ca-bundle.crt 2006-01-25 13:19:23 +00:00
Bram Matthys 4efd5e60f6 curl-ca-bundle.crt stuff 2006-01-25 13:17:14 +00:00
Bram Matthys 3c0309a98d Nazzy = supporter 2006-01-24 16:48:31 +00:00
Bram Matthys 93cb84f67c - Fixed SVS2SNO not always notifying the user of the snomask change, reported by decoder
(#0002767).
2006-01-24 13:29:13 +00:00
aquanight 1113088f1a More 3.2.3 -> 3.2.4 updates 2006-01-24 01:46:02 +00:00
Bram Matthys 1d70016ef8 - Made it so a set::maxbanlength and/or set::maxbans of 0 denies all bans properly, and
fixes the first-ban-can-be-as-long-as-you-want bug, both reported by Trocotronic (#2762).
2006-01-24 00:41:08 +00:00
Bram Matthys ea02baae7b Creditted Voodoohosting 2006-01-24 00:18:02 +00:00
Bram Matthys ddd6b8876f ** internal 3.2.4-pre2 release ** 2006-01-23 23:32:23 +00:00
Bram Matthys a73a12c898 - Removed some old config.h stuff + clarified some text, reported by Jason (#2765, #2766). 2006-01-23 23:20:19 +00:00
Bram Matthys 02227c7696 some changes/release notes text updates 2006-01-23 23:18:46 +00:00
Bram Matthys 5f272b56e7 - Switched over to an older match() routine based on hybrid, this one is a bit less optimized
but is actually understandable and has less bugs. This fixes +b ~c:#c\*t not properly
  matching #c*t, reported by Jason (#0002752). Initial results look good, but this needs
  some good testing ;).
2006-01-23 22:05:50 +00:00
Bram Matthys 950ba7c702 - Made set::maxbanlength also count the "to be set" ban in, otherwise you could exceed the
limit by (max) NICKLEN+USERNAME+HOSTNAME+2, reported by Trocotronic (#0002762).
2006-01-23 20:42:07 +00:00
Bram Matthys b38f4fce10 - set::maxbans / set::maxbanlength were reported as duplicates when they were not, reported
by Jason and trystanscott (#0002753).
- Made it so bans on normal users work with +mu, reported by Nazzy (?).
2006-01-23 20:32:30 +00:00
babass 4bf143993b Préparation pour la version pre-1 2006-01-23 20:27:57 +00:00
autoupdate 00933ef23b Automatic weekly version update: 200604 2006-01-23 05:00:03 +00:00
trocotronic 58872ce250 Cambios semana 03, 2006 2006-01-22 14:52:25 +00:00
aquanight e382a3ac95 3.2.3 -> 3.2.4 2006-01-21 17:01:34 +00:00
stylus740 7e2eb48cea unreal32docs.de.html - Changes of week 03 2006-01-21 09:12:24 +00:00
cvs2hg b0e527ec87 fixup commit for tag 'unreal3_2_4pre1' 2006-01-20 16:28:15 +00:00
Bram Matthys 6feeafa7bc bleh.. version -> pre1 2006-01-20 16:28:14 +00:00
Bram Matthys 66686bd310 ** internal 3.2.4-pre1 release ** 2006-01-20 16:09:18 +00:00
Bram Matthys a38b5ad538 updated... for help.ru.conf 2006-01-20 16:08:46 +00:00
Bram Matthys ea1ecd25ab - Added doc/help.ru.conf, translated by Slyder. 2006-01-20 14:49:52 +00:00
gsf 6499bc6a29 Latest Update 2006-01-20 12:14:38 +00:00
Bram Matthys 379fc66e8b bleh.. changes typo 2006-01-19 21:48:17 +00:00
Bram Matthys 9109d9a8a3 - Update wircd.def (for developers). 2006-01-19 21:47:31 +00:00
Bram Matthys 6f7cc9ba88 - Updated makefile.win32: apparently libcurl.dll is now libcurl_imp.dll (import library)
- Updated unrealinst.iss: made it easier for me to have 2 curl versions, this is so we can
  ship the SSL version of unreal with a curl that supports SSL (https, etc).
- Preperations for pre-1 (version change, etc)
2006-01-19 21:38:11 +00:00
Bram Matthys 53741c5c48 - Updated /CREDITS (forums/mainsite hosting and update of current active supporters). 2006-01-19 00:34:28 +00:00
Bram Matthys 383c2ef7c0 - Removed small comment from docs, which no longer applies (sorry translators ;p). 2006-01-17 22:06:29 +00:00
aquanight 8c8d89a763 Added a little blurb for SVSNICK. 2006-01-17 22:03:48 +00:00
Bram Matthys 055ab13080 - Nick Character System: Silently not advertising danish if using latin1, circumventing link
problems if using latin1.
2006-01-17 22:03:29 +00:00
angrywolf ee918eb576 Changes of week 01 & 02 2006-01-17 03:06:38 +00:00
Bram Matthys 443e9cdcd6 - Empty (but existing) include files no longer cause an error. Reported by w00t (#0002460). 2006-01-16 22:13:13 +00:00
babass deafe60ff4 Ajout du "Nombre de bans maximum" par salon 2006-01-16 22:06:44 +00:00
babass 0ab55be3d0 Nickchar update 2006-01-16 21:48:09 +00:00
Bram Matthys 1b690bb64a changelog text only edit...
- Changed the default maxbanlength from 1K to 2K, which means people can set more bans because
  in pracitce the 60 (maxbans) limit was never met because the maxbanlimit was set so low.
2006-01-16 21:32:24 +00:00
Bram Matthys ceb75b7a7a - Made the "max bans per channel" setting dynamic. This can be changed by setting
set::maxbans in the configfile, note that you probably also want to enlarge set::maxbanlength
  as well (see docs) or else you will hit that limit first.
- Changed the default maxbanlength from 1K to 2K, which in practice will mean people can set
  a lot more bans since in practice the 60 (maxbans) limit was never met because the
  maxbanlimit was set so low.
2006-01-16 21:30:07 +00:00
Bram Matthys c9648673fd - Made it so banned users cannot change the topic, suggested by aquanight and Stealth (#2233). 2006-01-16 21:11:48 +00:00
Bram Matthys 979eacdaf5 - Fixed complex command aliases not working properly, patch from Nazzy (#2722). 2006-01-16 20:53:03 +00:00
Bram Matthys 44375e1dd5 - Little /STATS v tweak: should display 'v' in output, not 'V'. Reported by Robby22 (#2700). 2006-01-16 20:46:48 +00:00
Bram Matthys be917865c3 - If you now use /(G)ZLINE usermask@something instead of /(G)ZLINE *@something you get
an error, since specifying usermask should not be done and is useless, since a (G)ZLINE
  takes place BEFORE ident lookups.
- Did the same for /(G)ZLINE *@hostmask (should be *@ipmask), this already was a warning
  in 3.2.3, and is an error now in 3.2.4.
2006-01-16 20:32:38 +00:00
Bram Matthys f24d4495a2 - Fixed (well, workaround) win32 /RESTART bug that caused it to popup a window instead
of actually restarting the server properly (#0002734).
2006-01-16 19:30:27 +00:00
autoupdate d7969a5272 Automatic weekly version update: 200603 2006-01-16 05:00:04 +00:00
codemastr 34f6b6b058 Updated the list of donators. 2006-01-15 18:33:38 +00:00
Bram Matthys 1c7c7573be - Fixed some more memleaks, thanks to valgrind. 2006-01-15 14:42:16 +00:00
trocotronic bb7f0d9261 cambios semana 2/06 2006-01-14 13:21:37 +00:00
Bram Matthys bc6445b8ad - Crashbug fix for above 2006-01-14 12:39:25 +00:00
stylus740 7eb7de369e Changes of week 02: unreal32docs.de.html 2006-01-14 09:50:39 +00:00
Bram Matthys 4d47acdbfd - Made the charsys mismatch during linking a warning instead of an error (temp. fix,
until a good solution is implemented without false positives).
2006-01-14 00:16:40 +00:00
Bram Matthys ec754b69c1 - Added new charsys languages: belarussian-w1251 and ukrainian-w1251. Patch provided
by Bock (#0002724).
- Fixed memory leak in new resolver.
[ATTEMPT II]
2006-01-14 00:02:02 +00:00
Bram Matthys f56080324a - Added new charsys languages: belarussian-w1251 and ukrainian-w1251. Patch provided
by Bock (#0002724).
- Fixed memory leak in new resolver.
2006-01-14 00:01:42 +00:00
autoupdate 1393a4c509 Automatic weekly version update: 200602 2006-01-09 05:00:04 +00:00
Bram Matthys db1f1aa3f8 - Fixed bug in chinese-* charset implementation that would cause crashes, reported
and patch supplied by Xuefer (#0002744).
2006-01-07 14:01:13 +00:00
Bram Matthys acad82bd3d - Fixed invalid servername in quarantine kill, reported by pinstrate (#0002743). 2006-01-07 12:41:50 +00:00
stylus740 d3b4892bb8 unreal32docs.de.html changes of week 01 2006-01-07 09:41:33 +00:00
babass 97f46cef5c Modification du principe de quarantaine 2006-01-06 22:32:22 +00:00
Bram Matthys 356f52c0f7 slight ./Config text change regarding prefixes 2006-01-06 21:57:48 +00:00
Bram Matthys 364bf0f605 - Fixes for an amd64 crash problem, reported by Peter Laur (OpenBSD.se).
- Redid some net synching code to make it more efficient (#2716).
- Fixed spamfilter crash problem: the action 'viruschan' is now no longer incompatible
  with target 'user'. Reported by Monk (#0002570).
2006-01-06 19:53:41 +00:00
aquanight 4f4fdccf3b Added table of contents. Fixed a few typos. 2006-01-06 19:27:09 +00:00
Bram Matthys 38692b1b4b - Made the link::options::quarantine actually do something... People that get global
oper privileges on quarantined servers will be instantly killed. Bit ugly perhaps, but
  then it actually does what it should (prevent opers on quarantine from getting GLOBAL
  oper privileges). This "fixes" #2510, #2163 and #1968.
[forgot docs commit]
2006-01-04 00:14:30 +00:00
Bram Matthys 054160a74a - Made the link::options::quarantine actually do something... People that get global
oper privileges on quarantined servers will be instantly killed. Bit ugly perhaps, but
  then it actually does what it should (prevent opers on quarantine from getting GLOBAL
  oper privileges). This "fixes" #2510, #2163 and #1968.
2006-01-02 19:44:33 +00:00
autoupdate d7865be511 Automatic weekly version update: 200601 2006-01-02 05:00:03 +00:00
autoupdate ad2b35ac0f Automatic weekly version update: 200552 2005-12-26 05:00:04 +00:00
autoupdate 30f6fc4cb3 Automatic weekly version update: 200550 2005-12-19 00:00:03 +00:00
babass 5d4c820ce3 Changements de la semaine 49 2005-12-13 19:50:32 +00:00
angrywolf 3f01c4d60c Minor fix to previous change 2005-12-13 07:36:57 +00:00
angrywolf 03d541bc7f Doc update (week 49) 2005-12-13 07:31:41 +00:00
autoupdate 3e6ca38667 Automatic weekly version update: 200549 2005-12-12 00:00:04 +00:00
stylus740 30eb0d1460 Changes of week 49 in: doc/unreal32docs.de.html 2005-12-11 08:01:46 +00:00
trocotronic 4cd3df56c0 Cambios semana 49 2005-12-10 12:55:49 +00:00
Bram Matthys 1ee84a198a - Made the "strict aliasing"-warning-disabler use $CC instead of gcc.
- Made ./Config better react to errors (no longer print a "everything is a big success"
  kind of message when in fact everything went wrong).
- Made ./Config (configure) exit on openssl or zlib not found errors, instead of
  silently continueing and then causing trouble later on. Also now printing _a bit_
  more helpful error message.
2005-12-09 21:15:57 +00:00
Bram Matthys fb5c4c7214 let's try this... exiting on zlib/ssl not found error. 2005-12-09 20:29:14 +00:00
Bram Matthys b930f9a2fc - Added option to apply spamfilters to aliases as well (such as /MS, etc). To do so,
you have to put 'spamfilter yes;' in every alias block you want to get filtered.
  This is so you can have for example /MS filtered (due to heavy spam), while keeping
  /NS and /CS unfiltered. Reported by Homer (#0002496).
- The memoserv aliases (/MS and /MEMOSERV) now have spamfiltering enabled by default.
2005-12-09 20:21:37 +00:00
Bram Matthys 704918754c - Reverting "Changed the way we build most of the .so's" feature, this caused m_*.so
to be build incorrectly. So now back at normal compile speed :p.
2005-12-08 23:42:35 +00:00
autoupdate a456bccf38 Automatic weekly version update: 200548 2005-12-05 00:00:03 +00:00
angrywolf 38abf2ef7f Doc update (week 46) 2005-11-23 05:54:04 +00:00
Bram Matthys 893ecd68e9 - [CVS Only] Refixed name<->ip mapping check in new resolver, reported by Darko. 2005-11-22 19:48:47 +00:00
autoupdate b70036ed0f Automatic weekly version update: 200547 2005-11-21 00:00:03 +00:00
trocotronic 8b06a451dd Cambios semana 46 2005-11-19 12:15:56 +00:00
stylus740 a7c177bbe3 Changes of week46 doc/unreal32docs.de.html 2005-11-19 09:23:08 +00:00
Bram Matthys 91ada621e6 - Added proper "not enough parameters" message for /SETNAME and cleaned up some whitespace
in the function, reported by Robby22 (#0002696).
- Fixed set::static-part set to 'no' not working properly. Reported by Robby22 (#0002698).
- Fixed crash in new resolver, reported by firstof9.
2005-11-16 23:58:02 +00:00
babass 9d6801b271 cvs:
Il est maintenant impossible de changer son pseudo pour un pseudo banni
2005-11-16 19:19:09 +00:00
Bram Matthys 7bda74183a - Fixed serious flood of notices to opers if link::options::dnscache was present.
Reported by firstof9.
2005-11-15 22:08:31 +00:00
angrywolf 27a993751a Doc update (week 45) 2005-11-15 20:59:44 +00:00
babass 5f34265ded Il est maintenant impossible de changer son pseudo pour un pseudo banni 2005-11-15 20:41:20 +00:00
autoupdate b7a7d63223 Automatic weekly version update: 200546 2005-11-14 00:00:04 +00:00
Bram Matthys 675ef5b54d - Made it so coadmins can use /ADCHAT (makes sense, since they already *received*
adchats). Reported by RandomNumber (#0002557).
2005-11-13 00:19:28 +00:00
trocotronic b5a8e0245f cambios semana 45 2005-11-12 11:12:35 +00:00
stylus740 fa49ef8cfa Changes of week 45 unreal32docs.de.html 2005-11-12 08:18:47 +00:00
Bram Matthys db0c18dd1e - Removed useless (unused) WATCH code that was still present in the core. 2005-11-11 16:07:34 +00:00
Bram Matthys a7e3aa01b7 - Made it so you no longer can change your nick to a banned one in a channel, suggested
by vonitsanet (#0002388), partial patch provided by Nazzy.
  This option can be turned off by setting set::check-target-nick-bans to 'no'.
2005-11-10 23:39:12 +00:00
Bram Matthys 184dedf72a - Couple of source code cleanups (svsnick, a *line msg, kill, and some useless l_commands
code), suggested by Nazzy and Requi3m.
- Fixed extbans no longer working properly in CVS, fix provided by Nazzy (#0002681).
2005-11-09 14:29:32 +00:00
autoupdate 82e437d366 Automatic weekly version update: 200545 2005-11-07 00:00:04 +00:00
Bram Matthys ee4860fd6c - Fixed OpenBSD crash on /REHASH. Thanks to Peter Laur (OpenBSD.se) for providing us
a shell account to trace this issue down.
2005-11-04 21:45:10 +00:00
autoupdate 32cad72182 Automatic weekly version update: 200544 2005-10-31 00:00:03 +00:00
Bram Matthys d313bec95b Added a check for idiots trying to update from 3.2.3 -> CVS/3.2.4 without running ./Config.. HA! 2005-10-29 01:18:29 +00:00
Bram Matthys e4d352f1f2 - Fixed issue that could cause an alias to be added that would override a command. 2005-10-25 15:28:00 +00:00
autoupdate 541e253598 Automatic weekly version update: 200543 2005-10-24 00:00:04 +00:00
Bram Matthys 4307ca8ade - Fixed crash bug (due to new resolver) if not using 1 general *@* / *@* allow block,
reported by Daniel.
2005-10-18 20:16:05 +00:00
autoupdate c60ea26271 Automatic weekly version update: 200542 2005-10-17 00:00:03 +00:00
Bram Matthys 8b741865c3 - Added 4 UNREAL_VERSION_* macro's that can be useful for 3rd party modules to find out the
unreal version that the user is using. I presume this can be helpful (although nobody ever
  suggested it ;p). The macros (#define's) are:
  UNREAL_VERSION_GENERATION    The generation version number        eg: 3 for 3.2.4
  UNREAL_VERSION_MAJOR         The major version number             eg: 2 for 3.2.4
  UNREAL_VERSION_MINOR         The minor version number             eg: 4 for 3.2.4
                               This can be negative for unstable,
                               alpha and beta versions.
  UNREAL_VERSION_TIME          Year + week of the day (starting     eg: 200541
                               on Monday), this is updated on
                               the CVS server every week.
  The first 3 are for nicely identifiying the version, the 4th can be useful in case
  you want to support CVS and/or want some more control.
2005-10-16 14:40:26 +00:00
Bram Matthys 35a8c00214 - When OPEROVERRIDE_VERIFY is enabled, we now allow opers to still join any channels listed
in set::auto-join or set::oper-auto-join, even if they are +s/+p. Suggested by ultrotter
  (#0002644).
2005-10-15 23:26:57 +00:00
Bram Matthys 607625bf91 - Fixed SSL + new resolver problem, would cause an "interesting flood" of messages / 100% CPU.
Reported by Trocotronic (#0002659).
- Fixed a problem with entries in the hosts file (such as, usually, localhost), this would
  cause an unresolved host and a 30s delay for the user, even though resolving succeeded.
2005-10-11 21:42:06 +00:00
Bram Matthys dc59ba4f5f re-commit include/win32/ares/*.h 2005-10-10 18:09:04 +00:00
Bram Matthys eddb406807 - Removed all old resolver code and switched over to c-ares (+our caching routines).
This should get rid of some annoying untracable (and usually rare) crashbugs in the
  old resolver. Besides that, it makes things look more clean and understandable.
  This should be the fix for the following bugids (all the same issue): #2499, #2551, #2558,
  #2559, #2603, #2642, #2502, #2501, #2618, #2616.
  Feedback and testing is very much welcomed (syzop@unrealircd.com).
2005-10-10 14:32:12 +00:00
angrywolf 6b1e7807ce Doc update (week 39) 2005-10-06 15:56:34 +00:00
babass 75ce361222 changements semaine 39 2005-10-03 17:45:50 +00:00
trocotronic c0f00df2c5 cambios semana 39 2005-10-01 09:08:14 +00:00
stylus740 38c1ad2eb7 Changes of week 39: doc/unreal32docs.de.html 2005-10-01 07:09:01 +00:00
Bram Matthys 62d8a8343f - Some m_restart cleanups, suggested by w00t (#2652). 2005-10-01 01:07:11 +00:00
aquanight 357b1879e9 syzop-undercover-test ;p 2005-09-30 19:56:38 +00:00
Bram Matthys b5fd4a816f - Documented set::channel-command-prefix a bit more, and also changed the default from
"" to "!." which seems much more reasonable / widespread :).
2005-09-28 21:34:40 +00:00
Bram Matthys beb891a24b - Added doc/technical/serverprotocol.html created by aquanight (updates will follow soon). 2005-09-27 16:16:49 +00:00
Bram Matthys dc7554e227 - Changed the way we build most of the .so's: the .o files of individual modules that were
generated (for linkage by commands.so), are now used to generate the .so files of the
  individual modules as well (eg: m_setname.o -link-> m_setname.so). This reduces compile
  time ('make') on my machine by 33%, so it's quite noticable ;).
2005-09-26 22:57:44 +00:00
Bram Matthys f535167cf9 - Added 'warn' target which is basically the same as 'block' except it does not block ;).
It also sends a numeric to the user saying the command has been processed, but a copy
  has been sent to ircops. I feel this is a good idea for privacy reasons (anti-spy),
  though I don't know how users will react to this. If you are using this on your network
  and get users bothering you about it (or before that ;p), it's probably a good idea
  to explain it somewhere on your site or FAQ :).
  Example usage:
   /spamfilter add p warn - Testing_mirc_decode_filter \$decode\(.*\)
  [WARNING] The numeric text is likely to change in the next few weeks (early-cvs-commit).
- If a class block was removed and any other blocks would be referencing the class block
  (such as: allow::class, oper::class, link::class), then this would cause a crash.
  Reported by Mike_ (#0002646).
2005-09-25 21:49:19 +00:00
Bram Matthys e31b23ee8a - Fixed an invalid badword block in the conf causing a crash, reported by Monk (#2639). 2005-09-13 22:43:51 +00:00
Bram Matthys 7ebd0debd7 - Fixed (important?) reference count bug regarding sptr->serv->conf. I don't know what
effects this caused (memory corruption?), but it didn't look good ;).
2005-09-12 16:33:46 +00:00
Bram Matthys 3cb4be0ad6 TYPO! 2005-09-05 18:24:18 +00:00
Bram Matthys 1be36fc0dd get rid of "please report!" in operator count bug thing.. we had enough responses :). The code itself still warns&corrects though... 2005-09-04 22:10:06 +00:00
Bram Matthys 61b3242013 - Fixed win32 makefile, now compiles fine. 2005-08-29 21:28:06 +00:00
Bram Matthys 1023df3cd3 CMDLINE_CONFIG change & FAKELAG_CONFIGURABLE added:
- CMDLINE_CONFIG behavior change: command line configuration is now still permitted
  if #undef'ed (which is the default) if uid==euid && gid==egid, since it doesn't make
  any sense to disable it then and is in fact just plain annoying.
- Added FAKELAG_CONFIGURABLE option in include/config.h, this enables an option called
  class::options::nofakelag, which disables "fake lag" for a certain class (that is:
  the artificial delay introduced by the ircd to prevent flooding is turned off,
  allowing the user to flood at full speed).
  IT'S USE IS DISCOURAGED UNLESS YOU REALLY KNOW WHAT YOU ARE DOING.
  Sorry, option is not in ./Config -advanced since I don't get autoconf working, but it's
  such a scary option that this might as well be a good idea to keep in config.h anyway.
  This feature has been suggested for several years (and refused), but the final
  suggestion (with implementation specific hints) came from Gilou in bug #0002207.
- changed a comment slightly in m_tkl.c to get rid of harmless warning ;)
2005-08-28 20:48:46 +00:00
Bram Matthys 4c3681afb9 another fix, for a slight variant 2005-08-28 19:13:51 +00:00
Bram Matthys 72910fafc9 - (5 minutes later..) Small update for above, fix was incorrect for ipv6. 2005-08-28 19:09:15 +00:00
Bram Matthys b1c4afdd41 - Fixed a bug where an invalid /*line could cause a crash, reported by Gilou (#2629). 2005-08-28 19:00:01 +00:00
Bram Matthys 0bc12e552c - Spamfilter: regexes (and reasons) are now more limited in size, this is to combat "I set
a spamfilter, but cannot remove it" problems. In practice this means - depending on the
  length of your spamfilter reason - regexes will be max ~300 characters.
  Spamfilters set in the .conf can be slightly longer (which still causes them to be
  truncated in '/stats f', but they don't have to be removed anyway so it's kinda
  acceptable if it's really needed). This should fix bug #2083, reported by White_Magic.
2005-08-28 16:28:40 +00:00
Bram Matthys 82d4c429da - Added Bulgarian example.bg.conf, translated by Peace. 2005-08-27 14:39:21 +00:00
Bram Matthys 5b444f173a LALalal 2005-08-26 19:38:25 +00:00
Bram Matthys aab5c3eb71 testtest 2005-08-26 19:37:45 +00:00
Bram Matthys b2115e868e aa 2005-08-26 19:37:12 +00:00
Bram Matthys a84350b9d0 - Fixed crash with invalid set::network-name (eg: high ascii), reported by galahad
(#0002584), now printing an error instead (the network name is limited by the 005 spec).
2005-08-19 19:12:21 +00:00
Bram Matthys 247e2ea6d5 - Temporary workaround for spamfilter bug: action 'viruschan' in combination with the
'u' (user) target can cause severe problems (crashes, etc). For now, we have disabled
  'viruschan' in combination with 'u'. A real fix will require quite some work, sorry.
2005-08-19 15:55:06 +00:00
Bram Matthys b340844aed - Fixed ~c not working properly with * and ?'s in channel names.. Now you just need to
escape them like in all bans (eg: to ban #* you need to +b ~c:#\*). As an additional
  bonus, real wildcards are now accepted and processed (eg: +b ~c:#*sex*, just don't
  forget to specify the #). Reported by PhantasyX (#2605).
- Sidenote on above: ~c:*chan* is not supported (use ~c:#*chan* instead) because it would
  cause "hidden bans", therefore it now prints a message (which is useful anyway), but
  does accept such remote bans. In 3.2.5 or so we could enable support for it, it's
  not that important though... ;)
- Added ifdefs for mass closing of file descriptors on start, can now be disabled by
  adding -DNOCLOSEFD as a compile option. Useful for valgrind w/--db-attach=yes, mpatrol,
  and some other debugging tools (not useful for anyone normally running a server).
- Fixed a read-after-free: sptr->serv->aconf was freed but not NULL'ed in exit_client,
  causing close_connection to read from it (when deciding on doing a quick reconnect).
  Could have caused a crash, although nobody ever reported one...
- Removed useless strncpyzt with dest==src.
2005-08-19 15:14:30 +00:00
codemastr df37fc9d5e Fixed a bug where allow channel::channel generated a warning when specified multiple times 2005-08-18 18:38:56 +00:00
Bram Matthys 0edd95dd2f removed useless var + forgot to give credit to ratbox for in6addr_any detection code. configure not rebuild because there are not exactly source code changes... 2005-07-25 21:33:34 +00:00
Bram Matthys 1e509d5dbf changelog comment slightly editted...
- Added -Wno-pointer-sign (if available) to get rid of those stupid warnings that are
  enabled by default even without -Wall (!?) on GCC4.
2005-07-25 21:25:43 +00:00
Bram Matthys ef43bedd03 blah.. that didn't work, this does. [seperate case/esac] 2005-07-25 21:24:57 +00:00
Bram Matthys 97cc076531 - Added -Wno-pointer-sign to get rid of those stupid warnings that are enabled by default
even without -Wall (!?) on GCC4.
2005-07-25 21:17:35 +00:00
Bram Matthys 3b84610599 - IPv6: Added configure check for in6addr_any to fix Fedora Core 4 compile problem,
reported by wheatie80 (#2594).
2005-07-25 21:11:27 +00:00
Bram Matthys 10458c06b9 - Fixed problem with crash-on-link if compiled with GCC 4, reported by jonneyboy (#2573)
and PHANTOm (#2590).
2005-07-25 19:16:16 +00:00
Bram Matthys 0a8e5e6a69 clarification on comment:
- Added -fno-strict-aliasing.. this might well be temporary, but we get tons of strict-
  aliasing warnings, so it sounds good to disable this type of optimization for now.
2005-07-22 23:44:39 +00:00
Bram Matthys 13b81da728 - Added -fno-strict-aliasing
..more on that later..
2005-07-22 23:40:07 +00:00
Bram Matthys bc0e3e9722 no-strict-aliasing.. 2005-07-22 23:30:57 +00:00
Bram Matthys 8a9bae11fa - Made '?*' work correctly in wildcard matches, reported by Bugz (#2585). 2005-07-05 20:26:18 +00:00
Bram Matthys 83cc82bbf2 typo in changelog 2005-07-05 19:16:22 +00:00
Bram Matthys 50ceda48d2 - Added some TSCTL logging (this reminds me we need to add new log levels for 3.3 ;p).
- Attempt to fix bug #2431: 3.2.2 broke CNAME delegation for reverse dns. I'm sorry it took
  so long, but this stuff just plain sucks...
2005-07-05 19:14:58 +00:00
angrywolf 570ba8e327 Doc update (week 23) 2005-06-25 21:52:45 +00:00
stylus740 5fae4f3bf7 Changes of week 23 doc/unreal32docs.de.html 2005-06-13 15:11:57 +00:00
Bram Matthys 08954beb0d -extern MODVAR int badclass; <-- unused var 2005-06-12 18:56:44 +00:00
babass b45a9c4e45 Changements mineurs 2005-06-12 16:54:01 +00:00
trocotronic 5b450e87fa Cambios semana 23 2005-06-11 09:22:55 +00:00
Bram Matthys 3efb800947 - Fixed 2 problems caused by TKL move: 1 windows crash, 1 problem with loading m_*.so,
reported by Trocotronic (#0002553, #0002554).
2005-06-07 14:06:48 +00:00
Bram Matthys d4f27c1183 - Fixed various major bugs due to TKL move from 13h ago. 2005-06-05 14:11:40 +00:00
Bram Matthys 4f40d73aa4 - Moved all TKL code and register_user to modules (using efuncs), that means 20 functions
and 2000 lines total that can be hotfixed if needed ;). The effort involved in moving all
  this sucks a lot though :/. This might need some more testing to make sure it doesn't break
  anything.
- Updated support OS list in documentation.
2005-06-05 00:58:36 +00:00
Bram Matthys 05f2bdfeab ok well, perhaps another time. 2005-05-26 20:45:37 +00:00
Bram Matthys 9d30ce5c75 - Removed quarantaine from all docs: this feature does not exactly add much security because
whenever a server is added to a network it has a lot of power that cannot simply be controlled
  by things like unsetting operflags remotely or anything else. I don't want to encourage
  anyone to use it.
2005-05-26 20:44:01 +00:00
Bram Matthys 24beac59c3 - Cosmetic bug in set::modes-on-join: now rejecting +I in it. Reported by Ron2K (#0002508). 2005-05-26 20:23:53 +00:00
Bram Matthys 5fcd80e11f - Fixed a TKL crash on incorrect *line, reported by nanookles1234 (#0002524).
- Redid include dependencies in Makefile, this makes things safer because on any .h change it
  would force a recompile of all files, but it could mean things will be a bit slower for us
  coders unless we tweak it later on.
- Changed whois a bit to print less useless results.
- Added several indicators to the "detect binary incompatible modules"-system such as detecting
  of a ziplinks module on non-ziplinks (on windows this is ok however), nospoof module on a
  a server without nospoof server, etc. Hopefully this will help some people preventing odd
  crashes because they did not recompile or (re)install modules properly.
- Added './unreal backtrace', so far this has only been tested on Linux and FreeBSD.
- Fixed a bug making ./Config not load the previously stored settings on Solaris 10 and
  probably other Unixes, reported by lion-o (#0002474).
2005-05-26 20:18:07 +00:00
Bram Matthys a58308d0d8 - Fixed chanmode G showing up twice in 005, reported by Snake (#0002466). 2005-04-18 19:30:09 +00:00
stylus740 481324ffef Corrected some spelling mistakes in doc/example.de.conf and doc/help.de.conf 2005-04-10 05:54:38 +00:00
stylus740 8b7a096bee Crorrected linking mistake doc/unreal32docs.de.html 2005-04-04 15:18:28 +00:00
Bram Matthys 1b0d97c5bd - Module coders: Added HOOKTYPE_LOCAL_SPAMFILTER: catches (local) spamfilter matches. 2005-04-02 20:42:15 +00:00
gsf 089ee0fca9 Week 12 Updates. 2005-03-29 01:35:12 +00:00
angrywolf 3a88cdbdc8 Doc update (week 12) 2005-03-26 18:37:36 +00:00
trocotronic d4144dd86c Cambios semana 12 2005-03-26 13:42:45 +00:00
stylus740 6868541b84 doc/unreal32docs.de.html Changes of week 12 2005-03-26 09:44:07 +00:00
stylus740 1f6ac63d4c doc/unreal32docs.de.html Changes of nickchar characters 2005-03-25 10:02:23 +00:00
Bram Matthys eae23edc62 watch clarification 2005-03-24 22:20:47 +00:00
gsf 56a694b1bb Week 10-11 Updates. 2005-03-23 21:46:55 +00:00
Bram Matthys 0a4c8ae419 - Added 'danish' nickchars, supplied by klaus (#0002436). 2005-03-23 21:45:22 +00:00
Bram Matthys c6f34c7de3 - spamfilter.conf Gaggle worm sigs were broken causing odd things to match, this is because
\\ now needs to be escaped as \\\\ due to the 3.2.3 conf change... didn't think of updating sigs.
2005-03-20 17:15:57 +00:00
stylus740 9407616a0e Changes of week 11 / crorrection of some errors: doc/unreal32docs.de.html 2005-03-19 09:30:09 +00:00
stylus740 cf7d113034 correction of errors in doc/help.de.conf 2005-03-14 20:55:42 +00:00
Bram Matthys fcc7ba12aa hm, nm 2005-03-14 16:51:50 +00:00
Bram Matthys e54a74eb52 - (repack) Fixed incorrect badword { } in conf causing a crash (should give an error). 2005-03-14 16:18:31 +00:00
Bram Matthys 4a69b08291 fixed incorrect badword { } causing a crash 2005-03-14 16:09:30 +00:00
Bram Matthys ca4bbb66eb ** 3.2.3 release ** 2005-03-13 20:24:39 +00:00
babass 352bb63b85 Petite correction de typo 2005-03-13 17:53:55 +00:00
Bram Matthys 4fb2a55374 - Corrected small doc typo in unreal32docs, reported by arbiter. 2005-03-13 17:35:55 +00:00
trocotronic a642574a97 Estas tildes... 2005-03-13 09:11:37 +00:00
stylus740 a7355b6ddb Changes 2005-03-13 of doc/example.de.conf doc/help.de.conf 2005-03-13 08:54:55 +00:00
angrywolf 1d0457a1b5 Doc update (week 10) 2005-03-13 02:14:57 +00:00
Bram Matthys c4aea6f0c8 ** internal 3.2.3-pre4 release ** 2005-03-12 21:17:59 +00:00
babass 8640d7da54 Remise à niveau du suivi de la mise à jour 2005-03-12 12:43:49 +00:00
trocotronic 9c2254ad27 Cambios semana 10 2005-03-12 10:00:08 +00:00
stylus740 597d1c2abc Chnges of week 10 for doc/example.de.conf doc/help.de.conf doc/unreal32docs.de.html 2005-03-12 09:04:53 +00:00
babass 6d754671a6 Quelques clarifications sur /RESTART, les redémarrages distants n'ont en fait jamais été supportés, la doc est donc modifiée (pas de modification du code) 2005-03-11 11:18:05 +00:00
Bram Matthys 66804a1cbc - Some clarifications on /RESTART, remote restarts were well never supported, so the docs
are now updated on that (no code changes).
2005-03-11 00:05:37 +00:00
Bram Matthys f92bf9e6d2 - Fixed an important channelmode +j memory corruption bug that would cause crashes, reported
by Bergee (#0002416).
2005-03-10 16:44:34 +00:00
Bram Matthys 34ec08348c - /SAMODE could cause 'fishy timestamp' if digit parameters were used (eg: SAMODE #chan +l 5),
this has now be fixed by sending an explicit TS 0.
2005-03-10 01:29:30 +00:00
codemastr 0fb95bd6ad Updated the list of donators 2005-03-09 15:32:10 +00:00
Bram Matthys 5e44f6b264 - Some spelling fixes in unreal32docs.html, reported by alex323 (#2412). 2005-03-08 23:20:18 +00:00
cvs2hg d4e480cebd fixup commit for tag 'unreal3_2_3pre3' 2005-03-06 21:22:39 +00:00
Bram Matthys 0d7e69803e version nr.. 2005-03-06 21:22:38 +00:00
Bram Matthys d0c6ee47c7 ** internal 3.2.3-pre3 release ** 2005-03-06 21:09:14 +00:00
Bram Matthys e9b536694b - Added doc/example.de.conf 2005-03-06 21:04:54 +00:00
Bram Matthys 6090928333 - Fixed /SAMODE with no can_override not always working with +G/+j/+T (extcmodes), reported
by Ron2K (#0002398).
2005-03-06 21:01:42 +00:00
codemastr 4e7f9c67ba Made it so the win32 version shows channel modes in /list 2005-03-06 19:53:55 +00:00
babass e84bb4b27b Retrait de l'ancien module de cloaking, tout le monde devrait utiliser le nouveau maintenant. 2005-03-06 16:54:34 +00:00
codemastr 7e83d6c150 Made +g get removed when an oper sets -o 2005-03-06 16:49:32 +00:00
gsf 71a2d3c316 Week 08-09 updates - fixed some markup stuff 2005-03-06 10:23:20 +00:00
stylus740 4c01089b10 corrected some mistakes in doc/help.de.conf (o3/06/2005) 2005-03-06 09:01:26 +00:00
Bram Matthys dc1fdb3f34 - Updated release notes (translated docs, zlib, doc\technical, sp/cS desynch). 2005-03-06 00:37:25 +00:00
Bram Matthys c0b6a97c04 - Removed oldcloak cloaking module, everyone should be using the new cloak one by now. 2005-03-06 00:29:20 +00:00
Bram Matthys 6ceb227f58 - Made windows installer also install doc\technical\* 2005-03-06 00:22:56 +00:00
Bram Matthys 20a7feba1f - Windows versions will now be compiled with zlib 1.2.2 and curl 7.13.1. 2005-03-06 00:17:38 +00:00
Bram Matthys f88cea7b45 - Fixed a bug where an unknown operflag would cause a crash. 2005-03-05 20:02:17 +00:00
Bram Matthys 24b9c466a2 - Fixed +s/+p and +c/+S desynch issue during netmerge, reported by Ron2K (#0002391). 2005-03-05 19:58:11 +00:00
babass 3e8f918aa9 Ajout de la documentation sur le mode de salon +j 2005-03-05 17:41:08 +00:00
Bram Matthys eba25738e8 - Added doc/help.de.conf and doc/example.hu.conf 2005-03-05 17:28:17 +00:00
codemastr 338e8497f3 Added documentation about channel mode +j 2005-03-05 17:13:42 +00:00
trocotronic 613544de5c Cambios semana 9 2005-03-05 17:00:25 +00:00
codemastr 0e927787e5 Fixed a couple of typos in doc/example.conf 2005-03-05 16:59:22 +00:00
stylus740 a58a263c67 Changes doc/unreal32docs.de.html week 08 + week 09 2005-03-05 13:02:59 +00:00
angrywolf f253237b1a Doc update (week 09) 2005-03-05 11:43:50 +00:00
cvs2hg 80ca78a285 fixup commit for tag 'unreal3_2_3pre2' 2005-03-04 23:35:31 +00:00
Bram Matthys ede8b13b44 ** internal 3.2.3-pre2 release ** 2005-03-04 23:35:30 +00:00
Bram Matthys 126c07c69f - Fix for above, also reported by Trocotronic. 2005-03-04 23:06:45 +00:00
Bram Matthys 1cec07250e - Fixed various (major) problems that the '-h yourself' caused, reported by Trocotronic
(#0002387).
2005-03-04 22:30:47 +00:00
Bram Matthys 2163d0dddf - Merged NICKCHARS= in PROTOCTL for now, since a seperate one is not (yet!) needed,
reported by SolutechUK and psadi (#0002386).
2005-03-04 21:00:52 +00:00
babass 25ac499c99 Traduction de la FAQ + modification de la partie charset 2005-03-04 20:13:47 +00:00
Bram Matthys 92f413f387 - Fixed a bug where /SAJOIN user 0 caused a desynch, reported by trystanscott (#0002384). 2005-03-04 19:18:25 +00:00
codemastr 137d136233 Fixed a bug with /invite with no parameters (accidentily broken when +I was added) 2005-03-04 17:17:37 +00:00
Bram Matthys 28efcdc65a ** internal 3.2.3-pre1 release ** 2005-03-03 19:50:23 +00:00
Bram Matthys 38a64f1c17 Version now really at 3.2.3-pre1 (not 3.2.2-pre1) ;p 2005-03-03 15:20:16 +00:00
Bram Matthys dabc42e0c3 - TRE mem corruption- & crash-bugs (eg: in backreferences). 2005-03-03 01:16:26 +00:00
Bram Matthys ee7961f31e - alias::format in combination with ::type 'command' caused a crash 2005-03-03 01:15:05 +00:00
Bram Matthys e68b82724a - Renamed version to 3.2.3-pre1, for Thursday. I'll keep the doc version numbers
at 3.2.2-CVS to avoid confusion with the online semi-realtime docs ;).
2005-03-03 00:13:24 +00:00
Bram Matthys cbbc35fae3 - Made some (incorrect) -Wall warnings dissapear. 2005-03-03 00:06:42 +00:00
Bram Matthys 3ae96d5eea typo 2005-03-02 15:41:22 +00:00
Bram Matthys f436f1ea51 - Made the (G)ZLINE warning only happen on add, as it should. Reported by crazy. 2005-03-02 15:40:10 +00:00
Bram Matthys 6a4878f7cd - Updated russian-w1251 (added 2 chars). 2005-03-01 23:54:06 +00:00
Bram Matthys 49ecd9c86f 3.2.3 -> 3.2.3-notyet :p 2005-03-01 22:57:33 +00:00
Bram Matthys 4eba81fa21 - Added 3.2.3 release notes (expected to be changed later on). 2005-03-01 22:56:52 +00:00
Bram Matthys 46fd5f27af - NickChars: Added 'romanian', supplied by crazytoon. 2005-02-28 22:19:03 +00:00
Bram Matthys 09dada415e - Updated doc/technical/token.txt, reported by webfox (#0002373). 2005-02-28 21:09:41 +00:00
Bram Matthys f5110bca31 - Made spamfilter 'u' also check nickchanges, reported by Gilou (#0002251). 2005-02-28 20:15:28 +00:00
Bram Matthys afcfabe8f6 - Made it so halfops can -h themselves, and chanadmins can -a themselves, reported
by fez (#0001503).
2005-02-28 19:50:19 +00:00
babass dc704bd1c0 Traduction de la FAQ + modification de la partie charset 2005-02-28 12:47:25 +00:00
Bram Matthys 6fdc15524b credit -> HERZ 2005-02-28 03:01:06 +00:00
Bram Matthys 0d3b7415ab typo in changelog 2005-02-28 00:28:22 +00:00
Bram Matthys 3597c4a135 - Fixed 'russian-w1250', was not ok at all. 2005-02-28 00:28:02 +00:00
Bram Matthys 19cc435119 - Made badwords (+G) now work with hardcoded word boundaries. Also made the fastbadwords
system accept more characters. Basically what this means is that the (fast) badwords
  system can now be used to properly block words with accents and things like that, just
  the way you block English words. Bug reported by MJ12Helios (#0002311).
2005-02-28 00:11:29 +00:00
Bram Matthys 914f6cceb3 - A warning is now sent to the oper if (s)he tries to add a (G)ZLINE on *@host.
(G)ZLINES should have an ipmask, not a hostmask, because they are processed BEFORE
  any dns lookups are done.
2005-02-27 22:39:51 +00:00
Bram Matthys 6afa0da62b - Fixed /(G)ZLINE [nick] placing the *line on *@host instead of *@IP, reported by
Snake (#0002246).
2005-02-27 22:25:17 +00:00
Bram Matthys 42b975a118 - Fixed various OperOverride issues:
- Opers with can_override can now +qa/-qa even if they are not netadmins,
    and they can also (un)set L/u.
  - Fixed several SAMODE bugs, such as not completely working for non-netadmins and
    not working if you were halfop'ed, etc.
  Bugs reported by pak, aquanight, niphler, Bugz, and more.
  If there are still any bugs left, please report them on http://bugs.unrealircd.org/
  NOTE: some of these enhancements will produce desynchs if your net is not 100%
        on current CVS / Unreal3.2.3 and an oper tries to use these 'new features'.
        So use with care on mixed-version nets.
2005-02-27 22:07:36 +00:00
Bram Matthys cc3a40c383 NICKCHARS:
- Added 'czech-w1250' and 'slovak-w1250' (both might miss a few characters).
  - Added 'windows-1250' group which contains czech-w1250, slovak-w1250, polish-w1250
    and hungarian.
  - Hungarian characters show both fine in w1250 and latin2, hence hungarian is included
    both in 'windows-1250' and 'latin2'.
  - Fixed bug: polish was not included in latin2
2005-02-27 19:41:21 +00:00
Bram Matthys de11702f2e - Added 'russian-w1251', supplied by Roman Parkin. There are like 3 main standards in Russia,
and 7 standards in total, so I didn't dare to call this one 'russian' ;).
2005-02-27 17:31:52 +00:00
Bram Matthys 03eb1935fd REVERT OF PREVIOUS 2, CHANGED TO AUTO-CONVERT:
- If a locop now has can_override/can_gkline/can_gzline we will print out a warning and
  convert it to globops. This is also what we always did for can_globalroute/can_gkill
  (well, except the warning). Giving such NETWORK (GLOBAL) privileges to a LOCAL operator
  does not make any sense and is therefore no longer allowed.
2005-02-27 16:22:24 +00:00
Bram Matthys d226a87522 - Made the can_override one an error since it makes 0.0% sense. 2005-02-27 16:07:31 +00:00
Bram Matthys f0718cc515 - Added warning on using can_override/can_gkline/can_gzline in combination with locops,
since these are global privileges they shouldn't be permitted (will be an error in 3.2.4).
2005-02-27 00:48:56 +00:00
Bram Matthys c01b0e1d0b typo in changelog 2005-02-27 00:02:03 +00:00
Bram Matthys 07d397b4ff - Changed the 'is a Secure Connection' msg/numeric in /whois from RPL_WHOISSPECIAL to
a slightly changed RPL_WHOISSECURE, namely: ':%s 671 %s %s :is using a Secure connection',
2005-02-27 00:01:36 +00:00
Bram Matthys 988a0eb0c2 - Fixed bug in +G where with not-really-matching-words color was needlessly stripped,
reported by SpeedFire (#0002375).
2005-02-26 23:40:54 +00:00
Bram Matthys 3b229d5d34 - Nicks with ~ are now also not cutoff anymore but rejected like any other illegal char (#0002074). 2005-02-26 23:31:07 +00:00
Bram Matthys 4887bb365b - Fixed halfop trying to set chanmode +G/+T/+j not getting an error message, reported
by Ron2K (#Ron2K).
- Module coders: using extcmode_default_requirechop is now depricated, check src/extcmodes.c
  ctrl+f extcmode_default_requirechop for more details (solution: copy+paste & fill in modechar).
2005-02-26 23:27:08 +00:00
Bram Matthys 7bad90fec1 - Made CHGIDENT, CHGHOST and CHGNAME use more numerics (where possible) (#0002358). 2005-02-26 23:10:14 +00:00
Bram Matthys 4788bc3f76 - Fixed bug where chanmode +f #t (per-user text kick[ban]) was also affecting halfops,
reported by seneces (#0002333).
- Fixed doc bug reported by Dukat (#0002374). Also fixed 2 error msgs related to
  the nickchars system printing out incorrect set:: directives.
- spamfilter.conf and dccallow.conf are now also copied upon make install, reported by
  TommyTheKid (#0002313).
2005-02-26 22:47:10 +00:00
Bram Matthys 4af12d14ea - Fixed a bug in mode-skipping (eg '+qk a b' if not +q) and error msgs, reported by brain2
(#0002372).
2005-02-26 17:42:24 +00:00
angrywolf c8a4857452 Doc update (week 08), I've also done some grammar corrections 2005-02-26 13:23:19 +00:00
trocotronic 78673b7228 Cambios semana 08 2005-02-26 10:21:05 +00:00
babass b8424dc50f Update support des caractères 2005-02-25 20:56:07 +00:00
codemastr 0b43d15d53 Fixed a bug where SAJOIN would list channels multiple times in the notices 2005-02-25 18:25:18 +00:00
codemastr d8fc8c0935 Fixed a bug causing SVSNICK not to send out a snomask +n notice 2005-02-25 18:14:35 +00:00
codemastr ab4a0a31b5 Updated wircd.def. Fixed a bug where USERIP would say USERHOST in the not-enough-parameters numeric 2005-02-25 18:09:09 +00:00
Bram Matthys b8c9e4fde5 - NickChars: Added 'icelandic', supplied by Saevar. 2005-02-25 16:28:39 +00:00
Bram Matthys eca350056c - NickChars: Updated polish a bit, and added polish-w1250 which is unfortunately more
common than real latin2 (iso-8859-2), supplied by k4be as well.
2005-02-24 00:09:57 +00:00
Bram Matthys 2a1bd9e244 - Fixed a doc typo, reported by SDF_of_BC. 2005-02-23 22:05:55 +00:00
babass 453d6b3fb6 Modifications de l'aide sur les charsets 2005-02-23 20:46:14 +00:00
Bram Matthys 0e811c403a - Added French example.fr.conf and help.fr.conf, translated/maintained by Babass. 2005-02-23 20:01:24 +00:00
Bram Matthys ad254b94c0 - Added hebrew (iso8859-8I / windows-1255), supplied by PHANTOm. 2005-02-23 19:54:43 +00:00
Bram Matthys 27396e9b26 - Added polish (latin2), submitted by k4be. 2005-02-23 16:32:59 +00:00
Bram Matthys 2c500fcf72 nickchars...
- Build in some additional checks (especially for Chinese).
  - Fixed a bug in chinese character range (affecting 3.2*)
  - Relaxed nick character checking from remote servers (rely on NICKCHARS= PROTOCTL
    to deal with problems). This is useful to prevent any kills in case we slightly
    change the characters that are allowed in a language.
2005-02-22 16:47:20 +00:00
Bram Matthys 8ba098a77a - NickChars:
- Got rid of 'latin7', tiny mistake ;)
  - Removed e' accent from German (used in borrow-words only), reported by Dukat.
  - Added 'swiss-german', which is just German without es-zett, reported by Dukat.
  - Added 'turkish', supplied by Ayberk Yancatoral.
2005-02-21 16:06:08 +00:00
Bram Matthys 97d4be791b - Added NICKCHARS= in PROTOCTL. This indicates which languages are accepted in nicks.
If 2 servers try to link and the allowed nick characters do not fully match, then
  the link will be rejected. Note that this will not prevent you from 3.2.2<->3.2.3/CVS
  charsets mistakes, but only with linking CVS/3.2.3+ servers. Suggested by Troco (#0002360)
  This might need some additional testing, but initial results are positive :).
2005-02-20 22:05:06 +00:00
gsf bff1caa482 Week 7 Doc Updates 2005-02-20 21:46:44 +00:00
babass cedddacbf1 Ajout sur les charsets plus qques autres modifications 2005-02-20 20:02:35 +00:00
Bram Matthys 01262aefd9 - Removed 2 unneeded characters from 'catalan'. 2005-02-20 19:20:15 +00:00
Bram Matthys 67bd44cb77 - set::allowed-nickchars:
- Renamed 'euro-west' to 'latin1' since that's more descriptive/fair ;)
  - Added 'hungarian' [supplied by AngryWolf]
  - Added category 'latin2': just Hungarian for now
  - Added 'catalan' [supplied by Trocotronic]
  - Added 'greek' [supplied by GSF]
  - Added category 'latin7': alias for 'greek'
  - Added category 'gbk': alias for 'chinese'
2005-02-20 17:24:44 +00:00
Bram Matthys 5b5b6ce919 - Various updates to unreal32docs from Ron2K (#0002354). 2005-02-20 16:07:49 +00:00
Bram Matthys c35947553f credit! 2005-02-19 21:58:45 +00:00
Bram Matthys 99d1d11676 - Added swedish support for nicks, supplied by Tank. 2005-02-19 21:58:26 +00:00
Bram Matthys 8650c97cd3 - No longer cutoff nick upon illegal character -- just reject the whole nick. The nick is
still cutoff if the nick is too long. Basically this is the same way as Hybrid does it
  so it should work ok :).
- Added nick character system. This allows you to choose which (additional) characters
  to allow in nicks via set::allowed-nickchars. See unreal32docs.html -> section 3.16
  for a list of available languages and more info on how to use it.
  Current list: dutch, french, german, italian, spanish, euro-west, chinese-trad,
  chinese-simp, chinese-ja, chinese.
  If you wonder why your language is not yet included or why a certain mistake is present,
  then please understand that we are most likely not experienced (at all) in your language.
  If you are a native of your language (or know the language well), and your language
  is not included yet or you have some corrections, then contact syzop@vulnscan.org or
  report it as a bug on http://bugs.unrealircd.org/
2005-02-19 20:47:41 +00:00
Bram Matthys 6128e121b3 - Some help.conf/005.txt updates, reported by Ron2K (#0002354). 2005-02-19 19:21:09 +00:00
angrywolf af5d1d7196 Doc update (week 07) 2005-02-19 14:39:21 +00:00
stylus740 e2ad6c059d Changes week 07 of doc/unreal32docs.de.html 2005-02-19 09:41:47 +00:00
trocotronic 44dad06890 Cambios semana 7 2005-02-19 09:36:34 +00:00
Bram Matthys 87557e0390 - Added greek docs, translator: GSF. 2005-02-17 19:42:02 +00:00
Bram Matthys db69e18e06 - Fixed a bug where shuns placed on IP's did not take effect to currently connected users.
- Fixed a small doc bug regarding shun in spamfilter, reported by KnuX (#0002338).
2005-02-14 15:28:13 +00:00
babass dcf50597e3 Quelques modifications mineures 2005-02-13 21:38:21 +00:00
Bram Matthys 11cb7a1136 - Fixed shuns not working as target in spamfilter and ban version { }, reported by Bugz
(#0002223).
2005-02-13 00:48:58 +00:00
Bram Matthys ab103a74cd - Docs: log { } from 'optional' -> 'recomended'
- If no log { } block is present a warning will be printed out and we will fallback
  to a default of logging errors to ircd.log. Suggested by w00t (#0002327).
2005-02-13 00:20:11 +00:00
Bram Matthys 9c38686f52 - Fixed SVSNOOP bug where remote servers still thought the opers had privileges, reported
by Zell (#0002185)
2005-02-13 00:01:31 +00:00
Bram Matthys 2665b9f04f updated docs on ~c 2005-02-12 23:40:12 +00:00
Bram Matthys 50520aee84 - Added a feature to +b ~c, ~c:[prefix]<#channel>, prefix can be +/%/@/&/~ and will
check if the user is voiced/halfoped/etc.. Especially useful for +e ~c. Idea from
  Bugz (#0002198). Obviously all servers need to be upgraded to make this work.
2005-02-12 23:33:26 +00:00
angrywolf 878777e642 - Doc update (week 06)
- Minor corrections again
2005-02-12 10:57:44 +00:00
trocotronic 9d541d8ed4 Cambios de la semana 6 2005-02-12 10:04:53 +00:00
stylus740 bfb3e15bce Update doc/unreal32docs.de.html Feb. 12. 2005 2005-02-12 10:04:43 +00:00
Bram Matthys b87e3f82fe made it a tad more clear that +j needs testing ;) 2005-02-12 00:11:12 +00:00
Bram Matthys d3a0bb92f6 - Added channelmode +j (jointhrottle), syntax: /mode #chan +j X:Y, and then it will
throttle the number of joins per-user to X in Y seconds. Idea from Angrywolf (who
  wrote a module that did this before). This might need some more testing :).
  It's enabled by default but can be #undef'ed in include/config.h (line 449).
2005-02-12 00:05:08 +00:00
angrywolf 0441305a3a Doc update (week 05) 2005-02-11 11:56:17 +00:00
codemastr e750d52f9e Made channel mode +S strip RGB color codes 2005-02-06 18:24:19 +00:00
codemastr 2d814ac488 Made channel mode +c block RGB color codes. Fixed a bug with channel alias{}'s where using the format syntax caused a crash. 2005-02-06 17:12:52 +00:00
stylus740 9654db70da changes doc/unreal32docs.de.html week05 2005-02-06 14:57:39 +00:00
Bram Matthys 432e3a3a6c - Win32 crash fixes due to modulizing 2005-02-04 20:03:46 +00:00
Bram Matthys 1790648081 plok 2005-02-04 19:08:26 +00:00
Bram Matthys 0945798211 [..] Also made loading m_*.so work again. 2005-02-04 15:49:29 +00:00
Bram Matthys 82d33e262c - Updated makefile to fix compile problem, reported by vonitsanet (#0002317) [?]. 2005-02-04 14:57:55 +00:00
Bram Matthys 3f46918f24 plok 2005-02-04 01:24:38 +00:00
Bram Matthys 1a655c11ca - Added spamfilter topic support ('t' in /spamfilter, or 'topic' in conf), suggested
by Z3l3zT (#0001929).
2005-02-04 01:05:42 +00:00
Bram Matthys be93950f40 - Fixed mode #chan +O set by locop causing a desynch, reported by Unim4trix0 (#0001946). 2005-02-04 00:42:19 +00:00
Bram Matthys 8eb88be500 - Made unreal_copyfile try hardlinking first, if that fails.. it will try to copy
(perhaps this should be a different function?). Anyway, this means less diskspace
  is needed (~1.5mb or more), and it also makes it a bit easier for RBAC (#2300).
- Made a new function DoMD5() which is ssl/non-ssl independent. Also made the cloaking
  module and the auth functions use it. Hopefully I didn't break anything ;). Suggested
  by Bugz (#2298).
2005-02-04 00:26:37 +00:00
Bram Matthys 3469211b62 plok 2005-02-03 18:33:47 +00:00
Bram Matthys e601339deb - Various (important) fixes to above, also made win32 compile work again. 2005-02-03 17:37:28 +00:00
Bram Matthys 4a3be9e58f .. 2005-02-03 17:13:53 +00:00
Bram Matthys bcfc9b85fb dumdeedum.. modulized fixes (timespan <2d) 2005-02-03 17:11:12 +00:00
Bram Matthys 9c979e4e04 join fixes? 2005-02-03 17:04:45 +00:00
Bram Matthys 3e1b7c0f47 bleh 2005-02-03 16:58:16 +00:00
Bram Matthys 03df91bbf3 opermotd tooooooo 2005-02-03 16:58:04 +00:00
Bram Matthys 4bf1758b89 ARGH botmotd GOOOONE 2005-02-03 16:57:42 +00:00
Bram Matthys b3257db161 - win32 makefile updates for above & more <= update 2005-02-03 16:56:02 +00:00
Bram Matthys 3b28ac0385 more modulized fixes 2005-02-03 16:53:29 +00:00
Bram Matthys 14879ae6f0 and another fix for modulized things 2005-02-03 16:51:32 +00:00
Bram Matthys b967f600df - win32 makefile updates for above. 2005-02-03 16:45:05 +00:00
Bram Matthys 6508c962f8 - Made m_template.c use CommandAdd() and CMD_FUNC()
- Modulized a lot of commands and related subfunctions: NICK (750 lines), USER (200),
  MODE (2300), WATCH (250), JOIN (600), PART (250), MOTD (100), OPERMOTD (100),
  BOTMOTD (100), LUSERS (100). More will follow soon (probably including more subfunctions
  related to existing commands).
2005-02-03 00:38:40 +00:00
Bram Matthys 74fdf83dcf copyright date updates 2005-01-31 14:54:28 +00:00
codemastr cee255cbe0 Fixed a win32 GUI problem where the tray menu's config submenu was not updated when new files were loaded or files were unloaded 2005-01-29 19:07:02 +00:00
babass 261c0f75c0 Ajout de corrections mineures 2005-01-29 18:19:17 +00:00
codemastr f43420a15c Fixed a problem when compiling Unreal with GUEST support 2005-01-29 18:07:12 +00:00
codemastr 7a37675909 Fixed a documentation inconsistency with me::numeric 2005-01-29 17:47:32 +00:00
codemastr 52fc709074 Corrected the help.conf documentation for /invite 2005-01-29 17:36:07 +00:00
codemastr a86c75bfb4 Fixed some problems with the /stats help and documentation 2005-01-29 17:22:54 +00:00
codemastr 839efd901a Added invite exceptions (+I) 2005-01-29 16:55:30 +00:00
Bram Matthys a557bc50d7 - Added debug code to trace proto-check bugs in DEBUGMODE [IsToken() etc]
- [Module coders] Added new function: do_cmd(cptr, sptr, cmd, parc, parv) which is an
  uniform method to call any other commands. For more info, see description in src/parcket.c.
  This will be used for any further modulization of commands that need to call other
  commands, like NICK (will be done soon).
2005-01-25 23:31:07 +00:00
codemastr 232b172256 Moved channel mode +G to extcmode to make room for invex 2005-01-23 21:45:49 +00:00
codemastr dd9e9417af Fixed a bug where specifying a reason to SVSPART would cause it to fail 2005-01-23 18:31:59 +00:00
codemastr 0258d13195 Added an options member to the ExtbanInfo structure. This currently supports one flag, EXTBOPT_CHSVSMODE. When set, this extban will be removed when an SVSMODE -b [nick] is executed 2005-01-23 18:24:34 +00:00
codemastr c2224bc5fd Made /stats E include tkl except stats as well 2005-01-22 18:39:33 +00:00
codemastr 64d8a67f4a makefile.win32 2005-01-22 18:34:09 +00:00
codemastr 3a052e213b Fixed a bug where /whois notices were not sent to users who are +R if the sender is -r and on a remote server 2005-01-22 17:59:23 +00:00
codemastr 282a5f3eab Reworded a cloak-key error message to make it clearer 2005-01-22 17:53:49 +00:00
codemastr cb1ca56cae Fixed a bug related to the sajoin recode regarding notices displayed 2005-01-22 17:51:17 +00:00
Bram Matthys 908387c024 ignore this ;p 2005-01-21 01:13:02 +00:00
Bram Matthys d0f4e86833 slight clarification + credit 2005-01-21 01:12:11 +00:00
Bram Matthys 68feb2ba64 - Fixed a resolver cache bug regarding CNAME's, this needs some more testing.
[this description will be updated after knowing if this indeed fixes #2229/#1236]
2005-01-21 01:04:17 +00:00
codemastr 8e0d1cd516 Fixed a problem with set::htm::incoming-rate being interpreted incorrectly 2005-01-18 16:50:53 +00:00
codemastr b9a516d664 Hopefully fixed the last of the alloca warnings 2005-01-17 20:41:27 +00:00
codemastr 107456853e Made it so +f notices are sent to %#chan, not @%#chan 2005-01-17 19:55:20 +00:00
codemastr 83fd8dfa11 Fixed a problem where doing ./unreal restart multiple times would not actually restart the ircd 2005-01-17 19:33:46 +00:00
codemastr 30c9781e72 Made /sajoin support multiple channels and using 0 2005-01-17 19:16:03 +00:00
codemastr 6c88aecf6c Made the win32 installer include the dccallow.conf. Made the win32 installer work with the latest version of Inno Setup (5.0.6) 2005-01-17 18:11:35 +00:00
codemastr 49a988c64f Fixed a couple of problems introduced with the ./Config -advanced changed 2005-01-17 18:04:39 +00:00
codemastr d3641acd7b Made SVSMODE -b and -e remove bans/excepts placed on IPs 2005-01-17 17:31:10 +00:00
codemastr 7e18fcd00e Fixed a minor typo in the "now an oper" announcement 2005-01-17 17:25:05 +00:00
Bram Matthys 7577ae774c clarification 2005-01-15 20:39:43 +00:00
Bram Matthys 3aeea5c63b - Fixed serious crashbug
- Fixed 'make install' error due to example.settings remove.
2005-01-15 18:37:15 +00:00
Bram Matthys 65024ce49e ouch! 2005-01-15 00:39:10 +00:00
trocotronic 4f93681c71 Informacion sobre las regexp 2005-01-08 11:22:21 +00:00
babass bb192d3016 *** empty log message *** 2005-01-06 11:56:38 +00:00
Bram Matthys 4a6f784e37 - Got rid of wma/wmv in dccallow.conf, better to require an explicit select here due to
recent DRM exploits (spyware etc).
- Fixed /restart reasons, reported by SouL-FoRTuNe.
- Partial (incomplete!) fix for alloca warnings during compile (especially w/SSL).
2005-01-05 01:44:42 +00:00
babass 1db7944c09 *** empty log message *** 2005-01-03 18:16:47 +00:00
angrywolf 0676d94ab1 Finished the translation of Appendix A (Regular Expressions). Also corrected some grammar mistakes in it. 2005-01-03 17:04:46 +00:00
stylus740 849205bb31 doc/unreal32docs.de.html week 53 2005-01-02 18:51:27 +00:00
stylus740 013b2de18f doc/unreal32docs.de.html week 53 patially Update (complete translation will follow soon) 2005-01-01 18:10:21 +00:00
codemastr 274230c55f Imported TRE 0.7.2 for *nix 2004-12-29 18:47:42 +00:00
codemastr 629825c6d9 Imported TRE to 0.7.2 for Windows 2004-12-29 18:35:36 +00:00
Bram Matthys d40fc31645 flatmap in /lusers 2004-12-29 04:58:59 +00:00
angrywolf 7c6a6332fc Continuation of the previous translation, part 3 2004-12-28 15:35:47 +00:00
angrywolf 854e64e253 Continued the translation of appendix A (Regular Expressions). 2004-12-28 00:16:24 +00:00
angrywolf 53b182a021 - Started working on the translation of appendix A (regular expressions).
- Corrected the grammar of all subtitles in section 4.
2004-12-27 02:04:44 +00:00
codemastr a07c13bdc2 Added some error checking to /sapart 2004-12-27 00:44:42 +00:00
codemastr 67470b474d Made the (?) kill message not show IP addresses 2004-12-27 00:21:08 +00:00
codemastr 7f8bcdb5b2 Made CIDR no longer accept bitmasks with less than 16bits for /*line commands 2004-12-27 00:14:07 +00:00
codemastr 77f8b18bad Added a basic regex tutorial to unreal32docs.html 2004-12-26 20:16:29 +00:00
Bram Matthys c251d4e198 - Some doc/ updates: removed: Unreal31_to_32.html & example.settings, updated: Authors &
translations.txt.
DEL: Unreal31_to_32.html & example.settings DUE TO outdated
MOD: Authors (added myself, updated griever end date), translations.txt (updated
     to mention that it takes a lot of time, and added a note on using word/frontpage).
2004-12-21 01:05:23 +00:00
Bram Matthys 5cf36dddca French docs update of week 49 (babass). Forgot to commit, woops ;p 2004-12-20 21:00:17 +00:00
Bram Matthys 3cbbaf125b - Fixed bug where servers behind ulines were not ulined, causing for example juped servers to
show up if flat-map was enabled, reported by GSF19 (#0002230).
2004-12-10 20:09:09 +00:00
Bram Matthys 02a00490ad - Fixed tkl except { } not working (post-3.2.2). 2004-12-09 17:15:52 +00:00
trocotronic 693f6e5183 *** empty log message *** 2004-12-04 13:49:14 +00:00
angrywolf 1d7b8bad06 Doc update (week 49) 2004-12-04 12:18:01 +00:00
stylus740 fbf2d2d394 Update unreal32docs.de.html week 49 2004-12-04 09:35:27 +00:00
Bram Matthys a76e4d4712 - Module coders: sendto_snomask* now only sends to opers, sendto_snomask_normal* can be used
to send to normal users w/the snomask set.
- Fixed dcc filtering a bit more.
- Made usermode 'g' operonly since it didn't do much, reported by DukePyrolator (#0002024).
2004-12-03 22:00:09 +00:00
Bram Matthys 54902b0285 - spamfilter.conf: fixed mIRC exploit sigs
- Fixed all spamfilters in configfile not working due to configrewrite (post-3.2.2).
2004-12-03 17:09:29 +00:00
Bram Matthys 4284c39307 - OperOverride INVITE notices are now also global (if you have the eyes snomask set) (#2212).
- Module coders: New function: sendto_snomask_global().
- Speedup sendto_snomask/sendto_connectnotice/sendto_fconnectnotice code.
2004-12-03 03:32:32 +00:00
Bram Matthys 6653e4ef3e help.conf: added long flags to OFLAGS. 2004-12-02 17:45:39 +00:00
Bram Matthys fd47548f55 added tiny note on how I generated indexes 2004-12-02 17:08:45 +00:00
Bram Matthys ecdb057111 - help.conf: Fixed a typo, updated *CMDS indexes a bit, reported crazy (#0002208). 2004-12-02 17:06:32 +00:00
Bram Matthys 55ece5e5e4 - Fixed Oper Override not giving a 'special join notice' if +z is set along with another mode
(eg: +i/+k), reported by tabrisnet (#0001487).
2004-12-02 16:47:55 +00:00
Bram Matthys 5b7e45545c - Fixed dcc spamfilter problem reported by TimeFX and Deadalus (#2177, #2204). 2004-12-02 04:51:29 +00:00
codemastr 9395e74143 Added missing documentation for spamfilter away target 2004-12-01 20:58:56 +00:00
codemastr afbf2070fa Added a set::gline-address which works like set::kline-address 2004-12-01 20:55:38 +00:00
Bram Matthys a6713f14cb - Fixed alloca warning @ Linux (post-3.2.2)
- Numeric audit: 15 small changes (int/long mismatches etc). This might have fixed some
  bugs on architectures where 'long' and 'int' have different sizes (eg: opteron).
2004-11-28 21:26:27 +00:00
codemastr bd142fc323 Added a config.h options, IPV6_COMPRESSED to make Unreal use compressed IPv6 addresses where possible 2004-11-28 17:53:43 +00:00
codemastr ad878b68c8 Changed the +z cannot join message to be a bit more descriptive 2004-11-26 23:28:48 +00:00
codemastr 78ff3fdd53 ... 2004-11-26 22:28:13 +00:00
codemastr 191127296a Rewrote some of the previous change to deal with some strange issues 2004-11-26 22:14:30 +00:00
codemastr 637a36a2af If a user is +b on a channel, and set::allow-userhost-change force-rejoin is used, a part/join is not sent in order to prevent flooding 2004-11-25 23:54:21 +00:00
codemastr 81de8345d2 Added some missing operflags to /stats O and SVSO 2004-11-25 19:22:13 +00:00
codemastr 45cee8f2bd Added the new /invite syntax to help.conf 2004-11-25 19:17:48 +00:00
codemastr a11e6df64b Using /invite with no parameters now lists the channels you are invited to but have not yet joined 2004-11-25 19:16:02 +00:00
codemastr 4c66f198c5 ... and set::hosts errors 2004-11-24 19:57:18 +00:00
codemastr 61f3c2cddf Fixed a minor bug in the new config system when displaying link {} errors 2004-11-24 17:48:31 +00:00
stylus740 aed701705a Update doc/unreal32docs.de.html week 47 2004-11-22 17:00:08 +00:00
angrywolf 84c5813bc4 Doc update (week 47) 2004-11-20 13:49:17 +00:00
trocotronic 174735967a *** empty log message *** 2004-11-20 12:55:41 +00:00
Bram Matthys d310864b43 - Added set::dns::bind-ip (rarely ever needed, but might be useful for paranoid people).
- Some unreal32docs->security section improvements.
2004-11-19 20:55:18 +00:00
Bram Matthys 30d0defdc0 - Fixed bug in remote version reply, reported by DukePyrolator (#0002180). 2004-11-19 20:42:43 +00:00
codemastr 1a035edc8c Fixed the crule parser to treat - and : as valid 'word' characters rather than separators 2004-11-19 20:12:10 +00:00
Bram Matthys ade0c0109d - Win32 installer: Apparently 'install as a service' was still not the default, reported
by fez (#0002191, #0002189).
2004-11-19 19:49:05 +00:00
Bram Matthys cb6bfc4d34 - Renamed some calls from report_error() to report_baderror() since otherwise the errors are
hardly ever seen (unless you have +s +j set). For example a bad link::bind-ip only caused
  "Couldn't connect to xxxxxx" without any meaningful error message. Additionally, errors
  sent to report_baderror() are now logged.
^^ way too long description for a small tweak :p
2004-11-17 17:38:54 +00:00
Bram Matthys bc809fd7aa French docs update of week 46 (babass). 2004-11-14 20:43:19 +00:00
stylus740 ce7bba8b5a doc/unreal32docs.de.html Changes week 46 2004-11-14 07:58:32 +00:00
codemastr dd2f5bedd8 Made typing /kline, /shun, /zline, and /gzline correctly report the correct /stats flag, and these commands now produce the same output as the respective /stats flag they emulate 2004-11-13 18:11:02 +00:00
codemastr 5439dddde5 Added documentation for set::options::fail-oper-warn, Removed an extra ) in the Throttle disconnect message, Fixed a bug where the "looking up your hostname" message could still be displayed even if hostname resolving was disabled 2004-11-13 17:51:26 +00:00
codemastr 77f898e985 Added support for using \\ in the config file to indicate a " 2004-11-13 17:40:49 +00:00
codemastr e964113964 Updated Donation file, Added a 'B' flag to /who output for bots, and allowed normal users to /who +m B 2004-11-13 17:15:17 +00:00
angrywolf fc78e50666 Doc update (week 46) 2004-11-13 10:44:05 +00:00
trocotronic 4e901fdd66 *** empty log message *** 2004-11-13 09:40:27 +00:00
Bram Matthys c3c29d38da - Fixed botmotd crash due to last change (post-3.2.2). 2004-11-10 16:48:24 +00:00
Bram Matthys c2d22329b9 - Fixed small memory leak on /rehash (post-3.2.2). 2004-11-09 20:50:37 +00:00
codemastr b213011ab9 Removed an excess space from the SAMODE notice when a mode without a parameter was set 2004-11-09 20:36:59 +00:00
Bram Matthys 4283702d2c - Fixed crashbug on /rehash due to config rewrite, also made DEBUGMODE working again.
Probably more fixes to come (small or not)...
2004-11-09 17:14:14 +00:00
codemastr 98cb02a410 Added the ability to specify a botmotd and opermotd in a tld {} 2004-11-08 19:40:29 +00:00
Bram Matthys 102d21855a Doc update - week 45 (babass) 2004-11-08 19:22:39 +00:00
stylus740 010d3275f2 unreal32docs.de.html update week 45 2004-11-07 08:05:54 +00:00
Bram Matthys 5af77f8779 - Small fix for above ($arg -> $ARG) 2004-11-06 19:18:46 +00:00
Bram Matthys f3cdcc72ab $arg -> $ARG 2004-11-06 19:17:14 +00:00
codemastr 1bb24f0515 Made ./Config better handle command line arguments, Removed NAZIISH_CHBAN_HANDLING as it didn't do anything, Added -advanced flag to ./Config to configure advanced options 2004-11-06 17:33:50 +00:00
angrywolf a69e979d3d Doc update (week 45) 2004-11-06 12:16:32 +00:00
trocotronic dc9d9dc62e *** empty log message *** 2004-11-06 09:41:29 +00:00
trocotronic 883ec36e8b *** empty log message *** 2004-11-06 09:38:33 +00:00
codemastr 2b3fda5a10 Documented the default behavior of snomasks when /mode nick +s is used and added 'const' to the functions in match.c 2004-11-05 21:26:38 +00:00
codemastr c52dff2da7 Fixed a bug with /rehash and classes due to the config parser rewrite and Modified the module symbol dependency code to do more accurate searching for the module hat contains the necessary symbol 2004-11-05 20:23:59 +00:00
codemastr fb0802a22b Corrected numerous -Wall warnings 2004-11-04 21:42:34 +00:00
codemastr e72b29f81c Recoded the config parsing code, faster, and duplicate config entry detection 2004-11-03 20:38:17 +00:00
Bram Matthys b4d7a60a72 - Added updated auspice.conf from Rocko since previous one was outdated (#0002147). 2004-10-30 15:18:48 +00:00
Bram Matthys aaabed6af2 - Some text updates... docs: now 3.2.2-CVS, lso got rid of double version to avoid
confusion. credits: fixed typo.
2004-10-30 12:21:24 +00:00
codemastr 43db020b75 Fixed a typo in the makefile for USERIP, Made the WATCH command work for WebTV users 2004-10-29 18:24:58 +00:00
Bram Matthys aaa29c02f8 ** 3.2.2 release ** 2004-10-27 18:27:40 +00:00
Bram Matthys f87a4fda13 - Changed version to 3.2.2 2004-10-27 18:18:06 +00:00
Bram Matthys 48bdcf92fc - Forgot to mention away spamfilter target in helpop, reported by Rocko. 2004-10-26 18:46:52 +00:00
Bram Matthys ed38124a1d notice->private-notice 2004-10-25 19:45:24 +00:00
Bram Matthys 50952ed629 REVERT 2004-10-23 21:24:29 +00:00
Bram Matthys cdecfbfedc clarifcation @ changes 2004-10-23 16:03:07 +00:00
Bram Matthys 2d3ca29a45 - Fixed bug where some ban ip { } masks didn't work. 2004-10-23 16:02:48 +00:00
angrywolf 3a9f8eee47 Doc update (week 43) 2004-10-23 09:33:29 +00:00
trocotronic 949de4f098 *** empty log message *** 2004-10-23 09:12:04 +00:00
stylus740 05b098396d Update doc/unreal32docs.de.html week 43 2004-10-23 08:25:26 +00:00
Bram Matthys f541d5f58f - French doc updates, hopefully synched now. 2004-10-22 20:37:00 +00:00
Bram Matthys 2ce551158a - Fixed some doc & release notes typos. Reported by Rocko, HiT. [release note correction was committed earlier] 2004-10-21 20:34:15 +00:00
Bram Matthys 64860fa6c3 Little typo @ release notes 2004-10-20 19:49:22 +00:00
Bram Matthys b434149c41 updated map, right before 3.2.2pre1:
+   IsupportStrings
+   Isupports
+   cmdstr
+   create_tkl_except
+   del_async_connects
+   find_spamfilter_user
+   gethost_byname_revquery
+   isupport_init
+   make_isupportstrings
2004-10-20 18:31:58 +00:00
Bram Matthys c333495b1b ** internal 3.2.2-pre1 release ** 2004-10-20 18:11:38 +00:00
Bram Matthys ea4db0c2fe - Updated version to 3.2.2-pre1 already. (well all the changes went with previous commit) 2004-10-19 18:26:08 +00:00
Bram Matthys 5133dcf755 Version number change -> 3.2.2pre1. Proto -> 2305. Some doc version updates (like Unreal3.2.tar.gz -> Unreal3.2.2.tar.gz). And a small note @ win32 compile instructions about no longer using /MDd but /MD. 2004-10-19 18:21:50 +00:00
Bram Matthys 9e855621e5 - Added some future SJOIN skip stuff. <= for future +I (invex) support. 2004-10-19 18:01:13 +00:00
Bram Matthys fbd7fa502a plok... 2004-10-19 15:30:41 +00:00
Bram Matthys f368a2ba04 this is supposed to be a better version... :p 2004-10-18 19:33:50 +00:00
stylus740 96582cb86e Update doc/unreal32docs.de.html week 42 2004-10-17 07:35:40 +00:00
Bram Matthys 2f42d44b74 - Fixed serious heap corruption bug if remote users were using qlined nicks, thanks to
Gilou and Trankill for making me able to trace this issue down (#0002032).
- Fixed qline notices again: now gives msg #1 for local qlined-nick attempts, and
  another msg in case of a remote client (eg: oper) using a qlined nick.
2004-10-16 19:32:04 +00:00
trocotronic bf829244b8 *** empty log message *** 2004-10-16 08:17:03 +00:00
Bram Matthys 5018dec02f - Windows version can now hold ~4096 connections instead of ~1024
- help.conf: clarified MKPASSWD documentation, reported by hypnetric (#0001926).
- Some modeskip handling for future versions
2004-10-13 18:30:41 +00:00
angrywolf 988f5ff9d6 - Made a few grammar corrections. 2004-10-12 15:10:00 +00:00
angrywolf c3b8d07de4 Update: except tkl::type 2004-10-12 14:44:47 +00:00
Bram Matthys e6156b4604 - Added spamfilter 'away' ('a') target (#0002057). 2004-10-11 18:46:53 +00:00
codemastr 6af767a885 Added file: include/macros.h and a new macro, ARRAY_SIZEOF, Added the ability to specify multiple types in a tkl except 2004-10-11 17:51:02 +00:00
Bram Matthys 681a0ce0c2 - Fixed OOB read/write on user quit (did no harm on Linux&FreeBSD).
- Fixed some tiny memory leaks (~100 bytes) on rehash.
- Updated chinese&japanese GBK nick code, fix supplied by Xuefer (#0002051).
- Added release notes (unfinished).
2004-10-10 23:37:25 +00:00
stylus740 31a7905c94 Update german doc/unreal32docs.de.html week 41 2004-10-10 08:51:44 +00:00
trocotronic 3716f12eee *** empty log message *** 2004-10-09 16:01:49 +00:00
angrywolf a0e3779f74 *** empty log message *** 2004-10-09 09:16:10 +00:00
angrywolf 2e9852c393 Update to the rest of the changes of week 41 (spamfilter target type clarifications). 2004-10-09 09:11:27 +00:00
Bram Matthys 2eadd2efa1 - IPv6: Fixed hostnames in link::hostname not working, reported by Jasmin (#0001990). 2004-10-07 23:52:46 +00:00
Bram Matthys 97ea680aec - Fix for too broad regex in badword::word causing the IRCd to hang, reported by Flop
(#0002101).
2004-10-07 20:45:18 +00:00
Bram Matthys 6f72b78d1b - Made docs a bit more clear on spamfilter targettypes. [sorry angrywolf ;pp] 2004-10-07 19:56:39 +00:00
angrywolf 4d7f9b5a5b - Doc update: alias::target, alias::format::target and spamfilter target 'user'.
- Also made a minor correction in the translation by request of groove-coverage.
2004-10-07 18:53:30 +00:00
Bram Matthys f6e36300bb - If a nick is qlined, the user is now lagged up to limit qline floods a bit (#0001335). 2004-10-06 22:03:11 +00:00
Bram Matthys fae77f21ec - Module coders: Added HOOKTYPE_REMOTE_JOIN, HOOKTYPE_REMOTE_PART, HOOKTYPE_REMOTE_KICK (all
work just the same as the HOOKTYPE_LOCAL_* variants).
- Module coders: HOOKTYPE_REMOTE_CONNECT is now also called during net-merge. You can use
  IsSynched(sptr->srvptr) to find out if it's called due to a net merge (0) or a connect (1).
- Added spamfiler 'user' (u) target. This regex is checked against nick!user@host:realname
  when a user connects. This makes it easy to ban drones with simple patterns.
  For example: '/spamfilter add u gzline 86400 Drone[0-9]+!.+@.+:Drone[0-9]'
  would kill any drones that have both a nick and realname with 'Drone' followed by digits.
2004-10-06 20:33:13 +00:00
codemastr d78acf841e Added channel alias {}'es and fixed an Isupport bug 2004-10-03 17:25:58 +00:00
Bram Matthys cf68fd7d41 - Fixed resolver not working in FreeBSD jail, reported & patch provided by urkel (#0002097). 2004-09-29 16:43:46 +00:00
Bram Matthys 33d9d1dbcd bleh 2004-09-28 18:56:45 +00:00
Bram Matthys d04b80dcc3 - Fixed a (useless) cloak typo / made it a few nanosec faster. Reported by Martin Brulisauer. 2004-09-28 18:56:12 +00:00
codemastr 3edac539d1 Updated Windows to TRE 0.7.0 2004-09-25 19:11:42 +00:00
codemastr 75b639af81 Fixed a +u problem and updated to TRE 0.7.0 2004-09-25 19:10:35 +00:00
Bram Matthys 188e7990ba - Temporary fix for ircsprintf %lu 1..6 issue. 2004-09-19 18:32:14 +00:00
Bram Matthys 47c5c36bda - Added salted passwords. Salts are useful because it "protects" against stored-plaintext
attacks (eg: rainbow) and prevents cracking of several passwords at once.
  This change means /MKPASSWD will now just generate a different string than before.
  Do note however, that the old syntax/encrypted passwords will still work and _will continue
  to work_ in the future, for at least the whole 3.2* series.
  If you are concerned with security and have some time, then converting your passwords
  is probably a good idea... Just in case your configuration file gets stolen one day ;).
- MD5 password encryption is now always available on *NIX, even if SSL is disabled.
2004-09-19 16:13:03 +00:00
Bram Matthys 9b882e5c6d - Fixed a bug regarding chanmode +mu where the <IRC> messages were not properly relayed
to all servers. Reported by Aenox (#0002079).
2004-09-18 22:31:08 +00:00
codemastr 9b86b48b81 Updated doc/technical/token.txt and resolved 2 token conflicts. 2004-09-18 17:49:42 +00:00
stylus740 cf760ad336 unreal32docs.de.html Changes week 37 2004-09-12 07:19:49 +00:00
Bram Matthys 19748e6f03 - Fixed prefix bug caused by previous 'fix'/behavior change. Reported by aquanight (#0002067). 2004-09-11 19:19:17 +00:00
trocotronic 3b6270056d *** empty log message *** 2004-09-11 16:26:55 +00:00
kolibot bbf0df59f1 *** empty log message *** 2004-09-10 12:01:26 +00:00
Bram Matthys 326f506cd9 - Updated installer for msvcr70.dll 2004-09-09 00:10:19 +00:00
codemastr f71bc9335e Changed some stuff to use the release version of MS libraries 2004-09-08 18:53:27 +00:00
kolibot dc77debaec test 2004-09-07 23:42:00 +00:00
Bram Matthys 1ee0f10401 - Added french docs, translated by Kolibot & Babass. 2004-09-07 23:20:42 +00:00
codemastr 18311db5bf Fixed a typo in the *nix Makefile 2004-09-05 23:17:37 +00:00
stylus740 edff4089c7 Update german Translation week 36 2004-09-05 06:46:02 +00:00
codemastr fea3b691b3 Added a USERIP command 2004-09-04 22:55:19 +00:00
angrywolf c88f698c88 - Update: snomask +o 2004-09-04 20:55:30 +00:00
codemastr 23ee49f602 Exported the isupport functions for use in Windows modules. Added a new snomask, +o to show oper-up notices (oper only) 2004-09-04 17:05:25 +00:00
codemastr 36a75d5b55 SVSO now removes +v 2004-09-04 15:53:02 +00:00
angrywolf 4896f37ed4 Some weird characters went into the description of link::ciphers. 2004-09-04 14:22:24 +00:00
angrywolf d8678f686c - Update to week 36.
- Many grammar corrections.
2004-09-04 14:11:11 +00:00
trocotronic 483570dc4a *** empty log message *** 2004-09-04 11:39:38 +00:00
codemastr cbc3eea61e Made it so WATCH will not respond with an erroneous reply if the parameter was simply + or - 2004-09-04 04:26:18 +00:00
codemastr 165386a44b Updated documentation to reflect that cmode +M allows voiced users to talk, not just registered users 2004-09-04 04:21:13 +00:00
codemastr a5a502c1d5 Added documentation for link::ciphers to unreal32docs.html 2004-09-04 04:18:01 +00:00
codemastr d18a82acfe Fixed a problem where a local TKL could be sent to remote servers when it is being changed 2004-09-04 04:08:07 +00:00
codemastr 53b8b86598 Fixed a bug with IP based except tkl {} lines did not validate the ident portion of the mask 2004-09-04 03:59:58 +00:00
codemastr b9558cebe4 ... 2004-09-04 00:00:49 +00:00
codemastr e1d088de41 Fixed a few compile warnings, made +b apply to IPs correctly 2004-09-03 23:48:15 +00:00
codemastr d4059fec92 Rewrote the 005 system to be dynamic and added an API to manipulate it 2004-09-03 21:46:32 +00:00
codemastr 2a1844812f Added a fix for installing unreal as a service under win2003 2004-08-24 16:18:05 +00:00
codemastr ed476aaf75 Added snomasks to /whois usermode output and made usermodes available to all opers not just +e 2004-08-22 18:05:04 +00:00
Bram Matthys 641b12bf00 - Some doc/example.conf clarifications, mainly for modules @ win32. 2004-08-08 15:06:36 +00:00
Bram Matthys 76cd27a028 - Made zip/non-zip modules on win32 binary compatible. Since it was nowhere documented
that you should pass the ZIP_LINKS etc options to 'nmake -f makefile.win32 custommodule'
  many people didn't do this which caused odd problems when reading certain clientstructs.
  Module coders: in the meantime, for 3.2.1 mods, use something like:
  nmake -f makefile.win32 USE_ZIPLINKS=1 ZLIB_INC_DIR="c:\dev\zlib"
   ZLIB_LIB_DIR="c:\dev\zlib\dll32" custommodule MODULEFILE=m_mymodule
  For 3.2.2+ these additional parameters will no longer be needed (but wouldn't harm either).
2004-08-07 21:20:22 +00:00
Bram Matthys 0a97b75bfb changed last comment -> - unbroke spamfilter not working for msgs/notices (oops..). 2004-08-02 03:33:13 +00:00
Bram Matthys acf99712e9 - Oops.. made spamfilter for msgs/notices not working ;p.. fixed. 2004-08-02 03:16:54 +00:00
Bram Matthys fa1c1d4db7 - Windows: the 'notice' parameter in the usermsg callback was always 0 due some windows/vc
weirdness, this also affected spamfilter (so any spamfilters added only at notice
  and not at msg on windows would not work). Now using the real 'notice' parameter.
2004-07-29 19:52:39 +00:00
Bram Matthys 1e743f80d4 forgot to change some paths (c:\openssl -> c:\dev\openssl) 2004-07-28 20:54:02 +00:00
Bram Matthys 1a8706a645 url change 2004-07-28 20:41:20 +00:00
Bram Matthys 85f88aa002 - Updated doc/compiling_win32.txt again with curl build instructions.
Also linked to a page with an unreal dev package which contains zlib+ssl+curl
  precompiled. This basically means many people no longer need to compile zlib/ssl/curl
  anymore themselves (which is a pain to do and takes a lot of time).
2004-07-28 20:40:10 +00:00
stylus740 9c2048f8cf Update unreal32docs.de.html for week 30 2004-07-26 06:25:32 +00:00
Bram Matthys d97c8de0b1 - Improved doc/compiling_win32.txt a lot: now VC7 only, and has instructions on:
compiling modules and their (binary) compatability, zip links (zlib), ssl (OpenSSL)...
  Remote includes (curl and c-ares) instructions still need to be added.
- Made 'Install as a service' unchecked by default, this should help beginners a lot.
2004-07-25 00:49:05 +00:00
trocotronic 743312fceb *** empty log message *** 2004-07-24 08:03:28 +00:00
Bram Matthys 6ce838a933 changelog typo: id -> if 2004-07-22 22:10:31 +00:00
Bram Matthys 1bd085164b - Fixed possible crash id /rehash'ing and a servername was just resolving (due to
/connect or autoconnect) and was not present in the cache. Reported and traced by sh0
  (#0001976).
- Fixed compile bug at *NIX caused by ModuleGetErrorStr fix.
2004-07-22 21:57:44 +00:00
Bram Matthys 0597307562 - Fixed bugs regarding HOOKTYPE_SERVER_QUIT: was sometimes called twice and could cause
crashes due read-after-free. Reported by SET (#0001988).
2004-07-22 21:29:48 +00:00
Bram Matthys c665636045 - Applied patch from slePP for bug #0001252: if IPv6 was enabled then in some cases names
were not properly resolved. Original bug reported by kormat.
2004-07-22 21:12:42 +00:00
Bram Matthys 7aad095b33 improved changelog msg 'Fixed an MacOS X crash-on-first-connect' -> also mention sun solaris [and possibly others] etc :) 2004-07-22 16:41:06 +00:00
codemastr e578ae4ad1 Added a missing message to ModuleGetErrorStr 2004-07-22 16:28:14 +00:00
Bram Matthys 9b9aa1d80f - Fixed a bug if me::info was set to "". 2004-07-21 20:57:22 +00:00
Bram Matthys c38621994b - Fixed an MacOS X crash-on-first-connect if SSL was enabled (#0001982), reported by bit. 2004-07-21 15:57:06 +00:00
angrywolf 827b5fa7e8 Doc update (oper::modes) 2004-07-19 17:42:41 +00:00
codemastr bdda1a6943 Made example.conf refer to unreal32docs.html for oper flags 2004-07-18 22:39:06 +00:00
codemastr 8440b94865 Added oper::modes 2004-07-18 22:35:55 +00:00
codemastr c0ea216165 Added a new modules makefile 2004-07-18 22:18:19 +00:00
codemastr ef85e44157 Fixed an NT service bug and a win32 lockup 2004-07-13 22:27:28 +00:00
codemastr 70b32d0164 Added sapart and svspart comments 2004-07-12 17:00:46 +00:00
trocotronic f73784de19 *** empty log message *** 2004-07-10 08:46:59 +00:00
stylus740 a6fac49452 German Update for doc/unreal32docs.de.html Week28 2004-07-10 06:57:44 +00:00
codemastr 7d1c6344bb Fixed some who ? flag bugs 2004-07-09 17:36:57 +00:00
codemastr 9bc2c3ffcc Added src/win32/editor.c 2004-07-09 16:34:20 +00:00
codemastr cad4c1d4b3 Win32 code cleanups 2004-07-08 21:54:40 +00:00
codemastr 72c94cb5c1 Fixed a whois bug when PREFIX_AQ is undefined 2004-07-07 20:57:24 +00:00
codemastr ec6dcdb573 Win32 code cleanups 2004-07-07 18:22:27 +00:00
angrywolf 567649106e - Made several non-translated texts appear as Hungarian and made a few
spelling corrections.
- Updated the description of set::hosts::* directives.
2004-07-07 13:43:27 +00:00
codemastr 8f196cd879 Removed the * and ^ flags from /whois if PREFIX_AQ is not enabled, Updated the /who docs to use correct English, Added documentation for the /who and /whois flags 2004-07-07 04:19:01 +00:00
Bram Matthys 582c487cff - Fixed defizzer module. Reported by Rocko and netrixtardis. 2004-07-06 22:28:09 +00:00
codemastr 3f9d00a84d Fixed a bug where an ident in a vhost {} was never sent out to other servers and added user@host support for set::hosts 2004-07-06 21:55:34 +00:00
Bram Matthys 791152587c - Fixed ban bug: halfops were also prevented from doing nickchanges if banned, plus..
+b ~n:*!*@* also made nickchanges impossible for voiced(&halfop'ed) people (so like half
  of the purpose of it was defeated @$#&@#). Reported by Rocko.
2004-07-06 14:56:53 +00:00
codemastr 08bd0aa006 Make allow-userhost-change force-rejoin apply to /oper, and removed /hs -> helpserv from anope.conf 2004-07-05 22:00:14 +00:00
angrywolf 562766ae07 Corrected the mIRC link 2004-07-05 20:01:50 +00:00
Bram Matthys b4c03ed74a docs typo (mIRC link pointed to irssi >;p) reported by angrywolf + added additional semi-requirement for translations to put the document-in-progress online somewhere... this seems to be needed since like half of the translators end up dead / not responding ;) 2004-07-05 19:01:57 +00:00
codemastr ce913cd127 Fixed a win32 module problem where file not found errors would display random characters 2004-07-05 16:54:29 +00:00
angrywolf 8f5ee7983f Minor doc corrections reported by Ryan 2004-07-04 13:46:36 +00:00
Bram Matthys 5cc04d4020 temporary -> temporarily 2004-07-03 18:41:51 +00:00
Bram Matthys fd11ec968b added 'cloaking has been cracked' to release notes @ major bugs too 2004-07-03 18:33:45 +00:00
codemastr bd9a57f90f Changed version to 3.2.1 and moved 3.2 changes to Changes.old 2004-07-03 18:28:20 +00:00
codemastr 52f76673c7 Release notes updates 2004-07-03 17:26:07 +00:00
Bram Matthys add996a92a - Made release notes a bit more scary + some other text updates (mainly english grammar/spelling) 2004-07-03 16:19:46 +00:00
stylus740 63e7fd12cc Update doc/unreal32docs.de.html week 27 2004-07-03 07:17:56 +00:00
angrywolf 3b92a1dd2a Updated the copyright info 2004-07-03 06:42:42 +00:00
codemastr 7b12465473 Updated /Credits and added a donator. 2004-07-03 05:00:36 +00:00
codemastr 67598ba37e Fixed a win32 installer bug 2004-07-02 17:43:12 +00:00
angrywolf d3cd57b767 Fixed a typo reported by Toxyc 2004-07-01 15:26:11 +00:00
trocotronic b306553b0a *** empty log message *** 2004-06-29 23:31:03 +00:00
trocotronic b6508ac6e0 write test 2004-06-28 21:51:28 +00:00
Bram Matthys c065f16db6 - Added hungarian docs, translated by AngryWolf. 2004-06-28 21:12:50 +00:00
Bram Matthys 1f1cdab0a6 ** internal 3.2.1-pre2 release ** 2004-06-28 20:10:19 +00:00
Bram Matthys 0b5524cf7b - Fixed serious crashbug due to quick-rehashing bug! Basically if you did a /REHASH and
the clientcount for a class reached 0 (due to quits) it would crash.
2004-06-28 19:47:09 +00:00
Bram Matthys 1fe71cab31 - Added spanish docs, translated by Trocotronic. 2004-06-28 18:48:46 +00:00
Bram Matthys c607eb43ef - Various (>15) small fixes for unreal32docs.html, reported by AngryWolf (#0001906). 2004-06-27 23:24:48 +00:00
Bram Matthys 6c0b8db670 wircd.def 2004-06-26 22:50:50 +00:00
Bram Matthys e3e5f5005c updated for pre1 2004-06-26 22:50:16 +00:00
Bram Matthys 6b2ee1cb4e ** internal 3.2.1-pre1 release ** 2004-06-26 22:18:08 +00:00
Bram Matthys ae9d78e845 - Changed version to 3.2.1-pre1 and updated protocol # to 2304. 2004-06-26 19:47:20 +00:00
Bram Matthys aa9ee31e4e - spamfilter.conf: Added sig for a mIRC decode worm, submitted by nexus.
- Some release notes updates.
2004-06-26 17:48:14 +00:00
stylus740 602c3b94ad Changes german Translation week 26 doc/unreal32docs.de.html 2004-06-26 06:40:24 +00:00
Bram Matthys 5877a32b3b - Fixed "quickly-rehashing + autoconnect linkblocks = crash"-bug. This involved fixing
multiple reference count bugs, one related to sptr->serv->conf, and another one related
  to sptr->serv->class. Both caused problems when someone did a /rehash when a server
  was in the process of connecting (so it might also happen when connfreq was hit and you
  did a /rehash). Original bug was reported by sh0 (#0001872).
2004-06-25 23:50:08 +00:00
Bram Matthys af3c66dea5 - Updated HOOKTYPE_TKL_ADD/HOOKTYPE_TKL_DEL to cptr, sptr, tk, parc, parv, else it was
impossible to tell *who* removed a *line. Again, parc/parv are 0/NULL for expires.
2004-06-25 20:17:18 +00:00
codemastr 638d17fbaa Fixed a problem where the tmp directory was created in the wrong place 2004-06-25 19:36:56 +00:00
codemastr 283014822d Made the new numerics use nicknames 2004-06-25 19:28:38 +00:00
Bram Matthys ad82656408 - Added new logtype 'spamfilter' to log spamfilter matches
- Updated example.conf: added all new flags we added in the example block, removed
  old confusing comment on SEGV logging, config.h: ripped out lPATH since that define
  isn't anywhere used and is only confusing.
2004-06-25 01:37:56 +00:00
Bram Matthys 9c51507d36 - Made IPv6 bans work the way they should again, reported by al5001 (#0001876). 2004-06-25 01:03:32 +00:00
Bram Matthys ec338581d9 - Fixed '/stats P' negative usercount bug (#0001691). 2004-06-25 00:15:37 +00:00
codemastr c4ee6e5114 Converted a bunch of notices to numerics 2004-06-23 19:47:40 +00:00
codemastr 1671c330bf Fixed a CIDR bug 2004-06-22 18:37:00 +00:00
Bram Matthys 22425b09d3 dumdeedum 2004-06-22 01:37:22 +00:00
Bram Matthys d75ca39f78 - Made Mod_Version required (this should be no problem since it's done automatically).
- Added HOOKTYPE_LOG [int type, char *timebuf, char *logbuf]
- Updated the release notes.
2004-06-22 01:20:31 +00:00
codemastr 8e5fb728a4 Added ELIST support 2004-06-21 18:40:02 +00:00
stylus740 7c7592eaa7 German Translation update for: doc/unreal32docs.de.html
week 25
2004-06-20 06:42:18 +00:00
Bram Matthys 5385bd3f89 - internal: Added GetIP() which we will now use instead of all the Inet_ia2p() stuff
because it's slightly faster (already replaced all of them in src/s_kline.c).
  GetIP(acptr) will return the ip for local users and remote users that support NICKIP,
  it returns NULL for remote users that are on non-NICKIP servers (or have non-NICKIP
  servers along their path).
- internal: tkl_add_line now returns aTKline *
- Added some more hooks:
  - HOOKTYPE_TKL_ADD [aClient *cptr, aClient *sptr, aTKline *tk]
  - HOOKTYPE_TKL_DEL [aClient *cptr, aClient *sptr, aTKline *tk]
    NOTE: 'NULL, NULL, tk' is used for *lines that are removed due to expiring
  - HOOKTYPE_LOCAL_KILL [aClient *sptr, aClient *target, char *comment]
2004-06-19 22:49:02 +00:00
codemastr 05a96a3b56 Fixed an SVSNICK bug that could lead to duplicate users in very rare circumstances 2004-06-18 17:02:01 +00:00
codemastr 54ff17f164 Fixed a CIDR bug when compiled without IPv6 support 2004-06-18 16:07:35 +00:00
Bram Matthys 0ca3733542 - Fixed find_qline crashes regarding except tkl 'type qline', reported by Gilou (#0001882).
- Fixed some CIDR bugs causing things not to match.
2004-06-18 15:49:10 +00:00
Bram Matthys 3b398af944 - To be able to use /ADDLINE you now need the (new) 'can_addline' operflag (oper::flags),
reason for this is that it's such a powerful/dangerous command.
2004-06-17 22:32:33 +00:00
codemastr 6316006acb ... 2004-06-17 21:45:36 +00:00
codemastr 58943b710c Added CIDR support 2004-06-17 21:16:58 +00:00
Bram Matthys 2f1da20208 - Fixed compile problem with debugmode + ipv6 2004-06-17 18:32:59 +00:00
Bram Matthys 42a8ab5a84 just correcting my english ;) 2004-06-17 18:18:07 +00:00
Bram Matthys c5d57689a0 - Win32: Readded /J compiler flag (was accidently lost in December). This could cause
some weird issues. Reported by Troco (#0001877).
2004-06-17 16:18:50 +00:00
Bram Matthys e3df6672c4 teh date --> 2004-06-17 2004-06-16 22:11:18 +00:00
Bram Matthys 1ebae10921 - Minor doc tweakers, reported by AngryWolf (#0001871). 2004-06-16 22:00:39 +00:00
stylus740 f0d9b5f66c unreal32docs.de.html Changes week 24 2004-06-15 17:05:44 +00:00
Bram Matthys 023cef1fb7 - Made extbans desynchs a bit more friendly: if a bantype is unknown for the server
it will just accept it if it's from a remote server, and also ops/etc will be allowed
  to REMOVE any unknown extbans (but not add new unknown ones).
- Added extended ban type ~n (nickchange ban), if a user matches this (s)he can not
  change nicks (eg: +b ~n:*!*@*.aol.com) unless (s)he has voice or higher.
  This can be useful as an overall measure for some +m chans (+b ~n:!*@*) or against
  specific 'good' people that are just nickflooding due to a wrongly configured script.
- Added set::restrict-extendedbans by which you can disallow normal users to use
  any extendedbans ("*") or disallow only certain ones (eg: "qc").
- Made the negative TS message a bit more annoying if time is off more than 10 seconds.
2004-06-12 01:26:23 +00:00
Bram Matthys 47f3c43295 - Various (non-critical) fixes for dccallow reported by Rocko (incorrect nick in deny msg,
added set::maxdccallow in docs, added bmp/vob/log/ to dccallow.conf).
2004-06-10 15:53:13 +00:00
Bram Matthys fe89b2e36b new one... includes NICKIP & dccallow changes. 2004-06-10 02:33:19 +00:00
Bram Matthys 6ec3822ce1 CmdoverrideAdd, DCCALLOW, allow dcc { }, umode +v change, register_user fix.
- Module coders: if CmdoverrideAdd() is called for an override that is already in place, it
  now sets MODERR_EXISTS as errorcode and returns NULL (previously it added duplicates).
  In the past module coders had many issues with PERM mods... you had to use weird tricks,
  but now you can (and should!) just override on INIT and on HOOKTYPE_REHASH_COMPLETE.
- Moved register_user declaration to h.h, updated call in m_pingpong.c (due new 'ip' field).
- Usermode +v ('receive dcc send rejection notices') is oper-only now for privacy reasons.
- Added dcc allow { }, which allows one to make exceptions over deny dcc { }.
- Added deny dcc::soft and allow dcc::soft item, if set to 'yes' it allows someone
  to explicitly override it per-person via /DCCALLOW (see next).
- Added DCCALLOW system, taken directly from bahamut.
  With this system you can block certain (or all) DCC SENDs and then allow the user to
  'override' this limit for every user he/she trusts via '/DCCALLOW +User'.
  This is an attempt to stop (or at least limit) the spreading of viruses/etc.
  See '/DCCALLOW HELP' for more info.
- Added example dccallow.conf which filters everything except some known
  'safe types' (jpg, jpeg, png, gif, etc). Note that the purpose of this file
  is NOT to get a complete list, rather to limit it to a few 'known safe' entries.
- Added set::maxdccallow: max number of entries of the DCCALLOW list (default: 10).
2004-06-10 02:26:32 +00:00
codemastr f90a4667bf Added a couple donators to /credits 2004-06-09 17:00:04 +00:00
codemastr 6ab3161969 /who +i added, /who help cleanups, and /who +m fix 2004-06-06 18:30:57 +00:00
stylus740 892cad788d Update week23:
doc/unreal32docs.de.html
2004-06-05 07:26:29 +00:00
Bram Matthys 2fc75d1352 - Fixed a synch bug, reported by Troco (#0001857). 2004-06-03 16:44:20 +00:00
Bram Matthys 3c436c02e7 - Added a doc/translations.txt which describes the (current) translation process
and requirements a bit.
2004-06-02 00:04:29 +00:00
codemastr 30f7b2c519 Made the win32 socket error reporting also handle regular system errors 2004-06-01 21:28:54 +00:00
Bram Matthys 55001ad74a - Seems I forgot to del_Command() SPAMFILTER and TEMPSHUN. 2004-06-01 21:11:08 +00:00
codemastr de1ad88442 Added /dns c to clear the DNS cache 2004-06-01 20:38:18 +00:00
codemastr a450365faa Made Unreal create the tmp/ dir at startup, rather than configure 2004-06-01 20:29:20 +00:00
codemastr 756a7de955 Made a bunch of TKL parameters case insensitive 2004-06-01 20:12:49 +00:00
codemastr ecd9ca0c5b Added snomask +S to the documentation 2004-06-01 20:03:03 +00:00
Bram Matthys 57a3465ef4 clarifcation on '*' @ NICKIP 2004-05-31 19:10:14 +00:00
Bram Matthys bfde79e41d - And another one, should be fixed now. 2004-05-31 18:49:26 +00:00
codemastr facf1d62ef Fixed win32 socket error reporting and a NICKIP bug 2004-05-31 18:18:55 +00:00
Bram Matthys 9ebd9e9bcf - And one more. 2004-05-31 00:32:52 +00:00
Bram Matthys 24c2b72e1a Added some $Id$'z 2004-05-30 23:22:43 +00:00
Bram Matthys a2a4576ca2 more! 2004-05-30 21:49:50 +00:00
Bram Matthys 8337447439 - Fixed SSL problem caused by a fix of 2 days ago. Reported by Fury (#0001842). 2004-05-30 21:43:24 +00:00
Bram Matthys 45e373d683 - Fixed some other win32 crashes due to modulizing: WHOWAS, STATS [some], SVSMOTD.
All caused by missing "MODVAR"s. Reported by Troco (#0001841).
2004-05-30 20:34:33 +00:00
stylus740 324aa0f593 Update geman doc week22 2004-05-30 08:31:40 +00:00
codemastr e5f16b777a Made the win32 version use a dynamically linked libc 2004-05-30 00:59:05 +00:00
Bram Matthys 44b2ae15fa - Imported TRE 0.6.8 for windows 2004-05-29 19:48:40 +00:00
codemastr e050009b51 Added NICKIP to doc/technical/protoctl.txt 2004-05-29 19:01:13 +00:00
codemastr a9fbc71459 Imported TRE 0.6.8 for *nix 2004-05-29 18:58:23 +00:00
codemastr 558c9ede6b Fixed a compile error regarding AF_MAX 2004-05-29 17:12:32 +00:00
Bram Matthys 843d4696ff the '*CVS*' mark should be at current version, not at major version. 2004-05-28 01:18:35 +00:00
Bram Matthys fc37449a9e - unreal32docs.html: added flat-map and set::restrict-usermodes "s"; security tips. 2004-05-28 01:14:15 +00:00
Bram Matthys 8702450af2 Various stuff:
- Added release notes (no, we won't release 3.2.1 anytime soon.. just updating ;p).
- Added various extra messages to make it a bit more easier for people who are
  upgrading (win32 commands.dll, cloaking mod).
- Made win32 ssl<->non-ssl modules binary compatible.
- Added ssl/non-ssl check in Mod_Version on *NIX.
- Added set::options::flat-map: This makes all servers look like they are linked
  directly to the server you are on (/map, /links), thus you cannot see which server
  is linked to which ("hopcount"). This can make it a bit harder for kiddies to find
  any 'weak spots' (which server to attack/[D]DoS). Obviously opers will always
  see the real map.
2004-05-28 00:44:07 +00:00
codemastr 8c89274d3d compile warning cleanups 2004-05-27 22:45:17 +00:00
codemastr 9e9390e57e Configure checks for inet_ntop/pton 2004-05-27 22:10:18 +00:00
codemastr c1af4a4516 Added NICKIP 2004-05-27 22:05:58 +00:00
Bram Matthys 2313035766 - Fixed a permanent modules bug: custom allow/except/ban/deny types were lost
after /rehash. Reported by AngryWolf (#0001837).
2004-05-27 01:57:44 +00:00
stylus740 34cfe19e44 Test/correction ;p 2004-05-23 22:15:04 +00:00
Bram Matthys 4a0c827879 - German doc updates (week 21) 2004-05-23 21:57:09 +00:00
stylus740 976c4a8281 test.. should work. 2004-05-23 21:43:16 +00:00
codemastr 8f2763fff1 Win32 module bug with strcasecmp 2004-05-23 18:30:05 +00:00
Bram Matthys 09d1dd87e4 - spamfilter.conf: Added yet another sig for a site that causes Backdoor.Delf.lq
infection (reported by nexus), also changed LOI trojan and Bloodhound.Exploit.6
  action to gline.
2004-05-21 23:15:33 +00:00
Bram Matthys 9bb3623c4d [vesioncheck] - Improved the above: made it work on windows and also added a check for curl. 2004-05-20 21:21:15 +00:00
Bram Matthys 1fc97c815e blah 2004-05-20 20:49:00 +00:00
Bram Matthys 443c529f9f cvs test + win32 ssl/zip library version check error msgdshfsdhsd 2004-05-20 20:37:01 +00:00
Bram Matthys 1a6e72c1b3 - Added zlib+SSL version check on boot to make sure the runtime version is the same
as the 'compiled for' (header) version. If they mismatch, UnrealIRCd could crash,
  so a big warning is posted if it happends.
2004-05-19 20:47:14 +00:00
Bram Matthys 8c20440e04 - Added optional parameter to SVSJOIN to deal with channel keys. Reported by
DukePyrolator (#0001822).
2004-05-18 21:17:31 +00:00
Bram Matthys 683fae7a38 - German doc updates (week 20). 2004-05-18 00:58:55 +00:00
Bram Matthys 76f0f87fdd - Added set::spamfilter::virus-help-channel-deny. This allows you to block any
normal joins to the virus-help-channel. This way you could prevent users into
  accidental (or tricked) joining of the virus-help-channel and becomming infected.
  This feature is disabled by default. Requested by bleepy (#0001811).
2004-05-18 00:39:45 +00:00
codemastr 6d09e29d0c Fixed a win32 module bug 2004-05-17 20:24:14 +00:00
codemastr 79c4cee4b7 Updated to TRE 0.6.7 2004-05-15 19:43:20 +00:00
codemastr e1cc540182 Upgraded to TRE 0.6.7 2004-05-15 19:42:24 +00:00
codemastr ee9ca0e01f Fixed a remote include bug and a /credits typo 2004-05-15 04:25:29 +00:00
Bram Matthys aab9bffe23 - Changed the way MSG/NOTICE <prefix>#chan works:
- It now goes to <prefix> and higher, so '/notice +#chan hi!' goes to +vhoaq
  - You need at least voice in order to be able to msg/notice +#chan, %#chan or @#chan
  - You need at least ops in order to be able to msg/notice &#chan or ~#chan
  - Any multi-prefix targets will be converted automatically (eg: ~&@#chan to @#chan).
  - internal: use of the CHANOPPFX macro is now deprecated.
  All of this was done to make it a bit more 'safe' and userfriendly (#0001812).
2004-05-14 22:34:17 +00:00
Bram Matthys af94fd243a - Local opers can now also join +O (operonly) channels (#0001694). 2004-05-14 19:55:12 +00:00
Bram Matthys 98bd61c179 - Changed 'Services operator' in /whois (back) to 'Services administrator', this was
requested by many people and seems to be the best after all (#0001634).
2004-05-14 15:53:29 +00:00
codemastr a49e227bd4 Win32 module fixes for ssl/zip/curl 2004-05-13 16:39:23 +00:00
Bram Matthys 45a5bd231f forgot to add this one. 2004-05-12 23:22:52 +00:00
Bram Matthys 2bee263234 try this? 2004-05-12 23:20:01 +00:00
Bram Matthys 130669c03b hidehost.. byebye 2004-05-12 23:09:53 +00:00
Bram Matthys 16a82b6aeb - Modulized cloaking 2004-05-12 23:05:40 +00:00
codemastr dd85bf150d ... 2004-05-12 22:32:11 +00:00
codemastr 257d386a1b ... 2004-05-12 22:16:31 +00:00
codemastr 99bd34fbb9 Added module support for Windows 2004-05-12 22:02:05 +00:00
Bram Matthys d9a6dd34b9 - Include openssl/md5.h and openssl/ripemd.h if compiled w/SSL, this seems how it
should be done and also makes unreal w/SSL able to compile on OpenBSD (3.5).
2004-05-09 18:59:11 +00:00
codemastr 0924b208e7 Fixed an empty set::ssl::options crash bug 2004-05-09 17:21:08 +00:00
Bram Matthys bb003e2583 - Changed int_to_base64() warning so it has less false positives (#0001797). 2004-05-08 19:40:48 +00:00
codemastr 4b2dec05e8 Made it so chg* commands are not logged from services 2004-05-04 19:18:06 +00:00
codemastr 133eac2700 Fixed a doc typo and fixed a ./unreal bug 2004-05-04 19:09:04 +00:00
codemastr 087e36a112 Fixed a problem when compiling with GUEST defined 2004-05-04 18:25:44 +00:00
Bram Matthys 116aaa17ea - Replaced tre.dll/tre.lib, previous versions caused a crash (eg: if you included
spamfilter.conf).
2004-04-25 21:39:02 +00:00
stskeeps 425dae8005 as written 2004-04-25 21:06:57 +00:00
cvs2hg ff898a5a9e fixup commit for branch 'unreal3_2_fixes' 2004-04-24 23:07:41 +00:00
Bram Matthys 335ff44a54 *** 3.2 release *** 2004-04-24 23:07:39 +00:00
Bram Matthys 019666b21f hmk, rephrased the "module support @ windows " sentence I added. 2004-04-24 20:37:38 +00:00
Bram Matthys 5e16df15a0 - Some doc/release notes updates on win module support. 2004-04-24 19:58:53 +00:00
Bram Matthys 533895722b - Added temporary fix for include "http://www.blah.com/"; crashbug...although I doubt
many people would use it. Reported by Angrywolf (#0001757).
2004-04-24 15:30:36 +00:00
Bram Matthys 45bf0ede3d TYPO.. just in time before pre2 :P 2004-04-23 22:26:35 +00:00
Bram Matthys ad9a40e7c4 - Changed version to 3.2 already
** internal pre2 release **
2004-04-23 22:25:38 +00:00
Bram Matthys 6199e0f98c - Fixed some remote includes issues and added a connect/transfer timeout, server should
now no longer be frozen if the site is unreachable. Reported by Ron2K (#0001751).
2004-04-23 22:05:36 +00:00
Bram Matthys 0eb09818c0 gzline user@host -> *@ipmask 2004-04-23 20:38:48 +00:00
Bram Matthys 12b538a6a8 - Docs/help.conf tweak on /connect syntax (#0001755).
- German doc updates (from April 18) + gzline docs tweak.
2004-04-23 20:37:46 +00:00
Bram Matthys 8b26ed3a2a BLALBSDJFsid 2004-04-16 22:44:31 +00:00
Bram Matthys deb07e14b3 ** internal pre1 release (testing only) ** 2004-04-16 22:43:09 +00:00
Bram Matthys 324bcc3cf9 - Minor sajoin/sapart ERR_NEEDMOREPARAMS tweak. 2004-04-16 22:41:46 +00:00
Bram Matthys ebcfe963a5 - Fixed SJOIN bug: it sometimes was setting too many modes at once. 2004-04-16 20:52:42 +00:00
Bram Matthys f032115d8a - Changed version to pre1 2004-04-16 19:20:25 +00:00
Bram Matthys 090589cfad update.. 2004-04-16 18:10:05 +00:00
Bram Matthys 0a790a5649 oh, forgot target quit... 2004-04-16 17:41:31 +00:00
Bram Matthys 376494f384 - spamfilter.conf: added signatures for Gaggle worm. 2004-04-16 17:30:59 +00:00
Bram Matthys ac7aa6ed03 fixed implicit declaration for reread_motdsandrules(). 2004-04-15 22:06:03 +00:00
Bram Matthys e53a688c7e - doc/unreal32docs.html and help.conf updates (#0001734 + other stuff). 2004-04-15 21:51:01 +00:00
Bram Matthys 8350a7958a - Fixed /rehash bug if an .so (or remote include?) failed to load properly,
reported by fez (#0001736).
2004-04-15 16:14:14 +00:00
Bram Matthys ab22a8bcb1 - Added some release notes already. 2004-04-15 01:30:57 +00:00
Bram Matthys 407f9af942 - Various doc/text updates 2004-04-14 23:09:16 +00:00
Bram Matthys fa6edb8c64 - Made ./unreal rehash (= kill -1 <pid>) also reread motd/rules/etc just as a
normal /rehash does, reported by superh (#0001699).
2004-04-14 18:51:14 +00:00
Bram Matthys e501f1b90f - Force a TRE recompile if ./Config is re-run, due to timestamp fun if you were
upgrading to CVS every time TRE was not recompiled even if you did make clean.
2004-04-14 18:21:49 +00:00
Bram Matthys d1bfc78a45 - Fixed /who +m bug for opers, reported by Bugz (#0001715).
- Fixed halfop mode code to not check remote halfop modes (desynch danger).
2004-04-13 22:22:50 +00:00
Bram Matthys 24336c6153 - Updated server<->server code for MODE so operoverride bug #0001704 and other
feature requests can be fixed/added in the future (3.2.1).
2004-04-13 19:04:41 +00:00
Bram Matthys c78a8c6110 - Fixed something if sptr->user->virthost was NULL (which is/should never be the case),
just to be sure... (#0001724).
2004-04-11 15:20:19 +00:00
codemastr 7399ad2cde Fixed a typo in /credits 2004-04-10 16:10:07 +00:00
codemastr 7ba09e3efd Made a note in example.conf about not using link::options::autoconnect for services 2004-04-07 22:22:20 +00:00
codemastr 23eddafaf7 Fixed /stats ? for Q and q 2004-04-07 22:18:27 +00:00
codemastr 7ebd0473b9 Updated /credits a bit more 2004-04-07 22:13:21 +00:00
Bram Matthys e9d96c267a - German doc updates (spelling+synch). // + moved language choose thingy to top 2004-04-07 20:51:28 +00:00
codemastr 1d140eff88 Updated credits 2004-04-07 02:33:13 +00:00
Bram Matthys 1103ffe636 - Windows: Updated makefile/unrealinst.iss/zip.h to use zlib 1.2.1. 2004-04-05 22:26:03 +00:00
codemastr 05c1c38d76 Fixed vhost::swhois not being shown remotely 2004-04-05 22:06:31 +00:00
codemastr a3a4158556 Patched win32 TRE 2004-04-05 21:47:15 +00:00
Bram Matthys d1982e4983 - Patched TRE 0.6.6 to fix known crashbug (#0001684), testing is welcomed. 2004-04-05 17:04:14 +00:00
Bram Matthys 0ac1676043 reference to translated doc (and vice versa) 2004-04-04 18:12:58 +00:00
Bram Matthys 829c102c7f typo ;) 2004-04-04 16:47:19 +00:00
Bram Matthys 2c8e443170 Added $Id$ thingy 2004-04-04 16:46:47 +00:00
Bram Matthys 5f9e2bff0b - Added german translation of unreal32docs (doc/unreal32docs.de.html), translated by Stylus740 which will also maintain it. 2004-04-03 21:46:24 +00:00
Bram Matthys 3a738a4c5d - Added german translation of unreal32docs (doc/unreal32docs.de.html), translated
by Stylus740 which will also maintain it.
2004-04-03 21:45:38 +00:00
Bram Matthys db7e75636d - spamfilter.conf: added signature for LOI trojan. 2004-04-01 03:57:11 +00:00
codemastr 602ea12b9f Fixed an SVSMODE #chan -qaohv bug 2004-03-29 23:18:26 +00:00
Bram Matthys ef942d39a2 - spamfilter.conf: changed a lot of rules from 'block' to 'gline', left some
on 'block' however if there was some (very low) chance on false positives (even though
  just like 0.01%).
2004-03-27 22:54:42 +00:00
Bram Matthys f6b0bf15b5 - Usermode 'r' (registered) was unset even in case of "case"-nickchanges (like:
'Syzop' -> 'syzop'). This affected f.e. ircservices. Reported by LoVeR (#0001679).
2004-03-27 20:13:27 +00:00
Bram Matthys a87a1688b6 - Made the setup script use the new compression method 'lzma' which makes the setup.exe
~300Kb smaller. Now also requires Inno Setup 4.1.6 (tested with 4.2.0).
2004-03-27 00:58:18 +00:00
codemastr 1ac0936d8a win32 installer changes 2004-03-26 23:12:22 +00:00
codemastr ec12bd4c05 Fixed a win32 GUI bug with rehash all not rehashing motd/rules 2004-03-26 21:25:45 +00:00
codemastr f095d6e9de Fixed a win32 resolver problem with detecting nameservers 2004-03-26 21:14:43 +00:00
codemastr a998fe14cc Fixed a /stats S modes-on-join extended mode problem 2004-03-22 21:35:56 +00:00
codemastr 6be3ab9291 Updated TRE to 0.6.6 2004-03-21 19:01:15 +00:00
codemastr 6c7a6b507f Imported TRE 0.6.6 for win32 2004-03-21 18:12:21 +00:00
codemastr cdaaa80c70 Made environment variables correctly work in Config 2004-03-20 04:23:58 +00:00
Bram Matthys d731cf04ab - Fixed /spamfilter reason field bug.. things were double escaped sometimes,
especially in post-RC2-cvs this was noticable. Reported by Fury (#0001670).
- help.conf: updated snomasks section.
2004-03-19 21:32:03 +00:00
Bram Matthys da9bd6e5e9 - Fixed /spamfilter removal problem... often the wrong entry was removed [!] or
nothing was removed at all. Reported by MiNdErAsR, RealCFC and others (#0001669).
2004-03-19 02:18:04 +00:00
codemastr 51704ca942 Fixed an SQLINE memory leak 2004-03-14 22:25:24 +00:00
codemastr 4e5ebba53f Added Nkie worm spamfilters to spamfilter.conf 2004-03-14 20:21:12 +00:00
Bram Matthys 2da3de60c4 - Added conf check for too large spamfilter regex + reason field. Reported by
Z3l3zT (#0001648).
2004-03-14 20:16:54 +00:00
codemastr c35aede803 Fixed a version.c.SH typo 2004-03-13 19:35:51 +00:00
Bram Matthys 6094f628eb - Fixed win32 compile problem. Reported by Troco (#0001644). 2004-03-13 15:48:49 +00:00
Bram Matthys 04177a8106 fixed win32 compile problem 2004-03-13 15:46:33 +00:00
Bram Matthys 8273643f88 - More Opteron fixes... sizeof() fun, %B fun (always use a 'long'!), etc..
- Added __attribute__ stuff for ircsprintf() to catch more warnings.
2004-03-11 21:59:08 +00:00
Bram Matthys 1c671a47bd SSsshht ;p 2004-03-11 20:39:58 +00:00
Bram Matthys 3294afe918 - Hide server IP in /stats z
- First Opteron crash bugfix. Thanks to Liverbugg for helping us trace this issue.
2004-03-11 20:34:36 +00:00
codemastr 017669dc40 Removed cp -f from curlinstall (non-portable) 2004-03-10 18:42:47 +00:00
codemastr 99a3c53703 Remote include installer changes and /credits updates 2004-03-10 17:11:27 +00:00
codemastr 2f64d946b4 Made set::modes-on-join work with extcmodes 2004-03-10 03:49:04 +00:00
Bram Matthys 6717b75911 minor adjustment. 2004-03-10 01:43:45 +00:00
Bram Matthys 80f397df6b changed version to 'RC2 *CVS*' 2004-03-10 01:25:30 +00:00
Bram Matthys 3a3ca8bac8 pjoink!!! 2004-03-10 01:24:55 +00:00
Bram Matthys 15b52e94b4 - Added '__' -> '_' decoding for spamfilter reason field. 2004-03-10 01:23:58 +00:00
codemastr dd6eb1bd34 Fixed a spamfilter memory leak 2004-03-10 01:00:22 +00:00
Bram Matthys f1bd72ffad pjoink 2004-03-09 23:14:20 +00:00
Bram Matthys 0f3204698b - spamfilter.conf: added soex trojan. Sig provided by Jay. 2004-03-09 20:47:10 +00:00
codemastr 25639df741 Documented except tkl qline/sqline 2004-03-09 00:31:10 +00:00
codemastr 248188cf54 Removed src/win32/version.c 2004-03-08 18:47:58 +00:00
codemastr 3d87f28751 Added check to detect broad /spamfilter masks 2004-03-08 03:38:16 +00:00
Bram Matthys 445a85871a - spamfilter.conf: fixed fyle sig (was bad!), some minor updates to the rest,
added mirc 6.12 exploit sig. Reported by PHANTOm.
2004-03-08 00:22:31 +00:00
Bram Matthys 84be2cf06f pjoink 2004-03-07 22:10:56 +00:00
Bram Matthys 63d7c6d04a *** RC2fix release *** 2004-03-07 22:10:19 +00:00
codemastr ddcec35e9f Fixed a compile problem on Solaris 2004-03-07 22:03:41 +00:00
codemastr 5b1be6a347 Fixed a HOOKTYPE_PRE_LOCAL_JOIN bug 2004-03-07 21:50:07 +00:00
Bram Matthys c1ca95b71f *** RC2 release *** 2004-03-07 18:51:29 +00:00
Bram Matthys 47aab8caaa - Changed version to RC2 2004-03-07 17:27:02 +00:00
Bram Matthys 9b242fd101 - And some more spamfilter.conf rules (aplore, gtbot, sdbot, spybot). <== this was already committed, just updating changes on it ;)
- Minor doc update.
2004-03-07 15:23:51 +00:00
Bram Matthys 61ab744d2a minor 'reason' adjustments (to make it more general) + . -> \. thingy 2004-03-06 22:18:11 +00:00
codemastr 7bc23b4279 More spamfilter updates 2004-03-06 20:26:24 +00:00
Bram Matthys 301dbe6e59 spybot .syn sig 2004-03-06 19:57:21 +00:00
codemastr c324f1455a GTBot detection filters 2004-03-06 19:20:12 +00:00
Bram Matthys 6e05e85dfb blank 2004-03-06 18:43:01 +00:00
codemastr 4f00918d7a Spamfilter.conf typo 2004-03-06 18:12:36 +00:00
codemastr 01cb63c745 Updated /credits with more donators 2004-03-06 17:41:17 +00:00
Bram Matthys 16802a8b6b - And some more spamfilter.conf rules (mirseed & fagot). 2004-03-06 04:22:31 +00:00
Bram Matthys 29eb81904a - Added first 2 rules to spamfilter.conf, update release notes and unrealinst.iss
for it too (also added missing badwords.quit.conf file @ win32).
2004-03-06 02:27:08 +00:00
Bram Matthys 41d7b0733b - Added rest of release notes. 2004-03-06 00:01:11 +00:00
codemastr 0fb0490262 Imported TRE 0.6.5 on Linux 2004-03-05 22:43:38 +00:00
codemastr 76fdc6505f Upgraded win32 TRE lib to 0.6.5 2004-03-05 22:29:39 +00:00
codemastr 2b19a70d31 Redesigned HOOKTYPE_PRE_LOCAL_JOIN 2004-03-04 23:06:54 +00:00
Bram Matthys 1854b50784 let's be nice and give credit.. 2004-03-04 19:48:08 +00:00
Bram Matthys 8a6619c0a8 - Fixed yet another fun remote includes memory corruption crash bug due
to curl strangeness (took me 2 hours to trace down, great!).
2004-03-04 19:33:59 +00:00
Bram Matthys c389dc58b5 - Minor doc updates on SSL (mIRC now supports SSL a bit). 2004-03-03 22:49:47 +00:00
Bram Matthys f58c46a334 - Updated SSL error for underlying syscall error a bit (#0001615). 2004-03-03 21:27:05 +00:00
Bram Matthys 9ba52eea92 - Added 90% of RC2 release notes.
- Cosmetic doc updates (#0001596) reported by HERZ.
2004-03-02 20:31:59 +00:00
Bram Matthys ad1a98523f a 2004-02-29 21:18:35 +00:00
Bram Matthys 7d2da2b910 - Q comes after P. Thanks to Rocko for remind us! (fixes /stats P bug ;p). 2004-02-29 21:15:45 +00:00
codemastr d48540a6d4 Fixed another remote include bug 2004-02-26 00:49:27 +00:00
codemastr 739feded92 More win32 remote include fixes 2004-02-25 23:17:32 +00:00
codemastr 19d843e650 Fixed a remote include problem with deleting files 2004-02-25 22:14:30 +00:00
Bram Matthys afc24e4fa8 - Made numerics 518-520 a bit more clear by mentioning the channelname in it.
Suggested by Zell (#0001589).
2004-02-25 21:39:04 +00:00
Bram Matthys 179e6dfe6d - Fixed a zero-terminate bug in remote includes: urls with '?' in it could
cause a crash, reported by Joolz (#0001587).
2004-02-25 21:21:49 +00:00
Bram Matthys 669cf6e189 - Fixed an issue where chanmode +f was often set by the server again
in a netjoin when there was no need to (nothing to synch).
- Added spamfilter::except which allows you to specify targets
  (eg: channels) where spamfilter should not take action. Requested by Fury
  (#0001586). Ex: set { spamfilter { except "#spamreport,#help"; }; };
2004-02-25 20:49:00 +00:00
Bram Matthys 0a166e3663 GRRR! bad/old module header! badbadbad m_template!! 2004-02-23 23:14:32 +00:00
Bram Matthys a573b29a0f - Fixed a bug in individual m_*.so loading, 39 new modules were affected. 2004-02-23 23:14:05 +00:00
Bram Matthys 2ae44c13b6 - '0' tkltime in spamfilter now really means 'perm', not '*line for
0 seconds' or something. Reported by Certus.
2004-02-23 22:20:02 +00:00
Bram Matthys a16533d0e9 - Improved dcc blocking support (both for spamfilter and deny dcc). 2004-02-23 17:28:07 +00:00
codemastr 1435dcb9fa Fixed a TKL update bug with sqlines 2004-02-22 22:30:59 +00:00
Bram Matthys 139e019e30 - Added some extra debugging for tkl update notice...
- Fixed a problem in 'tkl update': lowest expire time won instead of
  highest. Reported by Malcolm.
2004-02-22 22:14:00 +00:00
Bram Matthys a54752dd9e - Added a warning if your listen portrange affects >100 ports
(eg for idiots doing 6667-7000 which uses 333 sockets).
2004-02-22 20:43:59 +00:00
Bram Matthys 511ca1c3ec - Minor fix for previous.
- Improved 'viruschan' spamfilter target:
  - better msg after the forced join
  - +oaq's in set::spamfilter::virus-help-channel receive a notice about
    which filter the user matched.
  - it disables all commands except PONG, ADMIN, and msg/notices to
    set::spamfilter::virus-help-channel.
- Made snomask +S also show the spamfilter reason field.
- Added class::pingfreq checking, should be 30-600 now.. else you might
  get mysterious (mass) disconnect issues.
- Lol, I made /connect dissapear during modulizing ;).
2004-02-22 19:39:43 +00:00
Bram Matthys 8e0b0eb0fa in-between-commit 2004-02-22 19:34:44 +00:00
codemastr a09d36532e Moved qlines to TKL 2004-02-22 18:41:06 +00:00
Bram Matthys ce850c8317 really.. 2004-02-22 03:23:31 +00:00
Bram Matthys 86e58f58ba now? 2004-02-22 03:21:51 +00:00
Bram Matthys 9bd077b7cd no it's not fixed syz, CHAOS chaoooos 2004-02-22 03:20:06 +00:00
Bram Matthys d071464264 - Fixed a bug which prevented "/spamfilter del[..]" from working.
Reported by Fury (#0001575).
2004-02-22 03:08:43 +00:00
Bram Matthys 790a69a402 compile fixes 2004-02-22 02:56:28 +00:00
Bram Matthys 2a8252d0c0 - Modulized: connect... should be the last one till 3.2final.
- Fixed some compile warnings/problems caused by modulizing.
2004-02-22 02:53:07 +00:00
Bram Matthys 3f14551bc2 pjoink 2004-02-22 02:52:12 +00:00
Bram Matthys 346dc05818 - Modulized: svsfline, dccdeny, undccdeny, whowas 2004-02-22 02:40:13 +00:00
Bram Matthys 6ca03d0922 win compile fix 2004-02-22 02:02:05 +00:00
Bram Matthys f47d14342c winfix 2004-02-22 01:59:50 +00:00
Bram Matthys 7b3fe6a13d - Modulized: server, stats 2004-02-22 01:57:47 +00:00
Bram Matthys 01143520c6 made it compile on win32 again 2004-02-22 00:33:54 +00:00
Bram Matthys 5afdd3139f removed m_eos... win compile fun 2004-02-22 00:31:12 +00:00
Bram Matthys 1612b284be GRRR 2004-02-22 00:28:30 +00:00
Bram Matthys efa91d73b4 removed wallops 2004-02-22 00:25:15 +00:00
Bram Matthys 809b19743e - Modulized: netinfo, links, help, rules, close, map, eos and made it compile on win32 again. 2004-02-22 00:21:58 +00:00
Bram Matthys f997b16918 - Modulized: addline, addmotd, addomotd, wallops, globops, locops, chatops,
admin, trace.
- Removed: gnotice, goper
2004-02-21 23:40:58 +00:00
Bram Matthys 8ebf5b9a18 - Updated docs on tempshun and new spamfilter features. 2004-02-21 15:50:15 +00:00
Bram Matthys bbda4bcc6b - Added /tempshun, temporary shuns the current session of specified nick
(just like the 'tempshun' in spamfilter and ban version). Suggested by
  Cnils (#0001526). [docs/help.conf will be updated later]
2004-02-21 04:24:21 +00:00
codemastr 6016b57f1d ... 2004-02-21 01:10:58 +00:00
codemastr f8a13c22b2 Remote include fixes for Windows 2004-02-21 00:52:54 +00:00
Bram Matthys 81a1431665 - Fixed a bug in 'Flood from unknown connection' (#0001566). 2004-02-20 23:47:07 +00:00
Bram Matthys 648d73556c spamfilter improvements
- Fixed a few wrong macro's (ircstrdup/ircfree) in s_conf.c causing
  very weird behavior... This also fixes a bug where set::spamfilter::ban-reason
  would have the value of ban-time.
- Improved spamfilter again.
  - The new syntax is:
    /spamfilter [what] [type] [action] [tkltime] [reason] [regex]
    [tkltime] specifies the duration of any *lines placed by this rule.
    [reason] specifies the *line, kill and/or block reason.. no spaces
    allowed, but '_' will be escaped to a space.
    In both cases you can simply use '-' to skip and use the default.
    Ex: /spamfilter add p block - - Come watch me on my webcam
        /spamfilter add p gline 3h Please_go_to_www.viruscan.xx/
        nicepage/virus=blah Come watch me on my webcam
  - A message is now shown if the msg/notice/dcc is blocked.
  - There are 2 new spamfilter action types:
    'dccblock' will mark the user so (s)he's unable to send any files by DCC.
    'viruschan' will part the user from all channels and join
     set::spamfilter::virus-help-channel (default: #help).
     this action might be improved to do more later.
  - Internal: added EXTTKL PROTOCTL, this determinates if 10 parameters
    instead of 8 are supported for m_tkl (used by spamfilter add).
  This new system needs some testing... :)
2004-02-20 23:28:57 +00:00
codemastr 389c51c212 Fixed a problem with setting +qaohv on a +S user 2004-02-20 04:16:53 +00:00
codemastr fc4649781c Remote include fix to deal with memory corruption bug 2004-02-20 03:51:01 +00:00
codemastr 110bc140c6 Made PATH_MAX get found under Solaris 2004-02-19 23:11:38 +00:00
codemastr 05030fa603 Fixed allow::options::noident 2004-02-19 00:16:26 +00:00
codemastr 1d9301b73a Fixed a VHP problem causing SETHOST to be sent before NICK or not at all 2004-02-18 22:30:45 +00:00
Bram Matthys 145bf5dc1d - Fixed a bug in the unreal_checkregex() routine which could cause a crash
if you added an invalid regex. Reported by Tony (#0001556).
or... 'freeing a buffer on the stack is not exactly good!' ;)
2004-02-18 00:27:30 +00:00
Bram Matthys 8992874efa - Added support for single-target specifiction like spamfilter { regex "blah";
action kill; target private; }; previously it didn't warn/error on this
  but it didn't work either.
2004-02-17 21:09:56 +00:00
Bram Matthys 4769908543 - Added some set::throttle::* checking if insane values were supplied.
Reported by Troco (#0001555).
2004-02-17 20:47:43 +00:00
stskeeps 9cfc83d98d Changes 2004-02-17 20:45:03 +00:00
Bram Matthys d6e0d8ba0e - Module coders: for extended channelmodes the EXCHK_ACCESS* the return
value should now be one of EX_*:
  EX_DENY        : disallowed, except for oper override
  EX_ALLOW       : allowed
  EX_ALWAYS_DENY : disallowed, even in case of operoverride (eg for
                   operlevel modes like +A).
  Note that it's backward compatible since TRUE/EX_ALLOW=1 and FALSE/EX_DENY=0.
- Fixed a few bugs with oper override & extended chanmodes, for example
  chanmode +T could not be set by a globop w/can_override and non-+hoaq.
2004-02-17 20:37:26 +00:00
codemastr 6696331f66 Slightly changed extcmodes access control 2004-02-17 01:15:16 +00:00
Bram Matthys 9c8a1047f4 more more more! 2004-02-17 00:52:24 +00:00
Bram Matthys 4ab6fe18e4 abc! 2004-02-17 00:47:21 +00:00
Bram Matthys bb936d21f6 pjoink 2004-02-17 00:46:31 +00:00
codemastr 6648072334 Modulized knock, umode2, squit, protoctl 2004-02-17 00:40:42 +00:00
Bram Matthys f775b3cf91 sjoin, pass, userhost, ison, silence modulized... 2004-02-17 00:20:24 +00:00
codemastr a306586071 ... 2004-02-16 23:20:24 +00:00
codemastr 38adc8e08a Modulized time and svskill 2004-02-16 23:17:13 +00:00
codemastr ee54d529b2 Added HOOKTYPE_REHASH_COMPLETE 2004-02-16 23:03:42 +00:00
Bram Matthys 376fecbf18 TYPO 2004-02-16 22:21:10 +00:00
Bram Matthys 3e9ea217fb boink 2004-02-16 22:18:51 +00:00
Bram Matthys 01c5b99faa - Added [OLD?] flag in /module so you can easily spot old beta* modules.
- Modulized: samode, sajoin, sapart, kick, topic, invite, list
2004-02-16 22:10:39 +00:00
codemastr 1fd40599ce Fixed an ircsprintf problem with SJB64 2004-02-16 22:06:37 +00:00
codemastr 1f7a1dfb2b Docs typo fix 2004-02-16 16:58:10 +00:00
Bram Matthys 8789c6860a HMM!!! 2004-02-16 15:11:00 +00:00
stskeeps 43cc8b4875 Renamed HOOKTYPE_LOCAL_TOPIC to HOOKTYPE_TOPIC and made it actually work. 2004-02-16 10:58:44 +00:00
stskeeps f33bfea7b2 - Added HOOKTYPE_UMODE_CHANGE (sptr, oldflags, newflags) - this may
not be accurate as umode changes are done manually many places.
2004-02-16 10:03:32 +00:00
codemastr 794ce094a4 Removed reference to svstime in help.conf 2004-02-16 04:59:33 +00:00
Bram Matthys 3c9f54fb45 - Fixed a bug in "unkickable users" (umode +q), they could still be kicked
by non-netadmin ircops in some (many) cases, reported by Zell (#0001541).
note: this fix is still "wrong", because the whole override/whatever
system is flawed ;p.
2004-02-15 16:14:16 +00:00
codemastr f8a2359f62 Fixed a tmp/ bug on Linux 2.2 and updated /Credits 2004-02-15 05:06:59 +00:00
Bram Matthys da86427258 *** RC1 release *** 2004-02-14 19:48:12 +00:00
Bram Matthys 46ed9c2ef7 pjoink! 2004-02-14 19:26:43 +00:00
codemastr 36673fe643 Changed version to RC1 2004-02-14 19:16:09 +00:00
Bram Matthys 476e2ce72b - Fixed fdlist bug/warning if a local operator /oper'd up twice. Reported by DukePyrolator (#0001539). 2004-02-14 17:09:33 +00:00
Bram Matthys 28174f6e44 this should be it.. hopefully... 2004-02-14 16:37:52 +00:00
Bram Matthys cc91e5fde3 - Ouch!! Fixed a severe bug which caused opers not being recognized on remote
servers causing various problems... This was caused by a change 1-2 days ago.
  Reported by Rocko (#0001537).
2004-02-13 20:49:43 +00:00
codemastr b8c0185563 setup.h.in cleanups 2004-02-13 04:52:07 +00:00
codemastr 865ac6f8a5 Added a new Donation file 2004-02-12 23:03:41 +00:00
Bram Matthys f7bc069ef7 typo :p 2004-02-12 01:23:28 +00:00
Bram Matthys f1be169364 - We are having fun with Makefiles... 2004-02-12 01:17:33 +00:00
Bram Matthys 1d9168e957 - Added 80% of release notes, rest will be added a day before release or so :). 2004-02-12 00:25:32 +00:00
codemastr 0a1822a628 Added m_svssno 2004-02-12 00:19:10 +00:00
codemastr a607cc8b19 Added svssno/svs2sno 2004-02-11 23:04:36 +00:00
codemastr 8e55a798fa Made mknod deal with umask settings 2004-02-11 03:51:47 +00:00
codemastr 176ce7b047 Removed remote restart 2004-02-11 03:47:59 +00:00
codemastr e4dddbe7c0 Fixed a problem with config loading and module errors 2004-02-11 03:44:31 +00:00
Bram Matthys 3f4eb6ab46 - Started using the umode->allowed stuff a bit ourselves, just to be sure. 2004-02-10 23:28:43 +00:00
Bram Matthys 0bc26457b1 - Fixed a snomask bug reported by Cat / HERZ (#0001531). 2004-02-10 15:51:21 +00:00
Bram Matthys f916c64422 - Added a section "Security tips/checklist" to unreal32docs.html, this is something
I worked on a few months ago... It tries to explain how to get a server/network
  secured, what the potential risks are, etc... Of course security is a complex topic
  so I cannot talk about everything in it, but I tried to mention the main risks and
  what you can do about it in a (hopefully) simple and understandable language ;).
2004-02-10 01:21:26 +00:00
Bram Matthys bfa00c8626 - Fixed minor compile warning. 2004-02-07 22:51:13 +00:00
Bram Matthys ebbeddf969 - Forgot to add src/modules/m_sendsno.c to CVS, also fixed 2 compile warnings
and a crashbug related to previous commit.. bug hunting will continue ;).
2004-02-07 17:05:44 +00:00
Bram Matthys 3671a765cb this should be the last "big commit" before release :p.
- Added snomasks 'S' (Spamfilter) which notifies you of any spamfilter matches.
- [internal] always return after spamfilter match, don't continue looping trough
  targets list (eg in case of: /msg #a,#b,#c spamspam), otherwise you would get
  duplicate notification msgs.
- Added SENDSNO server command, similar to SENDUMODE but for snomasks, this is
  used by the spamfilter snomask (+S) so you get network-wide notifications.
- Added "compiled for.." versioning system, this way a beta17 module can't be loaded
  on beta18, etc... People often forgot to recompile their modules or had old ones
  somewhere by mistake, therefore crashing after upgrades... this should fix this
  (in the future). Module coders don't have to do anything for making this work,
  it's done automatically (via modules.h).
2004-02-07 15:49:37 +00:00
Bram Matthys a29dc83e69 - Ripped out fast (bad)words support out of spamfilter to avoid confusion, also renamed
spamfilter::word to spamfilter::regex to make it even more clear (since we match
  on the whole line and have nothing to do with words.. 'word' doesn't make sense).
- Updated docs with some better regex examples, reported by AngryWolf (#0001520).
2004-02-06 21:37:28 +00:00
codemastr 45c557f0ec Made -qaohv on +S require +N 2004-02-05 22:58:24 +00:00
Bram Matthys 4d2de582f1 doc updates on snomask N 2004-02-05 19:52:55 +00:00
Bram Matthys e52cf2119a - [internal] cleaned up snomask removal after deoper, now remove_oper_snomasks() is
called which might look a bit ugly, but is better than before (scattered on 3 places).
- Added snomasks 'N' which allows you to see nick changes of clients on other servers,
  requested by several people (#0001323).
2004-02-05 19:47:37 +00:00
Bram Matthys 1d12b2b0f9 - Made blocked dcc notices (sent to umode +v) global, suggested by neothematrix (#1513). 2004-02-05 02:12:01 +00:00
Bram Matthys 781cce98cb - '/rehash -all' had bugs and is now considered depricated, just use '/rehash' instead.
On '/rehash' we reload everything already so the '-all' option was useless anyway.
  Reported by fez (#0001516).
2004-02-05 01:52:09 +00:00
Bram Matthys d4723ee2e2 - Added can_dccdeny operflag so you can give your local/global opers access to this too.
Co-admin, admin, sadmin and netadmin get it by default. Suggested in #0001247.
- Updated operflag docs.
2004-02-05 01:34:59 +00:00
Bram Matthys 43b5886b7e - Limited 'All Connections in Use' message to max 1 every 15s, this DOES NOT mean we will
introduce throttling of other msgs (or making this configurable)... this is just
  an exception because this msg is sent to _all opers_ and you cannot disable it by
  unsetting certain snomasks. Anything lower than 15s would be bad anyway since this
  is a very serious error condition. Requested by LoVeR (#0001412).
2004-02-05 00:50:40 +00:00
Bram Matthys d7967cc004 - Modified 404 numeric a bit (#0001515).
- Fixed 'no server notice on /restart or /die', reported by Lx (#0001062). This was caused
  by a bug in flush_connections(&me), hopefully there won't be any side effects.
- Fixed file owner problems when IRC_UID/IRC_GID is used (eg: when running chrooted).
- Fixed crashbug if we were unable to write a remote include file to disk.
2004-02-04 23:11:02 +00:00
codemastr 425a4e57ee Fixed a remote include cached file bug 2004-02-04 01:58:48 +00:00
Bram Matthys 7b4ef15606 - Fixed invalid nameserver info when chrooted (nameserver was always localhost). 2004-02-03 22:42:27 +00:00
Bram Matthys a65906bc5e - Fixed issue when 2 servers link with identical user@host *:lines but with different
expire times, reason field, etc... Entries are now fully synced between servers.
  Reported by Cnils (#0001448).
- Added umode +T to help.conf
- Fixed an issue with add/del/remove in /spamfilter being case sensitive.
2004-02-03 21:13:02 +00:00
codemastr 165da0c5bd Some setuid/setgid and chroot changes and sajoin changes 2004-02-03 19:02:53 +00:00
Bram Matthys 094acdf25c - Cosmetic 'stats /zip' output change (#0001435).
- Made services admins able to see on which channel services bots are, just
  like a netadmins can, suggested by EviL_SmUrF (#0001481).
2004-02-01 19:52:47 +00:00
Bram Matthys 96925ef9b4 - Fixed possible compile bug (caused by HOOKTYPE_TKL_EXCEPT). 2004-01-31 21:05:41 +00:00
Bram Matthys 5d4e4339ff - Added HOOKTYPE_TKL_EXCEPT (arg: cptr, tkline) which is called from find_tkline_match
and find_tkline_match_zap. This can be used to add custom TKL exceptions.
2004-01-30 21:48:41 +00:00
codemastr 4ce745ca37 SSL fix and added can_setq 2004-01-30 21:13:32 +00:00
codemastr 66700cf631 Prevent multiple spaces in a MODE message 2004-01-30 00:50:42 +00:00
codemastr 0d70cd81d7 Fixed a problem with the snprintf checking code 2004-01-29 22:57:20 +00:00
codemastr 10aa5e9978 Made ./Config remember libcurl directory 2004-01-29 22:38:40 +00:00
Bram Matthys 3821d5c558 - Fixed '/SetHost Error' flood from all servers in some circumstances like re-opering, reported by blotter45 (#0001400). 2004-01-29 16:58:05 +00:00
Bram Matthys 6ef85abc6f - updated /stats help and docs on '/stats f' 2004-01-29 16:50:02 +00:00
Bram Matthys be83c94c68 - added set::spamfilter::* to docs 2004-01-28 00:57:43 +00:00
Bram Matthys 8f4dd07074 - win32 compile fix (typo) 2004-01-28 00:24:57 +00:00
Bram Matthys d2c6bb5ad5 spamfilter etc... *pray* 2004-01-28 00:16:33 +00:00
codemastr bd5b7ee6b8 Fixed a bug with HOOKTYPE_CONFIGTEST with perm modules 2004-01-27 00:25:03 +00:00
Bram Matthys 3aef23eecf added HOOKTYPE_REMOTE_CHANMODE 2004-01-22 22:47:19 +00:00
Bram Matthys a68898df22 - Changed NOSPOOF msg in ./Config a bit since this can also be effective against
"blind proxies" (like HTTP POST proxies).
- WebTV updates: made it so (user generated) channel notices are now displayed as
  privmsgs in the channel. Also made the /knock channelnotice a privmsg for webtv.
2004-01-22 22:03:04 +00:00
Bram Matthys 7c4418113b - Changed random number generator to use arc4random-alike routines so we can get "secure"
random numbers. We will also no longer be using rand()/random() anywhere.
  Thanks to dek\ for pointing out this is potentionally dangerous, especially on
  win32 with NOSPOOF enabled.
2004-01-19 19:49:28 +00:00
codemastr dc11242795 Made the configure script not add -I or -L for /usr/include and /usr/lib 2004-01-18 21:58:01 +00:00
codemastr de40c73a20 Updated /module docs 2004-01-18 21:41:41 +00:00
codemastr 560af0ec1b Added set::silence-limit 2004-01-18 20:27:38 +00:00
codemastr 80dc3a80bc Updated /stats docs 2004-01-17 20:56:20 +00:00
codemastr 3185d8c23b Added HOOKTYPE_PRE_LOCAL_QUIT 2004-01-17 20:37:52 +00:00
codemastr c07e1f96e1 Renamed FAKE_LAG_FOR_LOCOPS and made chanops override chmode +V 2004-01-17 20:13:48 +00:00
codemastr e406e0d99a Added EXBCHK_PARAM and some noew logging flags 2004-01-17 19:30:46 +00:00
codemastr f6ed927791 Made permanent modules receive HOOKTYPE_REHASH 2004-01-17 19:01:25 +00:00
codemastr e7c7909d66 Various minor changes 2004-01-17 18:38:40 +00:00
Bram Matthys 3980a7f7f6 - internal: Ok, I'm committing this in parts... did most of the TKL spamfilter
integration now, no.. it doesn't work at all yet but most of the internal stuff
  has now been done (but I temporarely need to work on other things now).
   moved/added a lot of regex stuff, banaction/spamfilter helper functions, etc
  into s_misc.c. [note: current code has some bugs but since the stuff isn't
  used that's no problem... it's also a bit ugly, do NOT mail me about these things ;p]
- Enabled talk-trough-+M for opers (just like +m)
- Disabled talk-trough-+m/+M for opers if NO_OPEROVERRIDE is defined
- Display zlib/SSL version in /version (oper only)... will prolly be improved later.
- updated doc/compiling_win32.txt
2004-01-16 21:40:18 +00:00
codemastr cfa469a940 Doc change 2004-01-11 21:36:57 +00:00
codemastr cbf7f33bf1 /who fixes 2004-01-11 21:01:53 +00:00
codemastr 58d2882fb5 Fixed a /kick bug 2004-01-11 15:38:24 +00:00
codemastr 11877f5270 Various fixes 2004-01-10 16:33:26 +00:00
codemastr ccd8318cd4 Extban fixes 2004-01-10 05:53:36 +00:00
codemastr aeff467a36 Made extbans use the module objects system 2004-01-09 00:56:15 +00:00
codemastr 5ce3fcc1e3 Fixes for TRE under win32 2004-01-08 19:00:44 +00:00
codemastr 973ac25a4a Made CmodeAdd return MODERR_EXISTS if the mode already exists 2004-01-08 16:51:29 +00:00
codemastr 1da0b9a540 Bug fixes and EXTBAN 005 token 2004-01-08 16:39:35 +00:00
codemastr 759be00efe Fixed a compile bug regarding TRE 2004-01-07 00:28:46 +00:00
codemastr 3dd67bf248 Integrated TRE into Unreal 2004-01-04 20:12:31 +00:00
codemastr ce14fdec61 Added TRE compiling 2004-01-04 19:11:50 +00:00
codemastr ab919886b5 More work on TRE 2004-01-03 17:43:29 +00:00
codemastr 57dcbd80f7 Operoverride fixes 2004-01-03 05:01:00 +00:00
codemastr decc5ba107 Remove FLAGS_TS8 stuff 2004-01-03 01:23:08 +00:00
codemastr d274d493fd ... 2004-01-02 23:12:27 +00:00
codemastr 43070cde48 More TRE stuff 2004-01-02 21:15:35 +00:00
codemastr 5de605d767 Made the TRE library get compiled 2004-01-02 20:30:41 +00:00
codemastr be84de8bde Updated the TRE library source to 0.6.4 2004-01-02 20:14:15 +00:00
codemastr 7c0620eae8 Updated the win32 TRE lib to 0.6.4 2004-01-02 20:04:35 +00:00
codemastr 1ff17b798e Updated the TRE library source code to 0.6.3 2004-01-02 04:32:35 +00:00
Bram Matthys 56cb95f189 - internal: Modified TKL system (getting ready for anti-spam system):
Instead of 1 big list of *lines, it's now an array to easily distinct between types.
  Also made tk->usermask static (USERLEN+2) instead of dynamic.
  These changes should give enough speed improvement to make the new anti-spam/anti-ads
  feature fast enough.
2004-01-01 22:53:50 +00:00
codemastr 081056522e More remote include fixes 2003-12-31 21:24:23 +00:00
Bram Matthys 0e0015a77a - Added some additional warnings for insane large values for allow::maxperip, and class::* stuff. Reported by Erik_Rana (#0001463). 2003-12-31 17:22:10 +00:00
codemastr 042ce07691 Various remote include fixes 2003-12-30 18:45:40 +00:00
codemastr 829a3c8a1f Made remote includes work with SSL protocols 2003-12-26 00:51:25 +00:00
codemastr 3be92d0201 added configure checks for libcurl and other various changes 2003-12-26 00:29:36 +00:00
codemastr f8e916d356 Fixed a bug with unloading modules on Mod_Load failuer 2003-12-23 22:28:42 +00:00
codemastr 084d57cef1 Updated TRE dll and fixed a MAX_PATH problem 2003-12-23 01:47:02 +00:00
codemastr 99d1b1e0d1 Made it possible to use remote includes in win32 2003-12-23 00:25:04 +00:00
codemastr 5daa253210 Added join_channel 2003-12-21 20:22:50 +00:00
Bram Matthys 41f81b2643 - internal: changed is_banned() again: cptr,sptr -> sptr (dropped cptr). It was too
confusing (and thus causing bad code/bugs) and was never used anyway.
2003-12-21 15:10:13 +00:00
Bram Matthys 93e187f4a3 - As expected, fixed a crashbug in extended bans system. Reported by Rocko (#0001444). 2003-12-21 14:48:48 +00:00
codemastr da3afb3420 Made the extban stuff compatible with the module API 2003-12-20 21:21:10 +00:00
Bram Matthys 240f7fbd04 minor fix 2003-12-19 23:50:11 +00:00
Bram Matthys 6ad735364f - Updated win32 makefile... 2003-12-19 23:43:25 +00:00
Bram Matthys 426fbd9663 - Added "extended bans". An idea from SorceryNet ircd.
These bans look like ~<type>:<stuff>. Currently the following bans are available:
  ~q: quiet bans (ex: ~q:*!*@blah.blah.com). People matching these bans can join
      but are unable to speak, unless they have +v or higher.
  ~c: channel bans (ex: ~c:#idiots). People in #idiots are unable to join the channel.
  ~r: gecos (realname) bans (ex: ~r:*Stupid_bot_script*). If the realname of a user
      matches this then (s)he is unable to join.
      NOTE: an underscore ('_') matches both a space (' ') and an underscore ('_'),
            so this ban would match 'Stupid bot script v1.4'.

  These bantypes can also be used in the channel exception list (+e).
  +e ~r:*w00t* makes anyone with 'w00t' in their realname able to join,
  and +e ~c:#admin makes anyone in #admin able to join, etc..

  This system allows modules to add extended bantypes too.

  This feature requires some additional testing, also the module interface will
  probably be changed in the next few weeks, and perhaps more extended bans will
  be added before next release.. we'll see...
2003-12-19 23:39:30 +00:00
codemastr cd5567a02a Merged the win32 makefiles into one file 2003-12-19 20:18:37 +00:00
codemastr 3439f9f02b Added include/url.h 2003-12-17 19:19:10 +00:00
codemastr f8486ab94b Added a patch to make hide-ulines apply to /who, /whois and /whowas 2003-12-17 03:24:47 +00:00
codemastr af289c8687 Various fixes and changes 2003-12-16 19:39:38 +00:00
codemastr 53f0297b8c Started some work on the remote include system 2003-12-14 04:49:46 +00:00
Bram Matthys 105dd3c092 - Added set::static-part: similar to static-quit, default 'no' (static-part disabled).
If set to 'yes' or '1' it will strip all part comments,
  if set to something else it will use that as a part comment.
- Partial cleanup of m_part (hopefully I didn't destroy anything).
- Minor stats compile warning fixed
2003-12-11 21:27:33 +00:00
Bram Matthys 6c4e63656b - Made it compile at windows again 2003-12-10 03:28:40 +00:00
Bram Matthys c3d09408e9 - Added error checking/error messages to new module reloading system, to catch errors like
insufficient hd space, permission denied, etc..
2003-12-10 03:16:16 +00:00
Bram Matthys cb6b67e586 - Made "chanop notices" only go to @#chan on non-prefixaq servers (and to ~&@#chan otherwise),
internal: added ugly macro CHANOPPFX which is "~&@" if prefix_aq, else "@".
2003-12-10 02:28:12 +00:00
codemastr f2a2fa77c8 New module rehash system fixes 2003-12-07 04:58:39 +00:00
codemastr 3a5a4947f0 Made it so modules can be reloaded (new image) on /rehash 2003-12-06 01:09:32 +00:00
Bram Matthys 5a6e957a9d docs.. 2003-12-06 00:27:59 +00:00
Bram Matthys 5a48671691 - Added channelmode +T: no notices allowed in channel. 2003-12-05 22:43:48 +00:00
Bram Matthys 6d497a9ae6 - '/rehash <server>' didn't reload motds&rules files, reported by w00t (#0001409). 2003-12-05 14:55:11 +00:00
Bram Matthys 5cec9564f6 kine-address to kline-address 2003-11-30 23:25:46 +00:00
Bram Matthys b537553d2e - example.conf: added +i in modes-on-connect.
- Temporarely added fdlist debugcode, please report any bugreports it gives,
  it would especially be helpful if you know _what_ triggered the error :).
2003-11-30 23:17:33 +00:00
codemastr b27e04b7a1 Fixed a bug with SVSNLINE - 2003-11-30 00:48:37 +00:00
Bram Matthys 1f0e883094 documented E version flag... 2003-11-26 19:57:43 +00:00
codemastr 5eafc5a1bc Fixed a problem with the rehashflag hook 2003-11-26 19:52:13 +00:00
codemastr 957e72dd98 Added HOOKTYPE_PRE_LOCAL_PART 2003-11-26 19:51:02 +00:00
codemastr abef160bce Changed the callback for HOOKTYPE_REHASHFLAG 2003-11-24 21:28:46 +00:00
Bram Matthys 7571387422 - A last-minute fix, lalala... 2003-11-24 15:32:02 +00:00
Bram Matthys 039a9753cd - A last-minute fix, omg... 2003-11-24 15:04:48 +00:00
Bram Matthys e43e1e1799 got everything ready for sts to tag :p 2003-11-23 17:33:57 +00:00
Bram Matthys 364c4a879c - Changed version to beta19 2003-11-22 23:52:01 +00:00
Bram Matthys 9eedf89ea5 typo, gr! 2003-11-21 20:43:52 +00:00
Bram Matthys 044d01e1d7 - Added stuff that will easy the transition to extended bans next release.
- Added beta19 release notes
- Made USE_ZIP the default again in src/win32/unrealinst.iss
2003-11-21 20:30:53 +00:00
Bram Matthys 948b4e61ad - Added comment regarding MLOCK and set::restrict-chanmodes in unreal32docs.html.
- Made PREFIX_AQ a ./Config question at *NIX and enabled it by default at Win32.
2003-11-21 15:13:45 +00:00
Bram Matthys fd5579dbde - Fixed a compile problem on alpha, reported by Hyperi (#0001374).
- Made "operator count bug" not notice all opers (log only), unless in debugmode.
2003-11-20 19:33:03 +00:00
Bram Matthys 3897fa417b - Made OperOverride work for chanmode +Q (#0001370).
- A few example.conf changes.
2003-11-20 17:28:40 +00:00
Bram Matthys b462450293 - Made /rehash reread botmotd and opermotd (#0001291). 2003-11-20 02:22:01 +00:00
Bram Matthys dee0370ced - Fixed remote BOTMOTD bug reported by Angrywolf (#0001365).
- Workaround for "special ban makes it impossible to add other bans" bug
  reported by wilkie, SerialKillinNinja, etc.
2003-11-20 01:37:42 +00:00
Bram Matthys 37a93b5502 - Added oper::maxlogins which allows you to limit the number of concurrent session
with the same oper block. Suggested by kain.
- Made /dns oper-only (the ircd command, not your client /dns command :p).
- Various help.conf fixes. Reported by nukie (#0001373).
2003-11-19 23:41:34 +00:00
Bram Matthys eacfd5eb5c - Fixed a snomask issue reported by Magnet (#0001354). 2003-11-11 23:22:53 +00:00
Bram Matthys dc73bd3a2d - Made win32 work again (broke it by /module patch 35 minutes ago). 2003-11-11 20:20:23 +00:00
Bram Matthys d6fd665ede - Multiple /module changes (the command):
- Normal users can now get a list, versioninfo will be hidden however.
  - Opers get some additional details like hooks and commandoverride's.
  - Opers can use /module <servername> to get a remote list of loaded modules.
  - Added flag [3RD] to show it's a 3rd party module
  This was requested by by quite some people because serveradmins started to load
  "spy modules" without clearly mentioning it in the MOTD (which is highly unethical
  and in some countries even illegal due to privacy law). Also the remote module
  list was requested by quite a few opers.
  Sure, this isn't a 100% guarantee but at least if someone goes hiding stuff
  then it's clear what their intentions are (and thus will be refused support, ..).
- Changed emailaddr in help window at windows to unreal-users mailinglist.
- Made the cloak mismatch msg during linking a bit more scary.
- Added comment to 'Install as a service' option in installer to help n00bs a bit.
2003-11-11 19:45:09 +00:00
Bram Matthys 58f0749fa3 - Fixed desynch bug regarding extended channelmodes. Reported by AngryWolf (#0001347) 2003-11-09 02:52:43 +00:00
Bram Matthys 9d33644df1 - Fix for permanent modules w/ config hooks (they were not called). 2003-11-06 17:34:46 +00:00
codemastr 17104a0d9e Removed references to tkline/tzline from help.conf 2003-11-05 23:47:02 +00:00
Bram Matthys b4f5788c8f - (Internal) Moved most valid-host checking into 1 function, valid_host(),
which checks for invalid characters.
- Added hostname check for me::name since this could cause mysterious trouble.
2003-11-04 01:38:01 +00:00
Bram Matthys c3dd8d08d5 - Made it so chanmode +f flood detection doesn't apply to u-lined servers. This was
already indirectly the case because services don't support the EOS command, but
  now some (homemade) services do :p. Reported by Troco (#0001337).
2003-11-04 00:27:31 +00:00
Bram Matthys 448ad3839a - Fixed a UMODE2 bug. 2003-11-03 17:10:20 +00:00
Bram Matthys ae87101170 - Added insane OperOverride system for joining +z channels (#0001189).
This seems better than just allowing the insecure oper trough +z.
2003-11-03 01:06:23 +00:00
Bram Matthys 3b37b0927f - Fixed a bug where link::options::autoconnect wasn't working after rehash, ircd
had to be restarted to make it work. Will now try to connect on /rehash to
  servers with autoconnect enabled. Bug was reported by Rocko (#0001321).
2003-11-03 00:05:47 +00:00
Bram Matthys 1e162381ac - Fixed some other weird remote PING/PONG stuff as well. 2003-11-02 20:05:12 +00:00
Bram Matthys c25223913c - (Internal) Added __attribute__ format checking for most format string functions,
this will currently produce a lot of warnings with -Wall.
- Fixed 159 of 184 warnings detected by the above, the other warnings are false.
  Most warnings had to do with long vs int, and thus the format strings (%d->%ld)
  or the vars (int->long) have been changed (many of these were time_t/TS vs int).
  Only a few rare crashbugs were discovered.
- Module coders: for HOOKTYPE_LOCAL_CHANMODE the 'sendts' parameter was changed
  from type 'int' to 'time_t', while in most circumstances (like on ia32)
  you won't notice, I suggest you to update your callback functions anyway.
- Possibly fixed an issue with set::modes-on-join and mode +f, it could have
  set random remove-chanmode times in the default chanmode line.
2003-11-02 02:58:11 +00:00
Bram Matthys e52956fd77 - Don't allow remote pongs if unregistered. 2003-11-01 13:58:44 +00:00
Bram Matthys 79bc20a994 - Minor doc updates regarding snomasks reported by Stoebi (#0001324).
- Fixed two OperOverride kick bugs:
  - If ircop is +h and victim is +h it would deny it, reported by Special (#0001308)
  - Ircops (all except netadmin) had trouble kicking +q people, if the ircop isn't
    op'ed he can kick them, but if he has +o he can't. Reported by Michi (#0001012).
  If you use mixed unreal versions you can get desynch problems if you use those
  fixed things (like kick a +h if you are +h) because older servers will still block
  the kick. You will receive a 'You cannot kick channel' message from every older
  server so you'll at least be notified ;p.
2003-10-31 19:08:47 +00:00
stskeeps 5a32b8dc7e foo 2003-10-31 17:13:34 +00:00
stskeeps ba0dd97653 foo 2003-10-31 16:50:10 +00:00
Bram Matthys 2c00dd0546 added set::ban-version-tkl-time to /stats S and updated docs. 2003-10-30 21:38:45 +00:00
Bram Matthys 84d32b5378 - Fixed bug where color quits were stripped when they shouldn't be >:).
- Added 'action' field to ban version { } which can be: kill: kills the user (default),
  tempshun: shun the specific connection only, kline/zline/gline/gzline/shun: place
  a ban on *@IP. Time of those bans can be specified in set::ban-version-tkl-time.
  It's up to the admin to take a good decision, sometimes zlines are best (=won't use
  much sockets but will reconnect quite quickly), sometimes tempshun (=will use 1 socket
  but generates nearly no network traffic), sometimes klines/glines, etc..
2003-10-30 19:08:50 +00:00
Bram Matthys 5baebf692b - Moved it a bit too far (outside the loop), should be fixed now. 2003-10-28 18:47:05 +00:00
Bram Matthys 60f7aadf05 - Module coders: Moved call to HOOKTYPE_LOCAL_JOIN down to where the JOIN, NAMES, etc
are already sent... this seems to make more sense since we have a prejoin hook now.
2003-10-28 02:00:28 +00:00
Bram Matthys 9f4ce0d91d Added set::options::allow-part-if-shunned, is that name long enough? god.. 2003-10-27 00:44:41 +00:00
codemastr 4fcae4f1a1 Made DCC deny work with files with spaces 2003-10-26 20:39:47 +00:00
Bram Matthys 4264082420 - Fixed a bug regarding +f and bounce modes, would cause a crash, reported by Rocko. 2003-10-26 20:05:38 +00:00
Bram Matthys ff85a1f7b4 - Added HOOKTYPE_REMOTE_NICKCHANGE (called like: cptr, sptr, newnick). 2003-10-25 18:51:49 +00:00
Bram Matthys d64fb8dbab Multiple changes...
- Changed some useless stuff.
- Enabled EXTCMODE by default, I presume it's stable but can't promise anything.
- Module coders: changed 'allowed' callback function for umodes&snomasks,
  from 'aClient *sptr' to 'aClient *sptr, int what'.
  'what' will be MODE_ADD if trying to add and MODE_DEL if trying to remove.
2003-10-25 16:39:23 +00:00
Bram Matthys 2a469b1942 - Fixed a problem regarding module hooks, if a hook was called within a hook it could cause
problems (like pre connect hook -> exit_client -> quit hook).
2003-10-23 22:15:52 +00:00
Bram Matthys be86f0db32 - Fix for +L without +l desynch on serverlinking. 2003-10-23 17:30:32 +00:00
Bram Matthys ea7aca9a66 "typo"... not all *lines are glines :p 2003-10-19 20:11:33 +00:00
Bram Matthys 7efd5e8cda - Fixed gline with weird value causing a crash at windows, reported by Spectre (#0001309). 2003-10-19 20:03:23 +00:00
Bram Matthys ad9d0370fa Added remove-chanmode-after-X-minutes in +f & checks for /sethost&/chghost to same host.
- Added checks for /sethost&/chghost to same host.
- Added remove-chanmode-after-X-minutes in +f.
  The format is +f [30j#R5]:15, where 5 is the "do -R after 5 minutes". For a default
  action like +i you would have to do the same: +f [30j#i5]:15 (remove 'i' after 5 minutes).
  Additionally, 2 config items are added:
  - set::modef-default-unsettime, if this is set to for example '5' then things like
    +f [30j]:15 will be transormed into +f [30j#i5]:15. It's just a default, the user can still
    override it. By default this feature is not used.
  - set::modef-max-unsettime, specifies the maximum amount of time for the <time> parameter,
    by default this is set to 60 (=1 hour), the value should be between 0 and 255.
  I didn't do the extended tests I usually do but it seems stable, also the docs are updated
  but are probably updated again later to make it a bit more readable.
  Feel free to report any bugs as soon as you discover them.
  The only thing I could think of is: _usually_ only 1 server will have the -i/-R/.. timer
  running, so if that server splits (or even worse dies) it will only be -i/-R/.. at that server
  and when they sync back they merge chanmodes so +i/+R is set again.
  I don't consider this a huge problem but maybe it can be inconveniently, if people have
  a lot of trouble with this I'll have to consider a 50% recode of the +f system :/.
2003-10-18 18:44:54 +00:00
Bram Matthys 2b9f88c6d2 - Optimized send code re-enabled, I disabled it 6h ago due a bug-triggering-a-bug (see next).
- Fixed a PING bug resulting in 'trying to send .. to myself' msg.
- Some spelling corrections in unreal32docs.html.
2003-10-14 19:43:07 +00:00
Bram Matthys e02aab8d41 temporarely rollback... have some crashbug somewhere. 2003-10-14 14:01:07 +00:00
Bram Matthys b189e632c9 - Now it would be even better if it actually compiles... 2003-10-14 04:26:27 +00:00
Bram Matthys 3ef5ae6a80 - Yet another code audit:
- (Just for the record, this audit has nothing to do with the ircnet buffer overflow,
     unrealircd is not vulnerable)
  - Various fixes
  - Visual bug regarding +f & server synching, it was sometimes setting mode +f multiple
    times depending on the ban-/userlist.
  - Fixed a possible desynch regarding chmode +L.
  - Fixed possible client confusion regarding bans.
2003-10-13 17:56:49 +00:00
codemastr f3f2390615 Added umode +T (no ctcp) 2003-10-04 20:13:10 +00:00
codemastr 0e22126286 Added the ability to limit /who replies 2003-10-03 23:36:39 +00:00
Bram Matthys 5a65bcac20 blah... useless change. 2003-10-03 20:01:15 +00:00
Bram Matthys 8359ab9c76 - Fixed even more negative oper count bugs... 2003-10-03 19:52:12 +00:00
codemastr 97402c11a6 Fixed a negative oper count bug in SVSNOOP 2003-10-02 22:32:53 +00:00
codemastr 573dc68378 Documentation fixes 2003-09-28 21:08:52 +00:00
codemastr 59d73bf18c Added a command override system for modules 2003-09-28 19:43:15 +00:00
Bram Matthys 7d95c02ed1 - Minor botmotd-on-mode+B fix (was causing some useless servertraffic). 2003-09-28 02:06:03 +00:00
codemastr db445c0faf Sped up the message searching functions 2003-09-27 00:29:24 +00:00
codemastr 6612642d47 ... 2003-09-24 00:15:34 +00:00
codemastr 55ce8f9356 fixed a problem with tre.dll 2003-09-24 00:06:00 +00:00
Bram Matthys b0705fb7c5 - Changed version to 'beta18' 2003-09-21 22:19:38 +00:00
codemastr 3e4cfea3da Updated modules to use the new macros 2003-09-21 19:59:50 +00:00
Bram Matthys 7646a3735c - Minor doc update. 2003-09-21 18:09:14 +00:00
cknight 138923af18 Added ref link to section 4.9 from section 4.34 2003-09-21 18:04:54 +00:00
cknight 6b5adc7fe8 Updated .CHANGES.NEW to read Beta18 2003-09-21 17:23:54 +00:00
cknight b1338a1b41 Very Very small change to doc/example.conf 2003-09-21 16:46:25 +00:00
Bram Matthys 1b719f393f - Fixed hunt_server* bug 2003-09-21 16:40:54 +00:00
Bram Matthys 59a417e369 - Fixed a win32 resolver lockup bug 2003-09-21 14:31:17 +00:00
codemastr d803c716d6 Added some macros for modules 2003-09-20 23:39:45 +00:00
codemastr d051786f5c Channel hook changes 2003-09-20 19:57:46 +00:00
Bram Matthys 729689a4cd - Fix for HOOKTYPE_REMOTE_QUIT (was called for local quits too) 2003-09-20 14:47:47 +00:00
codemastr af2834d5e9 Added HOOKTYPE_REHASHFLAG 2003-09-20 00:20:36 +00:00
Bram Matthys 7aa7ea31b8 - Added beta18 release notes (might be changed) 2003-09-19 23:00:38 +00:00
codemastr b72b10d5ae TRE 2003-09-19 21:24:47 +00:00
Bram Matthys a316e4af6f - Added HOOKTYPE_REMOTE_QUIT 2003-09-18 23:41:32 +00:00
Bram Matthys 2d4f52665c - Added HOOKTYPE_LOCAL_PASS and HOOKTYPE_REMOTE_CONNECT 2003-09-18 01:31:10 +00:00
Bram Matthys d722051fb6 - Added set::default-bantime. It allows you to set the default time for a gline/kline/gzline/shun/etc when the time is not not specified (like with /gline *@*.stupid.net). 2003-09-18 00:08:48 +00:00
Bram Matthys 36392a485e +f regarding -R/-M blalbalba docs etc, grr commit plz! 2003-09-15 19:25:24 +00:00
codemastr 4ec62271c8 Made the win32 version use libtre for regex instead of GNU regex 2003-09-14 23:35:33 +00:00
codemastr 142f037fd2 Linux PPC fix 2003-09-14 16:43:02 +00:00
Bram Matthys 3c96db4e4d - Added HOOKTYPE_UNKUSER_QUIT (disconnects of unregistered clients). 2003-09-14 16:17:38 +00:00
codemastr 192556763f Fixed a win32 resolver bug 2003-09-12 21:33:11 +00:00
Bram Matthys 04f934d04c - Finished some of the extcmode code (memleaks). 2003-09-12 01:58:11 +00:00
Bram Matthys b63c1d2399 - Added checks for ipv4 listen lines on ipv6 compile. 2003-09-12 00:05:55 +00:00
Bram Matthys 7e2ca393ad - Minor +f code tweaks. 2003-09-11 19:33:20 +00:00
Bram Matthys 8f5fcc1704 - Fix-for-fix-for-+mu-fix (it was still crashing)... don't ask. 2003-09-08 00:29:02 +00:00
Bram Matthys 217c9ee30d there was no newline at end :p 2003-09-07 23:17:28 +00:00
Bram Matthys 6057b5749a - Fixed a SVSMOTD crashbug (removing of motd). 2003-09-07 22:55:15 +00:00
Bram Matthys 9e23c67a61 - Fixed Q:lined nickname msgs during linking and a debug fix. 2003-09-07 21:05:42 +00:00
Bram Matthys 632e0cbf88 - Improved SSL error msg sent to junk snomask. 2003-09-07 18:14:19 +00:00
codemastr d0a632a7b1 Fixed a typo 2003-09-07 16:07:41 +00:00
Bram Matthys 6237ee2239 - Fixed a crashbug introduced by +mu fixes 3 days ago (#0001237). 2003-09-07 15:50:11 +00:00
Bram Matthys da6eceef41 - Added official-channels block. These channels are listed in /list even if they have 0 users. 2003-09-06 23:16:18 +00:00
Bram Matthys 06cdd686de - Added clientsonly/serversonly/ssl/java flags to /stats P (#0000992). 2003-09-06 19:46:43 +00:00
Bram Matthys 7aa1ff0f78 - Added warn option to deny channel, this will send a notice to the eyes snomask when a user attempts to join. Suggested by Joolz (#0000992). 2003-09-06 19:27:37 +00:00
Bram Matthys 1eabf58160 Made it so that with +M and user not +r and not voice/halfop/ops/etc the part message isn't shown, just like with +m. 2003-09-06 00:39:07 +00:00
Bram Matthys e42336433c - Temporarely added trace code for hunting down negative operator counts (#0001155). 2003-09-05 23:06:17 +00:00
Bram Matthys 8899e0b366 - Will now strip/block color codes in quits if any channel the user is in has mode +S/+c. 2003-09-05 22:19:09 +00:00
Bram Matthys 4975d04299 - Badwords filtering is now only done for local clients, previously every server was filtering the message. This will reduce CPU usage, especially at hubs (#0001022). 2003-09-05 21:53:19 +00:00
Bram Matthys 4128d32eab - Fixed a chroot bug, reported by iceblade (#0001112). 2003-09-05 21:13:36 +00:00
Bram Matthys 153a3eea53 blah 2003-09-05 21:00:25 +00:00
Bram Matthys 8bfcc56c9e - Fixed an old bug where allow::hostname localhost (or *@localhost) didn't work (#0001115). 2003-09-05 20:38:52 +00:00
Bram Matthys 0475c6b874 - Fixed a /rehash crash regarding badword all & regex badwords, reported by Angrywolf (#0001230). 2003-09-05 20:11:48 +00:00
Bram Matthys 5c1225fc71 - Doc fixes/updates reported by Angrywolf (#0001163, #0001176). 2003-09-05 19:56:46 +00:00
Bram Matthys fb1ad02810 - Fixed a double OperOverride notice bug reported by DukePyrolator (#0001180). 2003-09-05 19:39:05 +00:00
Bram Matthys 49f5e68768 - Made anti away flood system work just like anti nick flood (#0001205). NO_FLOOD_AWAY is now enabled and away-flood is set to 4 per 120s by default. 2003-09-04 23:20:52 +00:00
Bram Matthys bc5a744312 - And another +f + modes-on-join one... 2003-09-04 20:33:20 +00:00
Bram Matthys 09178f3a0c - Fixed a crashbug with +f and services, reported by Rocko (#0001227). 2003-09-04 20:04:49 +00:00
Bram Matthys c9f03422e7 - Fixed a bug in +f + modes-on-join + 't' subfloodtype, reported by Rocko (#0001228). 2003-09-04 19:22:33 +00:00
Bram Matthys b140156778 - Probably fixed a bug regarding 'setting mode' notice with +f (was sometimes sent to non-chanops).
- Fixed multiple chmode +u bugs: remote join, netjoin, +mu relay between servers, kick and
  a part bug. Most of them reported by Lx (#0001097).
2003-09-04 19:04:43 +00:00
Bram Matthys aee400a104 extra +f action support: c#m c#M j#R m#M 2003-09-01 15:33:33 +00:00
Bram Matthys 8c5246bc25 - Fixed problem with opers having both 'admin' and 'coadmin' causing double-notices (#0001043). 2003-08-31 21:11:13 +00:00
Bram Matthys 7efe268c3b - Made SSL users unable to -z themselves, also added 2 flags to /stats S, reported by Joolz (#0001200). 2003-08-31 20:52:37 +00:00
Bram Matthys 331d10b5a4 - Fixed bug regarding hidden opers + m_whois cleanup (#0001208). 2003-08-31 20:04:00 +00:00
Bram Matthys 51b15e583c - Fixed minor config parser memleak reported by AngryWolf (#0001214). 2003-08-31 18:36:01 +00:00
Bram Matthys dc1a5a3e04 - Fixed a channel sync bug reported by thilo&Rocko (#0001218). 2003-08-31 18:10:16 +00:00
Bram Matthys 372814470f - Fixed ~5 compiler warnings at *NIX and ~20 at windows. Some of them _could_ have caused problems. // - Moved EOS debugging code to DEBUGMODE. 2003-08-31 00:36:31 +00:00
Bram Matthys 2f38c277f0 major channelmode +f change... oh-oh... I really hope this works ok :p 2003-08-30 20:23:49 +00:00
codemastr 09377cf3a0 Module system error reporting support 2003-08-24 19:41:51 +00:00
codemastr 23cdfb4597 ... 2003-08-24 15:53:22 +00:00
codemastr e741087ce4 extcmode changes 2003-08-24 00:56:31 +00:00
codemastr a450522052 *nix resolver for Windows 2003-08-21 16:11:08 +00:00
Bram Matthys bf156f47b6 - Allow opers to talk in channel even if +m (#0001109). 2003-08-17 19:39:30 +00:00
Bram Matthys e484db317d Allow o/a/q'd users to nickchange if banned (#0001150), Added badword all { }, config.h cleanup
==
- Allow o/a/q'd users to nickchange if banned (#0001150).
- Added badword all { }, this will add the badword to the badword channel, badword message
  and badword quit lists... could be useful :p.
- Little config.h cleanup (removed obsolete non-working defines).
2003-08-17 01:28:04 +00:00
Bram Matthys da18f18fa3 Minor oob read; someone forgot a parameter in sendto_one ;p 2003-08-17 00:05:38 +00:00
Bram Matthys 7f9841b01d Internal code cleanups, changed away flood configthing, added nickflood protection
===
- Internal code cleanups: EOS var rename, got rid of old UnknownUser structs, moved
  anti away flood to new flood struct.
- Changed away flood configuration to set::anti-flood::away-flood <count>:<period>.
- Added nickflood protection, can be set in set::anti-flood::away-flood <count>:<period>
  to allow max 'count' nickchanges per 'period' seconds. The default is 3 per 60s.
  As usual, the nickchange limiting does not apply to ircops.
2003-08-16 22:49:51 +00:00
Bram Matthys fe63f8476a - Fixed minor /WALLOPS bug reported by Praetorian_ (#0001195). 2003-08-16 16:11:52 +00:00
Bram Matthys 57f337a738 *just commit da crap* 2003-08-16 15:56:50 +00:00
Bram Matthys 1681fce504 multiple changes...
- Updated example.conf with a more strict default oper-only-stats.
- Made '/stats S' and '/stats Z' oper only again (always).
- Hopefully fixed incoming/outgoing rate in /stats T. Only the stats of the first
  listener was counted instead of the total. This also explains why on some (many?)
  ircd configurations it always showed 0.00 kb/s and why HTM (high traffic mode)
  was never kicking in.
2003-08-10 20:53:09 +00:00
codemastr 61fed28198 ... 2003-08-06 23:55:34 +00:00
codemastr 392fad7d3a Fixed a stats l/L bug 2003-08-06 23:55:13 +00:00
Bram Matthys 64eb8a9aa5 - A few documentation updates/fixes
- 005 CHANMODES= set back to original value before extcmode merge
- made some functions in channel.c non-static so module coders
  can use them (they are not defined in the header files [yet] however).
- fixed 2 minor oob write issues
2003-08-04 21:38:33 +00:00
codemastr c5643f70c3 Fixed a +k/+L bug with using the same parameter 2003-08-04 21:32:30 +00:00
codemastr f2ee326b4c ... 2003-08-04 20:54:51 +00:00
codemastr 73469bfea0 ... 2003-08-04 20:43:18 +00:00
codemastr 06b63be683 Added ModuleGetOptions and ModuleSetOptions 2003-08-04 20:40:32 +00:00
codemastr 78e9f881db Fixed a snomask and umode bug 2003-08-04 18:02:51 +00:00
codemastr 4db7542ee1 Recoded the usermode module system 2003-08-03 23:30:12 +00:00
codemastr c8bfc594cd Fixed a /stats bug 2003-08-03 18:05:49 +00:00
codemastr 4ac2e2ce6b /stats fixes 2003-08-03 00:00:56 +00:00
Bram Matthys 3eb5f121ef - stats bugfixes: a null pointer crash and a '/stats k' bug. 2003-08-02 00:00:21 +00:00
codemastr 83c2567d34 ... 2003-08-01 19:43:08 +00:00
codemastr 161e62ccc0 Added a new stats system 2003-08-01 19:13:46 +00:00
codemastr 313aa1e26c Fixed a problem with Sleep 2003-08-01 16:53:21 +00:00
Bram Matthys 6f2d85fbb6 - Fixed bug in /silence regarding cloaked hosts, reported by kuwatog (#0001157). 2003-07-31 16:37:25 +00:00
Bram Matthys 89ddc95c72 - minor m_kick tweak. [could help us in the future] 2003-07-29 19:13:36 +00:00
Bram Matthys 81035a2c3e - Fixed bug with SWHOIS: oper::swhois wasn't broadcasted correctly which made it only show up in local (or server) /whois, reported by format (#0001141). 2003-07-29 18:52:28 +00:00
Bram Matthys 41a0896d6d - First big part of modulized extended channelmodes system 2003-07-29 17:07:17 +00:00
Bram Matthys ded7f11727 - Some minor text/documentation fixes. 2003-07-28 15:43:30 +00:00
Bram Matthys b73de3c497 - Will now error at too large cloak keys (2147483647 and greater) because it's dangerous
and could cause cloak key differences (ex: mixed ia32&ia64 networks).
2003-07-22 17:01:58 +00:00
codemastr 6e45d6ccd3 Fixed a PPC problem 2003-07-18 22:02:14 +00:00
codemastr 4bda94acf3 Crontab fixes 2003-07-16 21:13:25 +00:00
codemastr 550ec43931 Documentation updates 2003-07-15 19:08:44 +00:00
codemastr 523c2fe815 Fixed a +b/+e bug 2003-07-15 18:31:53 +00:00
codemastr ecc53cc37a Fixed numerous logging bugs 2003-07-15 18:21:53 +00:00
codemastr d6f59a90c7 Various fixes/cleanups 2003-07-15 14:52:44 +00:00
codemastr 5732a799bd Made unreal work under Linux PPC 2003-07-15 14:35:46 +00:00
codemastr 51462f5ee1 ... 2003-07-14 22:23:32 +00:00
stskeeps f3f3703273 - Fixed ircd.c compile error discovered by Ravage 2003-07-14 15:33:43 +00:00
codemastr 822db16d91 Cleaned up some /die code under Window 2003-07-13 19:39:37 +00:00
codemastr 9df80388a7 various bug fixes and updates 2003-07-13 16:43:26 +00:00
Bram Matthys f574385475 - Fixed problem with make custommodule and multiple EXLIBS arguments (EXLIBS="-la -lb -lc"). 2003-07-07 18:27:47 +00:00
Bram Matthys 460a61a6d6 - Fixed ban version crash and another read-after-free. 2003-07-06 22:13:01 +00:00
codemastr 5ac4bae7ef Added a system to allow modules to create snomasks 2003-07-01 19:22:24 +00:00
codemastr d2187a72e1 Added a find text feature to the win32 editor 2003-06-26 15:15:27 +00:00
codemastr eed7f9c62d Made the win32 editor maximizable 2003-06-25 20:43:11 +00:00
codemastr 71c691ed0b Added a goto button on the win32 editor toolbar 2003-06-25 16:08:42 +00:00
codemastr 2d0e78cb02 Win32 editor changes 2003-06-25 00:27:06 +00:00
Bram Matthys 7a82d28b19 - Updated docs a bit (how-to-get-support/FAQ link style). 2003-06-22 21:49:04 +00:00
Bram Matthys f6cd86a00a added readme and fdlist bounds checking. 2003-06-22 21:33:50 +00:00
codemastr 9c713f7aa7 Added set::channel-command-prefix 2003-06-22 17:12:39 +00:00
Bram Matthys 507559b6be - IPv6: added warning if a ::ffff:a.b.c.d type addr doesn't work since this "feature" is disabled by default at newer *BSD versions. Also improved another warning. 2003-06-22 00:23:45 +00:00
codemastr b7c02898fe Fixed some SVSMODE/SVS2MODE bugs 2003-06-19 14:44:44 +00:00
Bram Matthys b4dbc4dc72 - Fixed bug with /list and '?' wildcard, reported by maGGus. 2003-06-18 23:32:36 +00:00
Bram Matthys 909bc03521 ./update will now refer user to the docs on upgrade instructions. 2003-06-16 19:24:58 +00:00
cvs2hg 1d04e380a2 fixup commit for tag 'unreal3_2_beta17' 2003-06-15 17:01:50 +00:00
codemastr 31f2e23e30 temporarily disabled TRE 2003-06-15 17:01:49 +00:00
codemastr 4535a0d008 Minor crontab fix and docs update 2003-06-15 16:52:04 +00:00
Bram Matthys 0c56bf9ad2 lalala 2003-06-15 16:17:34 +00:00
Bram Matthys d927eef7dd blah 2003-06-15 14:16:41 +00:00
stskeeps 5b8ca94431 *** Unreal3.2-beta17 release *** (god save us) 2003-06-15 09:10:02 +00:00
Bram Matthys 953d70ba28 - Fixed PRIVMSG bug with multiple targets. 2003-06-14 20:31:26 +00:00
codemastr 153b7c284a Added an experimental (disabled by default) prefix system for +a and +q 2003-06-14 00:05:26 +00:00
codemastr 9661a1a713 Made ./Config setup TRE 2003-06-13 15:11:57 +00:00
codemastr 41c3d206c5 Added the TRE regex library 2003-06-08 19:55:48 +00:00
codemastr c5489b186d Added some WebTV stuff 2003-06-04 22:50:48 +00:00
codemastr 40157a056b Added short motds 2003-06-03 22:38:46 +00:00
codemastr 3af1172dce Recoded some resolver mutex stuff 2003-06-01 19:18:57 +00:00
codemastr d478ad75c2 Fixed a win32 resolver bug 2003-06-01 19:05:03 +00:00
Bram Matthys 50911f28e9 - Minor oob fix for parse_v4_netmask 2003-06-01 19:00:48 +00:00
Bram Matthys 00f857ae99 - Resolver fix nr #1 (prolly not "the real problem"). 2003-06-01 18:49:46 +00:00
codemastr a6d33b3841 Win32 editor fix 2003-05-31 19:26:41 +00:00
Bram Matthys f7d2e7a972 - Fixed _some_ gcc3.3 + -Wall warnings. 2003-05-31 02:12:44 +00:00
Bram Matthys bb53b0be8c - Fixed some MOTD problems: remote MOTD gone after rehash (#0001007) and motd time, etc... 2003-05-31 01:28:14 +00:00
codemastr 88af97045e Changed /whois 'secret channel' flag to '?' 2003-05-30 21:02:15 +00:00
codemastr 825ee732bf ./Config fixes for Solaris 2003-05-30 20:31:07 +00:00
Bram Matthys b3576b29db - Removed "Duplicate user entry in SJOIN" notice because the problem has been traced down. 2003-05-29 19:23:12 +00:00
Bram Matthys cf91b1d89a - Doc updates 2003-05-29 14:35:33 +00:00
Bram Matthys 2cc542f427 added some helpop/docs stuff stating username in /oper is case sensitive. 2003-05-28 22:44:11 +00:00
Bram Matthys fce9f6463a multiple patches:
- Module coders: new hooks: part, kick, chanmode, topic. changed: quit (added 'comment' param).
- Enlarged REPORT_* vars a bit.
- IPv6: UnrealIRCd can now lookup ip6.arpa addresses too (original IRCnet patch modified for
  UnrealIRCd by Onliner).
2003-05-27 22:38:17 +00:00
codemastr 11b0c97e85 Changed some wording in TKL 2003-05-23 17:31:35 +00:00
Bram Matthys 187ef2996d - Fixed bug in HOOKTYPE_LOCAL_JOIN which could cause 0-member-channels if a hook returned 1 and the channel was new. 2003-05-22 18:52:11 +00:00
luke 83bf47452d Fixed /map 2003-05-21 14:21:40 +00:00
codemastr 0d33d9a412 Fixed a win32 editor bug 2003-05-20 18:43:57 +00:00
Bram Matthys 2dc82a43cc - Probably fixed server-notices bug (duplicates, to non-opers) caused by a few SVS* cmds, reported by _loco_ (#0000991). 2003-05-20 17:57:25 +00:00
codemastr a4a447e788 Made /whois slightly faster 2003-05-19 20:39:39 +00:00
codemastr d7efc09cef Removed a reference to pthreads 2003-05-18 17:30:56 +00:00
codemastr 225a84e300 Removed TSP 2003-05-18 17:27:51 +00:00
Bram Matthys 33b1fb5d41 set::options::mkpasswd-for-everyone + Added error messages if not oper for: sdesc, mkpasswd, htm, rping, opermotd 2003-05-17 17:52:24 +00:00
Bram Matthys 96720abeda - Fixed regex detection problem (introduced by a change 2 days ago). <- i added that () comment so ppl don't think it was in beta16 ;p 2003-05-17 15:48:57 +00:00
codemastr 23248c91e6 Changed who flag & to ? 2003-05-16 20:01:22 +00:00
Bram Matthys 83d19d60e4 - Updated src/win32/unrealinst.iss a bit 2003-05-15 18:52:53 +00:00
codemastr 730c302c72 Made regex use extended regexps, and fixed a Sun compile problem 2003-05-15 18:40:08 +00:00
codemastr 2c3eb0339c Solaris compile fix, and deny channel::redirect 2003-05-14 22:34:44 +00:00
stskeeps 878a0f899b - Check in autoconf for MacOS X that will make compiling and running on it
to work
2003-05-13 12:35:52 +00:00
stskeeps 9e70767b8d little fix 2003-05-13 09:50:08 +00:00
stskeeps 7ea0e34f85 - Committed little de-Fizzer module to extras/ 2003-05-13 09:12:59 +00:00
codemastr 7589b92df7 Fixed an SVSMOTD bug 2003-05-12 19:14:03 +00:00
Bram Matthys 99dbe995c0 - Code cleanup (sys_errlist[]) 2003-05-12 18:45:21 +00:00
Bram Matthys 9d377150a1 forgot to change date!!!~~~ 2003-05-11 22:52:28 +00:00
codemastr 2e03a27b15 Fixed a bug in del_throttling_bucket 2003-05-11 21:38:30 +00:00
codemastr 847a2f4944 Resolver changes 2003-05-11 21:33:30 +00:00
Bram Matthys 374a7d5950 Added set::ident::connect-timeout and set::ident::read-timeout, updated example.conf: added throttle block. 2003-05-11 21:08:13 +00:00
Bram Matthys b780fc9347 - Updated flags in /version (and greeting), added 'Z' for zip links support, updated tech doc. 2003-05-11 19:12:57 +00:00
Bram Matthys fb5ea7d873 channelmode +f fix /// IPv6: Fixed unable-to-resolve-bug if both a A/AAAA record and NS/MX/etc records were present 2003-05-11 16:26:58 +00:00
Bram Matthys 0e4a8945e6 - And another minor +L fix. 2003-05-10 23:19:51 +00:00
Bram Matthys 4e74bbac1e - Code cleanup/merge m_join/channel_link: fixed multiple channelmode +L problems. 2003-05-10 21:56:31 +00:00
codemastr 370acc2abe Made it so it is no longer necessary for modules to copy the ModuleInfo structure 2003-05-10 18:53:50 +00:00
Bram Matthys f0a5ab1310 - Moved /stats zip from NOTICE to RPL_TEXT, updated stats documentation. 2003-05-10 00:27:29 +00:00
Bram Matthys dc3f546925 - Fixed numeric checking... someone was really drunk when he coded this "if ((l < 0) && (l > 254))" ;p. 2003-05-09 23:44:11 +00:00
Bram Matthys f46494f02f /WHO code cleanup + partial recode + bugfixes /// Updated example.conf about U-lines since many people set them wrong. 2003-05-09 20:02:20 +00:00
stskeeps c7366d942f Added CASEMAPPING=ascii as per request 2003-05-09 08:29:41 +00:00
Bram Matthys e0a4cf5100 - Misc /whois and webtv whois fixes 2003-05-09 00:41:25 +00:00
Bram Matthys 66d64a62c5 Fixed minor ban_version undeflow, no risk.
No risk coz a 0 len can only happen by a "\1version :" and in that case the -1'th char would be ':'... ;p.
2003-05-08 23:43:55 +00:00
codemastr f3e2f1c524 NETINFO * for cloak-keys 2003-05-08 23:32:38 +00:00
codemastr 012ba4da76 made ban version {} also listen to CTCP SCRIPT 2003-05-08 19:09:31 +00:00
codemastr a9f06266b7 Made the command loop slightly faster 2003-05-08 17:43:31 +00:00
codemastr ed7a06f1e5 Renamed channel mode +a to 'channel admin' 2003-05-08 17:37:25 +00:00
Bram Matthys 54f35ce6a5 added include "help.conf" to example.conf, not worht mentioning in Changes ;p 2003-05-08 02:12:04 +00:00
codemastr 740e86e4b9 Added a CommandExists function 2003-05-06 22:26:48 +00:00
Bram Matthys c6be4ee44f - Removed some leftover TECHAT references (#0000953). 2003-05-06 21:55:21 +00:00
Bram Matthys 906f4dd0b7 - Little find_client() audit. 2003-05-06 18:42:52 +00:00
Bram Matthys eb6b8f89bb - Fixed ripemd-160 vs ripemd160 confusion, reported by thelight (#0000949). 2003-05-06 03:48:17 +00:00
Bram Matthys 1557bab74a - Fixed a local /kill bug during connection phase, reported by Gilou (#0000952). 2003-05-06 00:18:02 +00:00
codemastr 114cec45b1 New version flag system 2003-05-04 21:30:38 +00:00
codemastr 69f0e97c9e Fixed a SVSMODE bug 2003-05-04 18:50:24 +00:00
codemastr c7de811b78 Fixed an operoverride bug with +aq 2003-05-04 17:37:25 +00:00
Bram Matthys 337d05a43d - Fixed unprecise RPING output at windoze, reported by pak (#0000945). + useless code cleanups 2003-05-04 16:44:40 +00:00
Bram Matthys 0a74098238 Fixed a badword::action block bug with regex. 2003-05-04 14:10:13 +00:00
Bram Matthys 0c0faa05af - Removed some leftover +I code (can_stealth/^). 2003-05-03 22:28:31 +00:00
Bram Matthys d1fc8bff14 - Fixed "make install" error caused by bugreport file removal. 2003-05-03 22:00:51 +00:00
codemastr 8d6e18d086 Fixed a /topic operoverride bug and vhost::vhost verification added 2003-05-03 18:18:07 +00:00
cvs2hg 95762dff6d fixup commit for tag 'unreal3_2_beta16' 2003-05-03 15:37:06 +00:00
stskeeps 526cd8ba65 beta16 release 2003-05-03 15:37:05 +00:00
stskeeps 5023f55bc9 fooo 2003-05-02 15:55:39 +00:00
stskeeps ae68ad4994 blah 2003-05-02 15:54:28 +00:00
stskeeps d20f17fa8b Removed credits.potential 2003-05-02 15:44:04 +00:00
stskeeps f637e456d7 - Removed some more html files. 2003-05-02 15:40:53 +00:00
Bram Matthys 88cc0b6d96 BOPM windoze URL 2003-05-02 00:45:22 +00:00
Bram Matthys e91c2a8eed - Made SVSNOOP work. Reported by Lx (#0000933). [not dangerous to fix ;P] 2003-05-01 19:52:06 +00:00
Bram Matthys 09f74a9b11 Added warning if set::scan exists with a nice BOPM url etc. 2003-05-01 19:44:11 +00:00
Bram Matthys e244c24a26 release notes, moved REMOVED thing to top... will save us a few users screaming for help... 2003-05-01 19:29:54 +00:00
Bram Matthys 9f4d4e674e docs, module hook, blablabla. 2003-05-01 19:23:00 +00:00
stskeeps 40f4bb7e6c - Mm, let's see what this checkin brings:
* Removed thread questions from Config, and autoconf code from
    configure.in, leaving in the old macros though, but inactive
    --enable-standardthreads is dead as of now
  * Undefined HOOKTYPE_SCAN_INFO
  * Removed CONF_EXCEPT_SCAN
  * Removed locking in events, Lock/UnlockEventSystem still active for other
    possible uses.
  * Removed scanners, web server module
  * Removed except scan {}
  * Removed SCAN_API stuff from l_commands.c, win32 makefiles, etc
  * Removed basically any mentions of threads in source tree, excepting
    threads.h which Resolver uses on win32
  * Documentation changes not done yet
2003-05-01 18:31:58 +00:00
codemastr e385747451 Removed +I reference from help.conf 2003-04-29 22:28:15 +00:00
Bram Matthys 68a589daf5 Updated docs on +p 2003-04-29 18:45:57 +00:00
codemastr 0bdb6a2e78 Docs updates 2003-04-28 17:26:04 +00:00
codemastr b4e8b60973 release preparations 2003-04-27 21:40:22 +00:00
Bram Matthys ebc9d6242f - Preparing beta16: release notes ready, version updated in docs/text (except version.h). 2003-04-27 18:57:04 +00:00
Bram Matthys 9f1c81541d - Usermode +q can now be set by services admins, as stated in docs (#0000923). 2003-04-27 15:00:27 +00:00
Bram Matthys 59b1217a94 w00t ;P 2003-04-27 14:26:32 +00:00
codemastr d35810e819 Fixed a bug with ban version {} 2003-04-26 23:31:56 +00:00
codemastr a6f56a6121 ... 2003-04-26 18:52:29 +00:00
codemastr 69ac5a529b Allow Ulines to use a TS in the past for topics 2003-04-26 18:49:54 +00:00
codemastr a25630a958 module umode changes 2003-04-26 16:37:14 +00:00
Bram Matthys 31978ef74f Friendly IPv6 msg.. 2003-04-24 14:58:07 +00:00
Bram Matthys eed1a83d78 - Some documentation improvements regarding link::hostname. 2003-04-24 14:20:42 +00:00
Bram Matthys 9a56a16ee2 - Added link::options::nohostcheck which makes Unreal not to validate the incomming host/IP against the link::host field, usefull for dynamic DNS hosts. 2003-04-24 14:09:38 +00:00
Bram Matthys 8aefa6cdce - Fixed minor badwords /rehash memleak. 2003-04-24 02:13:28 +00:00
Bram Matthys d202cc0868 - Some code cleanups (s_conf.c, now has a config_setdefaultsettings()). 2003-04-24 01:42:16 +00:00
Bram Matthys 2d0abfa787 - Enabled throttling support by default, you need to have a (correct) set::throttle block to make it work, otherwise it's just turned off. 2003-04-24 01:21:52 +00:00
Bram Matthys fbabd2bd1e Additional SJOIN debug info in case of fishy timestamp 2003-04-20 20:34:09 +00:00
Bram Matthys 4a679b34c4 - Fixed usermode +S: was accidently a local usermode (#0000909) 2003-04-20 20:22:33 +00:00
Bram Matthys 01c8f8bdc7 - Added IP bans like *!*@194.109.* (#0000474). 2003-04-19 20:48:52 +00:00
Bram Matthys 4b066b3347 - Fixed far connect (+s +F): connects from U-lined servers are now hidden again. 2003-04-19 20:25:29 +00:00
Bram Matthys 3c5e7ff5e7 - Fixed a PRIVMSG channelprefix bug reported by aragon (#0000902) 2003-04-18 15:30:35 +00:00
Bram Matthys a63eee5ee9 I won the fight... 2003-04-17 18:13:01 +00:00
Bram Matthys 201c0e39bc Fix-for-fix (debug stuff), sendto... real... opers... 2003-04-17 18:01:55 +00:00
Bram Matthys 9691748a7e - Added some temporarely SQLINE debugging/trace code 2003-04-17 16:58:38 +00:00
Bram Matthys f13b9b539e - Fixed a compile error with openssl enabled at redhat 9. 2003-04-16 22:28:19 +00:00
codemastr d7f20fb507 Docs update 2003-04-16 19:28:39 +00:00
codemastr 8409ff6234 Fixed a bug where /nsg and /notice didn't use tokens for nick@server forms 2003-04-16 18:49:00 +00:00
codemastr f866ce40df Fixed a bug with reporting invalid set::dns directives 2003-04-16 18:12:32 +00:00
Bram Matthys 6ebcf46459 - Minor error msg improvements
- Fixed a bug with wrong hub/leaf settings ("non-hub introduced leaf") causing a crash (#0000732).
2003-04-16 17:05:00 +00:00
codemastr dd1364321a Fixed a ban version {} bug, added an aliases/anope.conf, and updated some docs 2003-04-15 21:56:24 +00:00
codemastr c2a4509d9c Made the channel be hidden from /who if you are +p 2003-04-13 23:46:04 +00:00
Bram Matthys 3c6ecbcbb2 - Fix for set::restrict-channelmodes (eating parameters). 2003-04-13 20:05:54 +00:00
codemastr bf0b2a98cd Docs update 2003-04-13 19:10:42 +00:00
Bram Matthys 3618b2a2fa - badword::action::block should now be ok 2003-04-13 19:04:46 +00:00
codemastr 8732330e38 Cleanups and /chgident fix 2003-04-13 18:10:56 +00:00
codemastr c8477ddb6a Made except ban override ban ip 2003-04-13 17:42:23 +00:00
codemastr a38c76dd44 ... 2003-04-13 17:13:01 +00:00
codemastr 7000658c42 Fixed some /stats b stuff and added badword::action 2003-04-13 16:51:08 +00:00
Bram Matthys e7672e9027 - Updated channelmode +f "algoritm", much better now. Reported by JimmyZ, Rocko, and others. 2003-04-13 16:39:40 +00:00
codemastr 87d89c721c Throttling fixes and changes 2003-04-13 00:43:04 +00:00
Bram Matthys 3ef30832cf Improved throttle hashing (both IPv4 and IPv6)... prime numbers are fun ;) 2003-04-12 21:46:58 +00:00
Bram Matthys 4c59392caa That's better... should be ok now ;). Not mentioning in Changes, no visual change. 2003-04-12 20:43:51 +00:00
Bram Matthys fa19910694 blah 2003-04-12 20:30:51 +00:00
Bram Matthys fca6689a19 fix-for-fix 2003-04-12 20:30:27 +00:00
Bram Matthys f473314312 - Improved IPv6 throttle hashing 2003-04-12 20:21:38 +00:00
codemastr 2c53187cad Fixed another throttling bug 2003-04-12 19:50:09 +00:00
Bram Matthys 7d88957dd6 Another code cleanup for -Wall.. added some functions to h.h etc. 2003-04-12 17:21:44 +00:00
Bram Matthys 406ba755d6 - code cleanup / misc minor bugfixes (MyMalloc, oper msgs) 2003-04-12 15:56:25 +00:00
codemastr 3a368be7e5 Fixed an SQLINE bug 2003-04-11 23:57:15 +00:00
codemastr 705c24399c docs update 2003-04-11 21:08:15 +00:00
Bram Matthys 3b56433320 - Added allow::options::ssl and allow::options::nopasscont, requested by iguy and Scytale. 2003-04-11 18:26:20 +00:00
Bram Matthys 498d82f5fe Added set::restrict-channelmodes and very minor speedup in restrict-usermodes handling. 2003-04-11 16:05:02 +00:00
Bram Matthys e21d4aceba - Fixed cloaking bug reported by Rocko (#0000869) 2003-04-11 14:29:35 +00:00
Bram Matthys fbd413549f blah 2003-04-11 02:30:26 +00:00
Bram Matthys 6f5683242a - Added tld::options::ssl so you can have different motd/rules files if the user is using SSL.
Also there's tld::options::remote but that's currently not used :P.
2003-04-11 02:19:29 +00:00
Bram Matthys 0778c391b6 Some useless BUFFERPOOL changes, only affects users manually running ./configure (do they exist? ;P)... 2003-04-11 00:57:48 +00:00
Bram Matthys f4c5418326 Let's be nice and give some thanks ;P. 2003-04-11 00:19:35 +00:00
Bram Matthys 8a4856fa8b Fixed MAJOR "messages are lost" caused by BUFFERPOOL being to low and bad return checking of dbuf_put.
If BUFFERPOOL dbuf_put would return -1, but at some places !dbuf_put was used,
I've changed it so it will return 0 (so use !dbuf_put now, don't use dbuf_put(...) < 0 :P).
I also added some nice warning thing. I couldn't send from the send routine because that's risky ;).
And...... I also doubled the default BUFFERPOOL, so if you leave everything the default then
BUFFERPOOL is now 52Mb instead of 26Mb, which should be ok for now.
2003-04-11 00:09:46 +00:00
codemastr d41d26a163 SQLINE/UNSQLINE and SVSNLINE fixes 2003-04-10 21:13:36 +00:00
Bram Matthys 7c9ba1feda - Added SSL quit error messages 2003-04-10 19:58:30 +00:00
Bram Matthys 49aa8d9921 - Changed throttling errormsg so mIRC recognizes it and waits a while. 2003-04-10 18:48:38 +00:00
Bram Matthys 152be25b08 - Fixed opermode bug which could cause the ircd to crash a while later (#0000823). 2003-04-10 17:59:17 +00:00
codemastr 27928952dd Possibly fixed an SSL crash 2003-04-08 23:49:01 +00:00
codemastr 318cd17c06 example.conf typo 2003-04-08 23:15:06 +00:00
codemastr f21a9758cf Fixed a bug with precedence in TKL 2003-04-07 21:46:47 +00:00
codemastr 6a990f2b05 Fixed a bug with ban version {} with NOSPOOF 2003-04-07 18:42:48 +00:00
Bram Matthys 5e95ab5595 - Fixed a fast badword replace crash (#0000834) reported by orga 2003-04-07 00:20:13 +00:00
codemastr b190794a4b Docs typo fix 2003-04-06 22:12:41 +00:00
Bram Matthys 94adac199e - Fixed yet another oob read in config parser (ie: #0000841).
Boring.. boring..
2003-04-05 22:37:20 +00:00
Bram Matthys 3348c84048 - Fixed 2 other oob reads in config parser (parsing of size and time). 2003-04-05 22:16:14 +00:00
Bram Matthys daf80ca716 - Fixed an oper bug with /names on a +s channel (#0000816). 2003-04-05 21:26:18 +00:00
Bram Matthys 629d0d59f7 - Fixed a set::modes-on-join bug and fixed an oob read in config parser.
(1st=someone forgot a bzero)
2003-04-05 21:16:21 +00:00
stskeeps c1dd98ece4 - Made throttling use DelListItem and fixed some confusing regarding
undeffing of THROTTLING
2003-04-01 12:25:59 +00:00
codemastr 4c23c4eeae Fixed some set::allow-userhost-change problems 2003-03-29 00:06:12 +00:00
codemastr 68fac1298d ... 2003-03-25 01:03:36 +00:00
codemastr 7424fa2904 Moved the 'missing user in SJOIN' notice to snomask +j 2003-03-24 17:36:27 +00:00
codemastr b71c11416a Away flood stopper patch 2003-03-24 01:07:57 +00:00
codemastr 8d950fbe2e ... 2003-03-23 20:22:08 +00:00
codemastr 21416a3a14 Added set::modes-on-join and fixed some docs typos 2003-03-23 17:27:04 +00:00
codemastr b6f456471e docs typo fix 2003-03-22 17:21:58 +00:00
codemastr f006ffe3c9 Added usermode +p 'hide channels in whois' 2003-03-21 21:43:38 +00:00
codemastr fe1dcfb6c2 Docs update 2003-03-21 17:23:55 +00:00
codemastr a2f68d0ae3 Docs updates 2003-03-21 00:49:08 +00:00
codemastr dc7564d5b8 Zip links fixes 2003-03-18 17:45:26 +00:00
codemastr df15fa62e1 Documentation update 2003-03-18 16:48:26 +00:00
codemastr ead651585e Rewrote the unknown connection flood system 2003-03-18 00:19:00 +00:00
codemastr 45a1b02ec2 Added ban version {} 2003-03-17 19:30:57 +00:00
codemastr 149a544fcf Fixed a bug where +x made hosts lowercase 2003-03-15 19:49:01 +00:00
codemastr e01932f2ba Added chmode +M to numeric 005 and a /restart and /die cleanup 2003-03-15 19:06:34 +00:00
Bram Matthys 631bf5823c - Fixed a restrict-usermodes bug reported by Rocko (#0000796)
Also some additional cleanups
2003-03-12 17:37:19 +00:00
Bram Matthys 1afff0c681 - Fixed compile error 2003-03-12 05:05:03 +00:00
codemastr 3e5953bfff Moved 'unknown connection flood' to snomask +f 2003-03-11 22:10:01 +00:00
Bram Matthys 0690d9bf2f - Fixed "proxyscan on quit" bug (#0000788) 2003-03-10 19:44:26 +00:00
codemastr 4ab745e0eb Updated some docs 2003-03-10 17:31:19 +00:00
codemastr 5250f5907e Added set::throttle::period 2003-03-10 17:09:51 +00:00
codemastr 6f78df5776 help.conf updates 2003-03-10 00:25:12 +00:00
Bram Matthys 3ff5f281a9 - Improved previous /version bugfix 2003-03-09 22:09:02 +00:00
Bram Matthys 9d6afdb321 - Improved fake lag stuff 2003-03-09 17:17:07 +00:00
Bram Matthys 9223dec1ee - Fixed a version bug. 2003-03-09 15:35:19 +00:00
Bram Matthys 45e2b69a07 - Fixed a match() bug
In case of a mask like '*\' it was trying to read out of bounds data.
2003-03-09 03:07:59 +00:00
Bram Matthys fa1f8c3d0f - Fixed a /who big which could make the server crash (oper only). 2003-03-08 20:53:15 +00:00
codemastr f5baa63cce Fixed a /list bug with +s channels and opers 2003-03-08 17:41:04 +00:00
stskeeps 853c27be84 bah 2003-03-07 14:47:30 +00:00
stskeeps 53f30bda07 - Fixed a buffer overflow that could be used against setuid setups,
found by rave@dtors.net, reported by kokanin
- Disabled CMDLINE_CONFIG(-f) by default
2003-03-07 14:37:26 +00:00
Bram Matthys 577125079e - Doc updates (SSL/stunnel example was wrong) 2003-03-04 21:08:47 +00:00
stskeeps 8ad07e6a5e h
:q
h
:q
2003-03-04 08:48:07 +00:00
stskeeps 849487df98 beta15 release 2003-03-03 18:37:55 +00:00
Bram Matthys 93a2477f3b - Fixed /setident bug 2003-03-02 23:13:33 +00:00
stskeeps 2271adf889 bah 2003-03-02 21:07:03 +00:00
Bram Matthys b231cf713d Improved story about SSL (links to xchat and stunnel, stunnel.conf example). 2003-03-02 02:17:06 +00:00
Bram Matthys 5957da083d Blah... layout
- bla
to
* bla
2003-03-01 23:10:27 +00:00
Bram Matthys dda16e5ef5 Integrated my unreal_beta15.txt into .RELEASE_NOTES, original release notes
still at end of the file. Most stuff about features has been integrated into
the documentation, so probably pretty much of it can be removed...
2003-03-01 23:08:13 +00:00
Bram Matthys 4d5987adee Documentation updates, and some replaces beta14->beta15 already (not yet
the version.h thing)
2003-03-01 21:33:41 +00:00
Bram Matthys d435c5becf - WebTV fixes 2003-02-28 14:40:11 +00:00
Bram Matthys a28a349eb2 - Documentation/text updates. 2003-02-28 01:00:36 +00:00
Bram Matthys def6483548 - Added SVSWATCH: allows U-lined server to modify the watch list of a user.
- Added SVSSILENCE: allows U-lined server to modify the silence list of a user.
2003-02-27 23:23:24 +00:00
Bram Matthys 06eaede3f2 - Added allow-userhost-change checks to /vhost.
Fixed Changes typo from me (forced-rejoin -> force-rejoin)
2003-02-27 18:41:26 +00:00
Bram Matthys 41e06cba28 - Made set::allow-userhost-change forced-rejoin work.
- Fixed chmode +u bug when chanop was parting but wasn't sent to normal users.
2003-02-27 17:13:04 +00:00
Bram Matthys b9ec2de0cb - Added feature that if the chan is +m AND +u (so both!) and you ban IRC!*@* then ops
will no longer see the "relayed" message from IRC.
2003-02-26 22:07:11 +00:00
Bram Matthys 60b77d4485 - Added EventMarkDel which marks an event for deletion for the (next) DoEvents() call.
- Fixed /rehash stall caused by delayed unloading of the scan module (deadlock).
2003-02-24 03:04:23 +00:00
codemastr 99ee86c9c9 NS cleanups 2003-02-23 21:47:56 +00:00
codemastr 931d78cd9b ... 2003-02-23 17:23:46 +00:00
Bram Matthys 28d355f649 - Code cleanup (gcc 3.2 warnings with -Wall).
Compile tests done: Linux, Linux SSL, Linux SSL+ZIP, Windows, Windows ZIP, Windows SSL+ZIP.
This might also have fixed some (or 1) bug(s) :P.
2003-02-23 03:41:39 +00:00
Bram Matthys 8fbb67818b - Added set::options::dont-resolve (=hostnames of incomming clients won't be resolved).
This is more usefull than the no nameserver + useip solution since with this no resolving
is done for incomming clients, but connecting to other servers (with hostnames) still works fine ;P.
2003-02-22 22:34:40 +00:00
Bram Matthys 4795a45150 - Fixed two ident bugs (multihomed&connect), both resulted in ident not working.
multihomed issue:
Instead of binding cptr->listener->ip it now uses getsockname(), otherwise it
won't work if you have a listen *:6667 thing + multihomed (it will connect for
example from 33.33.33.1 while the client connected to 33.33.33.5.
connect issue:
there was some kind of file descriptor race condition because of the way our
whole read_message() thing is coded... an ident socket might have been closed
+ a new might have been accepted... blablabla ;)
I wonder if anyone reads these CVS logs lol :).
2003-02-22 21:16:30 +00:00
codemastr 2a90309216 Added badword quit {} to replace CENSOR_QUIT 2003-02-22 19:41:00 +00:00
Bram Matthys 2cc2a89e5b Again. 2003-02-21 20:09:55 +00:00
Bram Matthys 76fd66d27f - Documentation updates (unreal32docs.html, example.conf).
Againnnnnn
2003-02-21 19:22:59 +00:00
Bram Matthys 64dab7821a - Fixed remote /rehash bug (#0000600). Actually rewrote 20/25% ;).
Also minor doc fixes, not worth mentioning in Changelog.
2003-02-21 02:44:48 +00:00
Bram Matthys 775378a410 - Documentation updates (added a section about features).
Also colour -> color ;P.
And... removed doc/Unreal31_to_32.html because it's no longer needed now
since I have integrated it in the features section / unreal32docs.html.
2003-02-20 23:51:25 +00:00
codemastr ca9a7a1e89 Fixed a TKL bug 2003-02-20 23:12:07 +00:00
Bram Matthys 2f10a46e1e - Fixed chmode +u again. 2003-02-19 16:02:29 +00:00
Bram Matthys 0d1e674fcf - Fixed win32 compile error 2003-02-19 02:59:50 +00:00
Bram Matthys aa44d4d728 - Updated win32 compile instructions
- Fixed set::dns error messages
2003-02-19 02:37:23 +00:00
Bram Matthys eb7333c874 - Added /who *.host.com support (ircop only), this was already possible via /who -h <host>
but most ppl expect it to work this way too.
2003-02-18 22:29:40 +00:00
Bram Matthys 4a7cef66dd - Fixed bug with channel mode +u: Quits/nick changes of other users were shown. 2003-02-18 18:59:37 +00:00
Bram Matthys 08eb667db8 - Fixed some case insensitive checks in configfile parsing, fixed to be case sensitive.
- Module changes: added two hooks: HOOKTYPE_USERMSG and HOOKTYPE_CHANMSG, changed umode_get.
The HOOKTYPE_USERMSG has been tested with a +D (deaf for private msgs except for opers)
module, the channel thing not yet...
added global/local mode flag to umode_get, or use umode_lget (local) / umode_gget (global) :P.
Blah.
2003-02-18 18:29:07 +00:00
Bram Matthys 7a4d7df866 - Fixed some case insensitive checks in configfile parsing, fixed to be case sensitive.
if someone used LoadModule instead of loadmodule no warning was shown. This issue is
known to cause negative psychological effects on some users.
2003-02-17 21:11:48 +00:00
codemastr d729d2a0e4 Fixed an alias bug 2003-02-17 20:03:55 +00:00
Bram Matthys 5a1bdba209 - Removed some debugging messages 2003-02-17 19:03:34 +00:00
codemastr 0c5ef6def4 Removed some more +I code, and fixed a /who bug 2003-02-16 22:36:07 +00:00
codemastr 8569877110 Fixed a TKL rehash bug and recoded aliases to be much faster 2003-02-16 21:57:31 +00:00
Bram Matthys e116c095f2 - Fixed MyConnect()/MyClient() bug causing memory leak. 2003-02-16 21:12:32 +00:00
Bram Matthys 9b38176f98 List options were not correctly freed when /list was completed.
The bug was it did free the yeslist/nolist elements but not the data in it (lp->value) :PP.
Changed to use free_str_list() instead, just like in exit_client.
2003-02-16 04:59:26 +00:00
Bram Matthys 36d7d271cc - set::services-server is now required to be set (#0000730). 2003-02-15 23:41:23 +00:00
Bram Matthys f2eb5f48b6 - Zip links: Added link::compression-level so you can set the compression level per link 2003-02-15 21:13:37 +00:00
codemastr 4606d94e27 +I stuff removed, and other stuff 2003-02-15 20:20:35 +00:00
Bram Matthys 0c12e70d59 - Fixed compile warning in ssl.c. 2003-02-15 18:16:57 +00:00
codemastr bf116f1f6c Removed cmode +H, coadmins can use /rehash -flags, added cmode +M 2003-02-15 01:27:48 +00:00
codemastr 8e3272ba0b Fixed a win32 bug 2003-02-14 23:20:05 +00:00
Bram Matthys f014032901 - Fixed link::port bug reported by AngryWolf: was signed so ports >32767 had problems 2003-02-13 17:12:54 +00:00
Bram Matthys 1901911405 - Removed usermode +I (invisibility) 2003-02-12 21:44:09 +00:00
Bram Matthys 5f772f0457 this helps... 2003-02-12 20:45:48 +00:00
Bram Matthys addd54c38f Revert set::options::owner-gets-dot patch. 2003-02-12 20:44:14 +00:00
Bram Matthys 71a7e91363 - Added set::options::owner-gets-dot which will give chanowners a . prefix. 2003-02-12 02:12:13 +00:00
Bram Matthys 82201421eb Made ".. did a /whois on you" always show the real host (#0000705). 2003-02-10 00:56:58 +00:00
Bram Matthys 934b898914 Fixed a bug in coadmin: global flags were not added (#0000716). 2003-02-10 00:41:19 +00:00
Bram Matthys 954ccf7265 added set::restrict-usermodes 2003-02-09 20:51:25 +00:00
Bram Matthys efc2c8f326 Updated docs. 2003-02-07 23:08:01 +00:00
codemastr 8070b2397e Fixed an except ban {} problem 2003-02-07 16:21:23 +00:00
Bram Matthys a127469d42 Added USE_ZIP stuff to win32 installer script. 2003-02-07 00:08:32 +00:00
Bram Matthys 09013995f6 Updated protoctl.txt (added ZIP). 2003-02-06 23:55:56 +00:00
Bram Matthys bd8cbf6713 * don't send SHOWCONNECTINFO if the link is (known to be) a server.
* same for scan message
* don't say "you have not registered" on NOTICE in unregistered state.
* made a send_prot(aClient, ConfigItem_link) for sending PROTOCTL message,
  takes care of sending ZIP in token in case of a ziplink (indeed, I don't
  send "ZIP" if it's not marked as a ziplink).
* added automatic fallback tot uncompressed link in case one of the sides
  has zip turned off or not compiled in.
* added configcheck for link::options::zip turned on when not compiled
  in (just like we do with ssl).
2003-02-06 01:09:17 +00:00
Bram Matthys af988ce74d Added config error if link::options::zip was enabled at a non-zip compiled server. 2003-02-05 22:14:39 +00:00
Bram Matthys 1c0860e841 - Fixed an ident bug, maybe it actually works now.. (#0000709) reported by marviiin. 2003-02-05 21:32:37 +00:00
Bram Matthys c177eb2580 Code (comments) cleanup. Yes very usefull.. ahem ;). 2003-02-05 20:15:28 +00:00
Bram Matthys 0dde38dd6a ZIP_LINKS fixes/debugging. 2003-02-05 01:28:31 +00:00
codemastr 0ca9f4c2c5 ... 2003-02-05 00:59:51 +00:00
codemastr 06dc8646a4 added ziplinks support to ./Config and updated SSL support in ./Config 2003-02-05 00:44:14 +00:00
codemastr da33a9e646 Fixed a bug when compiling with SSL ZIP_LINKS 2003-02-04 22:50:56 +00:00
Bram Matthys 1bea78bd0e - Fixed a bug in m_part reported by Angrywould, cause unknown (yet).
- Currently it's not possible to compile with ZIP_LINKS _and_ SSL without changing zlib.h :(.
It really sucks... it's because zlib.h has a typedef for 'free_func' and this is also used
in openssl header files as a (useless) name... :((. I did some updates to allow future zlib
changes, dunnow if they will because it can break other zlib programs. It compiled fine at
windows, but not at Linux... you need to replace free_func to zlib_free_func in zlib.h in
order to get ZIP_LINKS + SSL to work... but like I said, that may break programs (ARGH!).
2003-02-04 21:23:47 +00:00
Bram Matthys 6ceb9cb6f7 Code cleanup (in many files heh)... I replaced all:
IsHidden(sptr) ? sptr->user->virthost : sptr->user->realhost
stuff to a simple GetHost(sptr) macro (defined in struct.h).
Smaller and less error phrone :). Also fixed the if IsHidden -> if (IsHidden
found by codemastr .
2003-02-04 19:40:38 +00:00
Bram Matthys d98e7d3112 Fixed bug in ISON. 2003-02-04 18:50:55 +00:00
Bram Matthys 0b2d842d55 Code cleanup in m_umode. 2003-02-04 18:02:44 +00:00
Bram Matthys c0a3cd9c14 Fixed minor memleak with zip links (a few k per server link). 2003-02-04 16:54:53 +00:00
Bram Matthys 24f36c846c Documentation updates for nodnscache. 2003-02-04 02:13:35 +00:00
Bram Matthys 7ad5f10d76 - Fixed a resolver bug where cache entries didn't timeout correctly.
- Made async resolve-and-connect work
- Added link::options::nodnscache which means Unreal will not cache the host forever for
  outgoing server connections, you could for example enable this if you are linking two servers
  with an often changing host (like dyndns.org).
2003-02-04 02:09:40 +00:00
codemastr 1efcc56dce Fixed a throttling bug 2003-02-03 21:38:02 +00:00
Bram Matthys 39be4901df Added recvq column to /stats y reply. 2003-02-03 21:32:51 +00:00
Bram Matthys c5369043c7 Added better (specific) link error messages (only on the "incomming" side)
so you can easily see whether servername, hostname/ip or username is wrong.
2003-02-03 21:05:50 +00:00
Bram Matthys 6f9060ce4e Minor doc updates (mainly example.conf) 2003-02-03 20:27:33 +00:00
Bram Matthys 6f2be400c3 Major unreal32docs.html documentation update:
* Changed layout
* Removed text, split up 3.1.x->3.2.x upgrade info to Unreal31_to_32.html
  (actually that's just .RELEASE.NOTES, need a bit more explanation and
   stuff about converting configs etc).
* Improved Me, Class, Allow, Listen and Set block text/layout/etc.
* Removed typo's
2003-02-03 20:14:16 +00:00
Bram Matthys d7b0c619bd Fixed /topic for opers when not in +s-channel 2003-02-03 18:52:06 +00:00
Bram Matthys ded0df0b31 Don't encrypt SSL certificate by default @ win32. Why would we encrypt by default
at windows and not at *NIX? Also it's incompatible with running as a service.
AFAIK it doesn't increase security very much: if you own the box you can easily
snif the keyboard, read the certificate from memory, etc..
2003-02-03 17:44:33 +00:00
Bram Matthys 19960bf7de Fixed bug in ipv6 + unknown connection flood. 2003-02-03 17:27:21 +00:00
Bram Matthys 7e3664afe5 Bugfix for crash with STRIPBADWORDS_CHAN_ALWAYS (null pointer). 2003-02-03 16:33:05 +00:00
Bram Matthys 138fcd19e7 Added (optional) class::recvq so you can dynamically/per class set the recvq (flood control).
CLIENT_FLOOD in config.h is still used as a default value if recvq is not specified.
2003-02-03 01:51:26 +00:00
Bram Matthys 8d329b611a enabled FAST_BADWORD_REPLACE by default 2003-02-02 23:13:26 +00:00
Bram Matthys ef150daae7 Two tiny text fixes: missing space and an CRLF in 'sending to me' thing,
and some probably impossible oob read but just in case added a length check,
blahhh (sending empty line).
2003-02-02 23:05:03 +00:00
codemastr 56da92cab9 Added set::snomask-on-connect 2003-02-02 22:53:59 +00:00
Bram Matthys 0131baaf5b - Fixed bug which made opers unable to do -a/-q (#0000654).
- Fixed bug in +q/+a list (/mode #chan q) <= lol this was some historic
bug by DrBin or something ;). In case you wanna know.. the whole loop logic
was wrong... initalisation vs null pointer check... ;).
2003-02-02 03:39:52 +00:00
Bram Matthys 463a2b29c5 memleak bugfix for my previous improved-write/buffer-errors-patch.
Additionally, I've increased my life chances with 100% thanks to _this_ patch.
2003-02-02 01:09:43 +00:00
Bram Matthys 84596e0fc5 Redesigned "Dead socket" error msg thing. Added a error_str to client struct,
which is set if dead_link is called. You will now see "Write error",
"Max SendQ exceeded" etc error messages in the quit reason instead of just
the "Dead socket" message. Changed "notice" parameter of dead_link, now just
the reason and not a format string, maybe rename that var.
2003-02-02 00:48:02 +00:00
codemastr 47dabe4c36 Aliases updates 2003-02-01 19:18:06 +00:00
codemastr ab5ff5cdea Started work on set::allow-userhost-change 2003-02-01 19:14:31 +00:00
codemastr 0004c00d7a Documentation updates 2003-01-29 20:41:04 +00:00
codemastr 33cb958615 Fixed a channel mode +A bug 2003-01-29 20:27:02 +00:00
Bram Matthys 0a1aacda89 Fixed missing 's' flag in oper::snomask causing not receiving any server notices (attempt II) 2003-01-29 01:15:09 +00:00
codemastr 12a5746d47 Rechanged 'a Services Administrator' back to 'a Services Operator' 2003-01-29 00:56:01 +00:00
Bram Matthys a5ea13adc9 Added '/stats zip' 2003-01-29 00:19:16 +00:00
Bram Matthys 637867bc6d Added makefiles to compile with zip links @ windows (zlib needed). 2003-01-28 23:13:49 +00:00
Bram Matthys 95c0add864 Fix for error msgs flood at (at least) Linux 2.4.x and FreeBSD caused by
socket already disconnected when getpeername() is done.
2003-01-28 22:14:56 +00:00
Bram Matthys bcac798a99 Fixed whois: "a Services Operator" -> "a Services Administrator" 2003-01-28 20:32:21 +00:00
Bram Matthys 007d0c1d32 Added STRIPBADWORDS_CHAN_ALWAYS (a define, disabled by default) for always
censoring badwords from all channels (+G or not).
2003-01-28 20:24:55 +00:00
Bram Matthys f6333714a2 Fixed some minor sending-1-byte-too-much bugs when all connections where in use. 2003-01-28 19:06:56 +00:00
Bram Matthys 92fe4e04a3 Removed unnecessary #ifdef blocks added by previous ZIP_LINKS patch 2003-01-28 03:27:48 +00:00
Bram Matthys 482df3dce3 Added ZIP_LINKS: using flag FLAGS_ZIP (0x1000000, was FLAGS_UNOCCUP2),
instead of using a 2nd flag here for the special case of "the first zip msg"
like in hybrid/etc I use cptr->zip->first to flag that. Except for the many
#ifdef ZIP_LINKS blocks added I also had to do some stuff outside it, like
crc32->our_crc32 because zlib defines it, made a READBUF define (8192),
added a msg var to parsing/send functions.. blah.. etc ;P.
I've also put the patch online at www.vulnscan.org/tmp/zip_links.diff so you
can easily look what I've changed.
TODO: ask in ./Config if ziplinks should be enabled and let ./configure check
for zlib + add the library to IRCDLIBS in Makefile if enabled.
TODO: some little code cleanups
2003-01-28 02:50:19 +00:00
Bram Matthys d0dc13faa5 Little fix for previous throttling fix (accessing just free()d memory). 2003-01-27 21:25:27 +00:00
Bram Matthys 09776ff03f Fixed triple WATCH reply bug (#0000632) when USER was send before NICK. 2003-01-27 21:00:21 +00:00
codemastr 00698d9fd4 Fixed an SVSO bug and a throttling bug 2003-01-27 19:54:00 +00:00
codemastr 1db740e154 Fixed an HCN bug with client exiting notices 2003-01-27 19:30:34 +00:00
Bram Matthys e070a40353 Fixed crash when link::leaf (and some other link:: things) was empty. (#0000610) 2003-01-26 21:58:29 +00:00
Bram Matthys 9d48eee701 Tweaked fix for 2-bans-needed-trick a bit. I was checking against last virthost,
now always checking against cloaked host... Just feels better :P.
2003-01-26 15:20:06 +00:00
Bram Matthys deb038730a Minor documentation update for SVSNLINE. (#0000651) 2003-01-26 03:18:36 +00:00
Bram Matthys 74a984da48 Fixed 2-bans-needed-trick (#0000626). If a user got banned while having mode +x,
then does a -x virthost gets freed and the user can join again/circumvent the ban.
virhost should probably be moved in to the User struct like char virthost[HOSTLEN+1]
but in the meantime I've just removed the free() when someone does -x.
I noticed we already do make_userhost at connect even if mode +x isn't set, and also
is_banned checks if virthost exists.. if so -> check if that's banned... so this
patch won't decrease performance much.
2003-01-26 02:18:30 +00:00
Bram Matthys 117ec38808 Channel msging optimization by 10-30%. 2003-01-25 21:26:53 +00:00
Bram Matthys 423a8c2739 Fixed yet another bug in new badwords replace system (should be almost finished now! ;P). 2003-01-25 18:44:23 +00:00
Bram Matthys c4c87fb803 Blah... forgot to remove some debugging code in badwords.c (new fast replace system) 2003-01-25 01:32:17 +00:00
Bram Matthys efaf9d6709 Fixed halfop bug, ex: /mode -o+b user *!*@blah.com will get +b user!*@*. (#0000653)
The bug was we forgot to return wheter a parameter was eaten or not (returned always 0).
2003-01-24 23:37:33 +00:00
Bram Matthys 1dfdeb42f0 Temporarely added user-already-in-chan check in m_sjoin to help tracing user-twice-in-chan bug
which has been reported by two users (#0000594). About speed: I think it'll just use a few usec
so that's <100ms for X.000 users ;P.
2003-01-24 22:47:37 +00:00
Bram Matthys 3fc6734e65 Fixed minor bug in resolving of IPv4 names if IPv6 is enabled (#0000659).
We were doing: T_AAAA, if that fails then T_A. But in that case when a host
has both T_A and T_AAAA entries, the reverse lookup will fail for ipv4.
Now using T_ANY to fetch both T_A and T_AAAA addresses at once.
2003-01-24 20:34:11 +00:00
Bram Matthys 73810a4f82 Cleanups in badwords.c: removed duplicate code, now one big stripbadwords() function which
is called by stripbadwords_channel()/stripbadwords_message().
2003-01-24 02:49:41 +00:00
Bram Matthys e8d8a27cbc Added a much faster (>100x) badwords replace routine which will be used for easy replaces like
"blah", "*blah", "blah*" and "*blah*"... otherwise regexp is used. Disabled by default until
it's really finished and fully tested.
2003-01-24 02:18:33 +00:00
Bram Matthys 3a546fb04c Cleanup of m_userhost / my previous patch screwed things up ;P 2003-01-23 21:05:44 +00:00
Bram Matthys 358a00e90c Fixed some formatting issues. 2003-01-23 20:47:06 +00:00
Bram Matthys e333890b0f Fixed SSL session cache bug, symptoms were: stunnel can only connect the 1st time,
reconnecting etc fails with (in stunnel log) "SSL_connect: Peer suddenly disconnected".
This happends with OpenSSL 0.9.7.
2003-01-23 17:03:53 +00:00
Bram Matthys 78dc344785 Added much better checking for weird characters in hostnames.
We were doing "deny known bad characters" instead of "only allow known good characters", this was REALLY bad...
This patch limits hostnames to alphanumeric, '-', '_' and '.'.
2003-01-22 19:37:42 +00:00
Bram Matthys a79e26deff Fixed major (?) bug in resolver (affects ipv4 only), could cause long stalls / crashes.
for (i = 0; &HE(cp)->h_addr_list[i]; i++) was used in ipv4 mode, but should be
without the &... this caused some stalls (like 11 seconds) at my machine because the
loop was executing >1 million times (I don't understand why it didnt crash however).
2003-01-21 23:01:44 +00:00
Bram Matthys 735b011f3e (added to Changelog this time:) Added win32 compile instructions in doc/compiling_win32.txt 2003-01-21 22:47:45 +00:00
Bram Matthys e9b96afef8 Added win32 compile instructions in doc/compiling_win32.txt. 2003-01-21 22:46:48 +00:00
Bram Matthys d932cf0220 Fixed bug in channel mode +L #aaaaaaaaa<etcetc>. 2003-01-20 21:17:24 +00:00
Bram Matthys e71f39ea62 Fixed bug in non-working channel mode +H. There was a #ifdef ENABLE_INVISOPER
block around +H checking, but this #ifdef is only at this place and is also
never defined... Removed #ifdef because that's now in module...
2003-01-20 20:48:59 +00:00
Bram Matthys d944643010 Minor documentation fixes reported by Jollino (LUSERS, OFLAGS mode h) 2003-01-20 20:00:57 +00:00
Bram Matthys 1e51112790 Fixed win32 compile error because of report_error patch (oops, lalala :P).
Added P_ECONNABORTED and P_ECONNRESET.
2003-01-20 19:33:18 +00:00
stskeeps 56a0d8adf7 removed ircdreg 2003-01-20 16:08:35 +00:00
Bram Matthys 6a9579930a Fixed crash when +x is in modes-on-oper, user has -x and then /oper's. 2003-01-20 15:21:38 +00:00
Bram Matthys 9c31edf6e7 Made netadmins able to see users in all chans by using /who #chan or /names #chan. 2003-01-20 03:44:13 +00:00
Bram Matthys d7e7562626 I love ugly code!! I fixed an out of bound memory read a week ago in the
time function, however my fix was wrong / usually the out of bounds memory
reading went well so the function worked... now it didn't... patched ;P.
Some examples: 4s = 8, 1m = 61, 1h = 3601, 1h2m = 3722.
2003-01-20 01:38:59 +00:00
Bram Matthys 2a266829e3 Fixed SVSMODE bug in handling of non-qaohvbe modes. (#0000631)
*parabuf wasn't set to '\0' so previous modes were applied in some cases...
2003-01-20 00:46:27 +00:00
Bram Matthys 86021bdd9b Fixed shun: ADMIN and PONG are allowed if shunned, also manually removing
a SHUN from a user affects connected clients immediatly. Moved ~45 lines of
code to a seperate function for this.
2003-01-20 00:30:51 +00:00
Bram Matthys 87b22510c0 Fixed some of the FreeBSD warnings, like 'Cannot accept connections' and
'getsockopt(IP_OPTIONS)' reported in bug #0000616. There's still one around
somewhere, but it's a start. Also modified report_error so it reports both
the socket error AND the system error if they are different.
2003-01-19 23:46:16 +00:00
Bram Matthys 1c1f135f8d useless change: &me.name -> me.name in my previous patch, doesn't change
anything but it was annoying my eye ;P.
2003-01-19 23:29:22 +00:00
Bram Matthys 1d0936d07a Added RPL_ENDOFSTATS after tkl_stats output if called by /kline, /gline, etc
without parameters.
2003-01-19 22:58:07 +00:00
Bram Matthys 22f60e47c8 Fixed compile error in src/random.c at win32. Also added some nice #ifdef's
so we don't get unused var warnings in non-SSL mode...
2003-01-19 22:41:03 +00:00
Bram Matthys 5e2cf7b90f Fixed compile error in makefile.win32.ssl (added src/random.c) 2003-01-19 22:29:02 +00:00
Bram Matthys d5faf64581 Added message if '/helpop' is used without parameters by helpops. (dont panic!) 2003-01-19 21:26:34 +00:00
Bram Matthys f97b537b09 Fix for missing mode 'S' in 005 CHANMODES= message 2003-01-19 20:30:30 +00:00
Bram Matthys 193265ef69 Added access level required for chmodes, documented +G, changed USERCMDS layout 2003-01-19 20:21:35 +00:00
Bram Matthys 0c74c5cd11 Fixed example.conf set::dns::retries, 2s -> 2 2003-01-19 20:05:57 +00:00
cvs2hg 5ad7468aa1 fixup commit for tag 'unreal3_2_beta13' 2003-01-18 09:01:53 +00:00
stskeeps c5991fc8da fixed crypt on win32 2003-01-18 09:01:52 +00:00
stskeeps a05c61042b BAH FUCK 2003-01-17 22:20:48 +00:00
stskeeps e42a63972e ** beta14 released ** 2003-01-17 22:03:13 +00:00
stskeeps e5dc32a0d0 - Compile fixes regarding throttling
- Fix when you use another make than make
2003-01-17 20:32:49 +00:00
stskeeps 5289be076a - Preperations for beta14. Will be a recommended upgrade 2003-01-17 17:10:11 +00:00
luke f83daf4607 stupidity 2003-01-17 15:23:51 +00:00
codemastr eb1e4f000b Resolver bug fix 2003-01-16 22:10:06 +00:00
stskeeps 381350618f - One more fix to the above 2003-01-16 15:19:25 +00:00
stskeeps 1aabd39d27 - Fixed a bug where helpop would pass on a null pointer 2003-01-16 13:45:26 +00:00
stskeeps ea2f1c6fc7 - Fixed a bug where helpop would pass on a null pointer if it was a remote
client (this needs more investigating, could someone find out how the fuck
  it can get a remote helpop that's blank anyhow?).
2003-01-16 06:19:12 +00:00
mcskaf 3ff374d811 We were writing a null to the log file when we reached max size. Bug #0000613 reported by AngryWolf 2003-01-15 23:16:15 +00:00
mcskaf 0349a1d1d8 We were writing a null to the log file when we reached max size. Bug #0000613 reported by AngryWolf 2003-01-15 23:10:13 +00:00
stskeeps 7601cbcf12 - Adding throttling, read config.h for more info. For the uneducated,
throttling is to reconnect way too fast repeatedly. Thanks to [Real] for
  the idea
2003-01-15 18:32:25 +00:00
codemastr c02033f3ca Fixed a bug when leaving off a parameter for a password config entry 2003-01-15 16:40:15 +00:00
codemastr 3095782cfd Various fixes 2003-01-14 21:25:04 +00:00
codemastr fed61efcdb Misc. fixes 2003-01-11 19:33:42 +00:00
mcskaf fe9dc6d3c4 Fixed bug 601 - ipport_seperate() used strtok() to separate ip:port but when
just :port was specified it skipped the leading : and assigned the port to ip
and null to the port causing the calling routine to seg fault.
2003-01-07 02:30:21 +00:00
codemastr 8523a7554b Fixed a random bug and added link::password-connect encryption error 2003-01-05 16:51:15 +00:00
codemastr d47e956c5b Fixed a bug in the empty channel fix 2003-01-05 01:28:23 +00:00
codemastr b455704e7f Added a patch by Syzop to increase randomness of the random numbers 2003-01-05 01:26:28 +00:00
luke 909c5843cb Fixed bug with whole bunch of users in an empty channel (codemastr found it) 2003-01-04 21:42:03 +00:00
codemastr 286115c256 Fixed some conf3 bugs 2003-01-03 17:44:02 +00:00
codemastr 91b9fa2281 Removed USE_LONGMODE 2003-01-03 17:05:58 +00:00
codemastr a123023350 Added the ability to specify port ranges 2003-01-02 20:49:44 +00:00
codemastr d7c59f9961 Fixed a few bugs 2003-01-02 19:32:58 +00:00
codemastr efa61e7ec0 Fixed a bug in the binary searching routines 2002-12-29 17:34:51 +00:00
codemastr 2270e37dca Added pretty_time_val 2002-12-20 22:09:38 +00:00
codemastr 31171c09b4 Fixed a bug where setting umode -o didn't set -h 2002-12-19 21:59:22 +00:00
codemastr 67b1118abb Added set::snomask-on-oper 2002-12-19 21:49:37 +00:00
griever 24cd9ff5ef TKL fix and shit 2002-12-19 20:40:40 +00:00
mcskaf a94f2e208f Fix bug 552 2002-12-17 20:08:00 +00:00
mcskaf ab66342581 Fix bug 552 2002-12-17 19:56:36 +00:00
mcskaf c3f23435d5 Detect include file error. 2002-12-17 19:53:41 +00:00
stskeeps e1b22ca767 bah src/umodes.c 2002-12-16 13:36:50 +00:00
stskeeps 3c99989a07 fuck it all 2002-12-16 13:36:18 +00:00
codemastr 0fc5b50258 Docs updates 2002-12-15 16:30:47 +00:00
codemastr 5196094ca7 Added chmode +u to help.conf 2002-12-15 01:43:16 +00:00
codemastr 140eed6b4c Fixed a win32 bug with showing included files on the config menu 2002-12-15 01:35:07 +00:00
codemastr f5e278fac7 Fixed a +/-f bug when using values > 65535. Now limits to 500:500 2002-12-14 18:22:20 +00:00
codemastr 5a4e05a429 Fixed a crash if oper::flags is missing 2002-12-14 18:14:59 +00:00
codemastr 7c0bc3f0be Fixed a tsctl and a make install bug 2002-12-14 17:29:39 +00:00
codemastr a15d1337c0 ... 2002-12-13 22:35:07 +00:00
codemastr 696533a163 Rewrote some +G code 2002-12-13 22:06:17 +00:00
codemastr ef5f1c354b Added set::htm for htm options 2002-12-11 17:35:18 +00:00
stskeeps a76476371e *** beta13 released *** 2002-12-09 20:02:25 +00:00
stskeeps 04be404c6c - Changed base version name to Unreal3.2, instead of Unreal3.2-Selene
- Made McSkaf part of core coder team
2002-12-09 19:54:35 +00:00
mcskaf 997cb99faf Changed DWORD to u_int32_t. 2002-12-08 20:32:56 +00:00
mcskaf c609e0bbb1 IRCCreateThreadEx() was causing exception on Windows. 2002-12-08 20:09:27 +00:00
codemastr 2783e635b6 Fixed a typo 2002-12-08 18:44:30 +00:00
codemastr 5f9285e139 Updated version number in win32 installer 2002-12-05 20:09:27 +00:00
cvs2hg 2eef007c8a fixup commit for tag 'unreal3_2_beta13_rc1' 2002-12-05 19:51:26 +00:00
stskeeps d2e87700c3 - Added back the commands check that didn't get added in conf3 (lamers
beware)
2002-12-05 19:51:25 +00:00
codemastr 1c74c7458f docs updates 2002-12-05 16:54:05 +00:00
mcskaf 9102ebacf7 Use P_EWORKING in connect(). 2002-12-01 19:44:12 +00:00
mcskaf 2d9186c7a3 Fixed a dumb mistake. 2002-12-01 19:13:47 +00:00
mcskaf c28b3db527 Changed connect() success/fail checking in scanners for all OSs. 2002-12-01 19:10:26 +00:00
mcskaf 28fbd0bafe Added P_EWORKING define. Indicates a socket call is in progress on all OSs. 2002-12-01 18:53:06 +00:00
codemastr 2182c90be5 Release preparations 2002-12-01 18:23:11 +00:00
codemastr 6c167e3590 Documentation updates and misc. fixes 2002-12-01 17:50:08 +00:00
mcskaf b148656164 Change resolver to use our IRCMutex macros. 2002-12-01 17:42:56 +00:00
codemastr 5d31e2ac68 Changed the thread API to fix some win32 crashes 2002-12-01 17:11:34 +00:00
codemastr 1a64c71e7f Added a patch for logging vhosts in connect/disconnect notices 2002-11-30 21:11:05 +00:00
codemastr 48fb658531 Removed m_kline.c and m_zline.c they are now implimented as part of m_tkl.c 2002-11-30 21:01:12 +00:00
codemastr 211e930a1e Fixed an oper count bug with SVS2MODE 2002-11-30 19:22:43 +00:00
stskeeps f7d349e60a - Changed .SICI to point to cacert.org instead (patch by evilbunny) 2002-11-29 07:23:04 +00:00
stskeeps a5547b65f4 - Made config actually add listeners when rehashing (...) also you can now
change listener flags using /rehash
2002-11-28 17:34:19 +00:00
codemastr d21fc4bcca Fixed some logical module rehash problems 2002-11-28 16:21:05 +00:00
mcskaf b39615e26a Fixed doc: Changed set::scan::ban-time to set::scan::bantime. Added set::scan::timeout. 2002-11-27 22:05:59 +00:00
mcskaf a3c6b57a70 Changed set::scan::ban-time to set::scan::bantime. Added set::scan::timeout. 2002-11-27 22:03:47 +00:00
mcskaf ebed8efde7 Fixed typos in set::scan::bind-ip and set::scan::ban-time 2002-11-27 21:05:20 +00:00
codemastr 84fe71337e Docs fixes 2002-11-27 20:45:42 +00:00
stskeeps 8bf8eff75a - Removed makeconf 2002-11-27 20:40:30 +00:00
codemastr 9dd4b699b8 Cleaned up module code 2002-11-27 17:40:28 +00:00
codemastr 24eac63abd Changed the conf3 return values 2002-11-27 17:19:33 +00:00
stskeeps 4b738b28e2 - Small typo in config validation found by ins4ne 2002-11-27 15:23:35 +00:00
stskeeps c43a4d35c4 stuff 2002-11-27 14:55:47 +00:00
stskeeps fcfbf1cdaf serious who bug 2002-11-27 14:53:51 +00:00
codemastr dd2bf9e926 Fixed a bug where chmode +q users could not kick chmode +a users 2002-11-26 23:07:13 +00:00
codemastr 6750bca21c ... 2002-11-26 20:23:23 +00:00
codemastr 736474aa5f Finished module rehashing 2002-11-26 20:15:17 +00:00
codemastr 0ba49b9c4e Made modules rehash under dynamic linking 2002-11-26 19:52:02 +00:00
codemastr b87f79a271 Made alias{}'s get rehashed 2002-11-24 23:32:25 +00:00
mcskaf a21df7fcf5 Fixed sendto_ functions to use slot number as index into sentalong array. 2002-11-23 00:09:48 +00:00
codemastr 7ce89318f8 conf3 fix 2002-11-22 23:25:49 +00:00
mcskaf 3d945f5b1d Fixed sendto_ functions to use slot number as index into sentalong array. 2002-11-22 23:25:20 +00:00
mcskaf eba7f5ffe0 Fixed sendto_ functions to use slot number as index into sentalong array. 2002-11-22 23:07:35 +00:00
codemastr 387565717f Converted deny {} to conf3 2002-11-22 22:25:19 +00:00
codemastr 6a65111f12 Fixed several conf3 errors 2002-11-22 21:46:31 +00:00
stskeeps cd83b8a845 - Fixed win32 compile error with default: ; 2002-11-22 21:04:40 +00:00
stskeeps e4bd382898 - /rehash for conf3 (that works) :) 2002-11-22 16:16:33 +00:00
codemastr ce64bf6f6c Changes to the module config system 2002-11-18 20:04:36 +00:00
codemastr 594f8646d3 Made modules able to have config directives 2002-11-18 00:54:05 +00:00
codemastr e392d1435f Fixed a bug when set::help-channel is missing 2002-11-17 20:00:43 +00:00
codemastr d1e0d459c5 Added can_override oper flag 2002-11-17 17:31:30 +00:00
codemastr 1b17b5c0be Fixed a win32 debugger bug 2002-11-17 01:49:22 +00:00
codemastr 5e9107815e Added SVSLUSERS 2002-11-16 20:52:16 +00:00
codemastr 45590c3b5d Made alias {} work in conf3 and recoded the way aliases work somewhat 2002-11-08 21:26:44 +00:00
stskeeps 808acb8e57 - Finished up conf3, still needing some directives added but it sortof works. Rehash doesn't yet.
-  Fixed some idiotic lack of src/modules/Makefile.in changes for the sake of commands.so when
  /zline /kline etc was moved to a module
2002-11-05 19:25:21 +00:00
stskeeps f99caaa2bd Fixed alphabeticalising of named oper flags, added _conf/test_link 2002-11-05 13:52:44 +00:00
codemastr d75ffab485 Fixed some configure problems with gcc3 2002-11-02 20:32:47 +00:00
codemastr 16dd1804be Converted log and help to conf3 2002-11-02 17:24:54 +00:00
codemastr 85598d17ce Conf3 cleanups 2002-11-01 20:31:08 +00:00
codemastr b28ad5f76c Changed config flag parsers to use a binary search 2002-11-01 20:11:36 +00:00
codemastr 6dae920358 Made the main conf3 searching routine use a binary search 2002-10-27 20:31:02 +00:00
codemastr 9a280f3e14 Possible win32 resolver fix, conf3 fixes 2002-10-27 17:32:33 +00:00
stskeeps 402f031da1 bug 2002-10-26 21:42:36 +00:00
stskeeps 09bacf360e - Made CLIENT_FLOOD more customizable
- Fixed some conf3 compile errors and block-modded _*_tld
2002-10-26 19:55:24 +00:00
codemastr 6d77b60387 Added some additional NT Service options to the win32 installer 2002-10-26 19:20:52 +00:00
codemastr 1e23915986 Merged unrealinstssl.iss into unrealinst.iss 2002-10-25 17:37:53 +00:00
griever 391098a197 kline has been replaced with tkline 2002-10-24 15:58:44 +00:00
stskeeps 553c66eae6 . 2002-10-20 20:33:29 +00:00
stskeeps 34287cb733 f 2002-10-19 17:40:23 +00:00
stskeeps 6ad5b43fb5 - Fixed conf3 bug with _conf_except tkl 2002-10-19 17:37:52 +00:00
stskeeps 613c78924d conf3 2002-10-19 17:33:05 +00:00
cknight ab5c9b3a0a - Documentation - Corrected several HTML formating problems 2002-10-17 11:11:13 +00:00
cknight de97efbd21 - example.conf - Corrected incorrect set::services-services statment in alias block - reported by mcskaf (#0000401)
- Documentation - Corrected Spelling mistake in HTM mode - Reported by CoNfOuNd (#0000387)
- Documentation - Added coadmin to table of oper types - Reported by FrostByghte (#0000359)
2002-10-17 10:45:57 +00:00
cknight 479a6cf6c3 - Documentation - Updatet sec2.0 - list of Supported OS's for Win32 Version
- Documentation - Updated sec1.1 - Instructed to use bugs.unrealircd.org to report problems with docs
- Documentation - Updated misc hyperlinks - doc/unreal32docs.html
- Documentation - Updated sec3.31 - Added better description to the format we present set:: settings
- Documentation - Updated sec3.31 - Added more details to set directives
- Documentation - Updated sec3.25 - Added option vhost::swhois to section 3.25 Vhost block
- Documentation - Replaced text vair {} with <> to prevent confusion.
- Documentation - Documented that lusers now supports remote servers
- Documentation - Corrected vhost::from example as reported by joolz #329
- Documentation - Corrected set::scan:messages, currently listed as set::messages - as reported by joolz (#329)
- Documentation - Added channel mode t & description as reported by stfcs (#315)
2002-10-16 15:31:41 +00:00
codemastr 806701ac23 Scanner win32 fixes 2002-10-13 21:47:57 +00:00
codemastr 0a1a2e217f Fixed an htm bug with reporting no such server 2002-10-13 17:56:19 +00:00
codemastr 8d87ef6194 Added /lusers server.name support 2002-10-13 17:39:18 +00:00
codemastr 612751abde Fixed an samode bug 2002-10-13 17:15:29 +00:00
codemastr 1977439e27 Fixed another tkl bug 2002-10-05 00:27:22 +00:00
stskeeps 1c81b72a4f - Fixed crash bug in m_tkl_line 2002-10-04 18:35:40 +00:00
stskeeps 62b7acc6be dd 2002-09-28 14:28:14 +00:00
stskeeps 1d3c41ef75 Removed some IPv6 resolver specifics that seemed illogical (reference to Jollino's IPv6 crashes) 2002-09-28 12:47:59 +00:00
stskeeps bb6711691b - Fixed bug #0000342 reported by James LiGate about tokens leaking through from clients 2002-09-28 12:32:18 +00:00
stskeeps 379a8ccc3b Fixed bug with all TKL commands not accepting nicks anymore (#0000370 reported by Ravage) 2002-09-28 12:16:10 +00:00
stskeeps 979f96ca3a Fixed bug #0000371 reported by havlaz about an extra \n slipped in with the TKL notice 2002-09-28 11:59:01 +00:00
stskeeps 8f7455d423 - Fixed bug #0000377 reported by MorPheus where IPs of servers were shown in nick collision notices 2002-09-28 11:48:25 +00:00
stskeeps ce0ae3a46d - Fixed bug #0000372 reported by MorPheus where Killed (<everything-but-the-first-char-in-killer-letter-got-shown> (reason)) 2002-09-28 11:40:10 +00:00
stskeeps 4bc07b8789 +- Added set::ssl::options, with three options:
+    fail-if-no-clientcert   - If SSL client connects and doesn't provide a client certificate, abort connection immediately
+    verify-certificate      - Check the certificate's validity using X509 methods, check if we trust CA's, etc.
+                              It however does slip self signed certificates through UNLESS
+    no-self-signed          - Don't allow self-signed certificates through (requires verify-certificate)
+- Made conf parser mention if we make a link->options with CONNECT_SSL if we don't support SSL (and remove the CONNECT_SSL flag)
+- Made conf parser mention if we make a SSL listener and we don't support SSL
+- Added set::ssl::trusted-ca-file, if enabled, it will point the SSL stuff to use that file as trusted CA's (for verify-certificate)
+- Made conf _not_ bitch that it doesn't know set::ssl
+- Removed some leftover client certificate stuff
2002-09-28 11:02:05 +00:00
stskeeps 9d43770bd0 doc shit 2002-09-27 18:51:12 +00:00
stskeeps 282cc51768 - Changed auth method sslpubkey into sslclientcert, which means it will check the X509 certificate of the
user using X509_cmp. Also needing is some policy/conf setting to adjust if to reject invalid client certificates or whatever..
2002-09-27 16:08:03 +00:00
codemastr 519b491c1b Fixed a bug with /who -h 2002-09-20 20:06:33 +00:00
stskeeps c8c316c56d - Made channel keys be case sensitive 2002-09-07 09:26:45 +00:00
stskeeps 6926cca1bb - Added Syzop's various zero-terminate patches and fixes for crashes when
you send commands like JOIN from a server directly
2002-09-07 01:32:00 +00:00
codemastr 9f4f72d2af Now using unsigned chars 2002-09-02 15:30:03 +00:00
codemastr 13b2ebc773 ... 2002-09-01 18:55:19 +00:00
codemastr ff14d5d0bf Compile warning cleanups 2002-09-01 18:33:47 +00:00
codemastr 227563a13d removed some old win32 debugger debug code 2002-09-01 14:41:12 +00:00
stskeeps 6aa5b7a341 - Made the IRC_UID stuff more proper.. 2002-09-01 14:39:41 +00:00
stskeeps 9d35460488 bah 2002-09-01 09:27:23 +00:00
stskeeps e1872e1231 - Added Nugget's setuid patch 2002-08-31 16:30:29 +00:00
codemastr b5827fd1de Fixed some /who bugs 2002-08-31 15:33:05 +00:00
codemastr 528238f541 Fixed a bug in TKL that would allow *@* bans 2002-08-31 12:49:28 +00:00
codemastr 3ce3b10e04 Fixed a win32 editor bug with chars > 128 2002-08-28 20:50:09 +00:00
codemastr 478970ed36 Made alias {} use tokens where available 2002-08-28 17:40:17 +00:00
codemastr b89c6a8cd1 Added oper login to the 'is now an operator' notice 2002-08-28 12:12:21 +00:00
codemastr 12264cfa1b Fixed a bug with installed Unreal as a service under WinNT4 2002-08-28 12:06:23 +00:00
stskeeps a1e5a746e3 - A minor fix in SSL_is_inited stuff in s_bsd 2002-08-27 13:16:15 +00:00
stskeeps 4aff4a0376 - More SSL debugging stuff.. 2002-08-27 12:34:43 +00:00
stskeeps 9251a76f63 Added some more debugging stuff, made check_pings a little more readable 2002-08-27 05:04:30 +00:00
stskeeps a5809bba80 bah 2002-08-26 15:13:43 +00:00
stskeeps 9b597033ef bah 2002-08-26 15:10:19 +00:00
stskeeps a15ce8eb54 bah 2002-08-26 14:55:14 +00:00
stskeeps 012bad26c7 SSL debuggin stuff 2002-08-26 14:53:12 +00:00
stskeeps 709d9b87dd - Added a newline in dynconf.h 2002-08-26 10:16:44 +00:00
stskeeps 36e88f1364 - Fixed a problem with set::ssl::certificate and set::ssl::key that used
+  ->ce_varname instead of ->ce_vardata. Found by badSol
2002-08-26 01:02:29 +00:00
codemastr e1c7eead30 ... 2002-08-25 16:54:00 +00:00
codemastr cebae72da4 Fixed a win32 password encryption bug in NT service mode 2002-08-25 16:35:17 +00:00
codemastr 1f2e1a8bcf Added vhost::swhois 2002-08-25 16:10:09 +00:00
cvs2hg a44e23dcfe fixup commit for tag 'unreal3_2_beta12_fixes' 2002-08-25 14:09:01 +00:00
stskeeps 065b111e22 - Compile fix regarding above fix 2002-08-25 14:09:00 +00:00
stskeeps f62b8718aa Fixed problem where SSL handshakes weren't unknown--'ed on remove reported
by Alzirr
2002-08-25 12:57:45 +00:00
cknight f363332faa - Updated docs to include ripemd-160 encryption option 2002-08-25 11:48:04 +00:00
cknight 30efe19cbd - Added set::static-quit to unreal32docs.html 2002-08-25 11:38:27 +00:00
stskeeps 63ece5f2bc - Made so every join is a SJOIN to prevent TS0 problems. Read config.h to disable this if it causes problems 2002-08-25 05:04:58 +00:00
stskeeps 154860ee3a TOPIC_NICK_IS_NUHOST 2002-08-25 04:49:37 +00:00
stskeeps 5785860f71 - Make makecert.bat and encpem.bat show their use in titlebar when run 2002-08-25 04:33:16 +00:00
stskeeps e1b478909e - Made set::static-quit - check doc/example.conf for documentation - but
this allows the admin to decide a standard custom quit for users. so they
  won't be able to make their own quits. This affects set::prefix-quit and
  ANTI_SPAM_QUIT_TIME - it simply replaces it with the message if enabled
2002-08-25 04:26:45 +00:00
stskeeps 21d8c88e2c - Made standard-threads default, and made a Config option if to use FSU
pthreads or not
2002-08-25 03:03:11 +00:00
stskeeps a6776a30a2 - Removed ssl.rnd as it was not supposed to be provided by CVS 2002-08-25 02:08:13 +00:00
cknight 9074722d4b - Corrected release date in doc/unreal32docs.html 2002-08-24 19:21:56 +00:00
cknight 96f0f8274a *** empty log message *** 2002-08-24 18:31:59 +00:00
cknight b4ef73ca7c *** empty log message *** 2002-08-24 16:25:53 +00:00
cknight afc784ddb4 - - Reformated unreal32docs.html in something other than MS Word. 93k now! 2002-08-24 16:20:09 +00:00
luke f851f61b15 +O/+A ban implementation 2002-08-24 15:54:37 +00:00
cknight 751e14cbe2 - Made minor changes to help.conf 2002-08-24 15:48:52 +00:00
stskeeps 5fafec8555 .k
CVS
: ----------------------------------------------------------------------
2002-08-24 14:40:42 +00:00
stskeeps aff113dab8 - Added src/win32/gplplusssl.rtf for ssl-install script to show during
install in license - GPL + the notes from openssl
2002-08-24 13:13:21 +00:00
stskeeps a6c1bdacfb win32 install script changes to deal with version switchover 2002-08-24 12:24:27 +00:00
stskeeps ffbddddb8c Some install script win32 changes to deal with unreal32docs.html 2002-08-24 10:17:19 +00:00
codemastr 477ae217ab Made it so the win32 version of Unreal can't be reinstalled/uninstalled while it is currently running 2002-08-24 01:01:30 +00:00
codemastr 9fbe091509 Made /die exit nicely in service mode 2002-08-23 22:40:36 +00:00
codemastr b2efdf1fe4 unreal service utility changes and win32 resolver fixes 2002-08-23 21:26:02 +00:00
stskeeps 0f9fd774f4 - Changed version to beta12 2002-08-23 17:44:27 +00:00
stskeeps f2fd20d29d - Stripped the docs. 100kb down, but a reformat in something other than MS
word would really really help.
2002-08-23 17:33:25 +00:00
codemastr a29a242639 Made it so clicking wircd.exe when in NT service mode still starts Unreal 2002-08-23 16:48:41 +00:00
codemastr 8550484118 Fixed a set {} memory leak at /rehash 2002-08-22 16:21:40 +00:00
codemastr be5de25086 Recoded /helpop to work correctly 2002-08-21 20:35:22 +00:00
codemastr e898770e64 Fixed a host cloaking bug involving non-dot hosts 2002-08-21 17:23:17 +00:00
codemastr 9950600bcd ... 2002-08-21 17:16:28 +00:00
codemastr 96f407770c Fixed a /invite bug where remote invites didn't work 2002-08-21 17:12:51 +00:00
stskeeps 275d304475 - Added set::ssl::certificate and set::ssl::key to point to where we got the certificat
PEM and the private key PEM
2002-08-21 17:10:46 +00:00
codemastr 8c42cec638 Fixed a typo in /akill and /rakill 2002-08-20 20:20:03 +00:00
luke 18d25aa3e6 grammar bug + halfop kicking halfop bug 2002-08-20 18:58:11 +00:00
stskeeps 7c386cfe5a - FAKE_LAG_FOR_LOCOPS define added in config.h - enables local ops to
override RFC1459 flood control
2002-08-20 18:01:41 +00:00
griever 593b611a11 Added o and O flags for oper override verify and oper override. 2002-08-20 15:46:24 +00:00
griever f8bf69302c Removed LEAST_IDLE 2002-08-20 15:13:05 +00:00
codemastr 20b250b98c Removed .NEW_CONFIG references from the win32 installer scripts 2002-08-20 00:00:28 +00:00
codemastr fbbf54bd9d Fixed a bug where set {} info wasn't cleared out at rehash 2002-08-19 22:47:57 +00:00
codemastr b2752c2ffb Changed cr/lf to just lf in doc/unreal32docs.html 2002-08-19 18:56:46 +00:00
codemastr e72710e0e8 Fixed an oper::swhois bug where the swhois was not propagated 2002-08-19 17:55:03 +00:00
cknight 13a7293f34 - Removed old docs and added new docs to Makefile.in
- Updated .CHANGES.NEW with new version # and link to docs
- Updated .RELEASE.NOTES with new version # and link to docs
- Added NEW doc/unreal32docs.html Docs
2002-08-19 00:42:15 +00:00
cknight f6aa7cdcf6 - Removed ./Setup - No longer supported (read the docs!)
- Removed .NEW_CONFIG - No longer needed
- Removed INSTALL - Refer to NEW docs Unreal32docs.html
- Removed doc/commands.txt - Refer to NEW docs Unreal32docs.html
- Removed doc/faq - Refer to NEW docs Unreal32docs.html
- Removed doc/conf.doc - Refer to NEW Docs Unreal32docs.html
- Removed doc/unrealircd.doc - Refer to NEW docs Unreal32docs.html
- Removed doc/Elite.Changes - Out Dated
- Removed doc/services-install-guide - Refer to NEW docs Unreal32docs.html
- Modfied Unreal.nfo to include ref. to new docs
2002-08-18 21:33:45 +00:00
codemastr cc5258fe8a Added EGD support 2002-08-18 20:28:33 +00:00
cknight e73cb3dac5 Removed /doc/faq not needed included in new docset 2002-08-18 19:21:58 +00:00
stskeeps 330d102bad Fixed some installer problems wrt SSL compile, and added makefile.win32.ssl 2002-08-18 11:16:42 +00:00
stskeeps a1f707ef63 - Added some somewhat path specifics to unrealinstssl.iss 2002-08-18 10:42:49 +00:00
stskeeps 2d074be8fc - Removed GNU malloc totally from the FSU pthreads distribution 2002-08-18 10:33:17 +00:00
codemastr 90fff06b2b Fixed a win32 installer problem with dbghelp.dll installation 2002-08-17 00:57:16 +00:00
stskeeps 566e03e5b2 - Fixed problem with DEBUG ERROR when SSL handshaking (reported by some people) 2002-08-14 20:47:07 +00:00
codemastr 8f883d65b7 Fixed a win32 ssl installer problem 2002-08-14 17:42:51 +00:00
stskeeps 68794a3ffc - Fixed problem where the parameters of the RAKILL aliasing to TKL were switched,
and a missing return for normal users.
2002-08-13 17:41:00 +00:00
codemastr 1fa5ed84e6 Fixed invite 2002-08-12 18:16:01 +00:00
codemastr efb54b62f3 Fixed a bug where MAXCONNECTIONS is shown as 0 when it is too high 2002-08-12 17:51:49 +00:00
stskeeps 6901d27508 - Module load fix for a minor fuckup in SQLINE/UNSQLINE 2002-08-12 17:03:03 +00:00
stskeeps 7f3096ee6b - Allowed SQLINE/UNSQLINE to come from a U:lined client as well 2002-08-12 15:45:46 +00:00
stskeeps 6b51c2d53b .. Fixed a problem with normal unix source compiling as codemastr had
#ifdef _WIN32 'ed find_match_server, causing me to believe it was gone.
2002-08-12 15:18:32 +00:00
codemastr 272b7dd892 ... 2002-08-11 00:40:24 +00:00
codemastr 43e470f898 make install fix 2002-08-11 00:38:03 +00:00
stskeeps 9eede48af4 - Added note about Linux and FD_SETSIZE > 1024 in release notes
- Made IRCd bitch properly when MAXCONNECTIONS>FD_SETSIZE
2002-08-10 17:49:52 +00:00
stskeeps 41a69863d6 bay 2002-08-10 17:08:35 +00:00
stskeeps 07eb941a58 arg 2002-08-10 16:51:44 +00:00
stskeeps f8f829840d FD_SETSIZE crap 2002-08-10 15:40:08 +00:00
codemastr bb95bdfa7c Removed some useless code and added more modules 2002-08-09 20:26:04 +00:00
codemastr 1aa70c7b77 Removed src/s_unreal.c 2002-08-09 18:21:59 +00:00
codemastr 333499a98c Win32 installer 2002-08-07 21:35:51 +00:00
cvs2hg c51b8fe5dd fixup commit for tag 'unreal3_2_beta11' 2002-08-07 21:10:50 +00:00
stskeeps 7af962ecf7 SSL fixes 2002-08-07 21:10:49 +00:00
stskeeps 133ba46362 Operoverride_verify stuff. 2002-08-07 20:52:51 +00:00
luke 608963e031 blah 2002-08-07 20:40:49 +00:00
luke 081b1cd12e sts sucks with grammar 2002-08-07 18:44:45 +00:00
stskeeps 7c4f43b36e --CVS: ---------------------------------------------------------------------- 2002-08-07 17:28:23 +00:00
stskeeps 1db6a86254 - Cleaned out Credits (i'll fix the web part of it later), made doug lea malloc default
+  on Linux FSU Pthread installs. (When we got a better way, we will have full doug lea malloc..)
2002-08-07 17:23:52 +00:00
codemastr 6096b9844e Removed some useless things in include/config.h 2002-08-06 16:28:25 +00:00
luke 85fa5c5bd9 Updated config.h for operoverride_verify 2002-08-06 13:59:58 +00:00
codemastr 6b44a0d643 .RELEASE.NOTES change 2002-08-06 01:26:51 +00:00
codemastr 80d837fa8b Removed support for SSLv2 2002-08-05 17:54:52 +00:00
stskeeps 31d2224b2c - Made +x send out a SETHOST to VHP servers, requested by PreZ@DarkerNet 2002-08-04 08:41:55 +00:00
stskeeps b4f0d0fc9d - Compile error fix regarding version.h 2002-08-03 20:20:14 +00:00
stskeeps 8236faeaf6 Removed doc/Etiquette 2002-08-03 20:13:37 +00:00
stskeeps bf1ccab9a9 +- Removed doc/features.txt, doc/unrealircd.conf.txt, include/relinfo.h,
+  include/stamp.h, src/buildm4, src/chkconf.c, src/conftool.c
2002-08-03 20:12:35 +00:00
stskeeps c2b48d3ce4 - Fixed SSL compile error wrt to /trace 2002-08-03 19:01:26 +00:00
codemastr ba26cc59a9 updated .RELEASE.NOTES 2002-08-03 18:45:51 +00:00
codemastr 6e076ba67b installer fixes and version number change 2002-08-03 18:31:11 +00:00
stskeeps f99d6689ca RELEASENOTES stuff 2002-08-03 18:24:29 +00:00
stskeeps 66eb6fa848 SSL stuff 2002-08-03 16:10:25 +00:00
stskeeps 959c5b0188 Added some OpenSSL version showing 2002-08-03 13:47:23 +00:00
stskeeps 0c730e8931 bah 2002-08-03 11:52:01 +00:00
stskeeps 7d7d4aafca fix 2002-08-03 11:49:37 +00:00
stskeeps 385d9f3ada - SSL compile error fix in s_bsd.c 2002-08-03 11:25:40 +00:00
stskeeps ff4bc60486 Fixed SSL linking, again.. 2002-08-03 11:09:20 +00:00
ejb 7bb73b5e6f - send +f and +L correctly in CHANMODES 005. 2002-08-03 08:53:41 +00:00
codemastr 4897441259 Added some technical documentation 2002-08-02 22:35:20 +00:00
codemastr dc27e6470d Fixed some SJ3 bugs that could cause desync 2002-08-02 20:40:09 +00:00
stskeeps 4d410f5982 - Seemingily we can't do SSLv3 only for ctx_server? 2002-08-02 11:54:03 +00:00
stskeeps c9be3fbac8 +- Fixed some SSL errors. read() returns -1 on error, so ircd_SSL_write and
+  ircd_SSL_read must emulate the same. codemastr: could you check what the
+  win32 equiviant of EIO is? I don't think my WSAEIO or whatever I called it
+  in sys.h is correct.
2002-08-02 11:45:31 +00:00
stskeeps 51539ee85b - Fixed some compile errors found by Zerwas and fixed some implementation problems of
the not able to set +z when there's non +z users (ULines not counted) in channel
2002-08-02 09:22:58 +00:00
luke f448495e3a Made notices pretty 2002-08-01 23:15:12 +00:00
luke f45917c16c New operoverride system...hope it works 2002-08-01 19:53:30 +00:00
luke b22f4c890b fixed modebuf, parabuf sizes 2002-08-01 17:56:54 +00:00
stskeeps 9e205fe3d5 - Made the win32 installer have the option of installing as a service under NT and fixed a
+  shortcut bug
+- Fixed sptr->user->realhost becoming lowercase upon a +x
+- Fixed +bbbbb lots of crap desynch bug
+- Fixed OperOverride snotice bugs with halfop
+- Standardized OperOverride notices
2002-08-01 16:39:05 +00:00
stskeeps ba60adb833 fixed no nssl compile error 2002-07-25 18:35:48 +00:00
stskeeps c0af661c77 More SSL horror and fixed a missing , in m_who 2002-07-24 17:59:26 +00:00
codemastr 54ed370fb3 Fixed a /who hop count bug 2002-07-24 17:49:39 +00:00
codemastr 5b32996538 Some config changes and documentation updates 2002-07-24 17:00:37 +00:00
stskeeps 5af8478d67 moo 2002-07-24 10:22:22 +00:00
stskeeps 2336498e9d blah 2002-07-24 10:11:35 +00:00
stskeeps d7c8623438 . 2002-07-24 10:00:17 +00:00
stskeeps 4e84c85ceb - Added ircd/safe_SSL_read/write from bahamut+inet6/azzuranet. This can be done much nic
when newio is done.
2002-07-23 19:04:18 +00:00
stskeeps 775f3fe272 Fixed some ./configure errors 2002-07-23 17:55:02 +00:00
stskeeps 8aabac59e9 Credits changes 2002-07-23 16:12:16 +00:00
stskeeps 4f1345c350 Removed mutex.c 2002-07-23 15:35:39 +00:00
stskeeps f69335e62b - Made ./configure check if it has parameters, and error if it don't. 2002-07-23 13:11:52 +00:00
stskeeps 13f23e478d - Changed ./update to use update.unrealircd.com 2002-07-23 12:45:58 +00:00
stskeeps c4908cb4fd Added some release notes with regards to scanners 2002-07-23 12:33:44 +00:00
stskeeps f19ebceee6 Fixed a silly bug with regards to matching against compressed IPs in link {} checking 2002-07-22 20:39:58 +00:00
stskeeps f0564193ba - Added a #ifdef _WIN32 for extern BOOL IsService; in ircd.c that made compile break
on non WIN32 systems
- Depricated AKILL/RAKILL and made them alias to TKL G +/- - for normal users they
  just reply that the commands are depricated. Server compatiblity is maintained.
  Eventually it will just be removed. Thank god for modules.
2002-07-22 20:33:49 +00:00
codemastr 36e4b65c45 Made the win32 uninstaller remove dbghelp.dll if it was installed 2002-07-22 00:50:49 +00:00
codemastr a1456aa107 Added an installer script to generate the SSL win32 version 2002-07-21 21:40:24 +00:00
codemastr a799e48f82 Removed StackTrace and implimented a home-grown debugger for win32 2002-07-21 21:31:44 +00:00
codemastr dce6edf333 Removed a TechAdmin reference in makeconf 2002-07-19 20:26:03 +00:00
codemastr 33403f2c3c Added an installer for win32 2002-07-19 18:15:53 +00:00
codemastr ec47a030fb Added WinNT Service Support 2002-07-19 17:31:51 +00:00
luke 02d7d80eb6 Secure channel only (+z) ERR_BANNEDFROMCHAN fix 2002-07-19 00:27:48 +00:00
stskeeps 1dbd3b42d5 - Fixed compile problem with non-glob/win32 systems (sunos 4.1) found by rshurr 2002-07-18 18:05:18 +00:00
luke 6336f7706f Added s_join fix to changes 2002-07-17 16:51:49 +00:00
luke 2fa495de1f Added self to /info 2002-07-17 16:49:31 +00:00
luke 7003df9aaf m_sjoin bugfix to resolve banlist problems 2002-07-17 16:42:11 +00:00
codemastr a0d6f168eb Fixed a makeconf bug that would make it not work after make install in some cases 2002-07-13 17:39:26 +00:00
codemastr 3c11cbb999 Fixed an oper bug where locops didn't get a hidden host 2002-07-13 16:56:01 +00:00
codemastr c5572fa6d5 Fixed a +sp bug 2002-07-12 18:00:45 +00:00
codemastr 032b8c523c ... 2002-07-12 15:51:33 +00:00
codemastr 188fa47e73 Fixed an alias {} prefix bug 2002-07-12 00:52:00 +00:00
stskeeps a1a299b9ff - Added extras/channeldumper.c 2002-07-03 11:25:41 +00:00
codemastr fdfdbd993e Added MD5 and SHA1 encryption to the win32 version 2002-07-01 21:09:01 +00:00
codemastr e81ca7b87c Added support for RIPEMD-160 encryption of passwords 2002-07-01 16:32:15 +00:00
codemastr 65729501ed More WinXP IPv6 fixes 2002-06-30 16:03:38 +00:00
codemastr 6353f10f82 Started WinXP IPv6 2002-06-29 23:28:14 +00:00
codemastr 305d71e552 Removed some obsolete docs 2002-06-29 23:25:10 +00:00
codemastr 17eb4e57d1 Updated INSTALL 2002-06-22 15:39:15 +00:00
codemastr 15e00b6dff made set::scan::bind-ip work in win32 and added AWAYLEN= token to 005 2002-06-22 00:43:22 +00:00
stskeeps 110c1b4fe4 - Fixed minor problem with former patch 2002-06-21 10:41:46 +00:00
stskeeps 7bef381cc6 - Added set::scan::bind-ip, set::scan::message, on request of RaYmAn, documented
in example.conf
2002-06-21 10:23:16 +00:00
ejb f38f758639 - Added /who +R which shows real host to opers. 2002-06-20 19:49:44 +00:00
ejb 539f218fce - Fix a minor stupid in m_quit.c. 2002-06-19 03:50:53 +00:00
codemastr 6282bc7180 more count bug fixes 2002-06-19 00:06:51 +00:00
codemastr 7b39825bb1 Fixed an oper count bug 2002-06-18 23:44:43 +00:00
codemastr cedb574f89 Fixed a bug that could cause an incorrect oper count 2002-06-18 17:07:13 +00:00
codemastr 2b769d576d Updated install to tell the user to use make install 2002-06-18 16:27:06 +00:00
ejb 5d9a49587c - couple of updates to INSTALL. 2002-06-17 20:45:05 +00:00
ejb 6466d1ed3f - Changed m_quit.c slightly, removed a redundant strlen, made prefix-quit of
"no" not use one at all, since this is in example.conf and is sensicle..
2002-06-17 03:42:25 +00:00
ejb 145d3dfb7e - Rewrote m_who.c from scratch. It's slightly different, help.conf explains exactly how. 2002-06-17 03:00:37 +00:00
codemastr 8dd7b3efee Documentation changes 2002-06-16 20:39:22 +00:00
ejb d27f817403 - Added myself to s_info.c:m_info(). 2002-06-16 19:48:02 +00:00
stskeeps 2d2dcbd93a moo 2002-06-15 20:40:56 +00:00
stskeeps b5ae2f7fc8 crack 2002-06-15 20:12:13 +00:00
stskeeps ed34721f16 Failsafe 2002-06-15 19:46:55 +00:00
codemastr a92c041b88 ... 2002-06-09 22:43:59 +00:00
stskeeps 4761f302f6 Included larne's /who patch, adding a multitude of symbols? :P 2002-06-08 19:53:54 +00:00
codemastr b59cead0b2 Fixed a /who bug where + wasn't displayed for voices 2002-06-07 23:40:38 +00:00
codemastr 560155275b Fixed a win32 bug where the tray config menu didn't display anything 2002-06-07 23:29:11 +00:00
codemastr 8694c3ffbe Converted the status window to a modeless dialog 2002-06-07 19:47:30 +00:00
codemastr 562397aa87 Fixed a hidehost bug where ABC.com would generate a different key than abc.com 2002-06-07 16:28:02 +00:00
codemastr 6f5590934f Made module load failure non fatal 2002-06-07 16:14:06 +00:00
codemastr 6fd5101305 Fixed a module bug when there is an include between a module-config-directive and the loadmodule 2002-06-06 21:42:54 +00:00
codemastr 9d1c5c2ceb Fixed a scanner bug causing it to never timeout 2002-06-06 21:31:32 +00:00
codemastr c27a3229c7 Fixed a maxperip and maxunknownconnectionsperip bug in IPv6 2002-06-04 16:46:45 +00:00
codemastr 18892b6446 ... 2002-06-04 16:23:58 +00:00
codemastr 542ecdc7fb Fixed a bug in the new allow system 2002-06-04 16:21:21 +00:00
codemastr a510d024d6 Added allow::options 2002-05-31 21:53:33 +00:00
codemastr ac1c9232bf Fixed some /stats Z problems 2002-05-29 19:53:34 +00:00
codemastr b2ec3ec1a7 Fixed a typo in doc/example.conf (and a few cleanups) 2002-05-29 16:26:21 +00:00
stskeeps 3699932d77 - Fixed some stuff to deal with #136 - Please note that we do NOT compress our addies
- reason for this is because for example ::ffff:192.168.1.5 would really fuck up stuff
  in the IRC protocol
2002-05-28 23:55:07 +00:00
codemastr 2b68123854 Fixed some typos and hostilename problems 2002-05-28 22:03:52 +00:00
codemastr 636aa8352b Fixed a stats l/L bug 2002-05-27 19:28:42 +00:00
stskeeps e0048f7525 - Made ident checking work on IPv6 as well 2002-05-27 17:44:10 +00:00
stskeeps f8865a5aa1 - Fixed a openssl+ipv6 bug, pointed out by Aragon .. This probably breaks some other crap, but what
the heck..
2002-05-25 16:56:59 +00:00
stskeeps 1f75896d56 - Added OpenIRC-CA in .SICI 2002-05-23 09:31:36 +00:00
codemastr 870289c2fd Finally REALLY fixed the scanner (note to Stskeeps: bcmp returns 0 when there IS a match) 2002-05-21 20:54:14 +00:00
codemastr 037b2e6434 Removed some SOCKS scanner debug code 2002-05-21 20:20:17 +00:00
codemastr a6ddaba35b Added gethostbyname_r config check 2002-05-21 18:52:27 +00:00
griever 2484153b70 ... 2002-05-21 01:06:14 +00:00
codemastr 49bb821199 Network file additions/deletions 2002-05-19 22:59:09 +00:00
codemastr 99db84be8c Updated docs and changed version to beta10 2002-05-19 15:18:12 +00:00
griever 8d1ff52f0d Fixed various bugs 2002-05-18 22:41:16 +00:00
codemastr e53e4a93db Credits changes 2002-05-10 22:04:30 +00:00
codemastr e77382c196 Fixed an OpenBSD bug 2002-05-10 21:27:18 +00:00
stskeeps d90d0f52f6 - Fixed a number of bugs in the upper patch. 2002-05-10 17:29:49 +00:00
stskeeps f19f945836 mm 2002-05-10 16:09:26 +00:00
stskeeps 8833852342 :src/ircd.c 2002-05-10 16:02:25 +00:00
stskeeps c343bf91f7 . 2002-05-10 15:59:06 +00:00
stskeeps 1ccd58d2a2 - Rewrote check_pings and the whole way banning people are handled. Do loop.do_banch
to provoke a bans check. This possibly fixes #00001702, #0000137 and other
  funny bugs.
2002-05-10 15:50:54 +00:00
codemastr e1f991f196 Fixed a config parser bug 2002-05-08 23:44:16 +00:00
stskeeps 60a2ebc493 - Fixed a bug with \r\n being mistakenly parsed wrong. Thanks to John_z 2002-05-07 20:59:47 +00:00
codemastr a88f70518c Fixed some free call typecasting 2002-05-01 20:13:37 +00:00
codemastr 29454d1c56 Fixed a socks scanner bug 2002-04-30 22:13:33 +00:00
codemastr f31620b194 Fixed a bug where except ban didn't work 2002-04-28 19:37:23 +00:00
codemastr 3bd9fbcccf Fixed a typo after make is done 2002-04-28 18:45:14 +00:00
codemastr 9834eb7566 Fixed some typos 2002-04-28 18:37:23 +00:00
codemastr ac6f01c0df Fixed another memory leak with the scanners 2002-04-28 18:28:49 +00:00
stskeeps d2db682c97 . 2002-04-26 12:42:33 +00:00
stskeeps 49c8a45728 . 2002-04-26 11:55:31 +00:00
stskeeps 0322db7ebd g 2002-04-25 19:58:45 +00:00
stskeeps 8d35c56efb - Some fixes with connect(). Knowing my luck this will fuck up to hell 2002-04-25 19:55:55 +00:00
stskeeps 9cf9781698 - Memory leak fixes with scanners 2002-04-25 14:28:32 +00:00
griever de9b9854b9 Fixed some stuff 2002-04-23 01:12:45 +00:00
codemastr 640404a4d5 Fixed some 64bit int cloak problems and updated credits 2002-04-19 20:24:41 +00:00
codemastr 13597dc40d Fixed some problems with sykper's patch 2002-04-19 19:43:39 +00:00
stskeeps 5d401a394e - Some more of skyper's security audit patch. Some of them were simply
unfair in regards to performance or blindly added strlcats/strlcpy
2002-04-18 19:05:22 +00:00
stskeeps b95b9d9e27 compile fix 2002-04-18 15:20:39 +00:00
stskeeps 491d6f70c2 First part of skyper's security audit patch 2002-04-15 20:17:36 +00:00
stskeeps f18eb925c4 - Documentation bug #0000152 reported by Tony at sexnet.org fixed regarding
example.conf being wrong about set::socks
2002-04-15 07:31:37 +00:00
codemastr 296b085008 Fixed a bug involving +H and oper counts 2002-04-02 21:28:43 +00:00
codemastr b0178e83bd Fixed a +c bug involving locops 2002-03-28 21:37:27 +00:00
codemastr 4a49f9b21f Fixed a /stats q bug causing a crash with sqlines with no reason 2002-03-26 22:50:27 +00:00
codemastr c20d8fb8f8 Fixed a win32 editor bug causing a crash when you click save multiple times 2002-03-25 21:10:51 +00:00
stskeeps e478bced2e .. 2002-03-25 07:57:46 +00:00
griever 0ce08bb11a blah 2002-03-25 04:48:01 +00:00
codemastr a7851a2b95 Made +I work under win32 2002-03-24 17:25:43 +00:00
codemastr e65a717cf4 Changed version to beta9 and updated documentation 2002-03-24 17:17:26 +00:00
codemastr 430121770f Added EXLIBS= to make custommodule 2002-03-24 17:11:24 +00:00
codemastr e55a6611c8 conf_unknown bug fix 2002-03-23 20:14:44 +00:00
stskeeps 1937f8c742 . 2002-03-23 19:32:21 +00:00
codemastr b516697885 Dynamic hook type system 2002-03-20 19:45:20 +00:00
stskeeps 94306ba8a5 - Cosmetic fix for /setident, found by juli .. 2002-03-20 16:38:37 +00:00
stskeeps c695ee4bcf - One little patch for humanity, one giant step for science.. 2002-03-19 21:14:24 +00:00
stskeeps ba08714e66 - Fix for desynch problem with the fix in /mode system, Thanks to Luke 2002-03-19 19:57:26 +00:00
codemastr 0f9d6e71e8 Updated doc/conf.doc 2002-03-19 16:49:36 +00:00
codemastr 9237ce85cf ... 2002-03-19 16:48:09 +00:00
codemastr f10832a977 Changed HOOKTYPE_JOIN to HOOKTYPE_LOCAL_JOIN 2002-03-19 16:41:43 +00:00
codemastr 7523a30430 Updated all modules to use 3.2-b8 format 2002-03-19 16:00:34 +00:00
codemastr 7587d594da Added HOOKTYPE_JOIN 2002-03-19 15:19:34 +00:00
codemastr 65a2668ede Added log {} syslog support 2002-03-18 23:26:12 +00:00
stskeeps ffea432f5a cfrap 2002-03-17 23:06:56 +00:00
stskeeps e679134624 - Fixed bug with mode buffer overflow .. I'm not 100% positive it works..
Thanks to larne, Luke, SciFi, panda, ^Tux^.. Syzop .. and the countless
  people bitching about their servers going down.
2002-03-17 22:39:06 +00:00
griever 12869627e6 This really should be in all changes files 2002-03-16 20:54:37 +00:00
griever 7819ffae6c Fixed m_oper +Oo bug. 2002-03-16 20:34:17 +00:00
stskeeps 73b7a8be1e - Fix with status needed for remote clients too. Found by
Craig/FrostyCoolSlug <Craig@e-tidalwave.org>
2002-03-16 18:09:15 +00:00
codemastr 0b632d5e71 Fixed a Chinese nick bug 2002-03-16 17:10:17 +00:00
stskeeps 0576528af0 Mroe shit 2002-03-16 16:54:55 +00:00
stskeeps ef43f0f2ca Fix with debugmode 2002-03-16 16:51:56 +00:00
codemastr 0c540e883f Converted commands to use module objects 2002-03-15 23:35:55 +00:00
codemastr 0131d9f325 /mkpasswd typo fix and doc/unrealircd.doc update 2002-03-14 01:24:20 +00:00
stskeeps 2399936a6a - Fixed leftovers of non- char *configfile compliance. Thanks to ace and
various other people ..
2002-03-13 22:03:42 +00:00
codemastr b4a6f24f80 Fixed a listen::options::serversonly bug 2002-03-13 21:18:09 +00:00
codemastr 2f449e0918 Module Insanity Prototype Fix 2002-03-13 20:45:06 +00:00
codemastr fd925b3c28 Module Insanity v1 2002-03-13 20:42:40 +00:00
codemastr 5753585026 Fixed a win32 editor line count bug 2002-03-12 23:36:25 +00:00
stskeeps 1c73d5ae45 . 2002-03-12 20:40:42 +00:00
stskeeps 1a9b9ccf1a more shit 2002-03-12 20:39:16 +00:00
stskeeps ce580bbe09 - Small release tricks 2002-03-12 20:29:17 +00:00
stskeeps 1c22a8257c - Compile fix for TS2ts 2002-03-11 14:17:56 +00:00
griever 335e30513c Fixed -Wall warnings for TSTime 2002-03-11 04:26:27 +00:00
codemastr 38c48fef75 Fixed an IPv6 problem 2002-03-10 20:25:09 +00:00
codemastr 662f6398f3 Release preparation 2002-03-10 19:24:16 +00:00
codemastr 420991af6a Removed my_name_for_link (unused) 2002-03-08 22:13:51 +00:00
codemastr 0f2ae3c278 Win32 fix with u_int16_t 2002-03-06 21:45:04 +00:00
codemastr 4823908acb Removed src/cio_main.c, src/cio_init.c, include/cio.h, include/ciofunc.h extremely old unused code 2002-03-06 21:43:59 +00:00
codemastr 03aa90bc43 ... 2002-03-05 23:22:21 +00:00
codemastr bef880aa6a Removed all remnants of PROTO() 2002-03-05 23:09:39 +00:00
codemastr b8fecd310f ... 2002-03-05 19:34:10 +00:00
griever 104e7200f5 FOO! 2002-03-05 00:49:03 +00:00
codemastr eaecb8c42a Win32 -Wall cleanup 2002-03-04 23:34:13 +00:00
codemastr c4d3ae9df1 Clean compile with -Wall 2002-03-04 21:31:01 +00:00
codemastr b60eb8f989 Readded examples to doc/conf.doc 2002-03-03 19:25:35 +00:00
codemastr 8de39f6dc5 Made extraflags be checked by deny version and fixed a +I bug 2002-03-03 16:04:51 +00:00
codemastr a46ebe1f38 Added various patches by Syzop 2002-03-02 17:18:11 +00:00
griever 78fa804531 blah 2002-02-25 19:56:49 +00:00
stskeeps 2b6390daa3 fixed problem with wrong moved cptr passwd 2002-02-19 16:19:36 +00:00
stskeeps 4aa8f59611 - Fixed #undef STRIPBADWORDS problem, patch by light 2002-02-18 15:37:52 +00:00
griever 3debe8680a -Wall -Wno-implicit 2002-02-16 21:31:51 +00:00
griever 1c9ee5c817 -Wparentheses 2002-02-16 20:54:51 +00:00
griever e5d74b9ae0 -Wformat 2002-02-16 20:40:12 +00:00
griever 6f8aca82f3 -Wunused 2002-02-16 20:15:41 +00:00
griever dbaab6e026 Fixed ugly code 2002-02-16 19:24:42 +00:00
codemastr d3e7ab8006 Credits update and htm fix 2002-02-16 16:48:40 +00:00
codemastr 3a4c06ffd3 Fixed a typo in the docs 2002-02-15 23:00:05 +00:00
stskeeps 73af1fd6e0 . 2002-02-15 22:50:37 +00:00
stskeeps 4fd3ec7525 . 2002-02-15 22:48:51 +00:00
stskeeps 19cd68a204 - lack of time sucks. openbsd problem 2002-02-15 22:46:33 +00:00
codemastr 2d7eb2c1b1 Possibly fixed the /who flags bug 2002-02-12 20:06:20 +00:00
stskeeps c5d855eb10 - Fixed m_rawto.c problem found by TheDarkOne 2002-02-11 20:41:25 +00:00
codemastr d29b6498fb Modified the _ fix to work on all OSes that need it 2002-02-11 17:08:18 +00:00
stskeeps 1f8489a471 . 2002-02-11 16:23:02 +00:00
stskeeps 02acda1628 - Fixed an issue with -x and /quit and whowas, found by RaYmAn 2002-02-11 16:16:25 +00:00
stskeeps fccb560c67 . 2002-02-11 14:34:46 +00:00
stskeeps 376e3d3d6f - Fixed a problem with Mod_Handler being **, found by andi 2002-02-11 13:29:11 +00:00
stskeeps f92fcae257 - Added SJOIN fix so it won't accept NULL channels 2002-02-11 12:48:27 +00:00
stskeeps 7c54ce70c9 - Added andi's OpenBSD fix for the symbol issue with prefix _ 2002-02-11 12:24:15 +00:00
stskeeps 0206d844e9 +- Added tainted variable. 3rd party modules must ++ this upon load,
+  -- upon unload. Will show a 3 in flags.
+- Added extras/m_rawto.c - 3rd party module. Fixed some documentation
2002-02-11 11:03:05 +00:00
stskeeps afcb0b2a03 - Made makefile ability to "make custommodule MODULEFILE=m_zline"
if m_zline.c is in src/modules/, it will get compiled. This SHOULD
  help 3rd party modules atleast
2002-02-11 10:24:11 +00:00
stskeeps 9194aece63 Various 2002-02-06 19:38:30 +00:00
stskeeps a9f1838c3e - Various fixes to virthost system, may fix some memory corruptions
and potential exploits.
2002-02-06 19:35:42 +00:00
stskeeps 78ef8effe9 - Various fixes to virthost system, may fix some memory corruptions
and potential exploits.
2002-02-06 19:33:21 +00:00
stskeeps 90d56ef4e5 fix broken 2002-02-06 15:03:15 +00:00
griever ae0f7643dd Fixing broken tokens 2002-02-05 23:47:44 +00:00
codemastr 30b0175a39 ... 2002-02-03 17:25:52 +00:00
codemastr bd6729ad93 More -Wall cleanups 2002-02-03 17:15:37 +00:00
stskeeps 51d0d59ced slight compile error 2002-02-03 15:11:55 +00:00
stskeeps 9daf3d0b73 - BEFORE you use event functions, LockEventSystem(), after,
UnlockEventSystem(). In EVENT() functions, the system _is_ locked.
  This might fix the double recursion mutex problem we got.
2002-02-03 15:09:49 +00:00
stskeeps 7805566ceb - Fixed loadmodule invisibility.so: undefined symbol:
get_umode bug, reported by James-Bond, #0000060)
2002-02-02 16:50:51 +00:00
griever c7fbfa3e92 Yeah yeah, blah blah shit 2002-02-02 02:24:44 +00:00
codemastr 8e7b926c31 Made the win32 version set read only log files to writable 2002-01-31 21:11:29 +00:00
codemastr 887a003b98 Added a shutdown confirm message box when you click the X in win32 2002-01-31 20:32:38 +00:00
codemastr 5a0d13d9fa Fixed a umode system error with unknown modes 2002-01-31 17:50:56 +00:00
codemastr 164869dca5 Documented the new set::scan::* directives in doc/conf.doc 2002-01-30 22:10:54 +00:00
codemastr 538c318eb6 Fixed win32 scanner bugs, and added a menu option to view log files in win32 2002-01-29 22:45:17 +00:00
stskeeps fa2e9760f9 - Changed some m_ functions into CMD_FUNC(m_*) 2002-01-29 13:48:00 +00:00
codemastr 5a366beda7 Scanner config changes 2002-01-29 00:21:57 +00:00
codemastr 0f6d91091e ... 2002-01-28 00:39:32 +00:00
codemastr 8be7cbab05 Made all functiosn use new-style parameter lists 2002-01-28 00:38:02 +00:00
stskeeps 112d928f11 - Fix for /version crash, reported by RaYmAn 2002-01-27 23:18:32 +00:00
stskeeps 6d239e28ec - -Wall cleanup cleanup with SSL AUTH problem 2002-01-27 22:40:11 +00:00
codemastr d10bc57b74 ... 2002-01-27 20:31:56 +00:00
codemastr 6b8c83ba85 Cleaned up a bunch of -Wall warnings 2002-01-27 20:28:41 +00:00
stskeeps 93f759f200 - Changed umode +I behavoiur to you have to be loading invisibility.so to ha
the +I functionality. Code is still in IRCd, but isn't used until module
  is loaded. Loading of this will cause an R to be added to /version
  flags. Hopefully this will satisify some people's thoughts about a so
  called spy tool being enabled by default. Also added flag_add(char *)
  and flag_del(char) for modules to add to flags string. -Sts
- Removed -win32 postfix for wircds, look in /version for W instead
- Removed ircnetwork part of /version
2002-01-27 18:07:20 +00:00
codemastr dc3f1ba227 Documented link::cipher and except tkl in doc/conf.doc 2002-01-26 20:47:42 +00:00
codemastr b549340657 Added except tkl 2002-01-26 20:38:12 +00:00
codemastr 8f68a64363 Made SHOW_SECRET defined by default 2002-01-26 18:16:02 +00:00
codemastr 15c765449b Fixed a t.next recode typo and added -pipe check for gcc 2002-01-26 17:54:14 +00:00
stskeeps ec5231f565 - Fixed some t.next's and replaced with codemastr method(tm) 2002-01-26 00:20:20 +00:00
stskeeps db060a11b8 - Fixed some minor issues with dialog interface for .pem SSL passwords
- Added makecert.bat / encpem.bat to src/win32, which are used in SSL release
2002-01-26 00:17:35 +00:00
stskeeps f52f030346 fix 2002-01-26 00:12:32 +00:00
codemastr 58c667c7c3 Added a win32 dialog for the SSL .pem passwords 2002-01-25 23:11:29 +00:00
stskeeps a3a04d9797 - Added link::cipher for #define USE_SSL, use this to select
ciphers, read example.conf for more. Closes #000016. Suggested by narf
2002-01-25 22:22:11 +00:00
codemastr 3e89146e19 Fixed a listener bug 2002-01-24 21:11:19 +00:00
codemastr ce009a31ba Fixed a win32 bug that causes the editor to cut text at 32KB 2002-01-24 21:00:09 +00:00
stskeeps e39a1f9884 zogg socks fix 2002-01-24 18:29:19 +00:00
stskeeps 7a7e2de05c - Added patch in #0000053 by |savage|, speedup in can_send 2002-01-24 17:48:04 +00:00
stskeeps 59084e02a1 +- Fixed #0000046 regarding Module_free memory leak 2002-01-24 17:44:03 +00:00
codemastr 6fda3150a6 Removed some useless tkl code 2002-01-22 20:19:40 +00:00
codemastr 6db9156993 Fixed a listener bug reported by Dragon974 2002-01-22 20:03:54 +00:00
codemastr e306a6e55c Recoded hooks to work like events 2002-01-21 18:25:20 +00:00
codemastr e72587c252 ... 2002-01-20 20:19:40 +00:00
codemastr eca91bee1f Fixed a module object bug involving static linking 2002-01-20 16:04:13 +00:00
codemastr 0b873a2b6b Recoded hooks to use module objects 2002-01-20 15:42:48 +00:00
griever c78c669fdd wtf.. 2002-01-20 00:01:36 +00:00
stskeeps 863e32a3d9 Problem with sendto_ops and null aclient->user fix 2002-01-19 18:12:22 +00:00
codemastr de2c5e6cc7 Various changes to the module system 2002-01-19 17:04:04 +00:00
griever 84c70bdd2f Blah... 2002-01-15 20:07:30 +00:00
griever aedfae229a Fixes about stuff 2002-01-15 04:32:00 +00:00
griever f65e857d4e sendto_ops is SNO_SNOTICE now 2002-01-15 04:27:14 +00:00
griever 587f4c4281 fix for stuff... made kline-address error easier to understand 2002-01-15 03:50:24 +00:00
griever f5f4e4500f Blah de poop! 2002-01-15 00:39:04 +00:00
codemastr dbda73fa56 Fixed various bugs and some cleanups 2002-01-14 20:01:36 +00:00
griever 0dd1483fc3 example.conf and m_oper fixes 2002-01-13 22:00:27 +00:00
griever 96d2cf936b MAXPARA removal 2002-01-12 22:18:48 +00:00
griever f7ab73f82e stupid error 2002-01-10 20:22:46 +00:00
stskeeps 12cdefe981 . 2002-01-09 13:52:25 +00:00
griever 8b6f528b54 *prays* 2002-01-08 02:17:05 +00:00
griever f512f9b901 now does a NOQUIT type thing for SQUITs 2002-01-08 02:14:49 +00:00
griever 819e0c98ea uh? 2002-01-08 01:14:28 +00:00
codemastr 2f67e63456 Updated INSTALL because people don't read channel topics 2002-01-08 00:22:55 +00:00
griever c2649c5438 Code cleanups 2002-01-07 22:42:45 +00:00
griever b34268dad0 Fixed gline bug 2002-01-07 22:35:12 +00:00
codemastr e20e9dfd85 Added Tkline, Tzline, and Gzline to the docs 2002-01-07 22:08:24 +00:00
codemastr 455d732636 Changed version to beta6 2002-01-07 19:19:47 +00:00
codemastr ba01670af2 Updated release notes 2002-01-07 19:12:37 +00:00
codemastr 9e42107355 Converted all calls to hunt_server to hunt_server_token 2002-01-07 19:01:07 +00:00
codemastr d25d7900df Added the ability to go to a specific line in the win32 editor 2002-01-07 18:41:57 +00:00
codemastr d48edbdf5c Added hunt_server_token 2002-01-07 16:07:02 +00:00
griever b1fce6bb63 omg... 2002-01-06 04:24:57 +00:00
griever ff4517fa8a ... 2002-01-06 04:09:44 +00:00
griever 2ed3bf18df Fixed compile bug with me not knowing structure stuff 2002-01-06 04:08:04 +00:00
griever 3a49482363 Fixed target limits 2002-01-06 03:50:07 +00:00
griever 1055c2b73c Yay, sts was drunk 2002-01-06 02:01:34 +00:00
codemastr 29f53a13c4 More editor changes 2002-01-05 20:32:30 +00:00
codemastr 40a014a66e Fixed a token error 2002-01-04 22:18:56 +00:00
codemastr 393217392f Removed some // comments 2002-01-04 00:30:05 +00:00
codemastr 711b771b39 Made a few cleanups to the win32 code 2002-01-02 21:35:26 +00:00
codemastr 0f93326707 ... 2002-01-02 21:21:30 +00:00
codemastr bdd52d3eb8 Made the win32 editor use a toolbar, and added XP GUI support 2002-01-02 21:20:29 +00:00
griever 8b753d84eb Moved some stuff to the local section of aClient
stuff is still commented out (don't whine about //comments
as the lines are gonna be removed anyway)
in case this makes it core
2002-01-02 04:21:21 +00:00
griever 70a129aac4 Doh, forgot to comment the & too... 2002-01-02 04:12:21 +00:00
griever f0ddd37c49 Removed archaic useless stuff 2002-01-02 03:46:14 +00:00
stskeeps d20059ea7d +- Removed some ancient debugging code (num - %s) 2002-01-01 16:40:00 +00:00
stskeeps bebebf6cdf +- Made support in *nix for encrypted SSL private keys,
+  "make encpem" to make an encrypted server key if you already have one
2002-01-01 16:25:29 +00:00
codemastr 3bdee011e9 Fixed a typo in example.conf 2001-12-31 16:29:09 +00:00
stskeeps 259b1a5eeb +- Fixed .1081 problem, see bug #0000020 for more information about how
+  it REALLY should be fixed
2001-12-31 00:55:48 +00:00
codemastr 49780c8113 Fixed a editor bug where it always says the file was modified 2001-12-30 20:55:51 +00:00
codemastr 9aeeca3ee8 Fixed svsnoop 2001-12-30 20:52:14 +00:00
stskeeps be3f21edd7 +- Fix for svsnoop symdep problem 2001-12-30 20:43:53 +00:00
stskeeps 407aa55e58 +- Fixed problem with EventDel, doing eventptr instead of eventptr->name
+- Fixed bug #0000019 reported by Syzop, and bug found by same to deal with
+  individual module loading
2001-12-30 19:51:31 +00:00
codemastr 08ad7f0816 Made tld::mask user user@host instead of just host 2001-12-30 17:39:33 +00:00
stskeeps 0f9b578baa +- Crash in scan_http fixed, h->in instead of &h->in = bad 2001-12-30 11:41:25 +00:00
stskeeps 976aa0cb77 +- doh, missing a ! in m_tkl.c that allows us to do bad things(TM)
+- Fix for nested comments, found by lnxgk
+- C++ comment fix, lnxgk again.
2001-12-30 08:48:41 +00:00
griever 929dd62144 *cant enter a commit log because he's too busy laughing at himself* 2001-12-30 07:54:22 +00:00
codemastr 4df1253ab3 Removed set::hosts::techadmin from all network files 2001-12-30 00:34:23 +00:00
griever 662ad36275 Fixed makenet so techadmin-host is gone 2001-12-29 23:40:46 +00:00
griever 75b989d67a added mutex.c 2001-12-28 23:10:30 +00:00
codemastr 5b5ed53edb Fixed a major events bug caused by drunken coding 2001-12-28 22:44:24 +00:00
codemastr 009a3d498c Fixed a /chgname bug where you needed a : to have spaces 2001-12-28 22:25:57 +00:00
codemastr 9b8b45099f Fixed a bug causing weird things to happen after /rehash 2001-12-28 22:14:13 +00:00
griever 5d0f93255b Grr.... 2001-12-28 21:38:52 +00:00
codemastr b4091f77ff Fixed an editor bug under WinXP 2001-12-28 17:47:38 +00:00
stskeeps 4934786273 +- Reversed freeze bug fix, _NP means NON PORTABLE
+- Fixed a freeze problem with conf_deny_link
2001-12-27 13:01:00 +00:00
griever 0d0a632f51 Fixed (I think) freeze bug in m_htm, this might not work on all pthread implementations 2001-12-27 06:01:15 +00:00
griever 3594f2ee45 Made it so "modulename.so" -> "./modulename.so"` 2001-12-27 05:59:05 +00:00
stskeeps c07e8962e5 +- Small fix for #427583 mode bug 2001-12-26 23:35:25 +00:00
griever 9c947f140e Duh... 2001-12-26 22:38:10 +00:00
codemastr 86206ed51c Fixed a win32 editor bug 2001-12-26 17:03:27 +00:00
stskeeps 836be977eb +- Actually enabled MD5, SHA1 methods when SSL was defined. (fix for drunk
+  coding)
2001-12-25 18:13:34 +00:00
codemastr 3859340b2a Fixed a bug in new-style oper flags making it ignore some flags 2001-12-25 18:10:39 +00:00
stskeeps b2ef3ec1b6 crypt fix 2001-12-25 13:29:50 +00:00
griever 5c0894e57c fixed bug in /stats o causing classless oper{} blocks to possibly core 2001-12-25 05:23:33 +00:00
griever 12cee06bf1 Fixed /map bug that allowed users to find U:Lined servers 2001-12-25 02:24:24 +00:00
stskeeps c753c7adc1 +- Fixes for ->user structures 2001-12-24 22:43:14 +00:00
codemastr 897a8cec60 Fixed a DEFAULT_PERMISSIONS bug 2001-12-24 22:34:02 +00:00
codemastr 548c108ecb Fixed a last minute win32 bug 2001-12-24 18:51:40 +00:00
stskeeps 7ec691c0ed +- make install fix 2001-12-24 13:54:59 +00:00
stskeeps 129bc36adf +- Fixed some slave work.. return MOD_SUCCESS; in all command modules.. 2001-12-24 11:19:49 +00:00
stskeeps 23bc0b40e6 +- Changed to beta5 2001-12-24 09:02:00 +00:00
stskeeps 6ccda4cc95 +- Added back good old error reporting in ./unreal start 2001-12-24 08:16:58 +00:00
codemastr 8480b860cf Updated /info 2001-12-23 23:29:51 +00:00
codemastr 8505657eab Final Release Cleanups 2001-12-23 23:08:27 +00:00
stskeeps 9dd3367f72 +- Credits fixes 2001-12-23 22:51:58 +00:00
stskeeps e888024e63 +- CIDR IPv6 fixes, scan_* fixes 2001-12-23 22:27:10 +00:00
codemastr 41f65241a4 Added a few network files 2001-12-23 21:26:52 +00:00
codemastr 77e03b3c91 Credits updates 2001-12-23 19:17:27 +00:00
codemastr 1a0131e9a9 Made a few updconf changes 2001-12-22 21:25:35 +00:00
codemastr cd2b8186e7 Documentation updates 2001-12-22 21:09:33 +00:00
codemastr 64ee79c5f5 Fixed a /time bug in win32 2001-12-22 20:51:06 +00:00
stskeeps f387fbbd4f +- Auth_Make fix for crypt method 2001-12-22 16:59:08 +00:00
stskeeps 3981a679c5 +- Changed SERVICES-NAME warning to error 2001-12-22 16:07:48 +00:00
stskeeps e65e01ddff +- Config parser fixes (bugs found by Souleh) 2001-12-22 15:42:21 +00:00
codemastr 68615a398f Fixed a typo in s_misc.c 2001-12-22 01:50:47 +00:00
codemastr c6266dc19c Fixed some other scanner bugs 2001-12-21 23:08:03 +00:00
codemastr dae5b893d1 Scan API cleanup, goto = evil 2001-12-21 22:58:00 +00:00
stskeeps a4de9ac1e2 +- Added #undef SECURECHANMSGSONLYGOTOSECURE - send only channel msgs to +z
+  people on +z channels
+- win32 fixes
2001-12-21 17:40:43 +00:00
stskeeps ea1e7b3f70 win32 fixes, again 2001-12-21 17:18:16 +00:00
stskeeps edd0b08139 win32 fixes 2001-12-21 15:05:59 +00:00
griever d9d5cdc910 m_sendumode done 2001-12-20 21:54:09 +00:00
griever 343f193e7b ...misspelling 2001-12-20 21:07:45 +00:00
griever a1b3eb1331 Fixed some errors 2001-12-20 20:55:45 +00:00
griever 3a482d26ca Dumbass bug... 2001-12-20 20:33:16 +00:00
griever 68bfeffa70 Slightly working m_sendumode recode, nits:
it will send to people only with ALL umodes, but with ANY of the
snomasks

blame it on sendto_umode and sendto_snomask for being wierdass
2001-12-20 03:46:00 +00:00
griever 6e42d09c50 beginning of new SMO code, testing to make sure it worky
new command format:
SMO modes :message
OR
SMO modes snomasks :message

if you want to use JUST snomasks, put "+" as the mode

the modes parameter accepts a snomask as long as there
isn't a mode with same name
2001-12-20 00:07:38 +00:00
griever 567f3b8fcb Compiles and works fine now :D 2001-12-19 00:53:36 +00:00
griever f8d1e81206 now lets see if it will compile 2001-12-19 00:04:32 +00:00
griever 6c6130fab6 Untested, not sure if it even compiles TKL shits, testing on t2n as soon as this is committed 2001-12-18 23:57:13 +00:00
stskeeps 7695fb209d +- Made link::hubmask and link::leafmask actually work properly 2001-12-18 17:39:10 +00:00
griever 2cc3eb2266 Changes modified 2001-12-17 20:34:39 +00:00
griever 4fca682f8c Error is getting really annoying... 2001-12-17 00:51:31 +00:00
griever 6e67d9dea0 added set::modes-on-oper (modes all opers get when they op up)
made Aa oflags include O
modified docs to reflect such
2001-12-17 00:43:51 +00:00
griever 5d2092858d Made +N give you +OaA as well, since everyone used it that way
Grr, it seems like such a hack to me but ok :(
2001-12-17 00:13:37 +00:00
codemastr 4291191149 Help system recode 2001-12-16 00:35:57 +00:00
griever d2a90a5101 *#($&@#(*$! 2001-12-14 22:48:20 +00:00
griever 5d5ffa3f06 !*@*$^%! I reported this bug MONTHS ago people! 2001-12-14 22:44:08 +00:00
451 changed files with 138513 additions and 55941 deletions
+3 -2
View File
@@ -7,7 +7,7 @@
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
Configuration Program
for Unreal3.2-Selene(beta2)
for Unreal3.2.10.7
This program will help you to compile your IRC server, and ask you
questions regarding the compile-time settings of it during the process.
@@ -15,5 +15,6 @@ regarding the setup of it, during the process.
If you have problems regarding the setup & compile, read Unreal.nfo to get
more information on where to get help. Please, before running this setup,
read the documentation in the "doc" folder.
read the documentation in the "doc" folder. Docs are also avail online @
http://www.unrealircd.com/unreal32docs.html
-8
View File
@@ -1,8 +0,0 @@
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| UnrealIRCD Custom Create Network Configuration|
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| |
| This will not be too hard, just follow the |
| instructions, and answer the questions... |
| |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
+145 -67
View File
@@ -1,86 +1,164 @@
Unreal3.2.10.7 Release Notes
=============================
Unreal3.2-Selene (BETA4) RELEASE NOTES
======================================
I M P O R T A N T R E A D I N G
==[ UNREALIRCD 3.2.X IS DEPRECATED ]==
You are currently viewing the release notes of UnrealIRCd 3.2.10.7.
UnrealIRCd 3.2.* will no longer be supported after December 31, 2016.
You should upgrade to UnrealIRCd 4 before that date.
See https://www.unrealircd.org/docs/UnrealIRCd_3.2.x_deprecated
==[ GENERAL INFORMATION ]==
- If you are upgrading on *NIX, then make sure you run 'make clean' and
'./Config' first, before running 'make'.
- The official UnrealIRCd 3.2.x documentation is available online at
https://www.vulnscan.org/UnrealIRCd/unreal32docs.html
FAQ: https://www.vulnscan.org/UnrealIRCd/faq/
Read them before asking for help.
- Report bugs at https://bugs.unrealircd.org/
- The purpose of the sections below (NEW, CHANGED, MINOR, etc) is to be a
SUMMARY of the changes in this release. See the file 'Changes' for a
complete list of all changes.
* Unreal3.2-Selene is a lot different than Unreal3.1.1. Forget all you have
learned about setting up Unreal3.1.1 - this is a lot different. We have got
a new configuration format that integrates all the former config files,
ircd.conf, vhost.conf, chrestrict.conf, unrealircd.conf, into to one new
unrealircd.conf (what the ircd.conf is called now). See doc/ for more
information on the configuration format
==[ .7 RELEASE ]==
The following issue was fixed in 3.2.10.7:
- Fix SASL EXTERNAL security issue
* We have introduced a new cloaking algoritm (+x), which makes it
incompatible with Unreal3.1.1 - these can however still link, but the
hostname will look different. This is made of three big numbers,
configured in the config file - and these MUST be the same on all servers
on the network. Keep these numbers secret, and the cloaking algorithm is
uncrackable (within 55 years, that is)
==[ .6 RELEASE ]==
The following has been addressed in 3.2.10.6:
- Add notes regarding deprecation of 3.2.x series
- Build with latest OpenSSL to fix crash issue (Windows)
- Don't show vcredist dialog if installed (Windows installer)
* We use autoconf to help with compiliation, and this should make us able
to a lot more platform (we have even ported to BeOS).
==[ .5 RELEASE ]==
The following issues have been fixed in 3.2.10.5:
- Crash when SASL is enabled (set::sasl-server)
- A compile problem with LibreSSL
* We require a pthreads library for the SOCKS scan now - and this is now
done in the background (no more waiting!).
==[ .4 RELEASE ]==
Two major issues were fixed:
- Compile problems when using clang instead of gcc (such as on FreeBSD & OS X)
- For services who allow you to log in by account name but still allow you to
use a different nick: when you're logged in you are now considered
registered as far as mode +M and +R are concerned.
Tech: whenever services set SVID and it's not * and does not start with a
number, then we consider this user to be 'logged in'.
Whenever a user is set +r (s)he is also considered 'logged in'.
This way it's compatible with both older and new services and doesn't
(or shouldn't) introduce security issues with older services using
servicetimestamp for nick tracking or other means.
Additionally:
- curl-ca-bundle.crt has been updated to use latest certificates
- The Windows libraries (OpenSSL, curl, ..) have been updated.
* The IRCd is now modularized, and you load modules with the loadmodule
command. You will most likely want to add these lines:
loadmodule "src/modules/commands.so";
loadmodule "src/modules/scan.so";
loadmodule "src/modules/scan_socks.so";
loadmodule "src/modules/scan_http.so";
If you would like to code a module, doc/ will contain a module guide,
and we got an example module in src/modules/m_dummy.c.
==[ .3 RELEASE ]==
The following issues have been fixed in 3.2.10.3:
- Crash when SASL is enabled and ping-cookie is disabled
- Compile issue with remote include
- OS X compile problems
- ./unreal backtrace not always working well
Changes:
- For silenced users we now only check the current nick!user@host
- Server to server links now use latest TLS (eg: v1.2) instead of SSLv3
New:
- Added set::spamfilter::stop-on-first-match (default yes). You can change
this to 'no' to have UnrealIRCd continue processing all spamfilters even
after the first match. The spamfilter with the 'gravest action' wins
(eg: gzline wins from block).
* We have some IPv6 support, and there are some minor bugs in it.
==[ .2 RELEASE ]==
The following major issues were present in 3.2.10 & 3.2.10.1 and have
been fixed in this version:
- A remote crash issue when compiled with SSL (NULL pointer dereference)
- A second issue that can potentially lead to a crash (read-after-free)
* The documentation is NOT yet 100% complete
In addition to these 3.2.10.x fixes there were also some other bugs fixed,
mostly in the area of server linking and flood hardening.
* We have added snomask (similar to ircu), basically this allowed us to remove several modes. Modes +cfFkje
are gone, but don't worry, you can still use them. They are now added like this:
/mode yournick +s +cF
The external libraries of the Windows version have been updated (openssl,
c-ares, zlib). The bundled c-ares source (for *NIX) has been updated too.
You set the flags in the second parameter of the mode command for a mode change +s, setting -s with no
parameters removes all your snomask. You can remove a specific snomask by doing:
==[ .1 RELEASE ]==
The following bugs in version 3.2.10 were fixed in this 3.2.10.1 release:
- Windows only: outgoing connects from Windows caused severe linking issues,
including killing of (ghost) users on the Windows server.
- An issue where user modes were stripped from remote clients, this caused
a problem for Anope BotServ bots.
- A compile problem on OpenBSD.
- '/REHASH -global' did not rehash all servers.
- Some documentation updates.
/mode yournick -s -c
==[ 3.2.10 RELEASE ]==
Below is a summary of all changes with respect to 3.2.9:
The current snomasks are:
==[ NEW ]==
- Improved socket engine. This brings some performance improvements and
also makes it easier to configure a system to hold more than 1024
clients (no more editing of header files on Linux!).
- ESVID support: services can communicate the account name of the user
back to the IRCd. This only works on ESVID-capable services:
- Extban ~a:<accountname>: matches users who are logged in to services
with that account name.
- Show account name in /WHOIS
- CAP support: this enables clients to enable certain features more easily.
Can be disabled through set::options::disable-cap.
- Now that STARTTLS is advertised in CAP it is likely to be used more often.
- away-notify: informs clients of AWAY state changes of users on the same
channels, for clients that support this.
- account-notify: similar to away-notify, inform clients of changes in the
login status and account name used by other clients on the same channels.
- SASL support. To use this, and if your services support this, you point
set::sasl-server to your services server.
- Server-side MLOCK support: the IRCd will prevent channel mode changes
depending on the MLOCK setting in services. Requires special support
from services for this feature.
- User Mode +I (IRCOp only): hide idle time
- auth-method 'sslclientcertfp': authenticate users using an SSL client
certificate by the SHA256 fingerprint of that certificate.
The documentation has a new section (3.19) called 'Authentication Types'
which contains an (improved) example of how to use SSL client certificate
authentication instead of regular passwords.
- oper::require-modes: an optional setting, which can be used to require
users to have certain user modes (such as 'z') before they can /OPER up.
- allow/deny channel: you can now optionally specify a class here as an
extra filter.
- doc/example.es.conf: Spanish translation of example configuration file.
- There have also been some behavior changes, which can be considered NEW,
see next section (CHANGED).
c - local connects
F - far connects
f - flood notices
k - kill notices
e - 'eyes' notices
j - 'junk' notices
v - vhost notices
G - gline/shun notices
==[ CHANGED ]==
- Anti-spoof protection (ping cookies) can now be enabled/disabled at
run-time through set::ping-cookie [yes|no]. The default is 'yes' (enabled).
- A quit with 'Ping timeout' now shows the number of seconds since the ping.
- Print out a warning if we can't write to a log file.
- Refuse to boot if we can't write to ANY log file.
- Windows: if an SSL certificate exists, then uncheck the 'generate SSL
certificate' checkbox by default.
- *NIX with SSL: We now ask in ./Config if you want to generate an SSL
certificate. The certificate is then copied when you run 'make install'.
It shouldn't be too hard to figure out, just play around with it a bit :)
==[ MAJOR BUGS FIXED ]==
- Windows SSL crash (this issue was already fixed in 3.2.9-SSL-fix)
- Other than that, none?
* /who needs testing it was recoded and may contain bugs
==[ MINOR BUGS FIXED ]==
- Various compile problems, in particular with remote includes enabled.
- Windows: the installer sometimes insisted that the Visual C++ 2008
redistributable package was not installed, when it actually was there.
- Windows: MOTD file date/time was always showing up as 1/1/1970.
- And more... see Changelog
* We have added alias {} which allows you to dynamically create commands such as /nickserv
Read example.conf for more information on how to create your own. To use standard ones include
one of the following files
==[ REMOVED / DROPPED ]==
- Windows 9X is no longer supported
- The networks/ directory has been removed
aliases/ircservices.conf (IRCServices, Daylight)
aliases/epona.conf (Epona)
aliases/generic.conf (Magick, Sirius, Wrecked)
aliases/operstats.conf (OperStats)
aliases/genericstats.conf (GeoStats, NeoStats)
==[ KNOWN ISSUES ]==
- Regexes: Be careful with backreferences (\1, etc), certain regexes can
slow the IRCd down considerably and even bring it to a near-halt.
In the spamfilter user target it's usually safe though.
Slow spamfilter detection can help prevent the slowdown/freeze, but
might not work in worst-case scenario's.
- Regexes: Possessive quantifiers such as, for example, "++" (not to be
confused with "+") are not safe to use, they can easily freeze the IRCd.
* You can now use an IP in the oper::from and vhost::from fields even if the host resolves
* Added an http proxy scanner (scan_http.so)
* MAKE SURE YOU RERUN ./Config AND RUN make clean BEFORE USING THIS VERSION!!!
* THIS IS A BETA VERSION. THINGS MAY NOT WORK. REPORT ANY BUGS TO THESE
ADDRESSES:
* coders@lists.unrealircd.org and bugs@lists.unrealircd.org
==[ ADDITIONAL INFO ]==
- See Changelog for more details
+7 -12
View File
@@ -4,17 +4,12 @@
| some kind of Certification Authority (CA), so your users can check that |
| they are really connected to the real server, so they feel secure? |
| |
| A initiative have been started, to help this problem, as more and more |
| SSL-enabled IRC servers will be started in the future, and people will |
| have trouble authenticating that they are really at the right server. |
| This initiative is called SICI (Secure IRC Certification Initiative. We |
| sign your certificates for free, using the simple way of authenticating |
| you by going to your IRC server and testing if it's really you. |
| There is an initiative at CACert.org - They offer SSL Certificates |
| for use with your IRCd for free, so your users can be sure that they |
| can trust you and your server. |
| |
| You can send in your "server.req.pem" file to us at our email |
| certs@sici.ircsystems.net, with contact info on you (IRC network, nick, |
| status). We will then contact you, and check if you have provided true |
| information. If you need more information about SICI, visit our website |
| http://sici.ircsystems.net, where you can download our root certificate,|
| and read even more about this project. | Press enter to continue |
| To get a free signed certificate please visit http://www.CACert.org |
| _________________________|
| | Press enter to continue |
---------------------------------------------------------------------------
+1 -1
View File
@@ -74,4 +74,4 @@ echo \n
echo Modules:\n
echo ----------------------\n
dumparray Modules 50
quit
quit
-6
View File
@@ -1,6 +0,0 @@
ircdcron/ircd.cron
ircdcron/ircdchk
src/modules/Makefile
src/ssl.rnd
src/win32/devel/StackTrace.lib
src/win32/gnu_regex.lib
+16
View File
@@ -0,0 +1,16 @@
[repository]
native = LF
[patterns]
.RELEASE.NOTES = native
README = native
Unreal.nfo = native
makefile.win32 = native
Changes = native
**.c = native
**.h = native
**.conf = native
**.html = native
**.txt = native
**.bat = native
**.iss = native
+35
View File
@@ -0,0 +1,35 @@
syntax: regexp
# particular targets
^ircdcron/ircdchk$
^ircdcron/ircd\.cron$
^src/ircd$
^src/include$
^src/version\.c$
^unreal$
^server\.(cert|key|req)\.pem$
# extras archives and builds
^extras/[^/]*\.(bak|tar)$
^extras/[^/]*\d/
^extras/(c-ares|regexp)/
# running unrealircd from the source directory
^ircd\.(log|pid|tune)$
^ssl\.rnd$
# General
\.(o|so|orig|rej)$
~$
(^|/)core(\.\d+)?$
# autotools
^aclocal\.m4$
^autom4te\.cache/
^config\.(status|log)$
# not quite autotools
^config\.settings$
^include/setup\.h$
^Makefile$
^src/modules/Makefile$
-2
View File
@@ -1,2 +0,0 @@
List of helpers in the alpha/beta phase:
* Headbang, Alpha/beta tester
+7 -993
View File
File diff suppressed because it is too large Load Diff
+2522 -1741
View File
File diff suppressed because it is too large Load Diff
+4844
View File
File diff suppressed because it is too large Load Diff
+677 -132
View File
@@ -16,62 +16,355 @@
# in the cache file is valid and therefore doesn't check it, so if you messed with
# default values thats your problem :P
# some bits edited by baafie on March 17 2004, every change marked.
RUN_CONFIGURE () {
ARG=""
if [ "$NOSPOOF" = "1" ] ; then
ARG="$ARG--enable-nospoof "
ARG=" "
# Do this even if we're not in advanced mode
if [ "$SHOWLISTMODES" = "1" ] ; then
ARG="$ARG--with-showlistmodes "
fi
if [ "$ADVANCED" = "1" ] ; then
if [ "$TOPICNICKISNUH" = "1" ] ; then
ARG="$ARG--with-topicisnuhost "
fi
if [ "$SHUNNOTICES" = "1" ] ; then
ARG="$ARG--with-shunnotices "
fi
if [ "$NOOPEROVERRIDE" = "1" ] ; then
ARG="$ARG--with-no-operoverride "
fi
if [ "$DISABLEUSERMOD" = "1" ] ; then
ARG="$ARG--with-disableusermod "
fi
if [ "$OPEROVERRIDEVERIFY" = "1" ] ; then
ARG="$ARG--with-operoverride-verify "
fi
if [ "$DISABLEEXTBANSTACKING" = "1" ]; then
ARG="$ARG--with-disable-extendedban-stacking ";
fi
if [ -n "$HUB" ] ; then
ARG="$ARG--enable-hub "
fi
if [ "$CRYPTOIRCD" = "1" ] ; then
if test x"$SSLDIR" = "x" ; then
ARG="$ARG--enable-ssl "
else
ARG="$ARG--enable-ssl=$SSLDIR "
fi
fi
if [ "$ZIPLINKS" = "1" ] ; then
if test x"$ZIPLINKSDIR" = "x" ; then
ARG="$ARG--enable-ziplinks "
else
ARG="$ARG--enable-ziplinks=$ZIPLINKSDIR "
fi
fi
if [ "$REMOTEINC" = "1" ] ; then
ARG="$ARG--enable-libcurl=$CURLDIR "
fi
if [ "$INET6" = "1" ] ; then
ARG="$ARG--enable-inet6 "
fi
if [ "$PREFIXAQ" != "1" ]; then
ARG="$ARG--disable-prefixaq "
fi
ARG="$ARG--with-listen=$LISTEN_SIZE "
ARG="$ARG--with-dpath=$DPATH "
ARG="$ARG--with-spath=$SPATH "
ARG="$ARG--with-nick-history=$NICKNAMEHISTORYLENGTH "
ARG="$ARG--with-sendq=$MAXSENDQLENGTH "
ARG="$ARG--with-bufferpool=$BUFFERPOOL "
ARG="$ARG--with-hostname=$DOMAINNAME "
ARG="$ARG--with-permissions=$DEFPERM "
ARG="$ARG--with-fd-setsize=$MAXCONNECTIONS "
ARG="$ARG--enable-dynamic-linking "
ARG="$ARG $EXTRAPARA "
CONF="./configure $ARG"
if [ "x$INSTALLCURL" = "x1" ]; then
./curlinstall || exit 1
fi
echo $CONF
$CONF
$CONF || exit 1
cd "$UNREALCWD"
if [ "$CRYPTOIRCD" = "1" ] ; then
if [ ! -f server.req.pem ]; then
export OPENSSLPATH
make pem
cat .SICI
read cc
TEST=""
while [ -z "$TEST" ] ; do
if [ "$GENCERTIFICATE" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to generate an SSL certificate for the IRCd?"
echo "Only answer No if you already have one."
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
GENCERTIFICATE="1"
;;
[Nn]*)
GENCERTIFICATE=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
if [ "$GENCERTIFICATE" = 1 ]; then
make pem
cat .SICI
read cc
else
echo "Ok, not generating SSL certificate. Make sure that the certificate and key"
echo "are installed as server.crt.pem and server.key.pem prior to starting the IRCd."
fi
else
echo "SSL certificate already existing, no need to regenerate"
fi
fi
}
RUN_ADVANCED () {
TEST=""
while [ -z "$TEST" ] ; do
if [ "$SHOWLISTMODES" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to show the modes a channel has set in the /list output?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
SHOWLISTMODES="1"
;;
[Nn]*)
SHOWLISTMODES=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$TOPICNICKISNUH" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want the /topic command to show the nick!user@host of the person"
echo "who set the topic, rather than just the nickname?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
TOPICNICKISNUH="1"
;;
[Nn]*)
TOPICNICKISNUH=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$SHUNNOTICES" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Should Unreal notify a user when they are no longer shunned?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
SHUNNOTICES="1"
;;
[Nn]*)
SHUNNOTICES=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$NOOPEROVERRIDE" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to disable oper override?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
NOOPEROVERRIDE="1"
;;
[Nn]*)
NOOPEROVERRIDE=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$DISABLEUSERMOD" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to disable /sethost, /setident, /chgname,"
echo "/chghost, and /chgident?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
DISABLEUSERMOD="1"
;;
[Nn]*)
DISABLEUSERMOD=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$OPEROVERRIDEVERIFY" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to require opers to /invite themselves into a +s or +p channel?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
OPEROVERRIDEVERIFY="1"
;;
[Nn]*)
OPEROVERRIDEVERIFY=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$DISABLEEXTBANSTACKING" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to disable extended ban stacking (~q:~c:#test, etc) support?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
DISABLEEXTBANSTACKING="1"
;;
[Nn]*)
DISABLEEXTBANSTACKING="0"
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
}
c=""
n=""
NOSPOOF=""
UNREALCWD="`pwd`"
DPATH="`pwd`"
SPATH="`pwd`/src/ircd"
HUB="1"
DOMAINNAME=`hostname`
DEFPERM="0600"
CRYPTOIRCD=""
SSLDIR=""
ZIPLINKS=""
ZIPLINKSDIR=""
LISTEN_SIZE="5"
NICKNAMEHISTORYLENGTH="2000"
MAXSENDQLENGTH="3000000"
BUFFERPOOL="9"
BUFFERPOOL="18"
MAXCONNECTIONS="1024"
INET6=""
REMOTEINC=""
CURLDIR=""
PREFIXAQ="1"
SHOWLISTMODES="1"
TOPICNICKISNUH=""
SHUNNOTICES=""
NOOPEROVERRIDE=""
DISABLEUSERMOD=""
OPEROVERRIDEVERIFY=""
DISABLEEXTBANSTACKING=""
GENCERTIFICATE="1"
EXTRAPARA=""
if [ "`eval echo -n 'a'`" = "-n a" ] ; then
c="\c"
@@ -79,41 +372,80 @@ else
n="-n"
fi
date|grep 2015 1>/dev/null 2>&1
if [ "$?" -ne 0 ]; then
echo "*** WARNING ***"
echo "UnrealIRCd 3.2.x will no longer be supported after December 31, 2016."
echo "You should upgrade to UnrealIRCd 4 before that date."
echo "See https://www.unrealircd.org/docs/UnrealIRCd_3.2.x_deprecated"
echo $n . $c
sleep 1
echo $n . $c
sleep 1
echo $n . $c
sleep 1
echo $n . $c
sleep 1
echo ""
sleep 1
fi
#parse arguments
NOCACHE=""
NOINTRO=""
if [ "$1" = "--help" ] ; then
echo "Config utility for UnrealIRCd"
echo "-----------------------------"
echo "Syntax: ./Config [options]"
echo "-nocache Ignore settings saved in config.settings"
echo "-nointro Skip intro (release notes, etc)"
echo "-quick Skip questions, go straight to configure"
echo "-C Clean ./configure cache"
exit 0
fi
if [ "$1" = "-nocache" -o "$2" = "-nocache" ] ; then
NOCACHE="1"
fi
if [ "$1" = "-nointro" -o "$2" = "-nointro" ] ; then
NOINTRO="1"
CLEAN=""
ADVANCED=""
while [ $# -ge 1 ] ; do
if [ $1 = "--help" ] ; then
echo "Config utility for UnrealIRCd"
echo "-----------------------------"
echo "Syntax: ./Config [options]"
echo "-nocache Ignore settings saved in config.settings"
echo "-nointro Skip intro (release notes, etc)"
echo "-quick Skip questions, go straight to configure"
echo "-advanced Include additional advanced questions"
echo "-clean Clean ./configure cache"
exit 0
elif [ $1 = "-nocache" ] ; then
NOCACHE="1"
elif [ $1 = "-nointro" ] ; then
NOINTRO="1"
elif [ $1 = "-quick" -o $1 = "-q" ] ; then
echo "running quick config"
if [ -f "config.settings" ] ; then
. ./config.settings
fi
RUN_CONFIGURE
cd "$UNREALCWD"
exit 0
elif [ $1 = "-clean" -o $1 = "-C" ] ; then
CLEAN="1"
elif [ $1 = "-advanced" ] ; then
PREADVANCED="1"
fi
shift 1
done
date|grep 2015 1>/dev/null 2>&1
if [ "$?" -ne 0 ]; then
echo $n "[Enter to continue]"
read cc
fi
if [ -f "config.settings" -a -z "$NOCACHE" ] ; then
. config.settings
. ./config.settings
fi
if [ "$1" = "-C" -o "$2" = "-C" ] ; then
if [ "$PREADVANCED" = "1" ] ; then
ADVANCED="1"
elif [ "$ADVANCED" = "1" ]; then
ADVANCED=""
fi
if [ -n "$CLEAN" ] ; then
rm -f config.cache
fi
if [ "$1" = "-quick" -o "$1" = "-q" -o "$2" = "-quick" ] ; then
echo "running quick config"
RUN_CONFIGURE
exit 0
fi
clear
if [ -f ".CHANGES.NEW" -a -z "$NOINTRO" ] ; then
@@ -129,42 +461,6 @@ clear
clear
fi
TEST=""
while [ -z "$TEST" ] ; do
if [ "$NOSPOOF" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Many older operating systems have an insecure TCP/IP stack"
echo "which may be vulnerable to IP spoofing attacks, if you run"
echo "an operating system that is vulnerable to such attacks"
echo "enable this option. If you aren't sure if your OS is vulnerable"
echo "you should still enable it."
echo ""
echo "Do you have an insecure operating system and therefore want to"
echo "use the server anti-spoof protection?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
NOSPOOF="1"
;;
[Nn]*)
NOSPOOF=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST="$DPATH"
echo ""
echo "What directory are all the server configuration files in?"
@@ -173,62 +469,31 @@ read cc
if [ -z "$cc" ] ; then
DPATH=$TEST
else
DPATH=$cc
fi
TEST="$SPATH"
echo ""
echo "What is the path to the ircd binary including the name of the binary?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
SPATH=$TEST
else
SPATH=$cc
DPATH=`eval echo $cc` # modified
fi
TEST=""
SAVEME="$SPATH"
while [ -z "$TEST" ] ; do
if [ "$HUB" = "1" ] ; then
TEST="Hub"
else
TEST="Leaf"
fi
TEST="$SAVEME"
echo ""
echo "Would you like to compile as a hub or as a leaf?"
echo "Type Hub to select hub and Leaf to select leaf."
echo "What is the path to the ircd binary including the name of the binary?"
echo $n "[$TEST] -> $c"
read cc
read cc
if [ -z "$cc" ] ; then
cc=$TEST
SPATH=$TEST
else
SPATH=`eval echo $cc` # modified
fi
if [ "$SPATH" = "$DPATH" ]; then
echo ""
echo "You need to specify the path to the BINARY, not to a directory."
echo "The answer to this question can never be identical to the previous one."
echo "HINT: perhaps you want $DPATH/ircd ?"
TEST=""
fi
case "$cc" in
[Hh]*)
HUB="1"
;;
[Ll]*)
HUB=""
;;
*)
echo ""
echo "You must enter either Hub or Leaf"
TEST=""
;;
esac
done
TEST="$DOMAINNAME"
echo ""
echo "What is the hostname of the server running your IRCd?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
DOMAINNAME=$TEST
else
DOMAINNAME=$cc
fi
TEST=""
while [ -z "$TEST" ] ; do
TEST="$DEFPERM"
@@ -254,7 +519,6 @@ while [ -z "$TEST" ] ; do
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$CRYPTOIRCD" = "1" ] ; then
@@ -284,6 +548,20 @@ while [ -z "$TEST" ] ; do
esac
done
if [ "$CRYPTOIRCD" = "1" ] ; then
TEST="$SSLDIR"
echo ""
echo "If you know the path to OpenSSL on your system, enter it here. If not"
echo "leave this blank (in most cases it will be detected automatically)."
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
SSLDIR="$TEST"
else
SSLDIR=`eval echo $cc` # modified
fi
fi
TEST=""
while [ -z "$TEST" ] ; do
if [ "$INET6" = "1" ] ; then
@@ -313,6 +591,257 @@ while [ -z "$TEST" ] ; do
esac
done
TEST=""
while [ -z "$TEST" ] ; do
if [ "$ZIPLINKS" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to enable ziplinks support?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
ZIPLINKS="1"
;;
[Nn]*)
ZIPLINKS=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
if [ "$ZIPLINKS" = "1" ] ; then
TEST="$ZIPLINKSDIR"
echo ""
echo "If you know the path to zlib on your system, enter it here. If not"
echo "leave this blank"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
ZIPLINKSDIR="$TEST"
else
ZIPLINKSDIR=`eval echo $cc` # modified
fi
fi
TEST=""
while [ -z "$TEST" ] ; do
if [ "$REMOTEINC" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to enable remote includes?"
echo "This allows stuff like this in your configuration file:"
echo "include \"http://www.somesite.org/files/opers.conf\";"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
REMOTEINC="1"
;;
[Nn]*)
REMOTEINC=""
CURLDIR=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
if [ "$REMOTEINC" = "1" ] ; then
if [ ! -d "$CURLDIR" ]; then
# Reset any previous CURLDIR if it doesn't exist (anymore)
CURLDIR=""
fi
INSTALLCURL="0"
if [ "x$CURLDIR" = "x" ]; then
# There is no reason to support this:
if [ -d "/usr/local/include/curl" ]; then
CURLDIR="/usr/local"
fi
# Zeroeth, let's act SANE
if [ -d "/usr/include/curl" ]; then
CURLDIR="/usr"
fi
# First, let's make shell admins happy...
if [ -d "/usr/share/unreal-curl" ]; then
CURLDIR="/usr/share/unreal-curl"
fi
GOTASYNC=0
if [ "x$CURLDIR" != "x" ]; then
# Check if it's of any use: a curl without async dns (cares) hangs the entire ircd..
# normally this is done in ./configure but now we're forced to do it also here..
if "$CURLDIR"/bin/curl-config --features | grep -q -e AsynchDNS; then
GOTASYNC="1"
fi
if [ "$GOTASYNC" != "1" ]; then
PREVCURLDIR="$CURLDIR"
CURLDIR=""
fi
fi
# Second, use the local curl if it exists (overrides above)
if [ -d "$HOME/curl" ]; then
CURLDIR="$HOME/curl"
# Check if it's recent enough...
# But first, check if curl-config can be trusted at all: it depends
# on 'bc' for some reason and not all systems have that installed!
echo "1+1"|bc 1>/dev/null 2>&1
if [ "$?" = 0 ]; then
"$CURLDIR"/bin/curl-config --checkfor 7.21.0
if [ "$?" != 0 ]; then
echo ""
echo "Your self-compiled CURL library in $CURLDIR is slightly outdated."
echo "This probably means you had the library from a previous installation of UnrealIRCd."
echo "Because previous versions may be linked to a previous version to c-ares which"
echo "were not ABI compatible it is highly recommended to remove the version"
echo "and recompile it. We now have an automatic downloader and installer to compile"
echo "and install curl for you (in $CURLDIR). You can choose to do so in the question"
echo "after this one."
TEST=""
while [ -z "$TEST" ] ; do
TEST="Yes"
echo "Shall I rename $CURLDIR to $CURLDIR.old so it can be rebuild later on?"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
rm -rf "$CURLDIR".old
mv "$CURLDIR" "$CURLDIR".old
CURLDIR=""
GOTASYNC=1
# wow the GOTASYNC=1 is hackish, but we need to prevent the error from later on
;;
[Nn]*)
echo "Uh, ok... I hope you know what you are doing..."
echo ""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
fi
fi
fi
# Need to output it here, as the HOME check from above may cause this to be no longer relevant.
if [ "x$CURLDIR" = "x" -a "$GOTASYNC" != "1" ]; then
echo "Curl library was found in $PREVCURLDIR, but it does not support Asynchronous DNS (not compiled with c-ares)"
echo "so it's of no use to us."
fi
fi
if [ "x$CURLDIR" = "x" ]; then
# Still empty?
TEST=""
while [ -z "$TEST" ] ; do
TEST="Yes"
echo ""
echo "Do you want me to automatically download and install curl for you?"
echo "(will install in $HOME/curl)"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
INSTALLCURL="1"
CURLDIR="$HOME/curl"
;;
[Nn]*)
INSTALLCURL="0"
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
fi
if [ "$INSTALLCURL" != "1" ]; then
TEST=""
while [ -z "$TEST" ] ; do
TEST="$CURLDIR"
echo ""
echo "Specify the directory you installed libcurl to"
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
else
TEST=$cc
CURLDIR=`eval echo $cc` # modified
fi
done
fi
fi
TEST=""
while [ -z "$TEST" ] ; do
if [ "$PREFIXAQ" = "1" ] ; then
TEST="Yes"
else
TEST="No"
fi
echo ""
echo "Do you want to enable prefixes for chanadmin and chanowner?"
echo "This will give +a the & prefix and ~ for +q (just like +o is @)"
echo "Supported by the major clients (mIRC, xchat, epic, eggdrop, Klient,"
echo "PJIRC, irssi, CGI:IRC, etc.)"
echo "This feature should be enabled/disabled network-wide."
echo $n "[$TEST] -> $c"
read cc
if [ -z "$cc" ] ; then
cc=$TEST
fi
case "$cc" in
[Yy]*)
PREFIXAQ="1"
;;
[Nn]*)
PREFIXAQ=""
;;
*)
echo ""
echo "You must enter either Yes or No"
TEST=""
;;
esac
done
TEST=""
while [ -z "$TEST" ] ; do
TEST="$LISTEN_SIZE"
@@ -431,36 +960,52 @@ while [ -z "$TEST" ] ; do
;;
esac
done
if [ -n "$ADVANCED" ] ; then
RUN_ADVANCED
fi
TEST="$EXTRAPARA"
echo ""
echo "Would you like any more parameters to configure?"
echo "Write them here:"
echo $n "[]-> $c"
echo "Would you like to pass any custom parameters to configure?"
echo "See \`./configure --help' and write them here:"
echo $n "[$TEST] -> $c"
read EXTRAPARA
if [ -z "$EXTRAPARA" ]; then
EXTRAPARA="$TEST"
fi
rm -f config.settings
cat > config.settings << __EOF__
#
NOSPOOF="$NOSPOOF"
DPATH="$DPATH"
SPATH="$SPATH"
CRYPT_OPER_PASSWORD="$CRYPT_OPER_PASSWORD"
CRYPT_LINK_PASSWORD="$CRYPT_LINK_PASSWORD"
CRYPT_ILINE_PASSWORD="$CRYPT_ILINE_PASSWORD"
CRYPT_XLINE_PASSWORD="$CRYPT_XLINE_PASSWORD"
INET6="$INET6"
PREFIXAQ="$PREFIXAQ"
LISTEN_SIZE="$LISTEN_SIZE"
MAXSENDQLENGTH="$MAXSENDQLENGTH"
BUFFERPOOL="$BUFFERPOOL"
MAXCONNECTIONS="$MAXCONNECTIONS"
NICKNAMEHISTORYLENGTH="$NICKNAMEHISTORYLENGTH"
HUB="$HUB"
DOMAINNAME="$DOMAINNAME"
DEFPERM="$DEFPERM"
CRYPTOIRCD="$CRYPTOIRCD"
SSLDIR="$SSLDIR"
ZIPLINKS="$ZIPLINKS"
ZIPLINKSDIR="$ZIPLINKSDIR"
REMOTEINC="$REMOTEINC"
CURLDIR="$CURLDIR"
SHOWLISTMODES="$SHOWLISTMODES"
TOPICNICKISNUH="$TOPICNICKISNUH"
SHUNNOTICES="$SHUNNOTICES"
NOOPEROVERRIDE="$NOOPEROVERRIDE"
DISABLEUSERMOD="$DISABLEUSERMOD"
OPEROVERRIDEVERIFY="$OPEROVERRIDEVERIFY"
DISABLEEXTBANSTACKING="$DISABLEEXTBANSTACKING"
GENCERTIFICATE="$GENCERTIFICATE"
EXTRAPARA="$EXTRAPARA"
ADVANCED="$ADVANCED"
__EOF__
RUN_CONFIGURE
cd "$UNREALCWD"
cat << __EOF__
_______________________________________________________________________
@@ -476,7 +1021,7 @@ cat << __EOF__
|_______________________________________________________________________|
| - The UnrealIRCd Team - |
| |
| * Stskeeps stskeeps@unrealircd.com |
| * codemastr codemastr@unrealircd.com |
| * Syzop syzop@unrealircd.com |
|_______________________________________________________________________|
__EOF__
+14 -15
View File
@@ -1,19 +1,18 @@
UnrealIRCd is a free program, but we do put a lot of time, effort, and money
into creating and maintaining Unreal. To make it easier for users to show their
appreciation, the Unreal team has decided to accept donations through PayPal. If
you like Unreal, and you'd like to see it continue to exist, please consider making
a donation. We're not asking for anything huge, whatever you can afford is fine.
Send donations to:
------------------
UnrealIRCd Project
C/O Carsten Munk
P.O.Box 52
7400 Herning
Denmark
PayPal Donation Link: http://unrealircd.com/donate.php
(if you want to that is .. it will just make us a little more able to code
even more on this project. You will get in /credits if you do so).
If you don't want to use PayPal, or you want to donate something other than money,
contact Syzop (syzop@unrealircd.com).
Payment preferred (if money, is western union) - contact me on email
regarding other methods
All those who donate at least a certain minimum amount will have their name
and/or company listed in /CREDITS.
Additionally, all donators will be listed on the website (regardless of the amount).
Please check the website for details.
-- Stskeeps
[ $Id$ ]
Thank you for your support,
The UnrealIRCd Team
-99
View File
@@ -1,99 +0,0 @@
###############################################################################
#### Unreal IRC Unix Daemon Installation Guide ####
#### UnrealIRCD ver 3.1.1 ####
#### unreal-dev@lists.sourceforge.com ####
#### http://www.unrealircd.com/ ####
###############################################################################
#### Unpackaging the IRCD ####
#### ####
#### 1) gzip -d Unreal3.1.1.tar.gz ####
#### ####
#### 2) tar xvf Unreal3.1.1.tar ####
#### ####
#### 3) cd Unreal3.1.1/ ####
###############################################################################
#### Compiling the IRCD ####
#### ####
#### 1) Supported Operating Systems ####
#### ####
#### OS and Version Compiler and Version Comments ####
#### --------------- ------------------------ ------------------------ ####
#### NetBSD 1.2B gcc 2.7.2 ####
#### FreeBSD 2.1.0 gcc 2.6.3 Don't use crypt at all ####
#### SunOS 4.1.4 gcc 2.7-96q1 (Cygnus) ####
#### Solaris 2.4 gcc 2.7-96q1 (Cygnus) (SunOS 5.4) ####
#### Solaris 2.5 SunWorks Pro C (SunOS 5.5.1) ####
#### cc: SC4.0 18 Oct 1995 C 4.0 ####
#### Digital Unix 3.2 gcc 2.7-96q3 (Cygnus) ####
#### Linux 2.0.24 gcc 2.7.2.1 ####
#### PUX 9.01 gcc 2.6.3 ####
#### HPUX 10.01 gcc 2.7-96q3 (Cygnus) ####
#### Linux PPC (iMac) ####
#### AmigaOS 3.0 GCC egcs-2.91.66 (compile with -D_AMIGA) ####
#### Windows NT/95 MSVC++ 4.0 ####
#### Linux Mandrake Read FAQ ####
#### Linux 2.3.x gcc 2.95.2 glibc 2.1.3 ####
#### ####
#### 2) DO NOT edit the MakeFile or any of the files to configure your ####
#### IRCd. The newest releases of Unreal only require you to run: ####
#### ####
#### ./Config ####
#### ####
#### 2a) Windows users: please read WIN32 ####
#### ####
#### 3) When in ./Config put in the best answers to your knowledge. ####
#### This is all pretty self explanatory. We suggest, to advoid ####
#### problems later on, put the DPATH and SPATH as the default. ####
#### (When it asks where the config files and binarys will be). ####
#### Also, when it asks for max file connections, the default is ####
#### 1024, but above it you will see what your true limit is. ####
#### Please put the maxfd number in or else your IRCD will not ####
#### start at all and you will have to re-compile. ####
#### ####
#### 4) make ####
#### This will compile your server based on you settings chosen in ####
#### ./Config ####
#### ####
#### 4a) Hopefully, the server will compile without incident. If it ####
#### does not, and you are not able to determine the error, please ####
#### email supporters@lists.unrealircd.org and hopefully someone ####
#### will be able to help you. Another suggestion is going on IRC ####
#### /server irc.ircsystems.net #UnrealIRCD ####
#### ####
#### 4b) make install - IS NOT NEEDED ####
#### ####
###############################################################################
#### Configuring the Server ####
#### ####
#### 1) ./makeconf ####
#### This executable has been created to help with your ircd.conf ####
#### creation process. It walks you through the steps and makes the ####
#### file for you. Note: If you want to edit your ircd.conf you ####
#### should only need to: edit ircd.conf. If you ./makeconf again ####
#### it will delete the old ircd.conf and re-write a new one. ####
#### ####
###############################################################################
#### Starting the Server ####
#### ####
#### 1) Make sure you're in the top level Unreal3.1.1 directory.. ####
#### ####
#### 2) ./ircd ####
#### ####
#### 3) If you get the error screen, please go through and check each ####
#### point presented, if you have no luck, go on IRC ####
#### /server irc.ircsystems.net #UnrealIRCD ####
#### ####
#### 4) /server yourserverip or domainname ####
#### ####
###############################################################################
#### Updating the IRCD ####
#### ####
#### 1) ./update ####
#### Newer releases of Unreal allow the use of ./update which logs ####
#### into the Unreal server and allows you to pick a new version to ####
#### to upgrade to. ####
#### ####
###############################################################################
+23
View File
@@ -0,0 +1,23 @@
**** Remote Includes ****
Setting up UnrealIRCd to work with remote includes is not very difficult. The first step is to
download c-ares. C-ares can be downloaded from <http://daniel.haxx.se/projects/c-ares/>
download the latest version of c-ares and extract the .tar.gz somewhere.
Now, download the latest version of curl, available at <http://curl.haxx.se/download.html>
again, extract the tar.gz somewhere.
Next, go to the Unreal3.2 directory and run the curlinstall script. You run the script
as follows:
./curlinstall ares_path curl_path
Paths should be complete pathnames. If you extracted c-ares to /home/username/c-ares-1.0.0
and curl to /home/username/curl-7.11.0 then you would run:
./curlinstall /home/username/c-ares-1.0.0 /home/username/curl-7.11.0
Lastly, run ./Config. When asked whether to enable remote includes say "yes" and when asked
for the path curl was installed to include the path that is printed out after ./curlinstall
completes. Then simply run make to compile Unreal as usual and remote includes should work
fine.
+61 -41
View File
@@ -33,12 +33,12 @@ FROMDOS=/home/cmunk/bin/4dos
# IRCDLIBS blank. If that fails, try recomendations below.
#
#XCFLAGS=-O -g -export-dynamic -pthread -DSCAN_API=1
IRCDLIBS=@IRCDLIBS@
#XCFLAGS=-O -g -export-dynamic
IRCDLIBS=@IRCDLIBS@ @TRE_LIBS@ @CARES_LIBS@
CRYPTOLIB=@CRYPTOLIB@
OPENSSLINCLUDES=
XCFLAGS=@CFLAGS@
XCFLAGS=@TRE_CFLAGS@ @CARES_CFLAGS@ @CFLAGS@
#
# use the following on MIPS:
#CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR)
@@ -95,11 +95,7 @@ IRCDMODE = 711
IRCDDIR=@IRCDDIR@
#
# If your system is lacking regex, uncomment this line
#
#REGEX=../extras/regex/regex.o
REGEX=@REGEX@
URL=@URL@
# [CHANGEME]
# If you get a link-time error dealing with strtoul, comment out
@@ -108,15 +104,17 @@ REGEX=@REGEX@
STRTOUL=@STRTOUL@
# [CHANGEME]
# If you get crashes around a specific number of clients, and that client
# load comes close or a little over the system-defined value of FD_SETSIZE,
# override it here and see what happens.
# If you get crashes around a specific number of clients, and that
# client load comes close or a little over the system-defined value of
# FD_SETSIZE, override it here and see what happens. You may override
# the system FD_SETSIZE by setting the FD_SETSIZE Makefile variable to
# -DFD_SETSIZE=<some number>.
FD_SETSIZE=@FD_SETSIZE@
# Where is your openssl binary
OPENSSLPATH=@OPENSSLPATH@
CFLAGS=-I$(INCLUDEDIR) $(XCFLAGS) $(FD_SETSIZE)
CFLAGS=-I$(INCLUDEDIR) $(XCFLAGS) @LDFLAGS@ $(FD_SETSIZE)
SHELL=/bin/sh
SUBDIRS=src
@@ -134,28 +132,29 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'IRCDLIBS=${IRCDLIBS}' \
'INCLUDEDIR=${INCLUDEDIR}' 'IRCDDIR=${IRCDDIR}' \
'RM=${RM}' 'CP=${CP}' 'TOUCH=${TOUCH}' \
'SHELL=${SHELL}' 'STRTOUL=${STRTOUL}' \
'CRYPTOLIB=${CRYPTOLIB}' 'REGEX=${REGEX}' \
'CRYPTOINCLUDES=${CRYPTOINCLUDES}'
'CRYPTOLIB=${CRYPTOLIB}' \
'CRYPTOINCLUDES=${CRYPTOINCLUDES}' \
'URL=${URL}'
server:
build:
custommodule:
@if test -z "${MODULEFILE}"; then echo "Please set MODULEFILE when calling \`\`make custommodule''. For example, \`\`make custommodule MODULEFILE=callerid''." >&2; exit 1; fi
+cd src; ${MAKE} ${MAKEARGS} MODULEFILE=${MODULEFILE} 'EXLIBS=${EXLIBS}' custommodule
server: Makefile
build: Makefile
-@if [ ! -f include/setup.h ] ; then \
echo "Hmm...doesn't look like you've run Config..."; \
echo "Doing so now."; \
sh Config; \
fi
@for i in $(SUBDIRS); do \
@+for i in $(SUBDIRS); do \
echo "Building $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} build; ) \
done
@echo ' __________________________________________________ '
@echo '| Compile is now complete. Now you have to go do |'
@echo '| The load-time configuration - try go read the |'
@echo '| file "dynconf" using your favourite viewer or |'
@echo '| editor. The file will contain instructions on how|'
@echo '| to do the dynamic configuration :) |'
@echo '| You might want to see include/config.h to adjust |'
@echo '| some settings |'
@echo '| Compile is now complete. |'
@echo '| You should now read the documentation and learn |'
@echo '| how to configure your IRCd. |'
@echo '| |'
@echo '| If you really like UnrealIRCd, and would like to |'
@echo '| make a donation, please read the Donation file in|'
@@ -168,7 +167,7 @@ build:
clean:
$(RM) -f *~ \#* core *.orig include/*.orig
@for i in $(SUBDIRS); do \
@+for i in $(SUBDIRS); do \
echo "Cleaning $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} clean; ) \
done
@@ -177,11 +176,11 @@ clean:
fi
cleandir: clean
rm -rf include/networks.h include/setup.h Makefile Settings
rm -rf include/setup.h Makefile Settings
makex:
chmod +x Config newnet ircd ircdcron/ircdchk killircd
chmod +x makeconf rehash ircdreg
chmod +x rehash ircdreg
fromdos: cleandir
$(FROMDOS) -dv *
@@ -200,41 +199,62 @@ stamp: makedist
echo "" >> include/stamp.h
depend:
@for i in $(SUBDIRS); do \
@+for i in $(SUBDIRS); do \
echo "Making dependencies in $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} depend; ) \
done
install: all
$(INSTALL) -m 0700 -d $(IRCDDIR)
$(INSTALL) -m 0700 src/ircd $(BINDIR)
$(INSTALL) -m 0700 -d $(IRCDDIR)/networks
$(INSTALL) -m 0600 networks/*.network $(IRCDDIR)/networks
$(INSTALL) -m 0700 networks/makenet $(IRCDDIR)/networks
$(INSTALL) -m 0600 networks/networks.ndx $(IRCDDIR)/networks
$(INSTALL) -m 0700 src/ircd $(BINDIR) 2>/dev/null || { $(INSTALL) -m 0700 -d "$$(dirname '$(BINDIR)')"; $(INSTALL) -m 0700 src/ircd $(BINDIR); }
$(INSTALL) -m 0700 -d $(IRCDDIR)/doc
$(INSTALL) -m 0600 doc/Authors doc/conf.doc doc/faq doc/tao.of.irc doc/coding-guidelines doc/example.conf doc/features.txt doc/unrealircd.conf.txt doc/Crule.readme doc/commands.txt doc/example.settings doc/services-install-guide doc/unrealircd.doc $(IRCDDIR)/doc
$(INSTALL) -m 0600 doc/Authors doc/example.conf doc/coding-guidelines doc/tao.of.irc doc/unreal32docs.html $(IRCDDIR)/doc
$(INSTALL) -m 0700 -d $(IRCDDIR)/aliases
$(INSTALL) -m 0600 aliases/*.conf $(IRCDDIR)/aliases
$(TOUCH) $(IRCDDIR)/unrealircd.conf
chmod 0600 $(IRCDDIR)/unrealircd.conf
$(INSTALL) -m 0600 badwords.*.conf LICENSE Donation $(IRCDDIR)
$(INSTALL) -m 0700 bugreport makeconf unreal $(IRCDDIR)
$(INSTALL) -m 0600 spamfilter.conf dccallow.conf $(IRCDDIR)
$(INSTALL) -m 0600 badwords.*.conf help.conf LICENSE Donation $(IRCDDIR)
$(INSTALL) -m 0700 unreal $(IRCDDIR)
$(INSTALL) -m 0700 -d $(IRCDDIR)/modules
$(INSTALL) -m 0700 src/modules/*.so $(IRCDDIR)/modules
$(INSTALL) -m 0700 -d $(IRCDDIR)/ircdcron
$(INSTALL) -m 0600 ircdcron/ircd.cron $(IRCDDIR)/ircdcron
$(INSTALL) -m 0700 ircdcron/ircdchk $(IRCDDIR)/ircdcron
-@if [ ! -f "$(IRCDDIR)/curl-ca-bundle.crt" ] ; then \
$(INSTALL) -m 0700 curl-ca-bundle.crt $(IRCDDIR) ; \
fi
-@if [ server.cert.pem -nt "$(IRCDDIR)/server.cert.pem" ] ; then \
$(INSTALL) -m 0600 server.req.pem $(IRCDDIR) ; \
$(INSTALL) -m 0600 server.key.pem $(IRCDDIR) ; \
$(INSTALL) -m 0600 server.cert.pem $(IRCDDIR) ; \
fi
pem: src/ssl.cnf
pem: src/ssl.cnf
@echo "Generating certificate request .. "
$(OPENSSLPATH) req -new \
-config src/ssl.cnf -out server.req.pem \
-config src/ssl.cnf -sha256 -out server.req.pem \
-keyout server.key.pem -nodes
@echo "Generating self-signed certificate .. "
$(OPENSSLPATH) req -x509 -days 365 -in server.req.pem \
$(OPENSSLPATH) req -x509 -days 3650 -sha256 -in server.req.pem \
-key server.key.pem -out server.cert.pem
@echo "Generating fingerprint .."
$(OPENSSLPATH) x509 -subject -dates -fingerprint -noout \
$(OPENSSLPATH) x509 -subject -dates -sha256 -fingerprint -noout \
-in server.cert.pem
@echo "Setting o-rwx & g-rwx for files... "
chmod o-rwx server.req.pem server.key.pem server.cert.pem
chmod g-rwx server.req.pem server.key.pem server.cert.pem
@echo "Done!."
@echo "Done!. If you want to encrypt the private key, run"
@echo "make encpem"
encpem: server.key.pem
@echo "Encrypting server key .."
$(OPENSSLPATH) rsa -in server.key.pem -out server.key.c.pem -des3
-@if [ -f server.key.c.pem ] ; then \
echo "Replacing unencrypted with encrypted .." ; \
cp server.key.c.pem server.key.pem ; \
rm -f server.key.c.pem ; \
fi
Makefile: config.status Makefile.in
./config.status
+24
View File
@@ -0,0 +1,24 @@
==[ COMPILING ]==
To build the ircd, run:
./Config
make
If you specified an alternative location during ./Config you also need
to run "make install".
==[ MAKING A CONFIG FILE ]==
If you are new, then you need to create your own configfile:
copy doc/example.conf to your main UnrealIRCd directory and call
it unrealircd.conf .
Then open it in an editor and carefully modify it, consult the docs
(doc/unreal32docs.html, or online: www.unrealircd.com/unreal32docs.html)
for more information about every block/setting.
Common problems are explained in the FAQ, which is located at:
http://www.vulnscan.org/UnrealIrcd/faq/ .
==[ BOOTING YOUR IRCD ]==
Just type: ./unreal start
Note that after booting the errors are usually logged to ircd.log,
so check that file if you have any problems.
Again, check the FAQ (and docs) if you have any boot problems.
-23
View File
@@ -1,23 +0,0 @@
Unreal IRCD Win32 Version
-=-=-=-=-=-=-=-=-=-=-=-=-
Ok, in order to save time, and my nerves i am writing this short readme, and eventually an FAQ (after people ask questions) =)
This is information on how to run the win32 version, it does not say, and WILL not say how to use an ircd, as that is sufficiently docuimented in the docs !!!!
you will NEED to modify/create an ircd.conf, follow the documentation for that.
Right, thats almost it( that i can think of), but what happens if the server Crashes ???
----------------------------------------------------------------------------------------
ok i Have now coded the first bit of usefull (for me) code that dumps the stack to a dialog box, WHAT EVER YOU DO you must do the following:
1. Copy and paste EVERYTHING in that dialog box, and send it to me in an e-mail
2. Include in that e-mail EVERYTHING that happened in the lead up to the crash
i hope thats SIMPLE to follow, but it will help me soo much !!!!!
DrBin (Dave)
drbin@tspre.org
-15
View File
@@ -1,15 +0,0 @@
Some notes to remember:
-----------------------
* Don't EVER try to link it to incompatible IRCds (this does not
include services). It is *INCOMPATIBLE*. Please HEED this warning!!!
* If you need any help you can email me at stskeeps@tspre.org
* Please read the Changes file about release notes
* Bugs? Read Unreal.nfo
* Unreal IRCd is not meant to be a simple IRCd, rather an advanced
IRCd, please read the documentation before asking questions
[ $Id$ ]
-35
View File
@@ -1,35 +0,0 @@
#!/bin/sh
clear
echo "Starting up UnrealIRCd Setup"
echo ""
echo "Press enter to proceed to setup..."
read cc
more -d Unreal.nfo
echo "Press enter to proceed to FAQ..."
read cc
more -d doc/faq
echo "Press enter to proceed to configuration..."
read cc
if [ "$1" != "-noconfig" ] ; then
./Config
fi
echo "Press enter to proceed to compiling..."
read cc
make
echo "Press enter to proceed to unrealircd.conf making..."
read cc
./makeconf
echo "Press enter to proceed to network configuration..."
read cc
clear
echo "Do you want to use one of these network files, or make your own?"
cd networks
ls *.network
echo "[Type "no" if you want to make your own]"
read cc
if [ "$cc" == "no" ] ; then
./makenet
fi
echo "Now just edit your unrealircd.conf and you should be ready to run"
echo "UnrealIRCd with ./ircd"
+64 -64
View File
@@ -1,77 +1,77 @@
===============================================
= UnrealIRCd v3.2-Selene (beta1) =
= UnrealIRCd v3.2.10.7 =
===============================================
Was brought to you by:
This release was brought to you by:
The core team:
==============
* Stskeeps <stskeeps@tspre.org>
* codemastr <codemastr@unrealircd.com>
Coders team:
Head coder:
============
* McSkaf <mcskaf@unrealircd.org>
* Griever <griever@unrealircd.org>
* Zogg <zogg@unrealircd.org>
* NiQuiL <niquil@unrealircd.org>
* assyrian <assyrian@unrealircd.org>
* Syzop
In former versions:
* DrBin <drbin@unrealircd.com>
* llthangel <llthangel@unrealircd.org>
Precenses on the Internet:
* http://www.unrealircd.com
CVS:
To get anonymous access: (read only)
"cvs -d :pserver:anonymous@cvs.ircsystems.net:/home/cmunk/ircsystems/cvsroot login"
Coders:
========
* binki
press enter when asked for password
Contributors:
=============
* Heero
* nenolod
* Adam
* warg
* Stealth
* WolfSage
* katsklaw
* darkex
* fspijkerman
* fbi
* Apocalypse
and to get latest stable:
"cvs -d :pserver:anonymous@cvs.ircsystems.net:/home/cmunk/ircsystems/cvsroot checkout -r stable -d Unreal-stable unreal"
latest beta:
"cvs -d :pserver:anonymous@cvs.ircsystems.net:/home/cmunk/ircsystems/cvsroot checkout -r beta -d Unreal-beta unreal"
* To get support
Previous coders:
================
* IRC: /server irc.ircsystems.net 6667 - /join #unreal-support
[Note: Please be patient after asking questions, we may do other stuff
or we're away. Don't repeat questions, we heard you first time,
READ THE TOPIC before you ask anything. We do this on a free
base so we are volunteeringly helping you, but we are humans
like you, and we got to have peace at times as well.]
* Mailing list: supporters@lists.unrealircd.org (for support)
* READ doc/faq BEFORE ASKING QUESTIONS!
* Stskeeps
* codemastr
* Many more..
* Want to discuss, chat, etc?
=============================
* IRC: /server irc.ircsystems.net 6667 - /join #UnrealIRCd
Internet Presence:
* http://www.unrealircd.com/
* Got a bug to report?
======================
* If the server crashes and dumps core do this:
* Go into the Unreal directory and type this:
gdb src/ircd core.filename
where core.filename is the filename in the dumping core message
if it loads gdb, (not saying "command not found" etc), type "bt" in
the program (type "quit" to get out again)
The output coming out there please mail it to
coders@lists.unrealircd.org , along with OS type,
what "uname -a" says, any clues what it is, if you did anything etc
etc. Please keep the core dump files if we ask you to mail us them
if needed
UnrealIRCd Bugtracker (Where to report bugs, make suggestions, and submit patches)
===================================================================================
http://bugs.unrealircd.org/
* If you experince any wierdnesses (that doesnt crash the server)
please mail coders@lists.unrealircd.org with any clues on what
you did, what you experinced etc.
To get support
================
Before asking others for help you MUST:
* read the docs (doc/unreal32docs.html or online: http://unrealircd.com/unreal32docs.html)
* check the FAQ (http://vulnscan.org/UnrealIrcd/faq/)
* Got a suggestion?
===================
* Mail it to coders@lists.unrealircd.org :) or catch one from
the Unreal team online on IRC:)
Means of support:
* IRC: /server irc.unrealircd.com 6667 - /join #unreal-support
[Note: Follow the bot's instructions in order to get voice.
Please be patient after asking questions, we may be busy
or we're away. Don't repeat questions, we will have heard
you first time.
READ THE TOPIC before you ask anything. We give support
on a free basis. We are volunteering to help you, but we
are humans like you. We sometimes just need some peace.]
* Forum: http://forums.unrealircd.com/
Development version
====================
To access the latest development version of UnrealIRCd you need to use mercurial (hg).
Note that because you are accessing a development version it may not compile, the
server may crash, or other problems can occur since the code is likely to be only
lightly tested (or not at all). On the other hand, using the development version may
help you to get rid of that single nasty bug that is haunting you, plus if you test
it and give us feedback (report bugs) then you actually help us with developing Unreal.
The command to grab the development version is:
hg clone http://hg.unrealircd.org/unreal
If you get something like 'hg: command not found' then you need to install mercurial.
Most *NIX systems have such a 'mercurial' package, but if you don't, or you are on
Windows or Mac OS X, then see http://mercurial.selenic.com/
Want to discuss, chat, etc?
=============================
* IRC: /server irc.unrealircd.com 6667 - /join #chat
(NOT for support! If you want support then use #unreal-support instead!)
+12 -6
View File
@@ -2,11 +2,13 @@
alias identify {
format "^#" {
alias chanserv;
target chanserv;
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
alias nickserv;
target nickserv;
type services;
parameters "IDENTIFY %1-";
};
type command;
@@ -14,11 +16,13 @@ alias identify {
alias services {
format "^#" {
alias chanserv;
target chanserv;
type services;
parameters "%1-";
};
format "^[^#]" {
alias nickserv;
target nickserv;
type services;
parameters "%1-";
};
type command;
@@ -26,11 +30,13 @@ alias services {
alias register {
format "^#" {
alias chanserv;
target chanserv;
type services;
parameters "REGISTER %1-";
};
format "^[^#]" {
alias nickserv;
target nickserv;
type services;
parameters "REGISTER %1-";
};
type command;
+18
View File
@@ -0,0 +1,18 @@
/* Anope Aliases */
alias nickserv { type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias operserv { type services; };
alias os { target operserv; type services; };
alias helpserv { type services; };
alias botserv { type services; };
alias bs { target botserv; type services; };
alias hostserv { type services; };
alias hs { target hostserv; type services; };
include "aliases/aliases.conf";
+26
View File
@@ -0,0 +1,26 @@
/* Atheme Aliases */
alias nickserv { type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias operserv { type services; };
alias os { target operserv; type services; };
alias helpserv { type services; };
alias botserv { type services; };
alias bs { target botserv; type services; };
alias hostserv { type services; };
alias hs { target hostserv; type services; };
alias saslserv { type services; };
alias sss { target saslserv; type services; };
alias gameserv { type services; };
alias gms { target gameserv; type services; };
alias groupserv { type services; };
alias grs { target groupserv; type services; };
alias alis { type services; };
alias ls { target alis; type services; };
include "aliases/aliases.conf";
+25 -8
View File
@@ -1,16 +1,33 @@
/* Auspice Aliases */
alias nickserv { type services; };
alias ns { nick nickserv; type services; };
/* Uncomment this, if you have enabled "MassServ, W and X" in auspice */
# alias massserv { type services; };
# alias ma { target massserv; type services; };
# alias W { type services; };
# alias X { type services; };
/* Uncomment this, if you have enabled "WebServ" in auspice */
# alias webserv { type services; };
# alias ws { target webserv; type services; };
alias agent { type services; };
alias adminserv { type services; };
alias as { target adminserv; type services; };
alias botserv { type services; };
alias bs { target botserv; type services; };
alias chanserv { type services; };
alias cs { nick chanserv; type services; };
alias memoserv { type services; };
alias ms { nick memoserv; type services; };
alias cs { target chanserv; type services; };
alias helpserv { type services; };
alias hs { nick helpserv; type services; };
alias hs { target helpserv; type services; };
alias hostserv { type services; };
alias ho { target hostserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias nickserv { type services; };
alias ns { target nickserv; type services; };
alias operserv { type services; };
alias os { nick operserv; type services; };
alias os { target operserv; type services; };
alias rootserv { type services; };
alias rs { nick rootserv; type services; };
alias rs { target rootserv; type services; };
include "aliases/aliases.conf";
+12
View File
@@ -0,0 +1,12 @@
/* Cygnus Aliases */
alias nickserv { type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias rootserv { type services; };
alias rs { target rootserv; type services; };
include "aliases/aliases.conf";
+7 -7
View File
@@ -1,16 +1,16 @@
/* Epona Aliases */
alias nickserv { type services; };
alias ns { nick nickserv; type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { nick chanserv; type services; };
alias memoserv { type services; };
alias ms { nick memoserv; type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias operserv { type services; };
alias os { nick operserv; type services; };
alias os { target operserv; type services; };
alias helpserv { type services; };
alias hs { nick helpserv; type services; };
alias hs { target helpserv; type services; };
alias botserv { type services; };
alias bs { nick botserv; type services; };
alias bs { target botserv; type services; };
include "aliases/aliases.conf";
+6 -6
View File
@@ -1,14 +1,14 @@
/* Generic Aliases */
alias nickserv { type services; };
alias ns { nick nickserv; type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { nick chanserv; type services; };
alias memoserv { type services; };
alias ms { nick memoserv; type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias operserv { type services; };
alias os { nick operserv; type services; };
alias os { target operserv; type services; };
alias helpserv { type services; };
alias hs { nick helpserv; type services; };
alias hs { target helpserv; type services; };
include "aliases/aliases.conf";
+1 -1
View File
@@ -1,4 +1,4 @@
/* Generic StatServ Aliases */
alias statserv { type stats; };
alias ss { nick statserv; type stats; };
alias ss { target statserv; type stats; };
+7 -7
View File
@@ -1,17 +1,17 @@
/* IRCServices Aliases */
alias nickserv { type services; };
alias ns { nick nickserv; type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { nick chanserv; type services; };
alias memoserv { type services; };
alias ms { nick memoserv; type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias operserv { type services; };
alias os { nick operserv; type services; };
alias os { target operserv; type services; };
alias helpserv { type services; };
alias hs { nick helpserv; type services; };
alias hs { target helpserv; type services; };
alias irciihelp { type services; };
alias statserv { type services; };
alias ss { nick statserv; type services; };
alias ss { target statserv; type services; };
include "aliases/aliases.conf";
+4 -4
View File
@@ -1,6 +1,6 @@
/* OperStats Aliases */
operserv { type stats; };
os { nick operserv; type stats; };
statserv { type stats; };
ss { nick statserv; type stats; };
alias operserv { type stats; };
alias os { target operserv; type stats; };
alias statserv { type stats; };
alias ss { target statserv; type stats; };
-342
View File
@@ -1,342 +0,0 @@
dnl aclocal.m4 generated automatically by aclocal 1.4-p4
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
dnl Macro: unet_CHECK_TYPE_SIZES
dnl
dnl Check the size of several types and define a valid int16_t and int32_t.
dnl
AC_DEFUN(unreal_CHECK_TYPE_SIZES,
[dnl Check type sizes
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
if test "$ac_cv_sizeof_int" = 2 ; then
AC_CHECK_TYPE(int16_t, int)
AC_CHECK_TYPE(u_int16_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 2 ; then
AC_CHECK_TYPE(int16_t, short)
AC_CHECK_TYPE(u_int16_t, unsigned short)
else
AC_MSG_ERROR([Cannot find a type with size of 16 bits])
fi
if test "$ac_cv_sizeof_int" = 4 ; then
AC_CHECK_TYPE(int32_t, int)
AC_CHECK_TYPE(u_int32_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 4 ; then
AC_CHECK_TYPE(int32_t, short)
AC_CHECK_TYPE(u_int32_t, unsigned short)
elif test "$ac_cv_sizeof_long" = 4 ; then
AC_CHECK_TYPE(int32_t, long)
AC_CHECK_TYPE(u_int32_t, unsigned long)
else
AC_MSG_ERROR([Cannot find a type with size of 32 bits])
fi])
dnl @synopsis ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
dnl
dnl This macro figures out how to build C programs using POSIX
dnl threads. It sets the PTHREAD_LIBS output variable to the threads
dnl library and linker flags, and the PTHREAD_CFLAGS output variable
dnl to any special C compiler flags that are needed. (The user can also
dnl force certain compiler flags/libs to be tested by setting these
dnl environment variables.)
dnl
dnl Also sets PTHREAD_CC to any special C compiler that is needed for
dnl multi-threaded programs (defaults to the value of CC otherwise).
dnl (This is necessary on AIX to use the special cc_r compiler alias.)
dnl
dnl If you are only building threads programs, you may wish to
dnl use these variables in your default LIBS, CFLAGS, and CC:
dnl
dnl LIBS="$PTHREAD_LIBS $LIBS"
dnl CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
dnl CC="$PTHREAD_CC"
dnl
dnl In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
dnl constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE
dnl to that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
dnl
dnl ACTION-IF-FOUND is a list of shell commands to run if a threads
dnl library is found, and ACTION-IF-NOT-FOUND is a list of commands
dnl to run it if it is not found. If ACTION-IF-FOUND is not specified,
dnl the default action will define HAVE_PTHREAD.
dnl
dnl Please let the authors know if this macro fails on any platform,
dnl or if you have any other suggestions or comments. This macro was
dnl based on work by SGJ on autoconf scripts for FFTW (www.fftw.org)
dnl (with help from M. Frigo), as well as ac_pthread and hb_pthread
dnl macros posted by AFC to the autoconf macro repository. We are also
dnl grateful for the helpful feedback of numerous users.
dnl
dnl @version $Id$
dnl @author Steven G. Johnson <stevenj@alum.mit.edu> and Alejandro Forero Cuervo <bachue@bachue.com>
dnl This has been recoded a lot. It now fully supports caching and is a bit faster
AC_DEFUN([ACX_PTHREAD], [
AC_CANONICAL_HOST
acx_pthread_ok=no
# First, check if the POSIX threads header, pthread.h, is available.
# If it isn't, don't bother looking for the threads libraries.
AC_CHECK_HEADER(pthread.h, , acx_pthread_ok=noheader)
# We must check for the threads library under a number of different
# names; the ordering is very important because some systems
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
# libraries is broken (non-POSIX).
# Create a list of thread flags to try. Items starting with a "-" are
# C compiler flags, and other items are library names, except for "none"
# which indicates that we try without any flags at all.
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
# The ordering *is* (sometimes) important. Some notes on the
# individual items follow:
# pthreads: AIX (must check this before -lpthread)
# none: in case threads are in libc; should be tried before -Kthread and
# other compiler flags to prevent continual compiler warnings
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
# -pthreads: Solaris/gcc
# -mthreads: Mingw32/gcc, Lynx/gcc
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
# doesn't hurt to check since this sometimes defines pthreads too;
# also defines -D_REENTRANT)
# pthread: Linux, etcetera
# --thread-safe: KAI C++
case "${host_cpu}-${host_os}" in
*solaris*)
# On Solaris (at least, for some versions), libc contains stubbed
# (non-functional) versions of the pthreads routines, so link-based
# tests will erroneously succeed. (We need to link with -pthread or
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
# a function called by this macro, so we could check for that, but
# who knows whether they'll stub that too in a future libc.) So,
# we'll just look for -pthreads and -lpthread first:
acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
;;
esac
result=none
if test "$acx_pthread_ok" = "no"; then
AC_CACHE_CHECK(what flags pthreads needs,ac_cv_pthreadflag,[
for flag in $acx_pthread_flags; do
case $flag in
none)
result="none"
;;
-*)
PTHREAD_CFLAGS="$flag"
result="$flag"
;;
*)
PTHREAD_LIBS="-l$flag"
result="-l$flag"
;;
esac
save_LIBS="$LIBS"
save_CFLAGS="$CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Check for various functions. We must include pthread.h,
# since some functions may be macros. (On the Sequent, we
# need a special flag -Kthread to make this header compile.)
# We check for pthread_join because it is in -lpthread on IRIX
# while pthread_create is in libc. We check for pthread_attr_init
# due to DEC craziness with -lpthreads. We check for
# pthread_cleanup_push because it is one of the few pthread
# functions on Solaris that doesn't have a non-functional libc stub.
# We try pthread_create on general principles.
AC_TRY_LINK([#include <pthread.h>],
[pthread_t th; pthread_join(th, 0);
pthread_attr_init(0); pthread_cleanup_push(0, 0);
pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
[acx_pthread_ok=yes])
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
if test "$acx_pthread_ok" = "yes"; then
dnl AC_MSG_RESULT($result)
ac_cv_pthreadflag=$result
break;
fi
PTHREAD_LIBS=""
PTHREAD_CFLAGS=""
done
fi
])
case $ac_cv_pthreadflag in
none)
;;
-l*)
PTHREAD_LIBS=$ac_cv_pthreadflag
;;
*)
PTHREAD_CFLAGS=$ac_cv_pthreadflag
;;
esac
# Various other checks:
if test "x$ac_cv_pthreadflag"!=x; then
save_LIBS="$LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Detect AIX lossage: threads are created detached by default
# and the JOINABLE attribute has a nonstandard name (UNDETACHED).
AC_CACHE_CHECK([for joinable pthread attribute],ac_cv_pthreadjoin,[
AC_TRY_LINK([#include <pthread.h>],
[int attr=PTHREAD_CREATE_JOINABLE;],
ac_cv_pthreadjoin=PTHREAD_CREATE_JOINABLE, ac_cv_pthreadjoin=unknown)
if test "$ac_cv_pthreadjoin" = "unknown"; then
AC_TRY_LINK([#include <pthread.h>],
[int attr=PTHREAD_CREATE_UNDETACHED;],
ac_cv_pthreadjoin=PTHREAD_CREATE_UNDETACHED, ac_cv_pthreadjoin=unknown)
fi
])
if test "$ac_cv_pthreadjoin" != "PTHREAD_CREATE_JOINABLE"; then
AC_DEFINE(PTHREAD_CREATE_JOINABLE, $ac_cv_pthreadjoin,
[Define to the necessary symbol if this constant
uses a non-standard name on your system.])
fi
if test "$ac_cv_pthreadjoin" = "unknown"; then
AC_MSG_WARN([we do not know how to create joinable pthreads])
fi
AC_CACHE_CHECK([if more special flags are required for pthreads],ac_cv_pthreadspecial,[
ac_cv_pthreadspecial=no
case "${host_cpu}-${host_os}" in
*-aix* | *-freebsd*) ac_cv_pthreadspecial="-D_THREAD_SAFE";;
*solaris* | alpha*-osf*) ac_cv_pthreadspecial="-D_REENTRANT";;
esac
])
if test "$ac_cv_pthreadspecial" != "no"; then
PTHREAD_CFLAGS="$ac_cv_pthreadspecial $PTHREAD_CFLAGS"
fi
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
# More AIX lossage: must compile with cc_r
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
else
PTHREAD_CC="$CC"
fi
if test "x$ac_cv_pthreadflag"!=x; then
AC_CACHE_CHECK(if pthreads uses one thread per process, ac_cv_thread_multi, [
save_LIBS="$LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
AC_TRY_RUN([
#include <pthread.h>
int pid;
int mypid = -1;
pthread_mutex_t mutex;
void testthreads(void *p)
{
pthread_mutex_lock(&mutex);
mypid = getpid();
pthread_mutex_unlock(&mutex);
pthread_exit(NULL);
}
int main() {
int i;
pthread_t thread;
pthread_attr_t attrs;
pid = getpid();
pthread_attr_init(&attrs);
pthread_mutex_init(&mutex, NULL);
pthread_mutex_lock(&mutex);
pthread_create(&thread, &attrs, (void*)testthreads, NULL);
pthread_mutex_unlock(&mutex);
sleep(2);
pthread_mutex_lock(&mutex);
if (mypid == pid)
exit(0);
else
exit(1);
}
],ac_cv_thread_multi=no, ac_cv_thread_multi=yes)
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
])
if test "$USESTDTHREAD" != "1"; then
if test "$ac_cv_thread_multi" = "yes"; then
AC_MSG_RESULT(Ok we'll install FSU Pthreads)
cd extras
if [[ -f "pthreads.tar.gz" ]] ; then
gunzip -fd pthreads.tar.gz
fi
tar xf pthreads.tar
cd threads/src
rm -f Makefile
case "${host_cpu}-${host_os}" in
*-freebsd*)
cp Makefile.FreeBSD Makefile
make
;;
*-linux*)
cp Makefile.Linux Makefile
make
;;
*-solaris2*)
cp Makefile.Solaris Makefile
make
;;
*)
./configure
;;
esac
cd ../../../
if test "$ac_cv_pthreadspecial" != no; then
PTHREAD_CFLAGS="-I=../extras/threads/include $ac_cv_pthreadspecial"
else
PTHREAD_CFLAGS="-I=../extras/threads/include"
fi
PTHREAD_LIBS="../extras/threads/lib/libgthreads.a ../extras/threads/lib/libmalloc.a"
fi
fi
fi
AC_SUBST(PTHREAD_LIBS)
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_CC)
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test x"$acx_pthread_ok" = xyes; then
ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
:
else
acx_pthread_ok=no
$2
fi
])dnl ACX_PTHREAD
-352
View File
@@ -1,352 +0,0 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/ircd.c)
AC_CONFIG_HEADER(include/setup.h)
AC_PROG_CC
if test "$ac_cv_prog_gcc" = "yes"; then
AC_CACHE_CHECK(if you have gcc 3.0 or higher, ac_cv_gcc3, [
if test -z "`gcc -v 2>&1 |grep 'gcc version 3.'`"; then
ac_cv_gcc3="no"
else
ac_cv_gcc3="yes"
fi
])
if test "$ac_cv_gcc3" = "yes"; then
CFLAGS="$CFLAGS -Wnone"
fi
fi
AC_PATH_PROG(RM,rm)
AC_PATH_PROG(CP,cp)
AC_PATH_PROG(TOUCH,touch)
AC_PATH_PROG(OPENSSLPATH,openssl)
AC_PATH_PROG(INSTALL,install)
dnl Checks for libraries.
AC_CHECK_LIB(descrypt, crypt, [AC_DEFINE(HAVE_CRYPT) IRCDLIBS="$IRCDLIBS-ldescrypt " MKPASSWDLIBS="-ldescrypt"],
AC_CHECK_LIB(crypt, crypt,[ AC_DEFINE(HAVE_CRYPT) IRCDLIBS="$IRCDLIBS-lcrypt " MKPASSWDLIBS="-lcrypt"]))
AC_CHECK_LIB(socket, socket,IRCDLIBS="$IRCDLIBS-lsocket ")
AC_CHECK_LIB(nsl, inet_ntoa,IRCDLIBS="$IRCDLIBS-lnsl ")
AC_SUBST(IRCDLIBS)
AC_SUBST(MKPASSWDLIBS)
AC_DEFUN(AC_INSTALL_REGEX,
[
AC_MSG_RESULT(Ok we'll install regex)
cd extras/regex
./configure
make
cd ../..
REGEX="../extras/regex/regex.o"
])
openssl=no
AC_DEFUN(AC_ENABLE_SSL,
[
if test "$openssl" = "yes"; then
AC_DEFINE(USE_SSL)
AC_CACHE_CHECK(what order we should supply the SSL libraries in, ac_cv_ssl_libs, [
save_libs="$LIBS"
LIBS="$LIBS -lssl -lcrypto -lssl"
AC_TRY_LINK([#include <openssl/ssl.h>], [
SSL_write(NULL, NULL, NULL);
], ac_cv_ssl_libs="-lssl -lcrypto -lssl" LIBS="$save_libs", ac_cv_ssl_libs="-lssl -lcrypto -lssl" LIBS="$save_libs")])
CRYPTOLIB="$ac_cv_ssl_libs"
CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/local/ssl/lib"
else
AC_WARN(SSL support could not be enabled because openssl/ssl.h could not be found)
fi
])
dnl module checking based on Hyb7's module checking code
AC_DEFUN(AC_ENABLE_DYN,
[
AC_CHECK_FUNC(dlopen,, AC_CHECK_LIB(dl, dlopen,IRCDLIBS="$IRCDLIBS-ldl",AC_MSG_WARN(Dynamic linking is not enabled because dlopen was not found) AC_DEFINE(STATIC_LINKING)))
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -export-dynamic"
AC_CACHE_CHECK(if we need the -export-dynamic flag, ac_cv_export_dynamic, [
AC_TRY_LINK(, [int i];, ac_cv_export_dynamic=yes, ac_cv_export_dynamic=no)])
if test "$ac_cv_export_dynamic" = "no"; then
CFLAGS=$hold_cflags
fi
AC_CACHE_CHECK(for compiler option to produce PIC,ac_cv_pic,[
if test "$ac_cv_prog_gcc" = "yes"; then
ac_cv_pic="-fPIC -DPIC -shared"
else
case `uname -s` in
SunOS*[)]
ac_cv_pic="-KPIC -DPIC -G"
;;
esac
fi
])
MODULEFLAGS=$ac_cv_pic
AC_DEFINE(DYNAMIC_LINKING)
])
AC_DEFUN(AC_ENABLE_INET6,[
AC_CACHE_CHECK(if your system has IPv6 support, ac_cv_ip6, [
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
int main() {
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);
exit(0);
}
], ac_cv_ip6=yes, ac_cv_ip6=no)
])
if test "$ac_cv_ip6" = "no"; then
AC_MSG_WARN(Your system does not support IPv6 so it will not be enabled)
else
AC_DEFINE(INET6)
fi
])
AC_CHECK_HEADER(sys/param.h,AC_DEFINE(PARAMH))
AC_CHECK_HEADER(stdlib.h,AC_DEFINE(STDLIBH))
AC_CHECK_HEADER(stddef.h,AC_DEFINE(STDDEFH))
AC_CHECK_HEADER(sys/syslog.h,AC_DEFINE(SYSSYSLOGH))
AC_CHECK_HEADER(unistd.h,AC_DEFINE(UNISTDH))
AC_CHECK_HEADER(string.h,AC_DEFINE(STRINGH))
AC_CHECK_HEADER(strings.h,AC_DEFINE(STRINGSH))
AC_CHECK_HEADER(regex.h,AC_DEFINE(HAVE_REGEX),AC_INSTALL_REGEX)
AC_CHECK_HEADER(openssl/ssl.h,openssl=yes)
AC_CHECK_HEADER(malloc.h,AC_DEFINE(MALLOCH,<malloc.h>))
AC_CHECK_HEADER(sys/rusage.h,AC_DEFINE(RUSAGEH))
AC_CHECK_HEADER(glob.h,AC_DEFINE(GLOBH))
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_STRUCT_TM
AC_TYPE_UID_T
unreal_CHECK_TYPE_SIZES
AC_CACHE_CHECK(what kind of nonblocking sockets you have, ac_cv_nonblocking,[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <signal.h>
alarmed() {
exit(1);
}
int main() {
#ifdef O_NONBLOCK
char b[12], x[32];
int f, l = sizeof(x);
f = socket(AF_INET, SOCK_DGRAM, 0);
if (f >= 0 && !(fcntl(f, F_SETFL, O_NONBLOCK))) {
signal(SIGALRM, alarmed);
alarm(3);
recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
alarm(0);
exit(0);
}
#endif
exit(1);
}
],ac_cv_nonblocking=O_NONBLOCK,[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <signal.h>
alarmed() {
exit(0);
}
int main() {
#ifdef O_NDELAY
char b[12], x[32];
int f, l = sizeof(x);
f = socket(AF_INET, SOCK_DGRAM, 0);
if (f >= 0 && !(fcntl(f, F_SETFL, O_NDELAY))) {
signal(SIGALRM, alarmed);
alarm(3);
recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
alarm(0);
exit(0);
}
#endif
exit(1);
}],ac_cv_nonblocking=O_NDELAY,[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <signal.h>
alarmed() {
exit(1);
}
int main() {
#ifdef FIONBIO
char b[12], x[32];
int f, l = sizeof(x);
f = socket(AF_INET, SOCK_DGRAM, 0);
if (f >= 0 && !(fcntl(f, F_SETFL, FIONBIO))) {
signal(SIGALRM, alarmed);
alarm(3);
recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
alarm(0);
exit(0);
}
#endif
exit(1);
], ac_cv_nonblocking=FIONBIO,ac_cv_nonblocking=none)])])])
if test "$ac_cv_nonblocking" = "O_NONBLOCK"; then
AC_DEFINE(NBLOCK_POSIX)
elif test "$ac_cv_nonblocking" = "O_NDELAY"; then
AC_DEFINE(NBLOCK_BSD)
elif test "$ac_cv_nonblocking" = "FIONBIO"; then
AC_DEFINE(NBLOCK_SYSV)
fi
dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_SETPGRP
AC_FUNC_SETVBUF_REVERSED
AC_CACHE_CHECK(if we can set the core size to unlimited, ac_cv_force_core,[
AC_TRY_RUN([
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
int main() {
struct rlimit corelim;
corelim.rlim_cur = corelim.rlim_max = RLIM_INFINITY;
if (setrlimit(RLIMIT_CORE, &corelim))
exit(1);
exit(0);
}
],ac_cv_force_core=yes,ac_cv_force_core=no)
])
if test "$ac_cv_force_core" = "yes"; then
AC_DEFINE(FORCE_CORE)
fi
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(gettimeofday,AC_DEFINE(GETTIMEOFDAY),[AC_CHECK_FUNCS(lrand48,AC_DEFINE(LRADN48))])
AC_CHECK_FUNCS(getrusage,AC_DEFINE(GETRUSAGE_2),[AC_CHECK_FUNCS(times,AC_DEFINE(TIMES_2))])
AC_CHECK_FUNCS(setproctitle,AC_DEFINE(HAVE_SETPROCTITLE),[
AC_CHECK_LIB(util,setproctitle,AC_DEFINE(HAVE_SETPROCTITLE) IRCDLIBS="$IRCDLIBS-lutil",[
AC_EGREP_HEADER([#define.*PS_STRINGS.*],sys/exec.h,AC_DEFINE(HAVE_PSSTRINGS),[
AC_CHECK_FUNCS(pstat,AC_DEFINE(HAVE_PSTAT))
])
])
])
AC_CACHE_CHECK(what type of signals you have, ac_cv_sigtype, [
AC_TRY_RUN([
#include <signal.h>
int main() {
sigaction(SIGTERM, (struct sigaction *)0L, (struct sigaction *)0L);
}
], ac_cv_sigtype=POSIX, [
AC_TRY_RUN([
#include <signal.h>
int calls = 0;
void handler()
{
if (calls)
return;
calls++;
kill(getpid(), SIGTERM);
sleep(1);
}
int main() {
signal(SIGTERM, handler);
kill(getpid(), SIGTERM);
exit(0);
}
], ac_cv_sigtype=BSD,ac_cv_sigtype=SYSV)])])
if test "$ac_cv_sigtype" = "POSIX"; then
AC_DEFINE(POSIX_SIGNALS)
elif test "$ac_cv_sigtype" = "BSD"; then
AC_DEFINE(BSD_RELIABLE_SIGNALS)
else
AC_DEFINE(SYSV_UNRELIABLE_SIGNALS)
fi
AC_CHECK_FUNCS(strtoken,,AC_DEFINE(NEED_STRTOKEN))
AC_CHECK_FUNCS(strtok,,AC_DEFINE(NEED_STRTOK))
AC_CHECK_FUNCS(strerror,,AC_DEFINE(NEED_STRERROR))
AC_CHECK_FUNCS(index,,AC_DEFINE(NOINDEX))
AC_CHECK_FUNCS(strtoul,,STRTOUL="strtoul.o")
AC_CHECK_FUNCS(bcopy,,AC_DEFINE(NEED_BCOPY))
AC_CHECK_FUNCS(bcmp,,AC_DEFINE(NEED_BCMP))
AC_CHECK_FUNCS(bzero,,AC_DEFINE(NEED_BZERO))
AC_CHECK_FUNCS(strcasecmp,AC_DEFINE(GOT_STRCASECMP))
AC_CHECK_FUNCS(inet_addr,,AC_DEFINE(NEED_INET_ADDR))
AC_CHECK_FUNCS(inet_ntoa,,AC_DEFINE(NEED_INET_NTOA))
AC_CHECK_FUNCS(inet_netof,,AC_DEFINE(NEED_INET_NETOF))
AC_SUBST(REGEX)
AC_SUBST(STRTOUL)
AC_SUBST(CRYPTOLIB)
AC_SUBST(MODULEFLAGS)
AC_ARG_WITH(listen, [ --with-listen=backlog Specify the listen backlog value],
AC_DEFINE_UNQUOTED(LISTEN_SIZE,$withval),AC_DEFINE(LISTEN_SIZE,5))
AC_ARG_WITH(nick-history, [ --with-nick-history=length Specify the length of the nickname history],
AC_DEFINE_UNQUOTED(NICKNAMEHISTORYLENGTH,$withval), AC_DEFINE(NICKNAMEHISTORYLENGTH,2000))
AC_ARG_WITH(sendq, [ --with-sendq=maxsendq Specify the max sendq for the server],
AC_DEFINE_UNQUOTED(MAXSENDQLENGTH,$withval),AC_DEFINE(MAXSENDQLENGTH,3000000))
AC_ARG_WITH(bufferpool, [ --with-bufferpool=size Specify the size of the buffer pool],
AC_DEFINE_UNQUOTED(BUFFERPOOL,[($withval * MAXSENDQLENGTH)]),AC_DEFINE(BUFFERPOOL,[(9 * MAXSENDQLENGTH)]))
AC_ARG_WITH(hostname, [ --with-hostname=host Specify the local hostname of the server], AC_DEFINE_UNQUOTED(DOMAINNAME,"$withval"),AC_DEFINE_UNQUOTED(DOMAINNAME,"`hostname`"))
AC_DEFINE_UNQUOTED(MYOSNAME,"`uname -a`")
AC_ARG_WITH(permissions, [ --with-permissions=permissions Specify the default permissions for
configuration files], AC_DEFINE_UNQUOTED(DEFAULT_PERMISSIONS,$withval), AC_DEFINE(DEFAULT_PERMISSIONS, 0600))
AC_ARG_WITH(dpath, [ --with-dpath=path Specify the path where configuration files are stored],
AC_DEFINE_UNQUOTED(DPATH, "$withval") IRCDDIR="$withval", AC_DEFINE_UNQUOTED(DPATH,"`pwd`") IRCDDIR="`pwd`")
AC_ARG_WITH(fd-setsize, [ --with-fd-setsize=size Specify the max file descriptors to use],
ac_fd=$withval, ac_fd=1024)
AC_DEFINE_UNQUOTED(MAXCONNECTIONS, $ac_fd)
AC_ARG_WITH(spath, [ --with-spath Specify the location of the executable],
AC_DEFINE_UNQUOTED(SPATH,"$withval") BINDIR="$withval",AC_DEFINE_UNQUOTED(SPATH,"`pwd`/src/ircd") BINDIR="`pwd`/src/ircd")
AC_ARG_ENABLE(nospoof, [ --enable-nospoof Enable spoofing protection], AC_DEFINE(NOSPOOF))
AC_ARG_ENABLE(hub, [ --enable-hub Compile as a hub server], AC_DEFINE(HUB))
AC_ARG_ENABLE(ssl, [ --enable-ssl Enable client and server SSL connections ], AC_ENABLE_SSL)
AC_ARG_ENABLE(dynamic-linking, [ --enable-dynamic-linking Make the IRCd dynamically link shared objects rather than statically ], AC_ENABLE_DYN, AC_DEFINE(STATIC_LINKING))
AC_ARG_ENABLE(inet6, [ --enable-inet6 Make the IRCd support IPv6 ], AC_ENABLE_INET6)
AC_ARG_ENABLE(standardthreads, [ --enable-standardthreads Use standard threads ], USESTDTHREAD="1")
AC_SUBST(IRCDDIR)
AC_SUBST(BINDIR)
ACX_PTHREAD
CC="$PTHREAD_CC"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
IRCDLIBS="$IRCDLIBS $PTHREAD_LIBS"
AC_MSG_CHECKING(if FD_SETSIZE is large enough to allow $ac_fd file descriptors)
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/time.h>
int main() {
if (FD_SETSIZE >= $ac_fd)
exit(0);
exit(1);
}
], AC_MSG_RESULT(yes), FD_SETSIZE="-DFD_SETSIZE=$ac_fd" AC_MSG_RESULT(no))
AC_SUBST(FD_SETSIZE)
case "${host_cpu}-${host_os}" in
SunOS*5.*)
CFLAGS="$CFLAGS -DSOL20"
;;
*solaris*)
CFLAGS="$CFLAGS -D_SOLARIS"
IRCDLIBS="$IRCDLIBS -lresolv "
;;
*AmigaOS*68020*)
CFLAGS="$CFLAGS -D_AMIGA -m68020"
;;
*AmigaOS*68030*)
CFLAGS="$CFLAGS -D_AMIGA -m68030"
;;
*AmigaOS*68040*)
CFLAGS="$CFLAGS -D_AMIGA -m68040"
;;
*AmigaOS*68060*)
CFLAGS="$CFLAGS -D_AMIGA -m68060"
;;
esac
AC_OUTPUT(Makefile src/modules/Makefile unreal)
chmod 0700 unreal
View File
+253
View File
@@ -0,0 +1,253 @@
#serial 1
dnl Macro: unreal_CHECK_TYPE_SIZES
dnl originally called unet_CHECK_TYPE_SIZES
dnl
dnl Check the size of several types and define a valid int16_t and int32_t.
dnl
AC_DEFUN([unreal_CHECK_TYPE_SIZES],
[dnl Check type sizes
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
if test "$ac_cv_sizeof_int" = 2 ; then
AC_CHECK_TYPE(int16_t, int)
AC_CHECK_TYPE(u_int16_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 2 ; then
AC_CHECK_TYPE(int16_t, short)
AC_CHECK_TYPE(u_int16_t, unsigned short)
else
AC_MSG_ERROR([Cannot find a type with size of 16 bits])
fi
if test "$ac_cv_sizeof_int" = 4 ; then
AC_CHECK_TYPE(int32_t, int)
AC_CHECK_TYPE(u_int32_t, unsigned int)
elif test "$ac_cv_sizeof_short" = 4 ; then
AC_CHECK_TYPE(int32_t, short)
AC_CHECK_TYPE(u_int32_t, unsigned short)
elif test "$ac_cv_sizeof_long" = 4 ; then
AC_CHECK_TYPE(int32_t, long)
AC_CHECK_TYPE(u_int32_t, unsigned long)
else
AC_MSG_ERROR([Cannot find a type with size of 32 bits])
fi
AC_CHECK_SIZEOF(rlim_t)
if test "$ac_cv_sizeof_rlim_t" = 8 ; then
AC_DEFINE([LONG_LONG_RLIM_T], [], [Define if rlim_t is long long])
fi
])
AC_DEFUN([CHECK_LIBCURL],
[
AC_ARG_ENABLE(libcurl,
[AC_HELP_STRING([--enable-libcurl=DIR],[enable libcurl (remote include) support])],
[enable_curl=$enableval],
[enable_curl=no])
AS_IF([test "x$enable_curl" != "xno"],
[
dnl sane, default directory for Operating System-managed libcURL
dnl (when --enable-libcurl is passed without any arguments). On
dnl systems with stuff in /usr/local, /usr/local/bin should already
dnl be in PATH. On sane systems, this will invoke the curl-config
dnl installed by the package manager.
CURLCONFIG="curl-config"
AS_IF([test "x$enable_curl" != "xyes"],
[CURLCONFIG="$enable_curl/bin/curl-config"])
AC_MSG_CHECKING([$CURLCONFIG])
AS_IF([$CURLCONFIG --version 2>/dev/null >/dev/null],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
AC_MSG_FAILURE([Could not find curl-config, try editing --enable-libcurl])])
CURLCFLAG="`$CURLCONFIG --cflags`"
CURLLIBS="`$CURLCONFIG --libs`"
dnl This test must be this way because of #3981
AS_IF([$CURLCONFIG --features | grep -q -e AsynchDNS],
[CURLUSESCARES="1"],
[CURLUSESCARES="0"])
AS_IF([test "$CURLUSESCARES" = "0"],
[AC_MSG_WARN([cURL seems compiled without c-ares support. Your IRCd will possibly stall when REHASHing!])])
dnl sanity warnings
AS_IF([test -z "${CURLLIBS}"],
[AC_MSG_WARN([CURLLIBS is empty, that probably means that I could not find $enable_curl/bin/curl-config])])
dnl Ok this is ugly, basically we need to strip the version of c-ares that curl uses
dnl because we want to use our own version (which is hopefully fully binary
dnl compatible with the curl one as well).
dnl Therefore we need to strip the cares libs in a weird way...
dnl If anyone can come up with something better and still portable (no awk!?)
dnl then let us know. -- Syzop
dnl
dnl It is dangerous to mix and match cURL with potentially ABI-incompatible versions of
dnl c-ares, just use --with-system-cares.
dnl Thus, make sure to use --with-system-cares when using system-cURL. If the user
dnl wants bundled c-ares + system libcURL, then we should filter out c-ares
dnl flags. _Only_ in that case should we mess with the flags. -- ohnobinki
AS_IF([test "x$with_system_cares" = "xno" && test "x$HOME/curl" != "x$enable_curl" && test "x/usr/share/unreal-curl" != "x$enable_curl" && test "$CURLUSESCARES" != "0" ],
[
AC_MSG_ERROR([[
You have decided to build unrealIRCd with libcURL (remote includes) support.
However, you have disabled system-installed c-ares support (--with-system-cares).
Because UnrealIRCd will use a bundled copy of c-ares which may be incompatible
with the system-installed libcURL, this is a bad idea which may result in error
messages looking like:
\`\`[error] unrealircd.conf:9: include: error downloading '(http://example.net/ex.conf)': Could not resolve host: example.net (Successful completion)''
Or UnrealIRCd might even crash.
Please build UnrealIRCd with --with-system-cares when enabling --enable-libcurl
]])
])
AS_IF([test "x`echo $CURLLIBS |grep ares`" != x && test "x$with_system_cares" = "xno"],
[
dnl Attempt one: Linux sed
[XCURLLIBS="`echo "$CURLLIBS"|sed -r 's/[^ ]*ares[^ ]*//g' 2>/dev/null`"]
AS_IF([test "x$XCURLLIBS" = "x"],
[
dnl Attempt two: FreeBSD (and others?) sed
[XCURLLIBS="`echo "$CURLLIBS"|sed -E 's/[^ ]*ares[^ ]*//g' 2>/dev/null`"]
AS_IF([test x"$XCURLLIBS" = x],
[
AC_MSG_ERROR([sed appears to be broken. It is needed for a remote includes compile hack.])
])
])
CURLLIBS="$XCURLLIBS"
IRCDLIBS_CURL_CARES="$CARES_LIBS"
CFLAGS_CURL_CARES="$CARES_CFLAGS"
])
dnl Make sure that linking against cURL works rather than letting the user
dnl find out after compiling most of his program. ~ohnobinki
IRCDLIBS="$IRCDLIBS $CURLLIBS"
CFLAGS="$CFLAGS $CURLCFLAG"
AC_DEFINE([USE_LIBCURL], [], [Define if you have libcurl installed to get remote includes and MOTD support])
AC_MSG_CHECKING([curl_easy_init() in $CURLLIBS])
LIBS_SAVEDA="$LIBS"
CFLAGS_SAVEDA="$CFLAGS"
LIBS="$IRCDLIBS $IRCDLIBS_CURL_CARES"
CFLAGS="$CFLAGS $CFLAGS_CURL_CARES"
AC_LINK_IFELSE(
[
AC_LANG_PROGRAM(
[[#include <curl/curl.h>]],
[[CURL *curl = curl_easy_init();]])
],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
AC_MSG_FAILURE([You asked for libcURL (remote includes) support, but it can't be found at $enable_curl])
])
LIBS="$LIBS_SAVEDA"
CFLAGS="$CFLAGS_SAVEDA"
URL="url.o"
AC_SUBST(URL)
]) dnl AS_IF(enable_curl)
])
dnl the following 2 macros are based on CHECK_SSL by Mark Ethan Trostler <trostler@juniper.net>
AC_DEFUN([CHECK_SSL],
[
AC_ARG_ENABLE(ssl,
[AC_HELP_STRING([--enable-ssl=],[enable ssl will check /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/sfw /usr/local /usr])],
[],
[enable_ssl=no])
AS_IF([test $enable_ssl != "no"],
[
AC_MSG_CHECKING([for openssl])
for dir in $enable_ssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/sfw /usr/local /usr; do
ssldir="$dir"
if test -f "$dir/include/openssl/ssl.h"; then
AC_MSG_RESULT([found in $ssldir/include/openssl])
found_ssl="yes";
if test ! "$ssldir" = "/usr" ; then
CFLAGS="$CFLAGS -I$ssldir/include";
fi
break
fi
if test -f "$dir/include/ssl.h"; then
AC_MSG_RESULT([found in $ssldir/include])
found_ssl="yes";
if test ! "$ssldir" = "/usr" ; then
CFLAGS="$CFLAGS -I$ssldir/include";
fi
break
fi
done
if test x_$found_ssl != x_yes; then
AC_MSG_RESULT(not found)
echo ""
echo "Apparently you do not have both the openssl binary and openssl development libraries installed."
echo "You have two options:"
echo "a) Install the needed binaries and libraries"
echo " and run ./Config"
echo "OR"
echo "b) If you don't need SSL..."
echo " Run ./Config and say 'no' when asked about SSL"
echo " (or pass --disable-ssl to ./configure)"
echo ""
exit 1
else
CRYPTOLIB="-lssl -lcrypto";
if test ! "$ssldir" = "/usr" ; then
LDFLAGS="$LDFLAGS -L$ssldir/lib";
fi
AC_DEFINE([USE_SSL], [], [Define if you want to allow SSL connections])
fi
])
])
AC_DEFUN([CHECK_ZLIB],
[
AC_ARG_ENABLE([ziplinks],
[AC_HELP_STRING([--enable-ziplinks=DIR],[enable ziplinks. will check /usr/local /usr /usr/pkg. Note that SSL does its own compression, so you won't need this for SSL links.])],
[],
[enable_ziplinks=no])
AS_IF([test $enable_ziplinks != "no"],
[
AC_MSG_CHECKING([for zlib])
for dir in $enable_ziplinks /usr/local /usr /usr/pkg; do
zlibdir="$dir"
if test -f "$dir/include/zlib.h"; then
AC_MSG_RESULT(found in $zlibdir)
found_zlib="yes";
if test "$zlibdir" != "/usr" ; then
CFLAGS="$CFLAGS -I$zlibdir/include";
fi
AC_DEFINE([ZIP_LINKS], [], [Define if you have zlib and want zip links support.])
break
fi
done
if test x_$found_zlib != x_yes; then
AC_MSG_RESULT([not found])
echo ""
echo "Apparently you do not have the zlib development library installed."
echo "You have two options:"
echo "a) Install the zlib development library"
echo " and run ./Config"
echo "OR"
echo "b) If you don't need compressed links..."
echo " Run ./Config and say 'no' when asked about ziplinks support"
echo ""
exit 1
else
IRCDLIBS="$IRCDLIBS -lz"
if test "$zlibdir" != "/usr" ; then
LDFLAGS="$LDFLAGS -L$zlibdir/lib"
fi
HAVE_ZLIB=yes
fi
AC_SUBST([HAVE_ZLIB])
])
])
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
cd "$(dirname "${0}")"
ACLOCAL_AMFLAGS=(-I autoconf/m4)
aclocal "${ACLOCAL_AMFLAGS[@]}"
autoconf
autoheader
-1
View File
@@ -49,5 +49,4 @@ badword channel { word "gay"; };
badword channel { word "dickhead"; };
badword channel { word "sonuvabitch"; };
badword channel { word "*fuck*"; };
badword channel { word "boobs"; };
badword channel { word "tits"; };
+20 -21
View File
@@ -30,24 +30,23 @@
*/
badword message { word "pussy"; };
badword message { word "fuck"; };
badword message { word "whore"; };
badword message { word "slut"; };
badword message { word "shit"; };
badword message { word "asshole"; };
badword message { word "bitch"; };
badword message { word "cunt"; };
badword message { word "vagina"; };
badword message { word "penis"; };
badword message { word "jackass"; };
badword message { word "*fucker*"; };
badword message { word "faggot"; };
badword message { word "fag"; };
badword message { word "horny"; };
badword message { word "gay"; };
badword message { word "dickhead"; };
badword message { word "sonuvabitch"; };
badword message { word "*fuck*"; };
badword message { word "boobs"; };
badword message { word "tits"; };
badword message { word "pussy"; };
badword message { word "fuck"; };
badword message { word "whore"; };
badword message { word "slut"; };
badword message { word "shit"; };
badword message { word "asshole"; };
badword message { word "bitch"; };
badword message { word "cunt"; };
badword message { word "vagina"; };
badword message { word "penis"; };
badword message { word "jackass"; };
badword message { word "*fucker*"; };
badword message { word "faggot"; };
badword message { word "fag"; };
badword message { word "horny"; };
badword message { word "gay"; };
badword message { word "dickhead"; };
badword message { word "sonuvabitch"; };
badword message { word "*fuck*"; };
badword message { word "tits"; };
+52
View File
@@ -0,0 +1,52 @@
/*
Unreal Internet Relay Chat Daemon
Copyright (C) Carsten V. Munk 2000
NOTE: Those words are not meant to insult you (the user)
but is meant to be a list of words so that quit message censoring
will work properly. You can easily modify this file at your will.
If you got words to add to this file, please mail badword badwords@tspre.org
This is some filling space, scroll down to see the words
*/
badword quit { word "pussy"; };
badword quit { word "fuck"; };
badword quit { word "whore"; };
badword quit { word "slut"; };
badword quit { word "shit"; };
badword quit { word "asshole"; };
badword quit { word "bitch"; };
badword quit { word "cunt"; };
badword quit { word "vagina"; };
badword quit { word "penis"; };
badword quit { word "jackass"; };
badword quit { word "*fucker*"; };
badword quit { word "faggot"; };
badword quit { word "fag"; };
badword quit { word "horny"; };
badword quit { word "gay"; };
badword quit { word "dickhead"; };
badword quit { word "sonuvabitch"; };
badword quit { word "*fuck*"; };
badword quit { word "tits"; };
-25
View File
@@ -1,25 +0,0 @@
#!/bin/sh
DATE=`date +%Y%m%d-%H%M%S`
HOSTNAME=`hostname`
USERNAME=`whoami`
BUGREPORT=bugreport.$HOSTNAME.$USERNAME.$DATE.txt
echo "UnrealIRCd Bug Report" > $BUGREPORT
echo "---------------------" >> $BUGREPORT
echo "" >> $BUGREPORT
echo "Made at `date`">> $BUGREPORT
echo "`src/ircd -v`" >> $BUGREPORT
echo "Operating system:" >> $BUGREPORT
ls -l *core* >> $BUGREPORT
uname -a >> $BUGREPORT
gdb -x .bugreport.gdb src/ircd *core* >> $BUGREPORT 2>&1
cat |sendmail -t << __EOF__&
To: bugs-unreal@tspre.org
From: autobugreport@unrealircd.com
Subject: Bug report - $BUGREPORT
`cat $BUGREPORT`
.
__EOF__
Vendored
+7219 -4216
View File
File diff suppressed because it is too large Load Diff
+690
View File
@@ -0,0 +1,690 @@
dnl Process this file with autoconf to produce a configure script.
dnl When updating the version, remember to update the following files
dnl appropriately:
dnl
dnl include/win32/setup.h
dnl src/win32/unrealinst.iss
dnl docs/unreal32docs*.html
dnl Unreal.nfo
dnl .CHANGES.NEW
dnl src/version.c.SH
AC_INIT([unrealircd], [3.2.10.7], [http://bugs.unrealircd.org/], [], [http://unrealircd.org/])
AC_CONFIG_SRCDIR([src/ircd.c])
AC_CONFIG_HEADER([include/setup.h])
AC_CONFIG_AUX_DIR([autoconf])
AC_CONFIG_MACRO_DIR([autoconf/m4])
if test "x$enable_dynamic_linking" = "x"; then
echo "Please use ./Config instead of ./configure"
exit 1
fi
dnl Calculate the versions. Perhaps the use of expr is a little too extravagant
# Generation version number (e.g.: 3 for Unreal3*)
UNREAL_VERSION_GENERATION=["`expr $PACKAGE_VERSION : '\([^.]*\)\.[^.]*\.[^.-_]*'`"]
AC_DEFINE_UNQUOTED([UNREAL_VERSION_GENERATION], [$UNREAL_VERSION_GENERATION], [Generation version number (e.g.: 3 for Unreal3*)])
# Major version number (e.g.: 2 for Unreal3.2*)
UNREAL_VERSION_MAJOR=["`expr $PACKAGE_VERSION : '[0-9]*\.\([0-9]*\)\.[0-9]*'`"]
AC_DEFINE_UNQUOTED([UNREAL_VERSION_MAJOR], [$UNREAL_VERSION_MAJOR], [Major version number (e.g.: 2 for Unreal3.2*)])
# Minor version number (e.g.: 1 for Unreal3.2.1)
UNREAL_VERSION_MINOR=["`expr $PACKAGE_VERSION : '[0-9]*\.[0-9]*\.\([0-9]*\)'`"]
AC_DEFINE_UNQUOTED([UNREAL_VERSION_MINOR], [$UNREAL_VERSION_MINOR], [Minor version number (e.g.: 1 for Unreal3.2.1)])
# The version suffix such as a beta marker or release candidate
# marker. (e.g.: -rc2 for unrealircd-3.2.9-rc2). This macro is a
# string instead of an integer because it contains arbitrary data.
UNREAL_VERSION_SUFFIX=["`expr $PACKAGE_VERSION : '[0-9]*\.[0-9]*\.[0-9]*\(.*\)'`"]
AC_DEFINE_UNQUOTED([UNREAL_VERSION_SUFFIX], ["$UNREAL_VERSION_SUFFIX"], [Version suffix such as a beta marker or release candidate marker. (e.g.: -rc2 for unrealircd-3.2.9-rc2)])
AC_PROG_CC
if test "$ac_cv_prog_gcc" = "yes"; then
CFLAGS="$CFLAGS -funsigned-char"
AC_CACHE_CHECK(if gcc has a working -pipe, ac_cv_pipe, [
save_cflags="$CFLAGS"
CFLAGS="$CFLAGS -pipe"
AC_TRY_COMPILE(,, ac_cv_pipe="yes", ac_cv_pipe="no")
CFLAGS="$save_cflags"
])
if test "$ac_cv_pipe" = "yes"; then
CFLAGS="-pipe $CFLAGS"
fi
fi
dnl (the gcc flag detection trick is taken from xemacs/Vin Shelton)
dnl UnrealIRCd might not be strict-aliasing safe at this time
case "`$CC -v --help 2>&1`" in
*-fstrict-aliasing* ) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;
esac
dnl Pointer signedness warnings are really a pain and 99.9% of the time
dnl they are of absolutely no use whatsoever. IMO the person who decided
dnl to enable this without -Wall should be shot on sight.
case "`$CC -v --help 2>&1`" in
*-Wpointer-sign* ) CFLAGS="$CFLAGS -Wno-pointer-sign" ;;
esac
AC_PATH_PROG(RM,rm)
AC_PATH_PROG(CP,cp)
AC_PATH_PROG(TOUCH,touch)
AC_PATH_PROG(OPENSSLPATH,openssl)
AC_PATH_PROG(INSTALL,install)
AC_CHECK_PROG(MAKER, gmake, gmake, make)
AC_PATH_PROG(GMAKE,gmake)
AC_PATH_PROG(GUNZIP, gunzip)
AC_PATH_PROG(PKGCONFIG, pkg-config)
dnl Checks for libraries.
AC_CHECK_LIB(descrypt, crypt,
[AC_DEFINE([HAVE_CRYPT], [], [Define if you have crypt])
IRCDLIBS="$IRCDLIBS-ldescrypt "
MKPASSWDLIBS="-ldescrypt"],
[AC_CHECK_LIB(crypt, crypt,
[AC_DEFINE([HAVE_CRYPT], [], [Define if you have crypt])
IRCDLIBS="$IRCDLIBS-lcrypt "
MKPASSWDLIBS="-lcrypt"])])
AC_CHECK_LIB(socket, socket,
[IRCDLIBS="$IRCDLIBS-lsocket "
SOCKLIB="-lsocket"])
AC_CHECK_LIB(nsl, inet_ntoa,
[IRCDLIBS="$IRCDLIBS-lnsl "
INETLIB="-lnsl"])
AC_CHECK_LIB(crypto, RAND_egd,
AC_DEFINE(HAVE_RAND_EGD, 1, [Define if the libcrypto has RAND_egd]))
AC_SUBST(IRCDLIBS)
AC_SUBST(MKPASSWDLIBS)
dnl module checking based on Hyb7's module checking code
AC_DEFUN([AC_ENABLE_DYN],
[
AC_CHECK_FUNC(dlopen,, [AC_CHECK_LIB(dl, dlopen,IRCDLIBS="$IRCDLIBS -ldl",
[
AC_MSG_WARN(Dynamic linking is not enabled because dlopen was not found)
AC_DEFINE(STATIC_LINKING)
])])
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -Wl,-export-dynamic"
AC_CACHE_CHECK(if we need the -export-dynamic flag, ac_cv_export_dynamic, [
AC_TRY_LINK(, [int i];, ac_cv_export_dynamic=yes, ac_cv_export_dynamic=no)])
if test "$ac_cv_export_dynamic" = "no"; then
CFLAGS=$hold_cflags
fi
AC_CACHE_CHECK(for compiler option to produce PIC,ac_cv_pic,[
if test "$ac_cv_prog_gcc" = "yes"; then
ac_cv_pic="-fPIC -DPIC -shared"
case `uname -s` in
Darwin*[)]
ac_cv_pic="-std=gnu89 -bundle -flat_namespace -undefined suppress"
;;
HP-UX*[)]
ac_cv_pic="-fPIC"
;;
esac
else
case `uname -s` in
SunOS*[)]
ac_cv_pic="-KPIC -DPIC -G"
;;
esac
fi
])
AC_CACHE_CHECK(if your system prepends an underscore on symbols,ac_cv_underscore,[
cat >uscore.c << __EOF__
int main() {
return 0;
}
__EOF__
$CC -o uscore $CFLAGS uscore.c 1>&5
if test -z "`strings -a uscore |grep '^_main$'`"; then
ac_cv_underscore=no
else
ac_cv_underscore=yes
fi
rm -f uscore uscore.c
])
dnl libtool has built-in tests that determine proper underscorage
if test "$ac_cv_underscore" = "yes"; then
AC_DEFINE([UNDERSCORE], [], [Define if your system prepends an underscore to symbols])
fi
MODULEFLAGS=$ac_cv_pic
dnl DYNAMIC_LINKING is not meant to be defined in include/setup.h, it's
dnl defined in the Makefiles using -D. Having it defined globally will
dnl only cause braindamage and symbol collisions :-D.
dnl AC_DEFINE([DYNAMIC_LINKING], [], [Link dynamically as opposed to statically. (Dynamic linking is the only supported method of linking atm)])
])
AC_DEFUN([AC_ENABLE_INET6],[
AC_CACHE_CHECK([if your system has IPv6 support], [ac_cv_ip6], [
save_libs="$LIBS"
LIBS="$LIBS $SOCKLIB"
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
int main() {
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);
exit(0);
}
],
[ac_cv_ip6=yes],
[ac_cv_ip6=no])
])
if test "$ac_cv_ip6" = "no"; then
AC_MSG_ERROR([Your system does not support IPv6 so it will not be enabled])
else
AC_DEFINE([INET6], [], [Define if you want IPv6 enabled])
dnl in6addr_any detection code taken from ratbox
AC_MSG_CHECKING([for struct in6addr_any])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[#define IN_AUTOCONF
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>]],
[[struct in6_addr a = in6addr_any;]]
)],
[AC_MSG_RESULT(yes)],
[
AC_MSG_RESULT([no])
AC_DEFINE([NO_IN6ADDR_ANY], [1], [Define to 1 if your system has no in6addr_any.])
]
)
fi
LIBS="$save_libs"
])
AC_CHECK_HEADER(sys/param.h,
AC_DEFINE([PARAMH], [], [Define if you have the <sys/param.h> header file.]))
AC_CHECK_HEADER(stdlib.h,
AC_DEFINE([STDLIBH], [], [Define if you have the <stdlib.h> header file.]))
AC_CHECK_HEADER(stddef.h,
AC_DEFINE([STDDEFH], [], [Define if you have the <stddef.h> header file.]))
AC_CHECK_HEADER(sys/syslog.h,
AC_DEFINE([SYSSYSLOGH], [], [Define if you have the <sys/syslog.h> header file.]))
AC_CHECK_HEADER(unistd.h,
AC_DEFINE([UNISTDH], [], [Define if you have the <unistd.h> header file.]))
AC_CHECK_HEADER(string.h,
AC_DEFINE([STRINGH], [], [Define if you have the <string.h> header file.]))
AC_CHECK_HEADER(strings.h,
AC_DEFINE([STRINGSH], [], [Define if you have the <strings.h> header file.]))
AC_CHECK_HEADER(malloc.h,
AC_DEFINE([MALLOCH], [<malloc.h>], [Define to <malloc.h> you need malloc.h.]))
AC_CHECK_HEADER(sys/rusage.h,
AC_DEFINE([RUSAGEH], [], [Define if you have the <sys/rusage.h> header file.]))
AC_CHECK_HEADER(glob.h,
AC_DEFINE([GLOBH], [], [Define if you have the <glob.h> header file.]))
AC_CHECK_HEADERS([stdint.h inttypes.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_MODE_T
AC_TYPE_SIZE_T
AC_TYPE_INTPTR_T
AC_HEADER_TIME
AC_STRUCT_TM
AC_TYPE_UID_T
unreal_CHECK_TYPE_SIZES
dnl in the future, it would be nice to avoid AC_TRY_RUN to allow
dnl better support for crosscompiling.
AC_CACHE_CHECK([what kind of nonblocking sockets you have], [ac_cv_nonblocking],[
save_libs="$LIBS"
LIBS="$LIBS $SOCKLIB"
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <signal.h>
alarmed() {
exit(1);
}
int main() {
#ifdef O_NONBLOCK
char b[12], x[32];
int f, l = sizeof(x);
f = socket(AF_INET, SOCK_DGRAM, 0);
if (f >= 0 && !(fcntl(f, F_SETFL, O_NONBLOCK))) {
signal(SIGALRM, alarmed);
alarm(3);
recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
alarm(0);
exit(0);
}
#endif
exit(1);
}
],ac_cv_nonblocking=O_NONBLOCK,[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <signal.h>
alarmed() {
exit(0);
}
int main() {
#ifdef O_NDELAY
char b[12], x[32];
int f, l = sizeof(x);
f = socket(AF_INET, SOCK_DGRAM, 0);
if (f >= 0 && !(fcntl(f, F_SETFL, O_NDELAY))) {
signal(SIGALRM, alarmed);
alarm(3);
recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
alarm(0);
exit(0);
}
#endif
exit(1);
}],ac_cv_nonblocking=O_NDELAY,[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <signal.h>
alarmed() {
exit(1);
}
int main() {
#ifdef FIONBIO
char b[12], x[32];
int f, l = sizeof(x);
f = socket(AF_INET, SOCK_DGRAM, 0);
if (f >= 0 && !(fcntl(f, F_SETFL, FIONBIO))) {
signal(SIGALRM, alarmed);
alarm(3);
recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
alarm(0);
exit(0);
}
#endif
exit(1);
], ac_cv_nonblocking=FIONBIO,ac_cv_nonblocking=none)])])])
if test "$ac_cv_nonblocking" = "O_NONBLOCK"; then
AC_DEFINE([NBLOCK_POSIX], [], [Define if you have O_NONBLOCK])
elif test "$ac_cv_nonblocking" = "O_NDELAY"; then
AC_DEFINE([NBLOCK_BSD], [], [Define if you have O_NDELAY])
elif test "$ac_cv_nonblocking" = "FIONBIO"; then
AC_DEFINE([NBLOCK_SYSV], [], [Define if you have FIONBIO])
fi
LIBS="$save_libs"
dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_SETPGRP
AC_FUNC_SETVBUF_REVERSED
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(snprintf,
AC_DEFINE([HAVE_SNPRINTF], [], [Define if you have snprintf]))
AC_CHECK_FUNCS(vsnprintf,
AC_DEFINE([HAVE_VSNPRINTF], [], [Define if you have vsnprintf]))
AC_CHECK_FUNCS(strlcpy,
AC_DEFINE([HAVE_STRLCPY], [], [Define if you have strlcpy. Otherwise, an internal implementation will be used!]))
AC_CHECK_FUNCS(strlcat,
AC_DEFINE([HAVE_STRLCAT], [], [Define if you have strlcat]))
AC_CHECK_FUNCS(strlncat,
AC_DEFINE([HAVE_STRLNCAT], [], [Define if you have strlncat]))
AC_CHECK_FUNCS(inet_pton,
AC_DEFINE([HAVE_INET_PTON], [], [Define if you have inet_pton]))
AC_CHECK_FUNCS(inet_ntop,
AC_DEFINE([HAVE_INET_NTOP], [], [Define if you have inet_ntop]))
dnl Check if it supports C99 style variable length arrays
AC_CACHE_CHECK([if C99 variable length arrays are supported], [ac_cv_varlen_arrays], [
AC_TRY_COMPILE(,[
int main() {
int i = 5;
int a[i];
a[0] = 1;
return 0;
}], ac_cv_varlen_arrays=yes, ac_cv_varlen_arrays=no)
])
if test "$ac_cv_varlen_arrays" = "yes" ; then
AC_DEFINE([HAVE_C99_VARLEN_ARRAY], [], [Define if you have a compiler with C99 variable length array support])
fi
dnl This check doesn't need to be in ./configure, we can
dnl write the sourcecode to actually handle the return value
dnl of setrlimit if necessary... -- ohnobinki
AC_CACHE_CHECK([if we can set the core size to unlimited], [ac_cv_force_core], [
AC_TRY_RUN([
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
int main() {
struct rlimit corelim;
corelim.rlim_cur = corelim.rlim_max = RLIM_INFINITY;
if (setrlimit(RLIMIT_CORE, &corelim))
exit(1);
exit(0);
}
],ac_cv_force_core=yes,ac_cv_force_core=no)
])
if test "$ac_cv_force_core" = "yes"; then
AC_DEFINE([FORCE_CORE], [], [Define if you can set the core size to unlimited])
fi
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([gettimeofday],
[AC_DEFINE([GETTIMEOFDAY], [], [Define if you have gettimeofday])],
[AC_CHECK_FUNCS([lrand48],
[AC_DEFINE([LRADN48], [], [Define if you have lrand48])])])
AC_CHECK_FUNCS([getrusage],
[AC_DEFINE([GETRUSAGE_2], [], [Define if you have getrusage])],
[AC_CHECK_FUNCS([times],
[AC_DEFINE([TIMES_2], [], [Define if you have times])])])
AC_CHECK_FUNCS([setproctitle],
[AC_DEFINE([HAVE_SETPROCTITLE], [], [Define if you have setproctitle])],
[AC_CHECK_LIB([util],
[setproctitle],
[AC_DEFINE([HAVE_SETPROCTITLE], [], [Define if you have setproctitle])
IRCDLIBS="$IRCDLIBS-lutil"],
[
AC_EGREP_HEADER([#define.*PS_STRINGS.*],[sys/exec.h],
[AC_DEFINE([HAVE_PSSTRINGS],[], [Define if you have PS_STRINGS])],
[AC_CHECK_FUNCS([pstat],
[AC_DEFINE([HAVE_PSTAT], [], [Define if you have pstat])])])
])
]
)
AC_CACHE_CHECK([what type of signals you have], [ac_cv_sigtype], [
AC_TRY_RUN([
#include <signal.h>
int main() {
sigaction(SIGTERM, (struct sigaction *)0L, (struct sigaction *)0L);
}
], ac_cv_sigtype=POSIX, [
AC_TRY_RUN([
#include <signal.h>
int calls = 0;
void handler()
{
if (calls)
return;
calls++;
kill(getpid(), SIGTERM);
sleep(1);
}
int main() {
signal(SIGTERM, handler);
kill(getpid(), SIGTERM);
exit(0);
}
], ac_cv_sigtype=BSD,ac_cv_sigtype=SYSV)])])
if test "$ac_cv_sigtype" = "POSIX"; then
AC_DEFINE([POSIX_SIGNALS], [], [Define if you have POSIX signals])
elif test "$ac_cv_sigtype" = "BSD"; then
AC_DEFINE([BSD_RELIABLE_SIGNALS], [], [Define if you have BSD signals])
else
AC_DEFINE([SYSV_UNRELIABLE_SIGNALS], [], [Define if you have SYSV signals])
fi
AC_CHECK_FUNCS(strtoken,,AC_DEFINE([NEED_STRTOKEN], [], [Define if you need the strtoken function.]))
AC_CHECK_FUNCS(strtok,,AC_DEFINE([NEED_STRTOK], [], [Define if you need the strtok function.]))
AC_CHECK_FUNCS(strerror,,AC_DEFINE([NEED_STRERROR], [], [Define if you need the strerror function.]))
AC_CHECK_FUNCS(index,,AC_DEFINE([NOINDEX], [], [Define if you do not have the index function.]))
AC_CHECK_FUNCS(strtoul,,STRTOUL="strtoul.o")
AC_CHECK_FUNCS(bcopy,,AC_DEFINE([NEED_BCOPY], [], [Define if you don't have bcopy]))
AC_CHECK_FUNCS(bcmp,,AC_DEFINE([NEED_BCMP], [], [Define if you don't have bcmp]))
AC_CHECK_FUNCS(bzero,,AC_DEFINE([NEED_BZERO], [], [Define if you need bzero]))
AC_CHECK_FUNCS(strcasecmp,AC_DEFINE([GOT_STRCASECMP], [], [Define if you have strcasecmp]))
save_libs="$LIBS"
LIBS="$LIBS $SOCKLIB $INETLIB"
AC_CHECK_FUNCS(inet_addr,,AC_DEFINE([NEED_INET_ADDR], [], [Define if you need inet_addr]))
AC_CHECK_FUNCS(inet_ntoa,,AC_DEFINE([NEED_INET_NTOA], [], [Define if you need inet_ntoa]))
AC_CHECK_FUNCS(inet_netof,,AC_DEFINE([NEED_INET_NETOF], [], [Define if you need inet_netof]))
LIBS="$save_libs"
AC_CHECK_FUNCS(syslog,AC_DEFINE([HAVE_SYSLOG], [], [Define if you have syslog]))
AC_SUBST(STRTOUL)
AC_SUBST(CRYPTOLIB)
AC_SUBST(MODULEFLAGS)
AC_ARG_WITH(listen, [AS_HELP_STRING([--with-listen=backlog],[Specify the listen backlog value])],
[AC_DEFINE_UNQUOTED([LISTEN_SIZE], [$withval], [Set to the listen backlog size you want])],
[AC_DEFINE([LISTEN_SIZE], [5], [Set to the listen backlog size you want])])
AC_ARG_WITH(nick-history, [AS_HELP_STRING([--with-nick-history=length],[Specify the length of the nickname history])],
[AC_DEFINE_UNQUOTED([NICKNAMEHISTORYLENGTH], [$withval], [Set to the nickname history length you want])],
[AC_DEFINE([NICKNAMEHISTORYLENGTH], [2000], [Set to the nickname history length you want])])
AC_ARG_WITH([sendq], [AS_HELP_STRING([--with-sendq=maxsendq],[Specify the max sendq for the server])],
[AC_DEFINE_UNQUOTED([MAXSENDQLENGTH], [$withval], [Set to the max sendq you want])],
[AC_DEFINE([MAXSENDQLENGTH], [3000000], [Set to the max sendq you want])])
AC_ARG_WITH(bufferpool, [AS_HELP_STRING([--with-bufferpool=size],[Specify the size of the buffer pool])],
[AC_DEFINE_UNQUOTED([BUFFERPOOL],[($withval * MAXSENDQLENGTH)], [Set to the bufferpool size you want])],
[AC_DEFINE([BUFFERPOOL],[(18 * MAXSENDQLENGTH)], [Set to the bufferpool size you want])])
AC_ARG_WITH(permissions, [AS_HELP_STRING([--with-permissions=permissions], [Specify the default permissions for
configuration files])],
dnl We have an apparently out-of-place 0 here because of a MacOSX bug and because
dnl we assume that a user thinks that `chmod 0600 blah' is the same as `chmod 600 blah'
dnl (#3189)
[AC_DEFINE_UNQUOTED([DEFAULT_PERMISSIONS], [0$withval], [The default permissions for configuration files. Set to 0 to prevent unrealircd from calling chmod() on the files.])],
[AC_DEFINE([DEFAULT_PERMISSIONS], [0600], [The default permissions for configuration files. Set to 0 to prevent unrealircd from calling chmod() on the files.])])
AC_ARG_WITH(dpath, [AS_HELP_STRING([--with-dpath=path],[Specify the path where configuration files are stored])],
[AC_DEFINE_UNQUOTED([DPATH], ["$withval"], [Define the location of the configuration files])
IRCDDIR="$withval"],
[AC_DEFINE_UNQUOTED([DPATH], ["`pwd`"], [Define the location of the configuration files])
IRCDDIR="`pwd`"])
AC_ARG_WITH(fd-setsize, [AS_HELP_STRING([--with-fd-setsize=size], [Specify the max file descriptors to use])],
[ac_fd=$withval],
[ac_fd=1024])
AC_DEFINE_UNQUOTED([MAXCONNECTIONS], [$ac_fd], [Set to the max connections you want])
dnl It would be nice if this could just respect --bindir like every other
dnl program does someday... -- ohnobinki
AC_ARG_WITH(spath, [AS_HELP_STRING([--with-spath],[Specify the location of the executable])],
[AC_DEFINE_UNQUOTED([SPATH], ["$withval"], [Define the location of the executable])
BINDIR="$withval"],
[AC_DEFINE_UNQUOTED([SPATH], ["`pwd`/src/ircd"], [Define the location of the executable])
BINDIR="`pwd`/src/ircd"])
AC_ARG_ENABLE([prefixaq],
[AS_HELP_STRING([--disable-prefixaq],[Enable chanadmin (+a) and chanowner (+q) prefixes])],
[],
[enable_prefixaq=yes])
AS_IF([test $enable_prefixaq = "yes"],
[AC_DEFINE([PREFIX_AQ], [], [Define if you want +a/+q prefixes])])
AC_ARG_WITH(showlistmodes,
[AS_HELP_STRING([--with-showlistmodes], [Specify whether modes are shown in /list])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([LIST_SHOW_MODES], [], [Define if you want modes shown in /list])])])
AC_ARG_WITH(topicisnuhost, [AS_HELP_STRING([--with-topicisnuhost], [Display nick!user@host as the topic setter])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([TOPIC_NICK_IS_NUHOST], [], [Define if you want nick!user@host shown for the topic setter])])])
AC_ARG_WITH(shunnotices, [AS_HELP_STRING([--with-shunnotices], [Notify a user when he/she is no longer shunned])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([SHUN_NOTICES], [], [Define if you want users to be notified when their shun is removed])])])
AC_ARG_WITH(no-operoverride, [AS_HELP_STRING([--with-no-operoverride], [Disable OperOverride])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([NO_OPEROVERRIDE], [], [Define if you want OperOverride disabled])])])
AC_ARG_WITH(disableusermod, [AS_HELP_STRING([--with-disableusermod], [Disable /set* and /chg*])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([DISABLE_USERMOD], [], [Define if you want to disable /set* and /chg*])])])
AC_ARG_WITH(operoverride-verify, [AS_HELP_STRING([--with-operoverride-verify], [Require opers to invite themselves to +s/+p channels])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([OPEROVERRIDE_VERIFY], [], [Define if you want opers to have to use /invite to join +s/+p channels])])])
AC_ARG_WITH(disable-extendedban-stacking, [AS_HELP_STRING([--with-disable-extendedban-stacking], [Disable extended ban stacking])],
[AS_IF([test $withval = "yes"],
[AC_DEFINE([DISABLE_STACKED_EXTBANS], [], [Define to disable extended ban stacking (~q:~c:\#chan, etc)])])])
AC_ARG_WITH(system-tre, [AS_HELP_STRING([--with-system-tre], [Use the system tre package instead of bundled, discovered using pkg-config])], [], [with_system_tre=no])
AC_ARG_WITH(system-cares, [AS_HELP_STRING([--with-system-cares], [Use the system c-ares (at least version 1.6.0) package instead of bundled c-ares, discovered using pkg-config])], [], [with_system_cares=no])
CHECK_SSL
CHECK_ZLIB
AC_ARG_ENABLE(dynamic-linking, [AS_HELP_STRING([--disable-dynamic-linking], [Make the IRCd statically link with shared objects rather than dynamically (noone knows if disabling dynamic linking actually does anything or not)])],
[enable_dynamic_linking=$enableval], [enable_dynamic_linking="yes"])
AS_IF([test $enable_dynamic_linking = "yes"],
[AC_ENABLE_DYN],
[AC_DEFINE([STATIC_LINKING], [], [Link... statically(?) (defining this macro will probably cause the build tofail)])])
AC_ARG_ENABLE([inet6], [AS_HELP_STRING([--enable-inet6], [Make the IRCd support IPv6])],
[AS_IF([test $enableval = "yes"],
[AC_ENABLE_INET6])])
AC_SUBST(IRCDDIR)
AC_SUBST(BINDIR)
AC_MSG_CHECKING([if FD_SETSIZE is large enough to allow $ac_fd file descriptors])
AC_COMPILE_IFELSE([
#include <sys/types.h>
#include <sys/time.h>
int main() {
#if FD_SETSIZE < $ac_fd
#error FD_SETSIZE is smaller than $ac_fd
#endif
exit(0);
}
], AC_MSG_RESULT([yes]), [
# must be passed on the commandline to avoid a ``warning, you redefined something''
FD_SETSIZE="-DFD_SETSIZE=$ac_fd"
AC_MSG_RESULT(no)
])
AC_SUBST([FD_SETSIZE])
case `uname -s` in
*SunOS*|*solaris*)
AC_DEFINE([_SOLARIS], [], [Define if you are compiling unrealircd on Sun's (or Oracle's?) Solaris])
IRCDLIBS="$IRCDLIBS -lresolv "
;;
esac
dnl c-ares needs PATH_SEPARATOR set or it will
dnl fail on certain solaris boxes. We might as
dnl well set it here.
export PATH_SEPARATOR
AS_IF([test "x$with_system_tre" = "xno"],[
dnl REMEMBER TO CHANGE WITH A NEW TRE RELEASE!
tre_version="0.8.0"
AC_MSG_RESULT(extracting TRE regex library)
cur_dir=`pwd`
cd extras
dnl remove old tre directory to force a recompile...
dnl and remove its installation prefix just to clean things up.
rm -rf tre-$tre_version rege[]xp
if test "x$ac_cv_path_GUNZIP" = "x" ; then
tar xfz tre.tar.gz
else
cp tre.tar.gz tre.tar.gz.bak
gunzip -f tre.tar.gz
cp tre.tar.gz.bak tre.tar.gz
tar xf tre.tar
fi
AC_MSG_RESULT(configuring TRE regex library)
cd tre-$tre_version
./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras/regexp || exit 1
AC_MSG_RESULT(compiling TRE regex library)
$ac_cv_prog_MAKER || exit 1
AC_MSG_RESULT(installing TRE regex library)
$ac_cv_prog_MAKER install || exit 1
TRE_CFLAGS="-I$cur_dir/extras/regexp/include"
AC_SUBST(TRE_CFLAGS)
TRE_LIBS=
dnl See c-ares's compilation section for more info on this hack.
dnl ensure that we're linking against the bundled version of tre
dnl (we only reach this code if linking against the bundled version is desired).
AS_IF([test -n "$ac_cv_path_PKGCONFIG"],
[TRE_LIBS="`$ac_cv_path_PKGCONFIG --static --libs tre.pc | sed -e ['s,-L\([^ ]*regex[^ ]*lib\)\( .*\)-ltre,\1/libtre.a \2,']`"])
dnl For when pkg-config isn't available -- or for when pkg-config
dnl doesn't see the tre.pc file somehow... (#3982)
AS_IF([test -z "$TRE_LIBS"],
[TRE_LIBS="../extras/regexp/lib/libtre.a"])
AC_SUBST(TRE_LIBS)
cd $cur_dir
],[
dnl use pkgconfig for tre:
PKG_CHECK_MODULES([TRE], tre >= 0.7.5)
])
AS_IF([test "x$with_system_cares" = "xno"],[
dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE!
dnl NOTE: when changing this here, ALSO change it in ./curlinstall
dnl and in the comment in this file around line 400!
cares_version="1.10.0"
AC_MSG_RESULT(extracting c-ares resolver library)
cur_dir=`pwd`
cd extras
dnl remove old c-ares directory to force a recompile...
rm -rf c-ares-$cares_version c-ares
if test "x$ac_cv_path_GUNZIP" = "x" ; then
tar xfz c-ares.tar.gz
else
cp c-ares.tar.gz c-ares.tar.gz.bak
gunzip -f c-ares.tar.gz
cp c-ares.tar.gz.bak c-ares.tar.gz
tar xf c-ares.tar
fi
AC_MSG_RESULT(configuring c-ares library)
cd c-ares-$cares_version
./configure --prefix=$cur_dir/extras/c-ares --disable-shared || exit 1
AC_MSG_RESULT(compiling c-ares resolver library)
$ac_cv_prog_MAKER || exit 1
AC_MSG_RESULT(installing c-ares resolver library)
$ac_cv_prog_MAKER install || exit 1
CARES_CFLAGS="-I$cur_dir/extras/c-ares/include"
AC_SUBST(CARES_CFLAGS)
CARES_LIBS="-L../extras/c-ares/lib"
dnl Set default library parameters for when pkg-config is not available
dnl Ugly cd'ing out of extras/c-ares-xxx ;)
dnl Note: must be a full path, not relative path.
cd ../..
CARESLIBSALT="`pwd`/extras/c-ares/lib/libcares.a"
cd -
case `uname -s` in
*FreeBSD*)
CARESLIBSALT="$CARESLIBSALT"
;;
*Linux*)
CARESLIBSALT="$CARESLIBSALT -lrt"
;;
*SunOS*)
CARESLIBSALT="$CARESLIBSALT -lrt"
;;
esac
dnl Use pkg-config for c-ares libraries, and if not available use defaults
dnl from above. Also, if pkg-config returns an empty result (ex: on fbsd
dnl or older versions it might be missing --static) then also use defaults.
if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
CARES_LIBS="$CARES_LIBS $CARESLIBSALT"
else
CARES_LIBSPRE="$CARES_LIBS"
dnl the sed expression forces an absolute path to the .a file to be generated
dnl because this is what libtool would do. If this wasn't done and /usr/lib*/libcares.so
dnl exists, then unrealircd would still try to link against the system c-ares.
dnl The [] quotation is needed because the sed expression has [] in it.
[CARES_LIBS="$CARES_LIBS `$ac_cv_path_PKGCONFIG --static --libs libcares.pc | sed -e 's,-L\([^ ]\+lib\) -lcares,\1/libcares.a,'`"]
if test "$CARES_LIBS" = "$CARES_LIBSPRE " ; then
CARES_LIBS="$CARES_LIBS $CARESLIBSALT"
fi
fi
AC_SUBST(CARES_LIBS)
cd $cur_dir
],[
dnl use pkg-config for system c-ares:
PKG_CHECK_MODULES([CARES], libcares >= 1.6.0)
])
CHECK_LIBCURL
AC_CONFIG_FILES([Makefile
src/modules/Makefile
unreal
ircdcron/ircdchk
ircdcron/ircd.cron])
AC_OUTPUT
chmod 0700 unreal
chmod 0700 ircdcron/ircdchk
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# This will generate a Changelog similar to our original style.
# New are: the name of the author, the date, and the short hash
# We still filter translated doc changes as to not polute the
# changelog too much.
hg log -r a673dd0f7b37: --style changelog --template '[{date|shortdate}] {author} ({node|short}):\n- {desc}\n\n' \
-b default -X 'doc/unreal32docs.*.html' -X 'doc/help.*.conf' -X 'doc/example.*.conf' -X 'include/version.h'|\
sed 's/^- - /- /g' >Changes
echo "Done. File 'Changes' now contains the full version history"
+3953
View File
File diff suppressed because it is too large Load Diff
Executable
+85
View File
@@ -0,0 +1,85 @@
#!/bin/sh
URL="http://www.unrealircd.com/files/curl-latest.tar.gz"
OUTF="curl-latest.tar.gz"
OUTD="curl-latest"
ARESPATH="`pwd`/extras/c-ares"
CARESVERSION="1.10.0"
if [ ! -f "Unreal.nfo" ]; then
echo "Please run this program from your UnrealIRCd directory"
echo "(usually $HOME/Unreal3.2 or something like that)"
exit 1
fi
wget --version 1>/dev/null 2>&1
if [ "$?" = 0 ]; then
FETCHER="wget"
else
fetch --version 1>/dev/null 2>&1
if [ "$?" = 0 ]; then
FETCHER="fetch"
else
lynx --version 1>/dev/null 2>&1
if [ "$?" = 0 ]; then
FETCHER="lynx"
else
echo "ERROR: unable to find wget/fetch/lynx, please install at least one of these programs"
exit 1
fi
fi
fi
if [ ! -d tmp ]; then
mkdir tmp || exit 1
fi
cd tmp || exit 1
rm -f "$OUTF"
if [ "$FETCHER" = "wget" ]; then
wget -O "$OUTF" "$URL"
elif [ "$FETCHER" = "lynx" ]; then
lynx -dump "$URL" >"$OUTF"
elif [ "$FETCHER" = "fetch" ]; then
cd tmp #todo: find out the cmd line parameter ;)
fetch "$URL"
fi
if [ "$?" != 0 ]; then
echo "ERROR: Something went wrong while trying to download $URL"
exit 1
fi
rm -rf "$OUTD" # remove old directory prior to extracting
tar xzf "$OUTF" || exit 1
if [ "`eval echo -n 'a'`" = "-n a" ] ; then
c="\c"
else
n="-n"
fi
if [ ! -d "$ARESPATH/lib" ]; then
echo "c-ares has not been build yet, let's do that now..."
cd ../extras/
tar xzf c-ares.tar.gz || exit 1
cd c-ares-$CARESVERSION || exit 1
./configure --prefix=$ARESPATH || exit 1
(make && make install) || exit 1
cd ../../tmp/
echo "c-ares built."
echo ""
fi
# We assume curl has been packaged in a way it will extract to "$OUTD"/
cd "$OUTD" || exit 1
echo "Building and installing libcurl"
CPPFLAGS="-I$ARESPATH/include" ./configure --prefix=$HOME/curl --disable-shared \
--disable-thread --enable-ares=$ARESPATH --disable-ipv6 $SSLFLAG
cp -R $ARESPATH/lib ares
make && make install
#cp $ARESPATH/lib/libcares.a $HOME/curl/lib
# that isn't needed anymore as the lib is already in unreal...
+42
View File
@@ -0,0 +1,42 @@
/* Example of a possible semi-secure /DCCALLOW configuration written by Syzop.
* $Id$
*
* Actually nothing is *100% secure*... there could still be
* bugs in the software itself (think: a winamp bug that can
* be exploited via an mp3, or: a wmplayer bug that can be
* exploited via a specially crafted .wmv, etc..).
* If you are really that paranoid you could just remove
* all 'allow dcc'-blocks and prompt the user for EVERY file ;).
*
* Still, I think this file is a good tradeoff between userfriendlyness
* and security. Note that when you try to only DENY specific
* file type (exe, com, etc) you are *guaranteed* to miss ones
* (like: did you know .r17 gets treated as a rar archive?
* and that an exe can be disguished as .cmd which is executable
* on nt/w2k/xp?)
*/
/* first.. deny everything, then allow known-good stuff... */
deny dcc { filename "*"; reason "Possible executable content"; soft yes; };
/* common image formats */
allow dcc { filename "*.jpg"; soft yes; };
allow dcc { filename "*.jpeg"; soft yes; };
allow dcc { filename "*.gif"; soft yes; };
allow dcc { filename "*.png"; soft yes; };
allow dcc { filename "*.bmp"; soft yes; };
/* audio / video (but not scripted/playlists!) */
allow dcc { filename "*.mp1"; soft yes; };
allow dcc { filename "*.mp2"; soft yes; };
allow dcc { filename "*.mp3"; soft yes; };
allow dcc { filename "*.mpg"; soft yes; };
allow dcc { filename "*.mpeg"; soft yes; };
allow dcc { filename "*.m1v"; soft yes; };
allow dcc { filename "*.m2v"; soft yes; };
allow dcc { filename "*.vob"; soft yes; };
allow dcc { filename "*.wav"; soft yes; };
/* text / misc */
allow dcc { filename "*.txt"; soft yes; };
allow dcc { filename "*.log"; soft yes; };
allow dcc { filename "*.pdf"; soft yes; };
allow dcc { filename "*.c"; soft yes; };
allow dcc { filename "*.cpp"; soft yes; };
+9 -3
View File
@@ -118,8 +118,14 @@ Tom Hopkins <hoppie@buengf.bu.edu> / September, October 1990:
always works on code, so he has to have done alot more than three
lines worth. :)
Carsten Munk <stskeeps@mp3fans.co.uk> / May and futher 1999:
* Made many features based on Elite.. :/
UnrealIRCd Coders
Carsten Munk <stskeeps@unrealircd.com> / May 1999 - December 2008
Dominick Meglio <codemastr@unrealircd.com> / June 1999 - August 2005
David Flynn / March 2000 - June 2000
McSkaf / June 2001 - September 2001
Finny Merrill <griever@unrealircd.com> / November 2001 - December 2002
Bram Matthys <syzop@unrealircd.com> / January 2002 - date
This list is incomplete, type /INFO on IRC to find the updated list.
Thanks go to those persons not mentioned here who have added their advice,
opinions, and code to IRC.
@@ -139,4 +145,4 @@ Eric P. Scott <eps@toaster.sfsu.edu>
Dan Goodwin <fornax@wpi.wpi.edu>
Noah Friedman <friedman@ai.mit.edu>
[ $Id$ ]
[ $Id$ ]
-128
View File
@@ -1,128 +0,0 @@
SmartRoute
Rule based connects
Draft 4 - Aug 19, 1994
by Tony Vencill
Rule based connects allow an admin to specify under what conditions
a connect should not be allowed. If no rules are specified for a
given C and/or N line it will be allowed under any condition.
A rule may consist of any legal combination of the following functions
and operators.
Functions
---------
connected(targetmask) - true if a server other than that processing
the rule is connected that matches the
target mask
directcon(targetmask) - true if a server other than that processing
the rule is directly connected that matches
the target mask
via(viamask, targetmask) - true if a server other than that processing
the rule matches the target mask and is
connected via a directly connected server
that matches the via mask
directop() - true if an oper is directly connected
Unary operators
---------------
! eg: !argument - true if the argument is false
Binary operartors
-----------------
&& eg: arg1&&arg2 - true if arg1 and arg2 are both true
|| eg: arg1||arg2 - true if arg1, arg2, or both are true
Parenthesis () are allowed for grouping arguments, but if no parenthesis
are included, && will take precedence over ||, ! will take precedence
over both && and ||, and the function will be evaluated from left to
right. White space in a rule is ignored. Invalid characters in a rule
will lead to the rule being ignored.
Examples
--------
A simple example of a connect rule might be:
connected(*eu.under*)
This might be used in a US undernet server for a Europe CN pair to
insure that a second Europe link is not allowed if one US-EU link
already exists. Note that on the undernet, US server names are
city.state.us.undernet.org and Europe server names are
city.country.eu.undernet.org.
A more interesting example might be:
connected(*eu.under*) &&
( !direct(*eu.under*) || via(manhat*, *eu.under*) )
Imagine the Boston undernet server uses this rule on its Europe CN
pairs. This says that if a Europe server is already connected, a
Boston-Europe connect will not be allowed. It also says that if a
Europe server does already exist and Boston is not directly connected
to one or more Europe servers or Manhattan is, the Boston-Europe
connect will not be allowed. This has the effect of allowing multiple
US-EU links but attempting to limit these links to one server (ie:
Boston will not initiate its first Europe link if another server is
already linking Europe). This rule will also prefer to let Manhattan
handle the US-EU link by disallowing Boston-Europe links if a Europe
server is already linked to Manhattan.
A example of the remaining function, directop(), is:
connected(*eu.under*) || directop()
If this line is used on Boston for the Paderborn CN pair, it will allow
connects to Paderborn only if another Europe server is not already
connected and there is not an oper on Boston. If this rule is
overrideable (ie: is applied only to autoconnects as described below),
then it will disallow Boston autoconnects to Paderborn while a Boston
oper is online, but allow oper-initiated connects to Paderborn under any
circumstance. This directop() function could be used to invoke less
prefered routes only when an oper is not present to handle routing, or
conversly to allow use of less preferable routes only when an oper is
present to monitor their performance.
ircd.conf entries
-----------------
A rule is listed in the ircd.conf file using a D or d line (which can
be thought of as a "disallow" line). D lines will apply to all oper
and server originated connects, while d lines will apply only to
autoconnects (ie: they are overrideable by opers). The formats are:
D:targetmask::rule
d:targetmask::rule
Remember that newlines are not allowed in conf lines. Two examples
(from above) are:
D:*eu.under*::connected(*eu.under*)
d:*eu.under*::connected(*eu.under*) || directop()
Connects originating from other servers will be checked against and
matching D lines, while matching d lines will be ignored as it will not
be clear whether or not the connection attempt is oper initiated.
Checking and viewing rules
--------------------------
The chkconf program that comes with the servers has been modified to
also check your connect rules. If running in debug mode, parsing errors
will show up at debug level 8. To view rules online, "/stats d" can be
used to see all rules and "/stats D" can be used to view those rules
which affect oper initiated connects and accepts.
Processing and storage
----------------------
The rules are parsed when the conf file is read and transformed into a
more efficiently computed form, then all applicable rules are
evaluated each time a connect command is given or an autoconnect is
due. If more than one applicable rule is given, only one need
evaluate to true for the connect to be allowed (ie: the rules are ored
together). Note that conditions that exist when the connect is
initiated might differ from conditions when the link is established.
[ $Id$ ]
-16
View File
@@ -1,16 +0,0 @@
The foll. patches are NEW in 19.mu1 (besides the old patches of stats-w,
ban, topic, client connect, signon time, trace times in previous .mu
versions):
* All the modifications contained in U3.2, namely - TSpre8, silence, bquiet
* The K line comments patch.
* The operfail notification patch
* The mixed case userid reject patch
For info on these check the file README.patches
- Mmmm
[ $Id$ ]
-34
View File
@@ -1,34 +0,0 @@
For starters, not a lot is new. What is ?
* STATS o and STATS h added;
* most STATS options are no longer oper-only;
* privacy fixes to all of WHO, WHOIS, TRACE and STATS;
* more options in the ircd.conf file;
* non-debilitating DNS/ident use (DNS routines written specifically
for ircd which indludes small local cache);
* less bugs;
* easier to compile;
* heaps and heaps of new numerics;
* more problems for old clients that do stupid things;
* more numeric replies which replace old NOTICE's;
* compulsory ident checks and optional result usage;
* sendQ can now be class dependant;
* server handles client flooding better;
* for more information on changes, bug fixes during development, see
ircd/ChangeLog and common/ChangeLog
[ $Id$ ]
-41
View File
@@ -1,41 +0,0 @@
The Internet Relay Chat Program - IRC
Author: Jeff Trim, April '89
Revised: Greg Lindahl, Oct '90 (gl8f@virginia.edu)
Re-Revised: Helen Rose, March '94 (hrose@kei.com)
Have you ever wanted to talk with other computer users in other parts of
the world? Well guess what? You can! The program is called IRC and it
is networked much over North America, Europe, and Asia, Oceania, and parts
of Africa. This program is a substitution for talk(1), ytalk(1) and many
other multiple talk programs you might have read about. When you are
talking in IRC, everything you type will instantly be transmitted around
the world to other users that might be watching their terminals at the
time - they can then type something and RESPOND to your messages - and
vise versa. I should warn you that the program can be very addictive once
you begin to make friends and contacts on IRC ;-) especially when you
learn how to cuss in 14 languages.
Topics of discussion on IRC are varied, just like the topics of Usenet
newsgroups are varied. Technical and political discussions are
popular, especially when world events are in progress. IRC is also a
way to expand your horizons, as people from many countries and
cultures are on, 24 hours a day. Most conversations are in English,
but there are always channels in German, Japanese, and Finnish, and
occasionally other languages.
How To Get IRC (technical)
IRC is a fully-distributed client-server system, much like
NNTP-Usenet, with several clients availble in C and elisp. You may ftp
documentation and clients from any of the following sites:
many kinds of clients (C, elisp, X11, VMS, REXX for VM, MSDOS, Macintosh):
cs.bu.edu:/irc/clients
ftp.acsu.buffalo.edu:/pub/irc
ftp.funet.fi:/pub/unix/irc
coombs.anu.edu.au:/pub/irc
If you have any questions about IRC installation, write to hrose@kei.com.
[ $Id$ ]
-129
View File
@@ -1,129 +0,0 @@
[ $Id$ ]
Take this with a grain of salt.. it's heaps old and this isn't Elite anymore
---------------------------
Version Elite2.0 ==========
===========================
- Since +x was rewritten, the ban bug is 100% fixed. :)
- Rewrote +x hidden host function completely.
- Fixed FUNNY bug with hiddenhost and /who (Reported by Prod|gy)
- Added/Removed irc networks
- Fixed bug in /watch (Reported/Fixed by Despise)
- Added nick-change flood protection.
- Added an awesome manual... ./manual to run
- Removed /who notice for opers.
- Added protection of /akill *@* :)
- Removed java stuff completely. (Java clients are like normal IRC clients...right?)
- Added new +a mode. This mode can only be set by +q channel owners. When you are +a in a
channel, you cannot be deopped or kicked. (Syntax: /mode #chan +a <nick>)
- Added new +q channel mode. ChanServ must set the channel founder +q so they are also
known as channel owners via the ircd. Channel owners are protected and may set
other users +a which they will also be protected (but not chan owners).
(Syntax: /mode #chan +q <nick>)
- Re-coded /MAP
- Changed GLINE notices from sendto_ops to send to all opers with +e flag on.
- Added (addnet) script, you can run this to add your net settings to the next release.
- Changed <server> to <ircnetwork> in whois "Blah is an oper on <server>"
- Added new +L channel mode. If a #chat has a limit (+l) of 10 users, and +L set to channel
#chat2, when a user trys to join #chat, they won't get "#chat is full", they will be
auto-joined to #chat2 - (Linked channels in other words).
(Syntax: /mode #chan +L <linked chan>)
- Changes user@shadow-33.com to user@user-33.one.com (noone will know one.com is the realhost)
- Changed +x for IP's from (x.x.x.***) to (x.x.x.network-#)
- In oline flags * will introduce +e on oper up. (before: required +e in oline flag)
- Removed +t usermode (UMODE_ALL) - wasn't used.
- Made 'create your own network setting' feature more stable.
- Added new channel mode (+x) to disable colored text in channel.
- Added +C (Co Administrator)
- Added +T (Technical Administrator)
- Changed /map to numerics...
- Made startup message when booting more stable.
Version Elite1.3 (02/23/99)
============================
- Cleaned up version.c.SH
- Added new net settings (netdomain & helpchan)
- Added new net config creator in ./Config
- Made ./Config more easier...
- Created new usermode +j (Java user)
- New hostname (java.shadownet.org) for java users.
- Removed RUN_SERVICES code from entire ircd.
Version Elite1.2.4 (02/14/99)
============================
- Fixed the nick crash bug! (damn m_kill small error)
- New network(s) added.
- Changed one thing in m_gline (nothing big)
Version Elite1.2.3 (02/10/99)
============================
- Removed SOCKS checking. (possibly cause of crashing)
- Added new networks
Version Elite1.2.2 (02/02/99)
============================
- Fixed the crashing bug. (Changing nicks with linked servers)
- Modified AceStar net settings.
- Q-line notices are back (except for ULined clients).
- Fixed /kill bug with services.
Version Elite1.2.1 (01/29/99)
============================
- Fixed multiple notices from +N / -N
- Added some text to s_err.c
- Possibly fixed the odd crashing... ?
Version Elite1.2 (01/24/99)
============================
- Netadmin can be used via +N in the oline slot now.
- When +N is executed, net-wide oper msg's are sent about it.
- Completely removed the freeze function (it's a toy unlike a command)
- Changed abit of the GLINE adding notice.
- Added logging to a file for glines (gline.log)
- Implemented SOCKS checking (thx Rhom).
- Changed channel lists only when 2 ppl in chan to 1.
- Changed sendto_ops function in many places in s_user.c/s_serv.c to
sendto_locfailops.
- Changed GNOTICE in s_user.c/s_serv.c to GLOBOPS
- Fixed hiddenhost bug with /kill (+w could see real host of oper)
- Fixed hiddenhost bug with /oper (+s could see real host of oper)
[Special thanks goes out to Rhom for reporting/help patch bugs]
Version Elite1.1.1 (12/12/98)
=============================
- Fixed /whois bug (had problems with mIRC clients *sigh*)
- Fixed /topic bug (didn't allow topic changes at all.)
Version Elite1.1 (12/6/98)
============================
- Fixed ./Config script (Net select)
- Fixed /remgline bug.
- If ULined clients, channels are not shown which they are in.
- Fixed +e / +t / +b (non-opers could get +et before)
- Fixed OperMode notice.
- Fixed Gline sending extra Global on expire.
- Fixed /whowas wrong hostname bug (by Thiago)
- Fixed chkconf ZLINE error (by matt)
- Added PhazeNet configuration
- Added option for auto +x in ./Config
- Freeze was disabled in this version (It will be back in 1.2)
Version Elite1.0 (09/20/98)
============================
- Changed Shadow3.9 to Elite1.0 (Starting a new IRCD)
- Changed some numeric's around in src/s_err.c
- Auto +x on Oper up.
- Fixed small error in ./ircd script.
- Made ./Config more Linux-redhat friendly.
- Added RelicNet to the ircd.
- include/config.h is much more compatible with all IRC nets.
- Added /gline (works 100%) [/gline <user@host> <seconds> <reason>].
- Fixed up /map.
- Added UMODE's +e & +t
* e: EYES [Can see ppl who /whois, and other notices.]
* t: ALL [See's all net notices ie: See's all Client connectings...]
- Fixed the hiddenhost bug with IP's...
- Fixed major bug with hiddenhost which caused coredump.
- Made a new script (makeconf) -- generates the ircd.conf file.
-86
View File
@@ -1,86 +0,0 @@
/************************************************************************
* IRC - Internet Relay Chat, doc/etiquette
* Copyright (C) 1990, Lea Viljanen and Ari Husa
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id$
*/
HOW TO BEHAVE ON IRC
Authors: Lea Viljanen (LadyBug) viljanen@kreeta.helsinki.fi
Ari Husa (luru) so-luru@tolsun.oulu.fi
1) Language
The most widely understood and spoken language on IRC is English.
However! As IRC is used in many different countries, English is by
no means the only language. If you want to speak some other language
than English (for example with your friends), go to a separate channel
and set the topic (with /topic) to indicate that. For example
/topic Finnish only!
would mean that this channel would be reserved for Finnish discussion.
On the other hand, you should check the topic (with /list command)
before you move to a channel to see if there are any restrictions about
language.
On a channel not restricted by /topic, please speak a language
everybody can understand. If you want to do otherwise, change channels
and set the topic accordingly.
2) Hello/Goodbye
It's not necessary to greet everybody on a channel personally.
Usually one "Hello" or equivalent is enough. And don't expect everybody
to greet you back. On a channel with 20 people that would mean one
screenful of hellos. It's sensible not to greet, in order not to be rude
to the rest of the channel. If you must say hello, do it with a private /msg.
The same applies to goodbyes.
3) Discussion
When you come to a new channel it's advised you to listen
for a while to get an impression of what's discussed. Please feel free
to join in, but do not try to force your topic into the discussion
if that doesn't come naturally.
4) {}|[]\
IRC has quite a lot of people from Scandinavian countries,
the above characters are letters in their alphabet. This
has been explained on IRC about a thousand and one times, so
read the following, do not ask it on IRC:
{ is an A with 2 dots over it
} is an A with a small circle above it
| is either an O with 2 dots over it or an O with a dash (/) through it
[, ], and \ are the preceding three letters in upper case.
There are a lot of people from Japan as well, who use Kanji characters
which may look quite exotic as well. As I don't know Kanji I don't
even try to explain any of the characters.
5) ATTENTION!
Remember, people on IRC form their opinions about you only by
your actions, writings and comments on IRC. So think before you type.
Do not "dump" to a channel or user (send large amounts of unwanted
information). This is likely to get you /kicked off the channel or
/killed off from irc. Dumping causes network 'burbs', connections going
down because servers cannot handle the large amount of traffic any more.
File diff suppressed because it is too large Load Diff
+141 -41
View File
@@ -1,41 +1,141 @@
Some minor rules about patches & modifications to UnrealIRCd
1. When making a change, always add a small description in Changes, in the
BOTTOM
2. If new files are made, it must contain proper copyright headers,
and a $Id$ somewhere.
3. /*
* These kind of comments
*/
NOT
// These kind of comments
4. if (something == 1)
{
moo; /* comment */
/* This does what what what */
cow(go(moo));
}
NOT
if (something == 1) {
}
5. Do not touch version.c.SH or version.h, unless you are a head coder
if you need a credit in, contact us
6. Patches are submitted to coders@lists.unrealircd.org,
using "cvs diff -u > patchname". A submision must contain description of
what it does, etc.
7. Protocol changes must be discussed before making patches for it.
8. We do NOT rip people off. If we use other people's code, it MUST be
properly credited.
Rules about patches & modifications to UnrealIRCd
1. When making a change, always add a small description in Changes, in the
BOTTOM. Don't forget to mention the bug# and credit the reporter (if any).
2. If new files are made, it must contain proper copyright headers.
3. If you want to submit patches (f.e. if you don't have CVS write access)
then submit them to http://bugs.unrealircd.org/ (shortly called bugs*)
using "cvs diff -u > patchname". A submission must contain description of
what it does, etc.
4. Each bug or feature should have a bug# so people can have a discussion
about it. This has a few implications (read!!):
* People must report bugs/feature requests to bugs* and not on
IRC, e-mail, etc.
* That means other people can see the bug# and comment on it. This means
discussion is easy to read back for each issue and not spread between
several IRC logs.
Furthermore, by using the bugtracker instead of directly committing,
people could point out that there might be a better way to do things
than you originally thought, or it might be that other devs don't like
it at all.
* If a head coder has 'acknowledged' or 'confirmed' the bug or stated in
a comment that it's OK to implement, then a dev may take the issue.
The dev should change the status to 'assigned' and work on it, then
commit and change it to 'resolved', set 'fixed in version' to next
release, and add a comment pasting the relevant Changelog item and the
releaseid (.XYZ).
Of course other guidelines, like #7 and #8 still apply.
5. Do not commit changes that do not have an associated bug# and have not
had any discussion.
Small/tiny bugfixes that do not change any functionality, are very
unlikely to break anything and definitely don't require any prior
discussion may be exempted.
6. Regarding reidenting, restructuring or other code cleanups: please
discuss before doing so. The other devs might not agree with you on the
particular cleanup you have in mind which would result in another
clean-up-the-cleanup commit.
You may, however reindent and clean up individual sections when you are
working on fixing a particular bug# or implementing a new feature. In fact
you're encouraged to do so if the code is confusing without it. However,
obey the style of Unreal's code (mostly outlined in this document)
and do not introduce yet another (new) style. Also, be careful with doing
any cleanup: if you're unsure in any way about the use of something,
or something that looks redundant on first sight, then look more
carefully... it might indeed be useless and/or redundant, but it might
also be a subtle thing that can create great bugs when 'cleaned up'.
7. Prior to a release: be very careful with any restructuring of a subsystem
or doing any major commits that may break things. Stuff like this can be
perfectly fine if there are many months to go, but are not good to do a
month before release. The head coder may impose additional restrictions
during such a period.
8. During the Release Candidate stage (from RC1 until the final release)
only the head coder may commit directly, all others should ask and
present their patch before committing. Yes, even if you are changing only
1 line of code or text.
9. UnrealIRCd should compile on all supported operating systems and
platforms, using GCC 3 or higher on *NIX, and Visual Studio 2008 or
higher on Windows. This means you cannot blindly use all C99 extensions.
10. Coders should test their code before committing.
11. /*
* These kind of comments
*/
NOT
// These kind of comments
12. if (something == 1)
{
moo; /* comment */
/* This does what what what */
cow(go(moo));
}
NOT
if (something == 1) {
}
13. Do not touch version.c.SH or version.h, unless you are a head coder
if you need a credit in, contact us
14. Protocol changes must be discussed before making patches for it.
15. We do NOT rip people off. If we use other people's code, it MUST be
properly credited.
16. We generally use tabsize 4 and 8. In any case, use tabs and NOT spaces.
Some code is old and horrible and has a mix of tabs and spaces used for
spacing, that's something we do not want to have ;)
17. Be careful about overflows. As you know a line from a user can never be longer
than 511 (510?) characters, sometimes you can use this knowledge to your
advantage. Whenever it's not safe or when you don't know what input size you
can expect, use strlcpy instead of strcpy. Do not ever use strncpy, this is
older, slower, and does not add proper zero termination.
For the same reason, use snprintf if really needed. Note though, that using
ircsprintf with a bigger buffer (eg: 1024 bytes) is MUCH faster, so preferably
use that instead of snprintf. The same can be true for strcpy vs strlcpy in
some circumstances as well.
18. Speed. When optimizing or writing code, keep in mind that readability and
stability comes FIRST, and after that comes speed. So we'd rather prefer some
readable code (even if difficult) over some odd highly optimized routine which
nobody understands, is difficult to extend, and might have several bugs.
As mentioned earlier: use ircsprintf, not sprintf (this is because ircsprintf
is optimized for simple strings like the ones we use).
Prefer ircsprintf with a bigger buffer over the use of snprintf, since
ircsprintf is much faster.
19. Initialize your structs and use the proper memory calls.
In UnrealIRCd we use MyMalloc, MyMallocEx and MyFree (so not malloc/free).
MyMalloc usually maps to malloc, and MyMallocEx is a malloc plus filling
the memory area (eg: the struct) with zero's (a la calloc).
Use of MyMallocEx is suggested. In general you should not be using MyMalloc.
"But MyMalloc is faster!" you might say. This is true, but using MyMallocEx
has very little speed impact and enormous benefits: people tend to forget
to set certain fields in the struct to NULL, or much more common: when
someone later on (eg: 1 year later) adds a field to a struct, there could
be several places he/she needs to update to make sure x->something is NULL
after allocating a new struct. Bad idea.
Little speed impact, huge stability benefits, easy decision ;).
20. Comment your code! This should speak for itself...
Put comments wherever you think they are needed, to aid any further coders
with reading your code.. and, in fact, it will aid yourself as well if you
would look back at your code 2 years later.
If there's some obscure pitfall, do mention it! Don't just "hope" a next
author will see it like you did.
21. Use enums whenever possible, rather than #define constants. Besides making
things more clean, it also aids debugging.
-334
View File
@@ -1,334 +0,0 @@
Written by ^MrMike^ (mike@sector001.org) for the UnrealIRCd
Modified by codemastr to include a few other commands
(note, this file will be updated in CVS asap)
PRIVMSG
- Used to send a message to a person or a channel
Syntax: MSG <nick>,<nick2>,<nick3>,<nick4> <text>
Example: PRIVMSG Stskeeps :Hello. Unreal is a very good ircd.
Example: PRIVMSG Stskeeps,codemastr,DrBin :Hello Unreal Coding Team
NOTICE
- Mainly used for one-time communication or for the results of a command.
Syntax: NOTICE <nick>,<nick2>,<nick3>,<nick4> <text>
Example: NOTICE codemastr :Hi. How are you?
Example: NOTICE codemastr,Stskeeps :Hi codemastr and Stskeeps.
MODE
- Used to change the mode of a channel or a user. You can only change modes for channel you are an Operator or Half-Op on. Also, you can only changes user modes for yourself.
Syntax: MODE <channel/user> <mode>
Example: MODE #UnrealIRCD +tn
Example: MODE #UnrealIRCD +ootn codemastr Stskeeps
NICK
- Changes your "online identity" on a server. All those in the channel you are in will be alerted of your nickname change.
Syntax: NICK <new nickname>
Example: NICK |codemastr|
JOIN
- Used to enter one or more channels on an IRC server. All occupants of the channel will be notified of your arrival.
Syntax: JOIN <chan>,<chan2>,<chan3>
Example: JOIN #UnrealIRCD
Example: JOIN #UnrealIRCD,#OperHelp
PING
- Determines the amount of lag (time it takes for a response to reach a person and come back) between yourself and someone else.
Syntax: PING <user>
Example: PING Stskeeps
WHOIS
- Shows information about the user in question, such as their "name", channels they are currently in, their hostmask, etc.
Syntax: WHOIS <user>
Example: WHOIS DrBin
ISON
- Used to determine of a certain user or users are currently on the IRC server based upon their nickname.
Syntax: ISON <user> <user2> <user3> <user4>
Example: ISON Stskeeps DrBin codemastr NickServ ChanServ OperServ MemoServ
USER
- Used during registration to server (i.e. during inital connection sequence.)
PART
- Used to part (or leave) a channel you currently occupy. All those in the channel will be notified of your departure.
Syntax: PART <chan>,<chan2>,<chan3>,<chan4>
Example: PART #UnrealIRCD
Example: PART #UnrealIRCD,#OperHelp
QUIT
- Disconnects you from the IRC server. Those in the channels you occupy will be notified of your departure. If you do not specify a reason, your nickname becomes the reason.
Syntax: QUIT <reason>
Example: QUIT Leaving!
USERHOST
- Returns the userhost of the user in question. Usually used by scripts or bots to retrieve userhost information.
Syntax: USERHOST <nickname>
Example: USERHOST codemastr
SVSNICK
- Can only be used by a U:Lined server (i.e. services). Changes the nickname of the user in question.
Syntax: SVSNICK <nickname> <new nickname> :<timestamp>
Example: SVSNICK Stskeeps Techie :963086432
SVSMODE
- Can only be used by a U:Lined server (i.e. services). Changes the mode of the channel or user in question.
Syntax: SVSMODE <channel/user> :<mode>
Example: SVSMODE #UnrealIRCD :+o Stskeeps
Example: SVSMODE codemastr :+i
LUSERS
- Provides local and global user information (such as current and maximum user count).
Syntax: LUSERS <server>
CHANSERV
- Will send a secure message to ChanServ. Similar to /msg ChanServ, but more secure. May not work if server is configured improperly.
TOPIC
- Sets/Changes the topic of the channel in question, or just display the current topic.
Syntax: TOPIC <channel>
Syntax: TOPIC <channel> <topic>
Example: TOPIC #operhelp
Example: TOPIC #UnrealIRCD Welcome to the Unreal IRCD Home Channel.
INVITE
- Sends a user an invitation to join a perticular channel. You must be an operator on the channel in order to invite a user into it.
Syntax: INVITE <user> <channel>
Example: INVITE codemastr #OperHelp
KICK
- Removes a user from a channel. Can only be used by Operators or Half-Ops. If no reason is specified, your nickname becomes the reason.
Syntax: KICK <channel> <user> <reason>
WALLOPS
- Sends a "message" to all those with the umode +w. Only IRCops can send wallops, while anyone can view them.
Syntax: WALLOPS <message>
KILL
- Forcefully disconnects a user from an IRC Sever. Can only be used by IRCops.
Syntax: KILL <user> <reason>
Example: KILL Clone5 Cloning is not allowed
AWAY
- Sets your online status to "away".
Syntax: AWAY <reason> (AWAY without a reason will unset you away)
Example: AWAY Walking the dog...
SQUIT
- Disconnects an IRC Server from the network
Syntax: SQUIT <server>
Example: SQUIT leaf.*
WHO
- Searches user information (-i users only) for supplied information. IRCops are a ble to search +i users.
Syntax: WHO <search>
Example: WHO *.aol.com
WHOWAS
- Retrieves previous 'WHOIS' information for users no longer connected to the server.
Syntax: WHOWAS <nickname>
Example: WHOWAS Stskeeps
LIST
- Provides a complete listing of all channels on the network. If a search string is specified, it will only show those matching the search string.
Syntax: LIST <search string>
Example: LIST
Example: LIST *ircd*
NAMES
- Provides a list of users on the specified channel.
Syntax: NAMES <channel>
Example: NAMES #help
OPER
- Attempts to give a user IRCop status.
Syntax: OPER <uid> <pass>
Example: OPER codemastr codeit
CONNECT
- Links another IRC server to the one you are currently on. Remote connections are also possible.
Syntax: CONNECT <server>
Syntax: <CONNECT> <hub> <port> <leaf>
Example: CONNECT leaf.*
Example: CONNECT hub.* 6667 leaf.*
VERSION
- Provides version information of the IRCD software in usage.
Syntax: VERSION
STATS
- Provides certain statistical information about the server (for example, u will provide uptime information).
Syntax: STATS <letter>
Example: STATS u
LINKS
- Lists all of the servers currently linked to the network.
Syntax: LINKS
ADMIN
- Provides administrative information regarding the server.
Syntax: ADMIN <server>
SAMODE
- Allowed a services administrator to change the mode on a channel, without having operator status.
Syntax: SAMODE <channel> <mode>
Example: SAMODE #UnrealIRCD +m
SVSKILL
- Can only be used by a U:Lined server. Forcefully disconnects a user from the network.
Syntax: SVSKILL <user> <reason>
Example: SVSKILL codemastr Goodbye
SVSNOOP
- Can only be used by a U:Lined server. Enabled or disables whether Global IRCop functions exist on the server in question or not.
Syntax: SVSNOOP <server> <+/->
Example: SVSNOOP leaf.* -
MOTD
- Displays the Message of the Day.
Syntax: MOTD
Syntax: MOTD <server>
KLINE
- "Bans" a hostmask from connection to the IRC server.
Syntax: KLINE <hostmask> <reason>
Example: KLINE *@*.aol.com Abuse
UNKLINE
- Removes a k:line from the server.
Syntax: UNKLINE <hostmask>
Example: UNKLINE *@*.aol.com
ZLINE
- Disables all access to the IRC server from a specified IP.
Syntax: ZLINE <ip>
Example: ZLINE 127.0.0.1
UNZLINE
- Removes a currently active z:Line.
Syntax: UNZLINE <ip>
Example: ZLINE 127.0.0.1
GLOBOPS
- Sends a global "message" to all IRCops. Only viewable by IRCops (unlike WallOps, which can be viewed by normal users).
Syntax: GLOBOPS <message>
Example: GLOBOPS Going to be akilling those clones...
CHATOPS
- GLOBOPS is usually reserved for important network information. Therefore, for Oper Chat, CHATOPS was invented. IRCops with the +c flag enabled will be able to send/receive CHATOPS messages.
Syntax: CHATOPS <message>
Example: CHATOPS How's everyone doing today?
LOCOPS
- Similar to GLOBOPS, except only received by those IRCops local to your server.
Syntax: LOCOPS <message>
Example: LOCOPS Going to be adding a temp k:line for that user...
REHASH
- Prompts the server to reread its configuration file (ircd.conf). Will also remove any temporarly lines (i.e. k:line).
Syntax: REHASH
RESTART
- Kills and restarts the irc daemon, disconnecting all users currently on that server.
Syntax: RESTART
Syntax: RESTART <password>
DIE
- Kills the irc daemon, disconnecting all users currently on that server.
Syntax: DIE
Syntax: DIE <password>
RULES
- Reads the rules.conf file and sends the contents to the user.
Syntax: RULES
MAP
- Provides a "network map" of the IRC network. Mainly used for routing purposes.
Syntax: MAP
DALINFO
- Original DALnet ircd credits.
Syntax: DALINFO
MKPASSWD
- Used for generating an encrypted password. Mainly used for encrypted O:Line passwords.
Syntax: MKPASSWD <password>
Example: MKPASSWD codeit
ADDLINE
- Adds a line to the server's ircd.conf file. After added, you must REHASH the server for it to take affect.
Syntax: ADDLINE <line>
Example: ADDLINE C:127.0.0.1:server.dal.net:linking:7325:50
TECHAT
- Similar to CHATOPS, but only Technical Admins are able to send/receive messages on this "channel".
Syntax: TECHAT <message>
Example: TECHAT What do you think of the new routing map?
NACHAT
- Similar to CHATOPS (and TECHAT), but only Network Admins are able to send/recieve messages.
Syntax: NACHAT <message>
Example: NACHAT Linking a new server in a couple minutes...
KNOCK
- For channels which are invite only, you can "knock" on the channel to request an invite.
Syntax: KNOCK <channel> <message>
Example: KNOCK #secret_chan I'm an op, let me in!
CREDITS
- Credits for Unreal IRCD.
Syntax: CREDITS
LICENSE
- GPL information.
Syntax: LICENSE
SVSJOIN
- Forces a user to join a channel. Can only be used by a U:Lined server.
Syntax: SVSJOIN <nick> <channel>
Example: SVSJOIN codemastr #jail
SAJOIN
- Forces a user to join a channel. Can only be used by a Services Admin.
Syntax: SAJOIN <nick> <channel>
Example: SAJOIN Stskeeps #OperHelp
SVSPART
- Forces a user to leave a channel. Can only be used by a U:Lined server.
Syntax: SVSPART <nick> <channel>
Example: SVSPART codemastr #jail
SAPART
- Forces a user to leave a channel. Can only be used by a Services Admin.
Syntax: SAPART <nick> <channel>
Example: SAPART Stskeeps #OperHelp
SETHOST
- Changes the hostname of yourself. Only available to IRCops.
Syntax: SETHOST <host>
Example: SETHOST coder.tspre.org
SETIDENT
- Changes the ident of yourself. Only available to IRCops.
Syntax: SETIDENT <ident>
Example: SETIDENT coder
SETNAME
- Changes the "IRC Name" (or "Real Name") of yourself. Available to everyone.
Syntax: SETNAME <name>
Example: SETNAME Unreal Coding Team Member
CHGHOST
- Changes the hostname of a user currently on the IRC network. Only available to IRCops.
Syntax: CHGHOST <nick> <host>
Example: CHGHOST codemastr coder.tspre.org
CHGIDENT
- Changes the ident of a user currently on the IRC network. Only available to IRCops.
Syntax: CHGIDENT <nick> <ident>
Example: CHGIDENT codemastr coder
CHGNAME
- Changes the "IRC Name" (or "Real Name") of a user currently on the IRC network. Only available to IRCops.
Syntax: CHGNAME <nick> <name>
Example: CHGNAME codemastr Unreal Coding Team Member
+118
View File
@@ -0,0 +1,118 @@
==[ GENERAL GUIDELINES ]==
First of all you need Microsoft Visual C++ (see below), compiling with
cygwin is not supported.
Compatible compilers:
cygwin NOT supported. Will not work. Should be no reason to use this anyway
as cygwin is an emulation layer. It's obviously much better to run
native (Windows) code on Windows.
msvc 6.x Microsoft Visual Studio 6 does not work, this compiler is too old.
msvc 7.x Microsoft Visual Studio 7.x (.NET), works.
msvc 8.x Microsoft Visual Studio 8.x (.NET 2005), including the free kit, works.
msvc 9.x Microsoft Visual Studio 9.x (.NET 2008), is used for official compile.
mssdk Microsoft Windows SDK for Windows 7
If you don't have the paid version of Microsoft Visual Studio 7.x, then you can
use the FREE development kit available for Windows 7 explained below:
1. Download the 'MS SDK for Windows 7 and .NET Framework 3.5 SP1' at:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en
2. NOTE: Whenever you need to compile something we say 'Start the Visual Studio
.NET Command Prompt' below, but you - a person using the free version - will
actually have to start the CMD Shell instead (check out the
Start Menu under Microsoft Windows SDK v7.0). Users on x64 environment will have
to change their environment to x86 by typing 'SETENV /x86'.
3. Download http://www.vulnscan.org/tmp/dlltool.exe and put the file somewhere
in your path (eg: put it in c:\windows\system32).
==[ EXTERNAL LIBRARIES ]==
Fetch the external libraries (c-ares, tre, openssl, zlib, curl) from:
http://www.vulnscan.org/unrealwin32dev/
==[ COMPILING ]==
1. Start the Visual Studio .NET Command Prompt
2. Go to your UnrealIRCd dir (like: cd \dev\unreal3.2)
3. Have a look at 'makefile.win32' to look at what parameters you need to
use, this depends on what libraries you want to link in and their location.
4. Two options, use either one (B is preferred), and read step 5 too:
A. Edit makefile.win32 directly to reflect your configuration and run
'nmake -f makefile.win32'
B. Don't edit makefile.win32 but instead create a one-line command (which
you can put in a batch file), like this (all on one line!):
nmake -f makefile.win32 USE_ZIPLINKS=1 ZLIB_INC_DIR="c:\dev\zlib"
ZLIB_LIB_DIR="c:\dev\zlib\dll32" USE_SSL=1
OPENSSL_INC_DIR="c:\openssl\include" OPENSSL_LIB_DIR="c:\openssl\lib"
USE_REMOTEINC=1 LIBCURL_INC_DIR="c:\dev\curl-ssl\include"
LIBCURL_LIB_DIR="c:\dev\curl-ssl\lib\dll-release"
CARES_LIB_DIR="C:\dev\c-ares\vc\cares\dll-release"
CARES_INC_DIR="C:\dev\c-ares" CARESLIB="cares.lib"
TRE_LIB_DIR="C:\dev\tre\win32\release" TRE_INC_DIR="C:\dev\tre"
TRELIB="tre.lib"
5. You are likely to encounter an error like
M_OPER.obj : error LNK2019: unresolved external symbol _sendto_snomask_global
referenced in function _m_oper
(the exact name and symbol will differ!!)
In that case you need to generate a symbols file:
nmake -f makefile.win32 SYMBOLFILE
And after that simply re-run your nmake -f makefile.win32 [options]
command, the same command you ran before the error occured.
You should not get any unresolved external symbol error again.
If you still do, then something is wrong.
6. Your compile is now done, you can package unreal if you have InnoSetup,
in that case check out src\win32\unrealinst.iss
Otherwise, manually copy over the necessary files (and the dll files
from the external libraries).
==[ Compiling modules ]==
1. Put your module (the .c file) in src\modules (eg: c:\dev\unreal3.2\src\modules).
2. Start the Visual Studio .NET Command Prompt
3. Go to your UnrealIRCd dir (like: cd \dev\unreal3.2).
4. Compile the module with:
nmake -f makefile.win32 <YOUR OPTIONS> custommodule MODULEFILE=<name>
<name> is the name of the module WITHOUT the .c suffix, so if your
module has the filename 'm_crappymod.c', then you use:
nmake -f makefile.win32 <YOUR OPTIONS> custommodule MODULEFILE=m_crappymod
Note that <YOUR OPTIONS> is the whole lot of options explained in
previous section under 4B. If you use method 4A then there aren't any.
Note 2: If you get any symbol file errors, see the section 'SYMBOL FILES'
5. Done. A .dll file should have been created.
If you compiled with the same Visual Studio version that we use to compile
the official UnrealIRCd version, and use the same Unreal3.2.X.tar.gz as the
official version (and not CVS!), then your module is fully binary compatible
and you can put it on your website (or ours) so users can use them.
If you do anything else, this won't work.
So, again, it will NOT work properly, if:
1. You use a different UnrealIRCd source (like CVS, or a previous version).
2. You use another compiler... this might still work but may require an
additional .DLL file to be put in your UnrealIRCd directory (MSVxxxxxx.DLL).
3. You compile with different options, such as compiling with SSL but trying
to load the module on non-SSL.
NOTE: unless your module uses SSL-specific code, you should compile
without SSL as it will run on both SSL and non-SSL UnrealIRCd's.
==[ SYMBOL FILES ]==
If you get something like this:
Creating library L_COMMANDS.lib and object L_COMMANDS.exp
M_OPER.obj : error LNK2019: unresolved external symbol _sendto_snomask_global re
ferenced in function _m_oper
(note: the exact name of the symbol will vary!)
Then you will have to rebuild the wircd.def symbol file. You do this by
downloading http://www.vulnscan.org/tmp/dlltool.exe and putting the file somewhere
in your path (eg: c:\winnt\system32).
Then, to compile you do this:
nmake -f makefile.win32 [your other options here]
nmake -f makefile.win32 SYMBOLFILE
nmake -f makefile.win32 [your other options here]
So basically you just run 'nmake -f makefile.win32 SYMBOLFILE' and then restart
compiling again.
==[ COMPILING ZLIB/SSL/CURL YOURSELF ]==
This is off-topic and not explained here.
Again, use the stuff from the win32 development pack unless you have a good
reason to do otherwise.
-1762
View File
File diff suppressed because it is too large Load Diff
+237 -115
View File
@@ -1,15 +1,24 @@
/*
* example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org) Last
* updated 2. August 2001
* example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* $Id$
*
* Works for Unreal3.2 and up
* Works for Unreal3.2.x
*
* Okay guys. This is the new example.conf. Its look is much like C++, kinda.
* Anyway it is time to go over this. It's hard to pick up at first, but
* with some pratice and reading you'll understand.
*
* Just copy this file to your main unrealircd dir and call it 'unrealircd.conf'.
*
* NOTE: All lines, except the opening { line, end in an ;, including the
* closing } line. The IRCd will ignore commented lines.
*
* PLEASE READ doc/unreal32docs.html! The online version is also available at:
* www.vulnscan.org/UnrealIRCd/unreal32docs.html
* It contains a lot information about the configfile: gives information about
* every block, variable, etc..
* If you try to edit this file without reading the documentation properly
* then you are pretty much guaranteed to fail!
*/
/* Type of comments */
@@ -18,6 +27,32 @@
/* Comment type 3 (C Style) */
#those lines are ignored by the ircd.
/*
* UnrealIRCd supports modules, loading some of them is required.
* You need at least the commands module and a cloaking module.
*/
/* FOR *NIX, uncomment the following 2lines: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* FOR Windows, uncomment the following 2 lines: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* You can also include other configuration files.
* help.conf contains all the /helpop text. The badwords.*.conf
* files contain all the badword entries for mode +G...
* spamfilter.conf contains some good rules for current trojans.
* You probably want to include them:
*/
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* NEW: me {}
* OLD: M:Line
@@ -30,7 +65,6 @@
* };
* If linking, this numeric may not be used by any other server on the network.
*/
me
{
name "irc.foonet.com";
@@ -40,7 +74,8 @@ me
/*
* NEW: admin {}
* OLD: A:Line Admin gives information on the server admin. you
* OLD: A:Line
* Admin gives information on the server admin. you
* may put as many lines under admin { as you wish.
* Syntax is as follows:
* admin {
@@ -66,6 +101,7 @@ admin {
* pingfreq (how often to ping a user/server in seconds);
* maxclients (how many connections for this class);
* sendq (maximum send queue from a connection);
* recvq (maximum receive queue from a connection [flood control]);
* };
*/
@@ -74,6 +110,7 @@ class clients
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
@@ -101,15 +138,15 @@ class servers
*/
allow {
ip *;
hostname *;
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* Passworded allow line */
allow {
ip *@*;
ip *@255.255.255.255;
hostname *@*.passworded.ugly.people;
class clients;
password "f00Ness";
@@ -124,10 +161,12 @@ allow {
* Syntax:
* allow channel {
* channel "channel name";
* class "clients"; (optional)
* };
*/
allow channel {
allow channel {
channel "#WarezSucks";
class "clients";
};
/*
@@ -153,44 +192,10 @@ allow channel {
* };
*/
/* OLD OPER FLAG | NEW FLAG NAME
O global
o local
a services-admin
A admin
r can_rehash
e eyes
D can_die
R can_restart
h helpop
w can_wallops
g can_globops
c can_localroute
L can_globalroute
k can_localkill
K can_globalkill
b can_kline
Z can_gzline
t can_gkline
B can_unkline
n can_localnotice
G can_globalnotice
N netadmin
T techadmin
C coadmin
u get_umodec
f get_umodef
z can_zline
W get_umodew
^ can_stealth
H get_host
*/
/*
Note: get_umodec get_umodef techadmin and eyes
are no longer used and will probably be removed
soon
*/
/* For a list of oper flags, see doc/unreal32docs.html#operblock
* [HIGHLY recommended to read]
*/
oper bobsmith {
class clients;
@@ -201,9 +206,13 @@ oper bobsmith {
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* NEW: listen {}
* OLD: P:Line
@@ -233,7 +242,17 @@ oper bobsmith {
* standard
*/
listen *:6601
/* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
* besides numerous high-SSL ports, some people say you should run
* it at 994 because that's the official SSL port.. but that
* requires root! Besides, port 194 is the official irc port and
* have you ever seen an ircd running on that?
* So, our suggestion is to use port 6697 for SSL, this is used by
* quite some networks and is recognized by for example StunTour.
* You are free to open up as many SSL ports as you want, but
* by (also) using 6697 you help the world standardize a bit ;).
*/
listen *:6697
{
options
{
@@ -245,6 +264,14 @@ listen *:6601
listen *:8067;
listen *:6667;
/* NOTE: If you are on an IRCd shell with multiple IP's you are
* likely to get 'Address already in use' errors in your log
* and the ircd won't start. This means you MUST bind
* to a specific IP instead of '*', so for example:
* listen 1.2.3.4:6667;
* Obviously, replace the IP with the IP that was assigned to you.
*/
/*
* NEW: link {}
* OLD: C/N:Lines
@@ -260,11 +287,16 @@ listen *:6667;
* hub (If this is a hub, * works, or servermasks it may bring in);
* [or leaf *;]
* password-connect "(pass to send)";
* password-receive "(pass we should recieve)";
* password-receive "(pass we should receive)";
* class (class to direct servers into);
* options {
* (options here*);
* };
* // If we use SSL, we can choose what cipher to use in SSL mode
* // Retrieve a list by "openssl ciphers", separate ciphers with :'s
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
@@ -275,6 +307,7 @@ listen *:6667;
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
@@ -289,6 +322,7 @@ link hub.mynet.com
password-receive "LiNk";
class servers;
options {
/* Note: You should not use autoconnect when linking services */
autoconnect;
ssl;
zip;
@@ -298,13 +332,14 @@ link hub.mynet.com
*
* NEW: ulines {}
* OLD: U:Line
* Lets these server's clients do pretty much anything.
* U-lines give servers more power/commands, this should ONLY be set
* for services/stats servers and NEVER for normal UnrealIRCd servers!
* Syntax is as follows:
* ulines {
* (server to uline);
* (server to uline);
* [etc]
* };
* You may put as many servers in there as you like.
*/
ulines {
services.roxnet.org;
@@ -330,10 +365,8 @@ drpass {
* NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have
* as many as you wish.
*
* FLAGS: errors, kills, tkl, connects, server-connects, kline, oper
* FLAGS: errors, kills, tkl, connects, server-connects, oper
*
* NOTICE: Right now, SEGV messages are *always* sent to ircd.log. codemastr is
* working on a way to redirect the messages to this log file. *
* Syntax:
* log "log file"
* {
@@ -352,11 +385,14 @@ log "ircd.log" {
maxsize 2097152;
flags {
oper;
kline;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
@@ -368,21 +404,23 @@ log "ircd.log" {
*
* Syntax:
* alias "name" {
* nick "points to";
* target "points to";
* type aliastype;
* };
*
* [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]
*/
// This points the command /nickserv to the user NickServ who is connected to the set::services-name server
// This points the command /nickserv to the user NickServ who is connected to the set::services-server server
/*alias NickServ {
nick "NickServ";
target "NickServ";
type services;
};*/
// If you want the command to point to the same nick as the command, you can leave the nick entry out
//alias ChanServ { type services; };
// Points the /statserv command to the user StatServ on the set::stats-name server
// Points the /statserv command to the user StatServ on the set::stats-server server
//alias StatServ { type stats; };
// Points the /superbot command to the user SuperBot
@@ -404,7 +442,8 @@ alias StatServ { type stats; };
* Syntax:
* alias "name" {
* format "format string" {
* alias "points to";
* target "points to";
* type aliastype;
* parameters "parameters to send";
* };
* type command;
@@ -416,11 +455,13 @@ alias StatServ { type stats; };
/*
alias "identify" {
format "^#" {
alias "chanserv";
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
alias "nickserv";
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
@@ -434,17 +475,20 @@ alias "identify" {
/* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
* parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
* N until the last parameter in the string.
* N until the last parameter in the string. You may also specify %n which is replaced by
* the user's nickname.
*/
/* Standard aliases */
alias "services" {
format "^#" {
alias "chanserv";
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
alias "nickserv";
target "nickserv";
type services;
parameters "%1-";
};
type command;
@@ -452,16 +496,78 @@ alias "services" {
alias "identify" {
format "^#" {
alias "chanserv";
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
alias "nickserv";
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* This is an example of a real command alias */
/* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
};
type command;
};
/*
* NEW: files {}
* OLD: include/config.h
*
* This block overrides the IRCd's default paths for loading things
* like the MOTD, saving its PID, or writing/loading its tunefile. The
* existence of this block allows one UnrealIRCd installation to
* support multiple running instances when combined with the -c
* commandline option.
*
* As usual, relative paths are interpreted relative to the directory
* where UnrealIRCd would find unrealircd.conf if -c is _not_
* specified on the commandline.
*/
files
{
/* The Message Of The Day shown to users who log in: */
/* motd ircd.motd; */
/*
* A short MOTD. If this file exists, it will be displayed to
* the user in place of the MOTD. Users can still view the
* full MOTD by using the /MOTD command.
*/
/* shortmotd ircd.smotd; */
/* Shown when an operator /OPERs up */
/* opermotd oper.motd; */
/* Services MOTD append. */
/* svsmotd ircd.svsmotd; */
/* Bot MOTD */
/* botmotd bot.motd; */
/* Shown upon /RULES */
/* rules ircd.rules; */
/*
* Where the IRCd stores and loads a few values which should
* be persistent across server restarts. Must point to an
* existing file which the IRCd has permission to alter or to
* a file in a folder within which the IRCd may create files.
*/
/* tunefile ircd.tune; */
/* Where to save the IRCd's pid. Should be writable by the IRCd. */
/* pidfile ircd.pid; */
};
/*
* NEW: tld {}
@@ -482,6 +588,11 @@ tld {
rules "ircd.rules.fr";
};
/* note: you can just delete the example block above,
* in which case the defaults motd/rules files (ircd.motd, ircd.rules)
* will be used for everyone.
*/
/*
* NEW: ban nick {}
* OLD: Q:Line
@@ -510,7 +621,9 @@ ban ip {
/*
* NEW: ban server {}
* OLD: Server Q:Line
* Disables a server from connecting to you.
* Disables a server from connecting to the network.
* if the server links to a remote server, local server
* will disconnect from the network.
* Syntax is as follows:
* ban server {
* mask "(server name)";
@@ -574,18 +687,6 @@ except ban {
mask *stskeeps@212.*;
};
/*
* NEW: except socks {}
* OLD: e:Line
* Makes it so scan.so doesn't scan you.
*
* except scan { mask (ip number/hostmask); };
* repeat except scan {} for each ip to except.
*/
except scan {
mask 216.73.27.177;
};
/*
* NEW: deny dcc {}
* OLD: dccdeny.conf
@@ -611,11 +712,13 @@ deny dcc {
* deny channel {
* channel "(channel)";
* reason "reason";
* class "clients"; (optional)
* };
*/
deny channel {
channel "*warez*";
reason "Warez is illegal";
class "clients";
};
/*
@@ -646,13 +749,6 @@ vhost {
/* You can include other configuration files */
/* include "klines.conf"; */
/*
* Cloak-keys must be > 10000, and random. MUST be the same all over the
* network
*
* cloak-keys { 39999; 99398; 99397; }; for example
*/
/* Network configuration */
set {
network-name "ROXnet";
@@ -661,11 +757,19 @@ set {
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
prefix-quit "no";
/* prefix-quit "no"; */
/* Cloak keys should be the same at all servers on the network.
* They are used for generating masked hosts and should be kept secret.
* The keys should be 3 random strings of 5-100 characters
* (10-20 chars is just fine) and must consist of lowcase (a-z),
* upcase (A-Z) and digits (0-9) [see first key example].
* HINT: On *NIX, you can run './unreal gencloak' in your shell to let
* Unreal generate 3 random strings for you.
*/
cloak-keys {
9666;
3333;
3330;
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"and another one";
"and another one";
};
/* on-oper host */
hosts {
@@ -674,7 +778,6 @@ set {
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
techadmin "techadmin.roxnet.org"; /* depreciated */
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
@@ -684,40 +787,59 @@ set {
set {
kline-address "set.this.email";
modes-on-connect "+xw";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2s;
};
options {
enable-opermotd;
enable-chatops;
hide-ulines;
identd-check;
/* You can enable ident checking here if you want */
/* identd-check; */
show-connect-info;
};
socks {
ban-message "Insecure SOCKS server";
quit-message "Insecure SOCKS server";
ban-time "4d";
};
maxchannelsperuser 10;
/* The minimum time a user must be connected before being allowed to use a QUIT message,
* This will hopefully help stop spam */
anti-spam-quit-message-time 10s;
/* This allows you to make certain stats oper only, use * for all stats or leave this out to allow
* all users to use any stats. */
oper-only-stats "okG";
/* Make the message in static-quit show in all quits - meaning no
custom quits are allowed on local server */
/* static-quit "Client quit"; */
/* You can also block all part reasons by uncommenting this and say 'yes',
* or specify some other text (eg: "Bye bye!") to always use as a comment.. */
/* static-part yes; */
/* This allows you to make certain stats oper only, use * for all stats,
* leave it out to allow users to see all stats. Type '/stats' for a full list.
* Some admins might want to remove the 'kGs' to allow normal users to list
* klines, glines and shuns.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
throttle {
connections 3;
period 60s;
};
/* Anti flood protection */
anti-flood {
nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
};
/* Spam filter */
spamfilter {
ban-time 1d; /* default duration of a *line ban set by spamfilter */
ban-reason "Spam/Advertising"; /* default reason */
virus-help-channel "#help"; /* channel to use for 'viruschan' action */
/* except "#help"; channel to exempt from filtering */
};
};
/*
* Need more help ?
* 1) Read the documentation like this file
* 2) Come to irc.ircsystems.net #Unreal-Support
* 3) Mail supporters@lists.unrealircd.org
*
* Hope this helps you, -Osiris
* Problems or need more help?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
* 3) If you still have problems you can go irc.unrealircd.org #unreal-support,
* note that we require you to READ THE DOCUMENTATION and FAQ first!
*/
+786
View File
@@ -0,0 +1,786 @@
/*
* example.conf von Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* $Id$
*
* Arbeitet mit Unreal3.2.x
*
* Dies hier ist die neue example.conf. Sie ähnelt irgendwie ein wenig C++ und sie
* soll sie jedenfalls einmal erläutert werden. Es ist ein wenig schwer, erstmals
* damit umzugehen, aber mit ein Wenig Übung und sorgfältigem Lesen sollte das zu
* verstehen sein.
*
* Diese Datei ist einfach in das Hauptverzeichnis des UnrealIRCD zu kopieren und in
* 'unrealircd.conf' umzubenennen.
*
* ZU BEACHTEN: Sämtliche Zeilen außer der mit einer '{' zu Beginn werden mit dem Zeichen
* ';' beendet, auch die Zeile mit '}'. (Beliebter Syntaxfehler!)
* Kommentar Zeilen werden vom IRCd ignoriert.
*
* BITTE LESE die doc/unreal32docs.html! Sie ist auch online erhältlich bei:
* www.vulnscan.org/UnrealIrcd/unreal32docs.html
* Diese Datei enthält zahlreiche ergänzende Informationen über jeden Block, Variablen usw.
* Übersetzung durch stylus740@smart-irc.de (bei irc.smart-irc.net)
*/
/* Kommentar Typen */
#Kommentar Typ 1 (Shell Typ)
// Kommentar Typ 2(C++ Stil)
/* Kommentar Typ 3 (C Stil) */
#Solche Zeilen vom Typ 1, 2 oder 3 werden vom ircd ignoriert.
/*
* UnrealIRCd arbeitet mit Modulen, die geladen werden, wenn sie benötigt werden.
* Man benötigt mindestens das commands Modul und ein cloaking Modul.
*/
/* FÜR *NIX (Unix, Linux, Xenix etc.), sind diese 2 Zeilen auszukommentieren: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* FÜR Windows sind diese 2 Zeilen auszukommentieren: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Man kann über eine 'include' Anweisung auch weitere Konfigurationsdateien einfügen.
* help.conf enthält sämtliche /helpop Texte. Die badwords.*.conf filtert alle badword
* Einträge für den Modus +G...
* Die spamfilter.conf enthält einige wirksame Regeln für aktuelle Trojaner.
* Falls man diese Dateien mit einfügen möchte:
*/
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* NEU: me {}
* ALT: M:Line
* me {} legt Name, Beschreibung und eindeutige Nummer ('numeric') für diesen Server fest.
* Syntax ist wie folgt:
* me {
* name "server.name";
* info "Server Beschreibung";
* numeric (server numeric*);
* };
* Falls der Server mit anderen gelinkt wird, darf muss die Nummer bei 'numeric' eindeutig
* sein, darf also von keinem anderen Server im Netzwerk verwendet werden.
*/
me
{
name "irc.foonet.com";
info "FooNet Server";
numeric 1;
};
/*
* NEU: admin {}
* ALT: A:Line
* Admin liefert Informationen über den Server Administrator. Man kann
* so viele Zeilen unter 'admin {' angeben, wie man will.
* Syntax ist wie folgt:
* admin {
* "erste Zeile";
* "zweite Zeile";
* [usw]
* };
*/
admin {
"Bob Smith";
"bob";
"widely@used.name";
};
/*
* NEU: class {}
* ALT: Y:line (alte Form war verwirrend)
* Hiermit werden Klassen und ihre Einstellungen festgelegt. Eine Klasse ist eine Gruppen-
* einstellung für Verbindungen. So kann man beispielsweise Server Verbindungen in einer
* eigenen Klasse behandeln, statt zusammen mit Clients.
* Syntax ist wie folgt:
* class (class name)
* {
* pingfreq (wie oft in Sekunden wird ein user/server angepingt);
* maxclients (wie viele Verbindungen sind in dieser Klasse möglich);
* sendq (maximale send Queue einer Verbindung);
* recvq (maximale Empfangs Queue einer Verbindung [Flood Kontrolle!]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Wieviele Servers können gleichzeitig gelinkt sein */
sendq 1000000;
connfreq 100; /* Wieviele Sekunden zwischen jedem Verbindungsversuch */
};
/*
* NEU: allow {}
* ALT: I:Line
* Hier wird festgelegt, welche Verbindungen erlaubt sind...
* Grundlegend kann man damit Clienten erlauben, zu verbinden und hat etwas Kontrolle
* Syntax ist wie folgt:
* allow {
* ip (ip Maske für allow);
* hostname (host Maske);
* class (Klasse, die zugewiesen wird [siehe class {}]);
* password "(password)"; (optional)
* maxperip (wie viele Verbindungen je IP); (optional)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* Passworded allow line */
allow {
ip *@255.255.255.255;
hostname *@*.passworded.ugly.people;
class clients;
password "f00Ness";
maxperip 1;
};
/*
* NEU: allow channel {}
* ALT: chrestrict
* Erlaubt es Usern, einen Channel zu betreten...
* Ist wie eine Ausnahme von 'deny channel'.
* Syntax ist wie folgt:
* allow channel {
* channel "channel name";
* };
*/
allow channel {
channel "#WarezSucks";
};
/*
* NEU: oper {}
* ALT: O:Line
* Legt einen IRC Operator fest
* IRC Operatoren halten den Server in Ordnung, warten ihn und halten die Verbindung
* zum Netzwerk.
* Syntax ist wie folgt:
* oper (login) {
* class (Klasse, die zugewiesen wird, falls anders als meine, wird eine neuee Klasse
* zugewiesen);
* from {
* userhost (ident@host);
* userhost (ident@host);
* };
* flags
* {
* (Flags hier*);
* };
* ODER
* flags "alte Form von Flags, wie OAaRD";
* };
*/
/* Die Liste möglicher Oper Flags kann in doc/unreal32docs.html#operblock nachgelesen werden
* [WIRKLICH empfehlenswert, zu lesen!]
*/
oper bobsmith {
class clients;
from {
userhost bob@smithco.com;
};
password "f00";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* NEU: listen {}
* ALT: P:Line
* Legt den Port fest, an dem der ircd 'lauscht', um Usern/Servern zu erlauben, eine
* Verbindung zum Server aufzunehmen.
* Syntax ist wie folgt:
* listen (ip number):(port number)
* {
* options {
* (options here);
* };
* };
* oder für ein einfaches listen:
* listen (ip):(port);
*
* ACHTUNG: für ipv6 ips (3ffe:b80:2:51d::2 etc), benutze listen [ip]:port;
*
* Das funktioniert ebenfalls.
*/
/* Options for listen:
OLD | NEW
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* ZU BEACHTEN BEI SSL PORTS: SSL Ports sind nicht standardisiert.
* Es wird oft gesagt, man solle den Port 994 benutzen, weil dies der
* offizielle SSL Port sei. Aber das erfordert root Rechte! Andererseits
* ist der Port 194 der offizielle Port und wann hat man je einen Ircd
* auf diesem Port laufen gesehen?
* Unsere Empfehlung ist, den Port 6697 für SSL zu benutzen, wie es auch
* bei vielen anderen Netzwerken gemacht wird und für z.B. StunTour benutzt wird.
* Man kann so viele SSL Ports öffnen, wie man will, aber wenn man (auch) den Port
* 6697 benutzt, hilft man mit, die Welt ein klein wenig zu standardisieren ;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* ACHTUNG: Wird der IRCd auf einer Shell mit verschiedenen IP's ausgeführt, kann
* die Fehlermeldung 'Address already in use' ('Adresse wird schon benutzt')
* in den Logfiles auftauchen und der IRCd startet nicht.
* Das bedeutet, dass man eine spezifische Adresse anstelle von '*' definieren
* MUSS, wie z.B.:
* listen 1.2.3.4:6667;
* Es sollte klar sein, dass die IP durch die zu ersetzen ist, die einem
* zugewiesen ist.
*/
/*
* NEU: link {}
* ALT: C/N:Lines
* Hiermit wird ein okay für eine Server Verbindung festgelegt.
* ACHTUNG: BEIDE SERVER MÜSSEN EINE LINK {} EINSTELLUNG HABEN, UM KORREKT ZU VERBINDEN!
* Syntax ist wie folgt:
* link (server name)
* {
* username (username, * funktioniert auch);
* hostname (ip Nummer/Hostmaske);
* bind-ip (Welche IP soll zum Verbinden benutzt werden, oder *);
* port (Port, zu dem verbunden werden soll);
* hub (Wenn dies ein Hub ist, funktioniert * , oder Servermasken);
* [oder leaf *;]
* password-connect "(Passwort zu senden)";
* password-receive "(Passwort, welches wir emfangen sollten)";
* class (Klasse, in die Server sollen);
* options {
* (options hier*);
* };
* // Wird SSL benutzt, kann bestimmt werden, welche Verschlüsselung im SSL
* // Modus zu benutzen ist
* // Bei mehreren "openssl ciphers" sind die einzelnen Verschlüsselungen
* // durch ':' zu trennen
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
options:
OLD | NEW
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link hub.mynet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Achtung: autoconnect sollte nicht benutzt werden, wenn man Services linkt */
autoconnect;
ssl;
zip;
};
};
/*
*
* NEU: ulines {}
* ALT: U:Line
* U-lines geben Servern mehr Möglichkeiten/Befehle, sie sollten NUR für Services/Stats
* gesetzt werden und NIEMALS für normale UnrealIRCd Server!
* Syntax ist wie folgt:
* ulines {
* (server to uline);
* (server to uline);
* [etc]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* NEU: drpass {}
* ALT: X:Line
* Hiermit werden die Passworte für /die und /restart festgelegt.
* Syntax ist wie folgt:
* drpass {
* restart "(Passwort für Restart)";
* die "(Passwort für die (die = 'sterben' = Abschaltung))";
* };
*/
drpass {
restart "I-love-to-restart";
die "die-you-stupid";
};
/*
* NEU: log {} ALT: N/A Festlegung von Namen und Speicherort der Logfiles. Man kann
* beliebig viele festlegen.
*
* FLAGS: errors, kills, tkl, connects, server-connects, oper
*
* Syntax:
* log "log file"
* {
* flags
* {
* flag;
* flag;
* etc..
* };
* };
*/
log "ircd.log" {
/* Lösche das Logfile und starte ein neues, wenn 2MB erreicht wurden,
nichts festlegen, wenn man immer das gleiche Log will */
maxsize 2097152;
flags {
oper;
kline;
connects;
server-connects;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* NEU: alias {}
* ALT: N/A
* Hier kann man Befels Aliasse festlegen, wie z.B. /nickserv, /chanserv usw.
* FLAGS: services, stats, normal
*
* Syntax:
* alias "name" {
* target "points to";
* type aliastype;
* };
*
* [ACHTUNG: Mann kann hier auch eine Datei mit vordefinierten Aliassen per include
* einfügen. Siehe auch: doc/unreal32docs.html Abschnitt 2.9]
*/
// Hiermit wird der Befehl /nickserv an den User NickServ geleitet, welcher zur Einstellung set::services-server server verbunden ist
/*alias NickServ {
target "NickServ";
type services;
};*/
// Soll der Befehl auf denselben Nick wie das der Befehl leiten, kann man den Nick auslassen
//alias ChanServ { type services; };
// leitet den /statserv Befehl an den User StatServ aus set::stats-server server
//alias StatServ { type stats; };
// leitet den /superbot Befehl an den User SuperBot
//alias SuperBot { type normal; };
/* Standard Aliasse */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* NEU: alias {}
* ALT: N/A
* Hier können Befehls Aliase, wie z.B.: /identify, /services, usw festgelegt werden.
*
* Syntax:
* alias "name" {
* format "format string" {
* target "zeigt auf";
* type aliastype;
* parameters "zu sendende Parameter";
* };
* type command;
* };
*/
/* Die nachfolgenden Zeilen eigens deshalb, um zu zeigen, dass trotz gleichem Namens die vorherige Anweisung
* völlig unterschiedlich in der Syntax ist, obwohl eine ähnliche Funktion unterstützt wird.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* Die alias::format Anweisung ist ein regulärer Ausdruck. Das erste Format passt auf den /identify Befehl,
* wenn das erste Zeichen ein # ist. Dann wird dies an den chanserv alias mit dem Parameters IDENTIFY
* %1- übergeben. Das zweite Format passt auf den /identify Befehl, wenn das erste Zeichen kein # ist. Danach
* wird der Befehl an den nickserv alias mit den Parameters IDENTIFY %1- geleitet.
*/
/* Die alias::format::parameters Scripting Sprachen ähnlich. %N (wobei N einen Nummer ist) repräsentiert einen
* Parameter, der an den Befehl (in diesem Fall /identify) zu senden ist. Wird %N- angegeben, bedeutet dies
* alle Parameter vom N bis zum letzten Parameter des Strings. Man kann ebenso %n angeben, welches durch den
* Nicknamen des users ersetzt wird.
*/
/* Standard Aliasse */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/*
* NEU: tld {}
* ALT: T:Line
* Hiermit werden unterschiedliche motd und rules Dateien in Abhängigkeit
* von der Hostmaske des Clients eingestellt.
* Syntax ist wie folgt:
* tld {
* mask (ident@host);
* motd "(motd file)";
* rules "(rules file)";
* };
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* zu beachten: Will man nur die default motd/rules Dateien (ircd.motd, ircd.rules)
* für jedermann benutzen, genügt es, den obigen Beispiel Block einfach zu löschen.
*/
/*
* NEU: ban nick {}
* ALT: Q:Line
* Bannt einen Nicknamen, so dass dieser nicht benutzt werden kann.
* Syntax ist wie folgt:
* ban nick {
* mask "(nick to ban)";
* reason "(reason)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reserviert für Services";
};
/*
* NEU: ban ip {}
* ALT: Z:Line
* Bannt eine IP, so dass diese nicht mehr zum Netzwerk verbinden kann.
* Syntax:
* ban ip { mask (ip Nummer/Hostmaske); reason "(Grund)"; };
*/
ban ip {
mask 195.86.232.81;
reason "Server nicht mehr gelinkt";
};
/*
* NEU: ban server {}
* ALT: Server Q:Line
* Nimmt einem Server die Möglichkeit, zum Neztwerk zu verbinden.
* Wenn der Server zu einem anderen Server des Netzwerkes linkt, wird der
* lokale server die Verbindung zum Netzwerk trennen.
* Syntax ist wie folgt:
* ban server {
* mask "(Server Name)";
* reason "(angegebener Grund)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Hau ab hier.";
};
/*
* NEU: ban user {}
* ALT: K:Line
* Bewirkt, dass ein User mit einer bestimmten Maske nicht mehr zum Server verbinden kann.
* Syntax:
* ban user { mask (Hostmaske/ip Nummer); reason "(Grund)"; };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason "Idiot";
};
/*
* NEU: ban realname {}
* ALT: n:Line
* Verhindert, dass ein bestimmter Realname benutzt werden kann.
* Syntax:
* ban realname {
* mask "(Realname)";
* reason "(Grund)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* Sämtliche Banns dürfen durch zusätzliche Einträge wiederholt werden!
*
* NEU: except ban {}
* ALT: E:Line
* Diese Maske ist von Banns ausgenommen.
* Syntax:
* except ban { mask (ident@host); };
* except ban {} kann so oft angegeben werden, wie man für verschiedene Hosts will.
*/
except ban {
/* don't ban stskeeps */
mask *stskeeps@212.*;
};
/*
* NEU: deny dcc {}
* ALT: dccdeny.conf
* Mit diesem Block können dcc send's geblockt werden... Gut, um Viren aufzuhalten.
* Syntax:
* deny dcc
* {
* filename "zu sperrende Datei(ie, *exe)";
* reason "Grund";
* };
*/
deny dcc {
filename "*sub7*";
reason "Möglicherweise Sub7 Virus";
};
/*
* NEU: deny channel {}
* ALT: N/A (NEW)
* Verhindert, dass angegebene Channels benutzt werden können.
* Syntax:
* deny channel {
* channel "(channel)";
* reason "Grund";
* };
*/
deny channel {
channel "*warez*";
reason "Warez sind illegal";
};
/*
* NEU: vhost {}
* ALT: Vhost.conf file
* Setzt eine Fake IP für Nicht-Opers, oder opers, die zu bequem für /sethost sind.... :P
* Syntax:
* vhost {
* vhost (vhost.com);
* from {
* userhost (ident@host um die Nutzung zu gestatten);
* };
* login (Loginname);
* password (Passwort);
* };
* um den vhost zu nutzen, mache /vhost (login) (password) im IRC
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Man kann hier weitere Config Dateien einfügen */
/* include "klines.conf"; */
/* Network configuration */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Cloak keys müssen angegeben sein und sie müssen die selben auf allen Servern
* im Netzwerk sein. Sie werden zur Generierung der maskierten Hosts verwendet
* und sie sollten geheim gehalten werden.
* Die Keys sollten 3 zufällige Strings von 5-100 Zeichen Länge sein (10-20 Zeichen
* (sind ganz ok) und müssen aus Kleinbuchstaben(a-z), Großbuchstaben (A-Z) und
* Ziffern (0-9) bestehen [wie im ersten Key Beispiel].
* TIPP: Auf *NIX, kann man in der Shell './unreal gencloak' aufrufen und durch
* Unreal 3 Zufalls Stings erzeugen und anzeigen lassen.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"und noch einer";
"und noch einer";
};
/* on-oper Host */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Server spezifische Configuration */
set {
kline-address "setze.diese.email";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {
hide-ulines;
/* Man kann hier ident checking aktivieren, wenn man will */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* Die Mindestzeit, die ein User verbunden sein muss, bevor er eine QUIT Meldung
* senden darf (Das wird offentlich helfen, Spam zu verhindern) */
anti-spam-quit-message-time 10s;
/* Macht die Meldung statisch, die in allen Quit Meldungen angezeigt wird.
Somit sind keine individuellen Quts auf dem lokalen Server mehr erlaubt */
/* static-quit "Client quit"; */
/* Man kann auch sämtliche Part Meldungen blocken, indem man dies auskommentiert
* und 'yes' sagt oder einen anderen Text angibt (z.B. "Bye bye!")
/* static-part yes; */
/* Hiermit kann man bestimmte stats auf ausschliesslich Opers beschränken. Für
* alle Stats kann man * benutzen. Wenn man es weglässt, können alle User alle
* Stats abfragen. Eine vollständige Liste erhält man mit dem Befehl '/stats'.
* Manche Admins entfernen 'kGs' und erlauben so normalen Usern die Anzeige von
* klines, glines and shuns.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Throttling: Dieses Beispiel setzte ein Limit von 3 Verbindungen je 60s (pro Host). */
throttle {
connections 3;
period 60s;
};
/* Anti Flood Schutz */
anti-flood {
nick-flood 3:60; /* 3 Nickänderungen pro 60 Sekunden (Default) */
};
/* Spam Filter */
spamfilter {
ban-time 1d; /* Default Dauer eines *line Banns durch Spamfilter */
ban-reason "Spam/Belästigung"; /* default Grund */
virus-help-channel "#help"; /* Channel, der für die 'viruschan' action benutzt wird*/
/* except "#help"; Channel, der von Filtern ausgenommen wird */
};
};
/*
* Probleme? Weitere Hilfe nötig?
* 1) www.vulnscan.org/UnrealIrcd/unreal32docs.html
* 2) www.vulnscan.org/UnrealIrcd/faq/ <- enthält 80% deiner Fragen - Wetten Dass?
* 3) Hat man dann noch Probleme, kann man den Chat bei irc.unrealircd.org
* #unreal-support aufsuchen. Achtung, wir setzen voraus, dass zuvor die
* DOKU GELESEN WURDE (genauso, wie die FAQ!)!
*/
+842
View File
@@ -0,0 +1,842 @@
/*
* example.conf por Danial Hawton, alias Osiris (osiris@unrealircd.org).
* Traducido al castellano por Severus_Snape (javiersnape@gmail.com).
*
* Funciona desde Unreal3.2.x
*
* Ok. Este es el nuevo example.conf. Es muy similar a C++.
* De todas formas lleva tiempo hacer esto. En un principio, es dificil de comprender pero
* con un poco de práctica y lectura lo comprenderás.
*
* Simplemente copia este archivo al directorio principal de unrealircd y cambiale el nombre a 'unrealircd.conf'.
*
* NOTA: Todas las líneas, a excepción de la línea de apertura ( { ) terminan en ;, incluyendo la
* línea de cierre ( } ). El IRCd ignorará las lineas comentadas.
*
* ¡POR FAVOR LEE doc/unreal32docs.es.html! La versión online esta disponible en:
* www.vulnscan.org/UnrealIRCd/unreal32docs.es.html
* Contiene mucha información acerca del archivo de configuración: Da información acerca de
* cada bloque, variable, etc.
* ¡Si intentas editar este archivo sin leer bien la documentación
* estas destinado a fallar!
*/
/* Tipos de Comentarios */
#Comentario tipo 1 (Estilo Shell)
// Comentario tipo 2 (Estilo C++)
/* Comentario tipo 3 (Estilo C) */
#Estas líneas son ignoradas por el IRCd.
/*
* UnrealIRCd soporta módulos, cargar algunos de ellos es requerido.
* Al menos debes cargar el módulo de los comandos y un módulo de cifrado (cloaking).
*/
/* PARA *NIX, descomenta las siguientes 2 líneas: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* PARA Windows, descomenta las siguientes 2 líneas: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Además pudes incluir otros archivos de configuración.
* help.conf contiene todo el contenido de /helpop. Los archivos badwords.*.conf
* contienen todas las entradas de badwords para el modo +G...
* spamfilter.conf contiene algunas buenas reglas para los troyanos actuales.
* Probablemente quieres incluirlos:
*/
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* NUEVO: me {}
* VIEJO: M:Line
* me {} define el nombre, la descripción y el número de servidor
* para este server. La Sintaxis es:
* me {
* name "nombre.del.servidor";
* info "Descripción del Servidor";
* numeric (número del servidor*);
* };
* * = Si estas enlazando este server, el número no debe ser usado por otro server en la red.
*/
me
{
name "irc.foonet.com";
info "FooNet Server";
numeric 1;
};
/*
* NUEVO: admin {}
* VIEJO: A:Line
* /Admin te da la información acerca del administrador del servidor. Tu
* puedes poner cuantas líneas quieras debajo de admin {.
* La sintaxis es:
* admin {
* "primera línea";
* "segunda línea";
* [etc]
* };
*/
admin {
"Bob Smith";
"bob";
"widely@used.name";
};
/*
* NUEVO: class {}
* VIEJO: Y:line (old was confusing)
* Esto define la configuración para las clases. Una clase es una configuración en grupo para las
* conexiones. Por ejemplo, las conexiones de los servidores, en vez de ir a la clase de los clientes.
* la diriges a la clase de servidores. La sintaxis es la siguiente:
* class (nombre de la clase)
* {
* pingfreq (que tan seguido pingueara a el servidor/cliente en segundos);
* maxclients (cuantas conexiones para esta clase);
* sendq (cola máxima de envios para la conexión);
* recvq (cola máxima de mensajes recibidos desde la conexión [Control de Flood]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Cantidad máxima de servers que podemos enlazar a la vez */
sendq 1000000;
connfreq 100; /* Cuentos segundos entre cada intento de conexión */
};
/*
* NUEVO: allow {}
* VIEJO: I:Line
* Esto define los permisos de las conexiones...
* Fundamentalmente para los clientes, les permite conectarse así tu puedes tener un poco de
* control y/o poner una contraseña.
* La sintaxis es la siguiente:
* allow {
* ip (IP/IPs a permitir);
* hostname (nombre de host);
* class (clase asignada a esta conexión [ver class {}]);
* password "(contraseña)"; (opcional)
* maxperip (cuantas conexiones por IP); (opcional)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* allow {} con contraseña */
allow {
ip *@255.255.255.255;
hostname *@*.gente.fea.con.clave;
class clients;
password "f00Ness";
maxperip 1;
};
/*
* NUEVO: allow channel {}
* VIEJO: chrestrict
* Permite a un usuario unirse a un canal...
* como una expeción de deny channel.
* Sintaxis:
* allow channel {
* channel "#nombredelcanal";
* };
*/
allow channel {
channel "#WarezApestan";
};
/*
* NUEVO: oper {}
* VIEJO: O:Line
* Define a un Operador de IRC
* Los Operadores de IRC estan para mantener al servidor "sano" y usualmente
* mantenerlo y tenerlo conectado a la red.
* La sintaxis es la siguiente:
* oper (login) {
* class (clase para ponerlos, si es difirente de la que esta en allow {], los mueve a la nueva clase);
* from {
* userhost (ident@host);
* userhost (ident@host);
* };
* flags
* {
* (las flags aqui*);
* };
* O
* flags "flags antiguas como, OAaRD";
* };
*/
/* Para una lista de banderas de operador, lea doc/unreal32docs.es.html#operblock
* [lectura ALTAMENTE recomendada]
*/
oper bobsmith {
class clients;
from {
userhost bob@smithco.com;
};
password "f00";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* NUEVO: listen {}
* VIEJO: P:Line
* Esto define el puerto/IP a el que el IRCd debe escuchar y unirse, esto
* permite a los usuarios/servidores conectarse al servidor.
* La sintaxis es:
* listen (Dirección IP):(número de puerto)
* {
* options {
* (opciones aqui);
* };
* };
* o simplemente
* listen: listen (ip):(puerto);
*
* NOTA: para IPs IPv6 (3ffe:b80:2:51d::2, etc.), use listen [ip]:puerto;
*
* Eso también funciona.
*/
/* Opciones para listen {}:
VIEJAS | NUEVAS | SIGNIFICADO
S serversonly Sólo Servidores
C clientsonly Sólo Clientes
J java Sólo Clientes Java
s ssl Conexion Cifrada (SSL)
* standard Standard
*/
/* NOTA EN PUERTOS SSL: Los puertos SSL no están estandarizados,
* muchos puertos SSL estan en números muy altos, algunas personas dicen que deberias hacerlo
* en el puerto 994 por que ese es el puerto SSL oficial... ¡pero eso
* requiere acceso root! Además, el puerto 194 es el puerto oficial de IRC... y
* has visto alguna vez ver un IRCd corriendo en ese puerto? Usan el 6667.
* Asi que, nuestra sugerencia es que uses el puerto 6697 para SSL, ese puerto es usado por
* una cantidad de redes decente y es reconozido por ejemplo: por StunTour.
* Además eres libre de abrir cuantos puertos SSL quieras, pero
* correr uno en 6697 ayudaría al mundo a estandarizarlo un poco mas :).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* NOTA: Si estas en shell IRCd con multiples IPs, normalmente
* obtendras un error como 'La dirección ya esta en uso/Address already in use' en tus logs
* y el IRCd no iniciará. Esto significa que tu DEBES unir el IRCd
* a una IP específica en vez de '*', por ejemplo:
* listen 1.2.3.4:6667;
* Obviamente, reemplaza esa IP con la IP que se te fue asignada.
*/
/*
* NUEVO: link {}
* VIEJO: C/N:Lines
* Esto define los enlazes entre servidores.
* NOTA: ¡LOS DOS SERVIDORES NECESITAN UN BLOQUE LINK {} PARA ENLAZARSE BIEN!
* La sintaxis es:
* link (nombre.del.servidor)
* {
* username (nombre de usuario, * también funciona);
* hostname (dirección IP/máscara de host);
* bind-ip (A que IP unirse cuando se estan enlazando, o *);
* port (Puerto al cual conectarse);
* hub (Si esto es un hub, * funciona.);
* [o leaf *;]
* password-connect "(contraseña a enviar)";
* password-receive "(contraseña que deberiamos)";
* class (Clase a donde dirigir los servers);
* options {
* (las opciones van aqui*);
* };
* // Si tu uses SSL, debes escoger que cifrado usar en el modo SSL
* // Obtiene una lista con "openssl ciphers", separa los métodos de cifrados con ":"
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
opciones:
VIEJAS | NUEVAS | SIGNIFICADO
S ssl Usar SSL
Z zip Comprimir los datos enviados.
N/A autoconnect su servidor intentará conectar automáticamente.
El tiempo usado entre intentos es el que especificó en class::connfreq
(se recomienda para un sólo lado, de leaf a hub)
N/A quarantine Aislar
N/A nodnscache No usar Caché DNS (Muy útil para DDNS)
*/
link hub.mynet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Nota: No deberias usar autoconnect cuando conectas servicios */
autoconnect;
ssl;
zip;
};
};
/*
*
* NUEVO: ulines {}
* VIEJO: U:Line
* Las ulines {} le dan a los servidores mas poder/comandos, ¡esto SOLO debe ser usado
* para los servidores de servicios/estadísticas y NUNCA para servidores UnrealIRCd normales!.
* (Para un buen funcionamiento, todos los servidores deberían tener los mismos U:Lines)
* La Sintaxis es la siguiente:
* ulines {
* (servidor a ulinear);
* (servidor a ulinear);
* [etc]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* NUEVO: {}
* VIEJO: X:Line
* Esto define las contraseñas para /die y /restart.
* La sintaxis es:
* drpass {
* restart "(contraseña para reiniciar)";
* die "(contraseña para matar al IRCd)";
* };
*/
drpass {
restart "amo-reiniciar";
die "muere-inepto";
};
/*
* NUEVO: log {}
* VIEJO: N/A
* Le dice al IRCd donde y que loguear. Puedes tener cuantos tu quieras.
*
* FLAGS: errors, kills, tkl, connects, server-connects, oper
*
* Sintaxis:
* log "archivo.log"
* {
* flags
* {
* flag;
* flag;
* etc...
* };
* };
*/
log "ircd.log" {
/* Borra el archivo e inicia uno nuevo cuando logre 2MB, no uses esto para siempre usar el mismo log */
maxsize 2097152;
flags {
oper;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* NUEVO: alias {}
* VIEJO: N/A
* Esto te permite hacer aliases de comandos como /nickserv, /chanserv, etc.
* FLAGS: services, stats, normal
*
* Sintaxis:
* alias "nombre" {
* target "apunta a";
* type aliastype;
* };
*
* [NOTA: Tu también puedes usar un archivo de aliases-predefinidos, lea doc/unreal32docs.es.html sección 2.9]
*/
// Esto apunta el comando a /nickserv a el usuario NickServ el cual esta conectado con el servidor de set::services-server.
/*alias NickServ {
target "NickServ";
type services;
};*/
// Si tu quieres el comando que apunta al el mismo nick que el comando, puedes dejar la entrada "nick" vacia.
//alias ChanServ { type services; };
// Apunta el comando /statserv a el usuario StatServ en el servidor set::stats-server.
//alias StatServ { type stats; };
// Apunta el comando /superbot a el usuario SuperBot
//alias SuperBot { type normal; };
/* Aliases Standard */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* NUEVO: alias {}
* VIEJO: N/A
* Esto te permite configurar aliases de comandos como /identify, /services, etc.
*
* Sintaxis:
* alias "nombre" {
* format "Formato de la Cadena" {
* target "apunta a";
* type tipodealias;
* parameters "parametros a enviar";
* };
* type command;
* };
*/
/* Esto es mostrado separadamente por que hasta tiene el mismo nombre que la directiva anterioir as, es muy diferente en sintaxis,
* pero provee una función muy similar.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* La directiva alias::format es una expresión regular. El primer formato coincide con el comando /identify cuando
* el primer carácter es #. Luego pasa esto a ChanServ con los parámetros IDENTIFY
* %1-. El segundo formato coincide con /identify cuando el primer caracter no es un #. Entonces
* el comando pasa a nickserv con los parámetros IDENTIFY %1-.
*/
/* El alias::format::parameters es similar a los lenguajes de scripting. %N (donde N es un número) representa el
* parámetro enviado al comando (en este caso, /identify). Si especificas %N- significa "todos los parámetros desde
* N hasta el último parámetro en la cadena". También puedes especificar %n que es reemplazado por el nick del usuario.
*/
/* Aliases Standard */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* Este es un ejemplo de un alias de comando real */
/* Esto redirije /GLINEBOT a /GLINE <parámetro> Los Bots 2D... */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 Los Bots 2D no están permitidos en este servidor, para mas información lea la faq en http://www.ejemplo.com/faq/123";
};
type command;
};
/*
* NUEVO: files {}
* VIEJO: include/config.h
*
* Este bloque se sobrepone con el dirctorio principal del IRCd para cargar cosas
* como el MOTD, el PIPfile, o escribir/cargar el tunefile. La
* existencia de este bloque permite una instalación de UnrealIRCd a
* soportar múltiples instancias corriendo cuando es combinado con la opción -c
* en la línea de comandos.
*
* Usualmente. Los directorios relativos son interpretados relativamente a el directorio
* donde UnrealIRCd encuentra unrealircd.conf si -c -no-
* es especificado en la línea de comandos.
*/
files
{
/* El Mensaje del Dia (MOTD - Message of the Day) mostrado a los usuarios que se conectan: */
/* motd ircd.motd; */
/*
* Un MOTD corto. Si el archivo existe, sera mostrado a
* el usuario en vez del MOTD. Los usuarios todavia podrán ver el
* MOTD completo usando el comando /MOTD.
*/
/* shortmotd ircd.smotd; */
/* Mostrado cuando un operador usa /OPER y se loguea exitosamente. */
/* opermotd oper.motd; */
/* El MOTD de los Servicios. */
/* svsmotd ircd.svsmotd; */
/* El MOTD de los Bots */
/* botmotd bot.motd; */
/* Las reglas que se muestran al usar /RULES */
/* rules ircd.rules; */
/*
* Donde el IRCd guarda y carga algunos parámetros que deberían
* ser persistentes entre reinicios del servidor. Debe apuntar a un
* archivo existente el cual el IRCd tiene permiso para alterarlo o un
* archivo en una carpeta donde el IRCd puede crear archivos.
*/
/* tunefile ircd.tune; */
/* Donde guardar el PID del IRCd. Debería ser modificable por el IRCd. */
/* pidfile ircd.pid; */
};
/*
* NUEVO: tld {}
* VIEJO: T:Line
* Esto configura MOTDs y RULES distintos
* dependiendo en la máscara de host del cliente.
* La sintaxis es:
* tld {
* mask (ident@host);
* motd "(archivo-motd)";
* rules "(archivo-rules)";
* };
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* NOTA: tu puedes simplemente borrar el bloque de ejemplo aqui arriba,
* en ese caso los MOTD/RULES normales (ircd.motd, ircd.rules)
* serán usados para todos.
*/
/*
* NUEVO: ban nick {}
* VIEJO: Q:Line
* Banea a un nick, así no puede ser usado.
* La sintaxis es la siguiente:
* ban nick {
* mask "(nick a banear)";
* reason "(rasón)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reservado para los Servicios";
};
/*
* NUEVO: ban ip {}
* VIEJO: Z:Line
* Banea una IP de conectarse a la red.
* Sintaxis:
* ban ip { mask (ip/hostmask); reason "(rasón)"; };
*/
ban ip {
mask 195.86.232.81;
reason "Servidor delinkeado";
};
/*
* NUEVO: ban server {}
* VIEJO: Server Q:Line
* Prohibe a un servidor de conectarse a la red.
* Si el servidor se linkea a un servidor remoto, el servidor local
* se desconectará de la red.
* La sintaxis es la siguiente:
* ban server {
* mask "(nombre.del.servidor)";
* reason "(Rasón)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Fuera de aca.";
};
/*
* NUEVO: ban user {}
* VIEJO: K:Line
* Esto hace que un usuario con una máscara de host determinada no se pueda conectar
* a tu servidor.
* Sintaxis:
* ban user { mask (hostmask/ip); reason "(rasón)"; };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason "Idiota";
};
/*
* NUEVO: ban realname {}
* VIEJO: n:Line
* Este bloque banea a un determinado realname (nombre real) de ser usado.
* Sintaxis:
* ban realname {
* mask "(nombre real)";
* reason "(rasón)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* NOTA PARA TODOS LOS BANS, puedes repetirlos para agregar mas!
*
* NUEVO: except ban {}
* VIEJO: E:Line
* Eso hace que no puedas ser baneado.
* Sintaxis:
* except ban { mask (ident@host); };
* Repite el except ban {} cuantas veces quieras
* para diferentes bans.
*/
except ban {
/* no banees a stskeeps */
mask *stskeeps@212.*;
};
/*
* NUEVO: deny dcc {}
* VIEJO: dccdeny.conf
* Use este block para denegar DCC SENDs...
* detiene a los virus mejor.
* Sintaxis
* deny dcc
* {
* filename "(archivo a bloquear (por ejemplo: *.exe"));
* reason ("rasón");
* };
*/
deny dcc {
filename "*sub7*";
reason "Posiblemente un virus Sub7";
};
/*
* NUEVO: deny channel {}
* VIEJO: N/A (NUEVO)
* Esto bloquea canales de ser creados.
* Sintaxis:
* deny channel {
* channel "(canal)";
* reason "rasón";
* };
*/
deny channel {
channel "*warez*";
reason "El Warez es ilegal";
};
/*
* NEW: vhost {}
* OLD: Vhost.conf file
* Setea una IP para los no-operadores, o
* para opers muy flojos para hacer /sethost :P
* Sintaxis:
* vhost {
* vhost (vhost.com);
* from {
* userhost (ident@host.a.permitir.usar.el.vhost);
* };
* login (nombre del login);
* password (contraseña);
* };
* para usar este vhost, usa /vhost (login) (contraseña) en IRC
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Puedes incluir otros archivos de configuración */
/* include "klines.conf"; */
/* Configuración de la red */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Las llaves de cifrado (cloak keys) deberían ser las mismas en toda la red.
* Son usadas para generar hosts "enmascarados" y mantenerlos secretos.
* Las llaves deben ser 3 cadenas aleatorias de 5 a 100 carácteres
* (de 10 a 20 es aceptable también) y deben tener una minúscula (a-z),
* mayúscula (A-Z) y dígitos (0-9) [mira el ejemplo de la primera llave].
* CONSEJO: En *NIX puedes ejecutar './unreal gencloak' en tu shell para hacer que
* Unreal genere tres cadenas aleatorias por ti.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"and another one";
"and another one";
};
/* host para los operadores */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Configuración específica del servidor */
set {
kline-address "configura.este@email";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {
hide-ulines;
/* Puedes habilitar el chequeo de ident si quieres*/
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* El tiempo mínimo que un usuario debe estar conectado antes de usar un mensaje QUIT,
* Esto podria detener el spam */
anti-spam-quit-message-time 10s;
/* Hace que el mensaje en static-quit se muestr en todos kis quits - significando que
no se permiten quits personalizados en este servidor */
/* static-quit "El Cliente se desconectó"; */
/* También puedes bloquear todas las razones de part, descomentando el siguiente comentario y poniendo 'yes',
* o especificar otro mensaje (ejemplo: "¡Adiós!") para usar siempre como razón. */
/* static-part yes; */
/* Esto permite que pudas hacer algunos comandos de /stats solo para uso de los operadores, use * para ocultar todos los stats,
* dejelo en blanco para permitir a los usuarios ver todos los /stats. Escriba '/stats' para una lista completa.
* Algunos administradores querrán remover los stats "kGs" para prohibir a los usuarios normales ver los
* klines, glines y shuns.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Regulación de Conexiones: este ejemplo setea un límite de 3 intentos de conexión cada 60 segundos (por host). */
throttle {
connections 3;
period 60s;
};
/* Protección anti-flood */
anti-flood {
nick-flood 3:60; /* 3 cambios de nick por cada 60 segunos (por defecto) */
};
/* Filtro de Spam */
spamfilter {
ban-time 1d; /* duración de un *line puesto por spamfilter (filtro de spam) */
ban-reason "Spam/Publicidad"; /* razón */
virus-help-channel "#help"; /* canal para usar para la acción "viruchan" */
/* exceptuar "#help"; el canal "#help" esta libre de filtro */
};
};
/*
* Problemas o necesitas mas ayuda?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.es.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ (en inglés)<- ¡contiene el 80% de tus preguntas!
* 3) Si sigues teniendo problemas, ve a irc.unrealircd.org #unreal-support,
* ¡nótese que NECESITAMOS que leas la DOCUMENTACIÓN y la FAQ antes de preguntarnos!
*/
+858
View File
@@ -0,0 +1,858 @@
/*
* example.conf par Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* Ancien traducteur français : babass
* Tradution française : Alef Burzmali - http://www.burzmali.com
* Dernière mise à jour : 2010-09-11
* $Id$
*
* Fonctionne pour Unreal3.2.x
*
* Okay les gars, voici la nouvelle version de l'example.conf. Cela ressemble plus à du C++.
* Peu importe, il est temps de se lancer. Il est difficile de l'attaquer pour la première fois, mais
* avec un peu d'expérience et de lecture vous comprendrez.
*
* Copiez juste ce fichier dans votre répertoire unrealircd principal et appellez le 'unrealircd.conf'.
*
* NOTE: Toutes les lignes, exceptées les ligne d'ouvertures { , se terminent par un ;, en particulier
* celles de fermeture }.
* L'IRCd ignorera les lignes commentées.
*
* LISEZ S'IL VOUS PLAIT doc/unreal32docs.fr.html !
* La version en ligne est aussi disponible à : http://www.unrealircd.com/files/docs/unreal32docs.fr.html
* Elle contient beaucoup d'informations à propos du fichier de configuration : fournit des informations
* à propos de chaque bloc, variable, etc..
* Si vous essayez de modifier ce fichier sans avoir bien lu la documentation,
* vous êtes presque sûr de vous tromper.
*/
/* Type de commentaires */
#Commentaire type 1 (type Shell)
// Commentaire type 2 (style C++)
/* Commentaire type 3 (style C) */
# Toutes ces lignes sont ignorées par l'ircd.
/*
* UnrealIRCd supporte des modules et certains sont obligatoires.
* Vous aurez besoin au moins du module commands et du module cloaking.
*/
/* POUR *NIX, décommentez les 2 lignes suivantes : */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* POUR Windows, décommentez les 2 lignes suivantes : */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Vous pouvez également inclure d'autres fichiers de configuration.
* doc/help.fr.conf contient tout le texte de /helpop en français.
* help.conf contient la version anglaise.
* Les fichiers badwords.*.conf contiennent tous les badwords pour le mode +G...
* spamfilter.conf contient quelques bonnes règles pour les trojans courrants.
* Vous voudrez probablement les inclure:
*/
include "doc/help.fr.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* ACTUEL : me {}
* ANCIEN : M:Line
* me {} definit le nom, la description et l'identifiant numérique pour ce serveur.
* La syntaxe est la suivante :
* me {
* name "nom.du.serveur";
* info "Description du Serveur";
* numeric (numeric* serveur);
* };
* En cas de link, cet identifiant ne peut être utilisé pour aucun autre serveur du réseau.
*/
me
{
name "irc.foonet.com";
info "FooNet Server";
numeric 1;
};
/*
* ACTUEL : admin {}
* ANCIEN : A:Line
* Admin donne des informations sur les server admins.
* Vous pouvez mettre autant de lignes que vous voulez après admin {.
* La syntaxe est la suivante :
* admin {
* "première ligne";
* "deuxième ligne";
* [etc]
* };
*/
admin {
"Bob Smith";
"bob";
"widely@used.name";
};
/*
* ACTUEL : class {}
* ANCIEN : Y:line (l'ancien était déroutant)
* Définit les réglages pour les classes. Une classe est un groupe de réglages pour
* des connexions. Par exemple, pour les connexions serveurs, au lieu de passer par une classe
* client, vous utilisez directement une classe serveur. La syntaxe est la suivante :
* class (nom de la classe)
* {
* pingfreq (fréquence des pings utilisateurs/serveurs en secondes);
* maxclients (combien de connexions pour cette classe);
* sendq (file d'attente maximum pour l'envoie depuis une connexion);
* recvq (file d'attente maximum pour la réception depuis une connexion [contrôle du flood]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Nombre maximum de serveurs pouvant être reliés en même temps */
sendq 1000000;
connfreq 100; /* Combien de secondes entre chaque tentatives de connexions */
};
/*
* ACTUEL : allow {}
* ANCIEN : I:Line
* Définit les autorisations de connexions...
* Principalement pour les clients, cela leur permet de se connecter, vous pouvez donc avoir un certain
* contrôle et/ou mettre un mot de passe.
* La syntaxe est la suivante :
* allow {
* ip (ip mask à autoriser);
* hostname (host mask);
* class (classe à laquelle les renvoyer [voir class {}]);
* password "(mot de passe)"; (optionnel)
* maxperip (nombre de connexions par ip); (optionnel)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* connexion autorisée avec mot de passe */
allow {
ip *@255.255.255.255;
hostname *@*.passworded.ugly.people;
class clients;
password "f00Ness";
maxperip 1;
};
/*
* ACTUEL : oper {}
* ANCIEN : O:Line
* Définit un IRC Operateur
* Les IRC operateurs sont là pour préserver la qualité du serveur mais aussi d'en assurer
* la maintenance et sa connexion au réseau.
* La syntaxe est la suivante :
* oper (login) {
* class (classe à laquelle les associer, si différent du bloc allow, les déplace vers une nouvelle classe);
* from {
* userhost (ident@host);
* userhost (ident@host);
* };
* flags
* {
* (flags ici*);
* };
* OU
* flags "ancien type de flags, comme OAaRD";
* };
*/
/* Pour avoir la liste des flags oper, voir doc/unreal32docs.fr.html#operblock
* [lecture HAUTEMENT recommendée]
*/
oper bobsmith {
class clients;
from {
userhost bob@smithco.com;
};
password "f00";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* ACTUEL : listen {}
* ANCIEN : P:Line
* Définit un port à rattacher à l'ircd, pour autoriser
* des utilisateurs/serveurs à se connecter au serveur.
* La syntaxe est la suivante :
* listen (ip):(port)
* {
* options {
* (options ici);
* };
* };
* ou pour une écoute
* indifférente : listen (ip):(port);
*
* NOTICE : pour les ips ipv6 (3ffe:b80:2:51d::2 etc), utilisez listen [ip]:port;
*
* Cela fonctionne également.
*/
/* Options de listen:
ANCIEN | ACTUEL
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* NOTE SUR LES PORTS SSL: les ports SSL sont plutôt non standardisés,
* A côté des nombreux ports high-SSL, certaines personnes disent que vous devez
* l'utiliser sur le port 994 car c'est le port SSL officiel.. mais cela
* requière d'être root! D'un autre coté, le port 194 est le port irc officiel et
* avez vous déjà vu un ircd fonctionner sur celui-ci ?
* Donc, notre suggestion est d'utiliser le port 6697 pour le SSL, ceci est utilisé par
* beaucoup de réseaux et est reconnu par exemple par StunTour.
* Vous êtes libre d'ouvrir autant de ports SSL que vous le désirez mais
* en utilisant (au moins) 6697 vous aidez le monde à se standardiser un peu ;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* NOTE: Si vous êtes sur un shell avec de multiples IP vous êtes
* susceptibles d'avoir l'erreur 'Address already in use' (adresse déjà utilisée)
* dans vos logs et l'ircd refusera de démarer.
* Cela signifie que vous devrez utiliser une IP spécifique au lieu de '*',
* Donc par exemple :
* listen 1.2.3.4:6667;
* Evidemment, remplacez l'IP par celle qui vous a été assignée.
*/
/*
* ACTUEL : link {}
* ANCIEN : C/N:Lines
* Définit un accord pour la connexion d'un serveur.
* NOTE : CHACUN DES SERVEURS NECESSITE UN PARAMETRE LINK {} POUR SE CONNECTER CORRECTEMENT !
* La syntaxe est la suivante :
* link (nom du serveur)
* {
* username (username, * fonctionne aussi);
* hostname (ip/hostmask);
* bind-ip (IP à laquelle se relier lors de la connexion, ou *);
* port (port auquel se connecter, si il y en a un);
* hub (Si c'est un a hub, * fonctionne, ou les servermasks qu'il doit porter);
* [ou leaf *;]
* password-connect "(mot de passe à envoyer)";
* password-receive "(mot de passe que l'on doit recevoir)";
* class (classe à affecter aux serveurs);
* options {
* (options ici*);
* };
* // Si vous utilisez le SSL, vous pouvez choisir quel algorithme de hash utiliser dans le mode SSL
* // Utilisez la commande "openssl ciphers" pour obtenir la liste des algorithmes disponibles, séparez les par des ":"
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
options:
ANCIEN | ACTUEL
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link hub.mynet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Note : Vous ne devriez pas utiliser autoconnect lorsque vous linkez des services */
autoconnect;
ssl;
zip;
};
};
/*
*
* ACTUEL : ulines {}
* ANCIEN : U:Line
* Les U-lines donnent aux serveurs plus de pouvoir/commandes, ceci doit UNIQUEMENT être appliqué
* aux serveurs de services/stats et JAMAIS pour des serveurs UnrealIRCd normaux !
* La syntaxe est la suivante :
* ulines {
* (serveur auquel appliquer la uline);
* (serveur auquel appliquer la uline);
* [etc]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* ACTUEL : drpass {}
* ANCIEN : X:Line
* Défini les mots de passe pour les commandes /die et /restart.
* La syntaxe est la suivante :
* drpass {
* restart "(mot de passe pour relancer)";
* die "(mot de passe pour arrêter)";
* };
*/
drpass {
restart "I-love-to-restart";
die "die-you-stupid";
};
/*
* ACTUEL : log {}
* ANCIEN : N/A
* Dit à l'ircd où et quoi loguer. Vous pouvez en avoir
* autant que vous le souhaitez.
*
* FLAGS : errors, kills, tkl, connects, server-connects, oper
*
* Syntaxe :
* log "fichier de log"
* {
* flags
* {
* flag;
* flag;
* etc..
* };
* };
*/
log "ircd.log" {
/* Efface le fichier de log et commence un nouveau lorsqu'il dépasse 2MB,
retirez ceci pour toujour utiliser le même fichier de log */
maxsize 2097152;
flags {
oper;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* ACTUEL : alias {}
* ANCIEN : N/A
* Ceci vous permet de définir des alias pour les commandes telles que /nickserv, /chanserv etc
* FLAGS: services, stats, normal
*
* Syntaxe :
* alias "nom" {
* target "pointe vers";
* type typedalias;
* };
*
* [NOTE : Vous pouvez également inclure un fichier d'alias prédéfinis ici, voir
* doc/unreal32docs.fr.html section 2.9]
*/
// Ceci fait pointer la commande /nickserv vers l'utilisateur NickServ qui est connecté au serveur set::services-server
/*alias NickServ {
target "NickServ";
type services;
};*/
// Si vous voulez que la commande pointe vers le même nom que la commande, vous pouvez ignorez l'entré du nom
//alias ChanServ { type services; };
// Faire pointer la commande /statserv vers l'utilisateur StatServ sur le serveur set::stats-name
//alias StatServ { type stats; };
// Faire pointer la commande /superbot vers l'utilisateur SuperBot
//alias SuperBot { type normal; };
/* Alias Standards */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* ACTUEL : alias {}
* ANCIEN : N/A
* Ceci vous permet de définir des alias pour les commandes telles que /identify, /services, etc
*
* Syntaxe :
* alias "nom" {
* format "format string" {
* target "pointer vers";
* type typedalias;
* parameters "paramètres à envoyer";
* };
* type command;
* };
*/
/* Ceci est expliqué séparément car même si elle a le même nom que la directive précédente, elle est très
* différente dans sa syntaxe, bien qu'elle a une fonction similaire et dépend des alias standards pour
* fonctionner.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* La directive alias::format est une expression régulière. Le premier format correspond à la commande
* /identify command lorsque le premier caractère est un #. Cela renvoit donc à l'alias chanserv avec
* les paramètres IDENTIFY %1-. Le second format correspond à la commande /identify lorsque le premier
* caractère n'est pas un #. Cela envoie alors la commande à l'alias nickserv avec les paramètres
* IDENTIFY %1-.
*/
/* L'alias::format::parameters est similaire aux languages de programmation. %N (où N est un nombre)
* représente un paramètre envoyé à la commande (dans ce cas /identify). Si vous spécifiez %N- cela
* signifie que tous les paramètres depuis N jusqu'au dernier paramètre dans la chaîne de caractères.
* Vous pouvez également spécifier %n qui est remplacé par le pseudo de l'utilisateur.
*/
/* Alias Standards */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* Ceci est un exemple de véritable alias de commande*/
/* Ceci renvoye /GLINEBOT à /GLINE <parameter> 2d etc... */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Les bots ne sont pas permis sur ce serveur, lisez s'il-vous-plait la faq sur http://www.example.com/faq/123";
};
type command;
};
/*
* ACTUEL : files {}
* ANCIEN : include/config.h
*
* Ce bloc écrase les chemins utilisés par défaut par l'IRCd pour charger des choses
* comme le MOTD, enregistrer son PID ou écrire ou lire son fichier de sauvegarde (tunefile).
* L'existence de ce bloc permet à une installation de UnrealIRCd de supporter
* plusieurs instances tournant simultanément lorsque combinée à l'option de ligne
* de commande -c
*
* Comme d'habitude, les chemins relatifs sont interprétés à partir du répertoire
* dans lequel UnrealIRCd trouverait unrealircd.conf si -c N'est PAS spécifiée
* sur la ligne de commande.
*/
files
{
/* Le message du jour (Message Of The Day) affiché aux utilisateurs se connectant : */
/* motd ircd.motd; */
/*
* Un MOTD court. Si ce fichier existe, il sera affiché aux
* utilisateurs à la place du MOTD. Ceux-ci peuvent toujours voir
* le MOTD complet en utilisant la commande /MOTD
*/
/* shortmotd ircd.smotd; */
/* Affiché lorsqu'un opérateur utilise /OPER */
/* opermotd oper.motd; */
/* MOTD des services. */
/* svsmotd ircd.svsmotd; */
/* MOTD des bots */
/* botmotd bot.motd; */
/* Affiché par la commande /RULES */
/* rules ircd.rules; */
/*
* Fichier dans lequel l'IRCd sauvegarde et charge quelques valeurs qui devraient
* être conservées malgré les redémarrages du serveur. Doit pointer vers un fichier
* existant que l'IRCd peut modifier ou vers un fichier dans un dossier dans
* lequel l'IRCd peut créer des fichiers.
*/
/* tunefile ircd.tune; */
/* Fichier dans lequel l'IRCd stocke son pid. L'IRCd doit pouvoir le modifier. */
/* pidfile ircd.pid; */
};
/*
* ACTUEL : tld {}
* ANCIEN : T:Line
* Ceci applique un MOTD et des fichiers de règles différents
* en fonction de l'hostmask des clients.
* La syntaxe est la suivante :
* tld {
* mask (ident@host);
* motd "(motd file)";
* rules "(rules file)";
* };
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* Note : vous pouvez juste effacer le bloc d'exemple ci-dessus,
* auquel cas les fichiers motd/règles par défaut (ircd.motd, ircd.rules)
* seront utilisés pour tout le monde.
*/
/*
* ACTUEL : ban nick {}
* ANCIEN : Q:Line
* Bannit un pseudo, il ne peut donc être utilisé.
* La syntaxe est la suivante :
* ban nick {
* mask "(pseudo à bannir)";
* reason "(raison)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reservé aux Services";
};
/*
* ACTUEL : ban ip {}
* ANCIEN : Z:Line
* Empêche une ip de se connecter au réseau.
* Syntaxe :
* ban ip { mask (ip/hostmask); reason "(raison)"; };
*/
ban ip {
mask 195.86.232.81;
reason "Serveur délinké";
};
/*
* ACTUEL : ban server {}
* ANCIEN : Server Q:Line
* Empêche un serveur de se connecter au réseau.
* Si le serveur est linké à un serveur distant, le serveur local
* sera déconnecté du réseau.
* La syntaxe est la suivante :
* ban server {
* mask "(nom du serveur)";
* reason "(raison à donner)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Va-t-en d'ici.";
};
/*
* ACTUEL : ban user {}
* ANCIEN : K:Line
* Fait qu'un utilisateur avec un certain masque ne peut se connecter
* à votre serveur.
* Syntaxe :
* ban user { mask (hostmask/ip); reason "(raison)"; };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason "Idiot";
};
/*
* ACTUEL : ban realname {}
* ANCIEN : n:Line
* Ceci empêche un certain realname d'être utilisé.
* Syntaxe :
* ban realname {
* mask "(realname)";
* reason "(raison)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* NOTE POUR TOUS LES BANS, ils peuvent être répetés pour ajouter des entrées !
*
* ACTUEL : except ban {}
* ANCIEN : E:Line
* Fait que vous ne pouvez être banni.
* Syntaxe :
* except ban { mask (ident@host); };
* Répétez l'except ban {} autant de fois
* que vous voulez pour différents hosts.
*/
except ban {
/* ne bannit pas stskeeps */
mask *stskeeps@212.*;
};
/*
* ACTUEL : deny dcc {}
* ANCIEN : dccdeny.conf
* Utilisez ceci pour bloquer l'envoi de dcc ...
* Utile pour bloquer les virus.
* Syntaxe :
* deny dcc
* {
* filename "fichier à bloquer (ex : *exe)";
* reason "raison";
* };
*/
deny dcc {
filename "*sub7*";
reason "Possible Sub7 Virus";
};
/*
* ACTUEL : deny channel {}
* ANCIEN : N/A (NEW)
* Ceci empêche des salons d'être joints.
* Syntaxe :
* deny channel {
* channel "(salon)";
* reason "raison";
* class "clients"; (optionnel)
* };
*/
deny channel {
channel "*warez*";
reason "Warez is illegal";
class "clients";
};
/*
* ACTUEL : allow channel {}
* ANCIEN : chrestrict
* Autorise un utilisateur à joindre un salon...
* comme une exception au deny channel.
* Syntaxe :
* allow channel {
* channel "nom du salon";
* class "clients"; (optionnel)
* };
*/
allow channel {
channel "#WarezSucks";
class "clients";
};
/*
* ACTUEL : vhost {}
* ANCIEN : Vhost.conf file
* Applique une ip factice aux non-opers, ou aux
* opers trop flemmards pour utiliser /sethost :P
* Syntaxe :
* vhost {
* vhost (vhost.com);
* from {
* userhost (ident@host à autoriser à utiliser);
* };
* login (login);
* password (mot de passe);
* };
* ensuite pour utiliser ce vhost, tapez /vhost (login) (mot de passe) sur l'IRC
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Vous pouvez utiliser d'autres fichiers de configuration */
/* include "klines.conf"; */
/* Configuration du réseau */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Les Cloak keys doivent être les mêmes sur tous les serveurs du réseau.
* Ils sont utilisés pour générer des hosts masqués et doivent être gardés secrets.
* Les clés doivent être 3 chaînes de 5-100 caractères melangés.
* (10-20 caractères est parfait) et elles doivent être constituées de minuscules (a-z),
* majuscules (A-Z) et chiffres (0-9) [voir le premier exemple de clé].
* Astuce : Sur *NIX, vous pouvez utiliser la commande './unreal gencloak' dans votre shell pour que
* Unreal génère 3 chaînes aléatoires pour vous.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"et une autre";
"et un autre";
};
/* host à l'identification oper */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Configuration spécifique d'un serveur */
set {
kline-address "définir.cet.email";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {
hide-ulines;
/* Vous pouvez enclencher la vérification des idents si vous voulez */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* Durée maximum pendant laquelle un utilisateur doit rester connecté avant de pouvoir utiliser
* un message de QUIT.
* Ceci devrait aider à stoper le spam */
anti-spam-quit-message-time 10s;
/* Applique le message de static-quit à tous les quits - cela signifie qu'aucun
message de quit personalisé ne sera autorisé sur le serveur local */
/* static-quit "Client quit"; */
/* Vous pouvez également bloquer toutes les raisons de part en décommentant ceci et en disant
* 'yes', ou spécifiez un autre texte (ex: "Bye bye!") pour qu'il soit toujours utilisé.. */
/* static-part yes; */
/* Vous permet de restreindre certaines stats aux opers, utilisez * pour toutes les stats,
* enlevez le pour autoriser les utilisateurs à voir toutes les stats. Tapez '/stats' pour
* une liste complète.
* Certains admins pourront vouloir bloquer 'kGs' pour que les utilisateurs normaux ne puissent
* lister les klines, glines et shuns.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Throttling: cet exemple applique une limite de 3 tentatives de connection en 60s (par host). */
throttle {
connections 3;
period 60s;
};
/* Protection Anti flood */
anti-flood {
nick-flood 3:60; /* 3 changements de pseudo en 60 secondes (la valeur par défaut) */
};
/* Filtre anti-spam */
spamfilter {
ban-time 1d; /* durée par défaut d'un ban *line appliqué par le spamfilter */
ban-reason "Spam/Advertising"; /* raison par défaut */
virus-help-channel "#help"; /* salon à utiliser pour l'action 'viruschan' */
/* excepté "#help"; salon à exempter de filtrage */
};
};
/*
* Problèmes ou besoin de plus d'aide ?
* 1) http://www.unrealircd.com/files/docs/unreal32docs.fr.html
* 2) http://www.vulnscan.org/UnrealIRCd/faq/ <- contient 80% de vos questions !
* 3) Si vous avez encore des problèmes vous pouvez aller sur irc.unrealircd.org #unreal-support,
* notez que vous devez avoir LU LA DOCUMENTATION ET LA FAQ d'abord !
*/
+875
View File
@@ -0,0 +1,875 @@
/*
* example.conf Daniel Hawton avagy Osiris jóvoltából (osiris@unrealircd.org).
* A magyar fordítást AngryWolf <angrywolf2009@gmail.com> készítette.
* $Id$
*
* Felhasználható Unreal3.2.x
*
* Oké, emberek! Ez az új példa konfiguráció. A kinézete nagyon hasonló
* a C++-hoz, olyasformán. Mindenesetre itt az ideje végigmennünk rajta. Eleinte
* nehéz nekilendülni, de kis gyakorlással és olvasgatással meg fogjuk érteni.
*
* Csak másoljuk be ezt a fájlt a fő unrealircd könyvtárunkba, és nevezzük
* 'unrealircd.conf'-nak.
*
* MEGJEGYZÉS: Minden sor, kivéve a nyitó { sort, ;-vel végződik, beleértve
* a záró } sort is. Az IRCd figyelmen kívül hagyja a megjegyzéssorokat.
*
* KÉRLEK, OLVASD EL A doc/unreal32docs.html-T! Az online verzió is elérhető
* a www.vulnscan.org/UnrealIRCd/unreal32docs.html címen.
* Rengeteg információt tartalmaz a konfigurációs fájlról: tájékoztatást ad
* minden blokkról, változóról stb.
* Ha megpróbálod szerkeszteni ezt a fájlt anélkül, hogy megfelelően elolvastad
* volna a dokumentációt, jó eséllyel kanyarodsz a biztos kudarc felé!
*/
/* Megjegyzések típusai */
#1. Megjegyzéstípus (Shell típusú)
// 2. Megjegyzéstípus (C++ stílusú)
/* 3. Megjegyzéstípus (C stílusú) */
#ezeket a sorokat az ircd figyelmen kívül hagyja.
/*
* Az UnrealIRCd támogat modulokat, néhányuk betöltése kötelező is.
* Legalább a parancsokat biztosító és egy álcázó modulra lesz szükségünk.
*/
/* *NIX-BAN vegyük ki a megjegyzésből a következő két sort: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* Windows-BAN vegyük ki a megjegyzésből a következő két sort: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Azt is megtehetjük, hogy befűzünk más konfigurációs fájlokat.
* A help.conf tartalmazza az összes /helpop szöveget. A badwords.*.conf
* fájlok tartalmazzák az összes csúnyaszó bejegyzést a +G módhoz...
* A spamfilter.conf néhány jó szabályt a jelenlegi trójai vírusokra.
* Valószínűleg be akarjuk tölteni őket:
*/
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* ÚJ: me {}
* RÉGI: M:Line
* A me {} határozza meg ennek a szervernek a nevét, a leírását és az unrealbeli
* szerverazonosító-számát. A szintaktikája a következő:
* me {
* name "szerver.név";
* info "A szerver leírása";
* numeric (szerverazonosító*);
* };
* Ha linkelünk, ezt az azonosítószámot nem használhatja semmilyen más szerver
* a hálózaton.
*/
me
{
name "irc.valaminet.com";
info "ValamiNet Szerver";
numeric 1;
};
/*
* ÚJ: admin {}
* RÉGI: A:Line
* Ez a blokk információt ad a szerver adminisztrátorairól. Annyi sort tehetünk
* az admin { alá, amennyit kívánunk.
* A szintaktikája a következő:
* admin {
* "első sor";
* "második sor";
* [stb]
* };
*/
admin {
"Bob Smith";
"bob";
"szeleskorben@hasznalt.nev";
};
/*
* ÚJ: class {}
* RÉGI: Y:line (a régi zavarbaejtő volt)
* Ezek az osztályokat állítják be. Az osztályok a kapcsolatok egy csoportjának
* beállításai. Például a szerver kapcsolatokat, ahelyett, hogy egy kliens
* osztályába kerülnének, beleirányítjuk a szerverek osztályába. Szintaktika:
* class (osztálynév)
* {
* pingfreq (hány másodpercenként pingeljünk egy felhasználót/szervert);
* maxclients (mennyi kapcsolat lehet ebben az osztályban);
* sendq (egy kapcsolat küldési sorának maximális mérete);
* recvq (egy kapcsolat fogadási sorának maximális mérete [árvízvédelem]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Legfeljebb ennyi szervert linkelhetünk egyszerre */
sendq 1000000;
connfreq 100; /* Ennyi másodpercet várjon, mielőtt újra kapcsolódik */
};
/*
* ÚJ: allow {}
* RÉGI: I:Line
* Ez a kapcsolatok engedélyezését határozza meg...
* Alapvetően kliensekre használjuk; megengedi nekik, hogy kapcsolódjanak, így
* némileg van lehetőség a szabályozásra, valamint jelszót is beállíthatunk.
* A szintaktika a következő:
* allow {
* ip (ip maszk az engedélyezéshez);
* hostname (gazdanév maszk);
* class (osztály, ahová küldjük őket [lásd: class {}]);
* password "(jelszó)"; (nem kötelező)
* maxperip (mennyi kapcsolatot engedjünk ip címenként); (nem kötelező)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* Jelszavas allow blokk */
allow {
ip *@255.255.255.255;
hostname *@*.jelszavas.csunya.emberkek;
class clients;
password "V4lami";
maxperip 1;
};
/*
* ÚJ: allow channel {}
* RÉGI: chrestrict
* Megengedi egy felhasználónak, hogy belépjen egy csatornára...
* mint egy csatornáról letiltás alóli kivétel.
* Szintaktika:
* allow channel {
* channel "csatornanév";
* class "clients"; (nem kötelező)
* };
*/
allow channel {
channel "#AWarezSzívás";
class "clients";
};
/*
* ÚJ: oper {}
* RÉGI: O:Line
* Definiál egy IRC operátort
* Az IRC operátorok feladata, hogy épségben tartsák a szervert; rendszerint
* ügyelnek a karbantartottságára és arra, hogy kapcsolatban maradjon
* a hálózattal. A szintaktika a következő:
* oper (bejelentkezőnév) {
* class (osztály, ahová berakjuk őket; ha eddig más osztályban voltak,
* átteszi őket ebbe az új osztályba);
* from {
* userhost (azonosító@gazdanév);
* userhost (azonosító@gazdanév);
* };
* flags
* {
* (flagek ide*);
* };
* VAGY
* flags "régi típusú flagek, mint pl. OAaRD";
* };
*/
/* Az oper flagek listáját lásd a doc/unreal32docs.hu.html#operblock szekcióban
* [ERŐSEN ajánlott elolvasni]
*/
oper bobsmith {
class clients;
from {
userhost bob@smithco.com;
};
password "f00";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* ÚJ: listen {}
* RÉGI: P:Line
* Meghatároz egy olyan portot, amelyet az ircd megnyit, és engedélyt ad
* a felhasználóknak/szervereknek, hogy kapcsolódjanak a szerverre.
* A szintaktika a következő:
* listen (ip cím):(portszám)
* {
* options {
* (opciók ide);
* };
* };
* vagy egy síma portnyitáshoz:
* listen (ip):(port);
*
* MEGJEGYZÉS: ipv6-os ip-kre (3ffe:b80:2:51d::2 stb.) használjuk a
* listen [ip]:port;
* szintaktikát. Az is működik.
*/
/* Opciók a listenhez:
RÉGI | ÚJ
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* MEGJEGYZÉS SSL PORTOKRA: az SSL portok eléggé szabványosítatlanok, emellett
* sok a magas SSL port. Néhányan azt mondják, a 994-en célszerű futtatni,
* mert az a hivatalos SSL port... de a rendszergazdát igényel! Ezenkívül,
* a 194 a hivatalos irc port, de láttunk valaha egy ircd-t azon futni?
* Így mi a javaslatunk az, hogy használjuk a 6697-et SSL-hez, ezt használja
* jónéhány hálózat, és ezt ismeri fel például a StunTour is.
* Szabadon megnyithatunk annyi SSL portot, amennyit akarunk, de ha a 6697-et
* (is) használjuk, kicsit segítjük a világot szabványosodni ;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* MEGJEGYZÉS: Ha egy több IP címes IRCd shellen vagyunk, előfordulhat, hogy
* "Address already in use" ("A cím már használatban van") hibaüzeneteket
* találunk a naplóban, és az ircd nem indul el. Ez azt jelenti, hogy
* az ircd-nek egy meghatározott IP címre KELL bindelnie a "*" helyett
* vagyis például így:
* listen 1.2.3.4:6667;
* Természetesen cseréljük ki az IP címet arra az IP-re, amelyet nekünk
* osztottak ki.
*/
/*
* ÚJ: link {}
* RÉGI: C/N:Line-ok
* Ez a blokk "igen"-t mond egy szerver kapcsolódására.
* MEGJEGYZÉS: MINDKÉRT SZERVEREN KELL EGY LINK {} BEÁLLÍTÁS A HELYES
* KAPCSOLÓDÁSHOZ!
* A szintaktika a következő:
* link (szervernév)
* {
* username (felhasználónév, * is működik);
* hostname (ip cím/gazdanév maszk);
* bind-ip (amilyen IP címre bindeljen kapcsolódáskor, vagy *);
* port (port, ahová kapcsolódjon, ha van);
* hub (Ha ez egy hub; * működik, vagy szervermaszkokat is beírhatunk);
* [vagy leaf *;]
* password-connect "(elküldendő jelszó)";
* password-receive "(fogadandó jelszó)";
* class (osztály, ahová betesszük a szervereket);
* options {
* (opciók ide*);
* };
* // Ha SSL-t használunk, kiválaszthatjuk, milyen rejtjelező algoritmusok
* // legyenek használatban SSL módban. Listát kapunk az "openssl ciphers"
* // paranccsal. Az egyes algoritmusokat :-tal válasszuk el.
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
opciók:
RÉGI | ÚJ
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link hub.sajatnet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Megjegyzés: szolgáltatások linkelésekor célszerű nem
* használni az autoconnect opciót.
*/
autoconnect;
ssl;
zip;
};
};
/*
*
* ÚJ: ulines {}
* RÉGI: U:Line
* Az U-line-ok több hatalmat/parancsot adnak a szervereknek. CSAK
* szolgáltatásokat és statisztikákat nyújtó szerverekre érdemes beállítani,
* és SOHA rendes UnrealIRCd szerverekre!
* A szintaktika a következő:
* ulines {
* (uline-ra teendő szerver);
* (uline-ra teendő szerver);
* [stb.]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* ÚJ: drpass {}
* RÉGI: X:Line
* Meghatározza a jelszavakat a /die és /restart parancsokhoz.
* A szintaktika a következő:
* drpass {
* restart "(újraindítás jelszava)";
* die "(leállítás jelszava)";
* };
*/
drpass {
restart "Imádok-újraindítani";
die "Halj-te-buta";
};
/*
* ÚJ: log {}
* RÉGI: N/A
* Megmondja az ircd-nek, hová és mit naplózzon. Annyi naplófájlunk lehet,
* amennyit szeretnénk.
*
* FLAGEK: errors, kills, tkl, connects, server-connects, oper
*
* Szintaktika:
* log "naplófájl"
* {
* flags
* {
* (flag);
* (flag);
* [stb.]
* };
* };
*/
log "ircd.log" {
/* Törölje a naplófájlt, és kezdjen egy újat, ha eléri a 2 MB-ot;
* hagyjuk ki ezt a beállításból, ha mindig ugyanazt a naplót
* szeretnénk használni
*/
maxsize 2097152;
flags {
oper;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* ÚJ: alias {}
* RÉGI: N/A
* Ezzel olyan álparancsokat készíthetünk, mint a /nickserv, /chanserv stb.
* FLAGEK: services (szolgáltatás), stats (statisztika), normal (közönséges
* felhasználó)
*
* Szintaxis:
* alias "név" {
* target "ahová mutasson";
* type álparancstípus;
* };
*
* [MEGJEGYZÉS: Beilleszthetünk ide egy előre beállított álparancsfájlt is,
* lásd: doc/unreal32docs.html, 2.9-es szekció]
*/
// Ez a /nickserv parancsot a NickServ felhasználóra irányítja, aki a set::services-server szerverre kapcsolódott.
/*alias NickServ {
target "NickServ";
type services;
};*/
// Ha a parancsot ugyanarra a nicknévre szeretnénk irányítani, ami a parancs neve, kihagyhatjuk a nick bejegyzést.
//alias ChanServ { type services; };
// A /statserv parancsot a set::stats-server szerveren lévő StatServ felhasználóra irányítja
//alias StatServ { type stats; };
// A /superbot parancsot a SuperBot felhasználóra irányítja.
//alias SuperBot { type normal; };
/* Szabványos álparancsok */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* ÚJ: alias {}
* RÉGI: N/A
* Ezzel olyan álparancsokat készíthetünk, mint az /identify, /services stb.
*
* Szintaktika:
* alias "név" {
* format "formátumsztring" {
* target "ahova mutasson";
* type álparancstípus;
* parameters "küldendő paraméterek";
* };
* type command;
* };
*/
/* Ezt azért mutatjuk külön, mert még ha ugyanaz is a neve, mint az előző direktívának, a szintaktikája nagyon
* más, habár hasonló feladatot lát el, és a szabványosok álparancsokra van szüksége, hogy működjön.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* Az alias::format direktíva egy reguláris kifejezés. Az első formátum akkor illeszkedik az /identify parancsra,
* ha az első karakter egy #. Azután elküldi ezt a chanserv álparancshoz az IDENTIFY %1- paraméterekkel.
* A második formátum akkor illeszkedik az /identify parancsra, ha az első karakter nem egy #. Azután
* elküldi a parancsot a nickserv álparancshoz az IDENTIFY %1- paraméterekkel.
*/
/* Az alias::format::parameters hasonló a scriptnyelvekhez. Az %N (ahol N egy szám) a parancshoz küldött egyik
* paramétert ábrázolja (ebben az esetben az /identify-ét). Ha azt írjuk, hogy %N-, a sztring N-edik
* paraméterétől az utolsóig minden paramétert fog jelenteni. Megadhatunk egy %n-et is, amely ki lesz cserélve
* a felhasználó nicknevével.
*/
/* Szabványos álparancsok */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* Példa egy valódi álparancsra */
/* A /GLINEBOT parancsot leképezi arra, hogy /GLINE <paraméter> 2d stb... */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Botok tilosak ezen a szerveren, kérlek, olvasd el a faq-ot a http://www.example.com/faq/123 címen";
};
type command;
};
/*
* ÚJ: files {}
* RÉGI: include/config.h
*
* Ez a blokk felülírja az IRCd alapértelmezett útvonalait olyan fájlok
* betöltésére, mint az MOTD, PID fájl mentése vagy a behangoló fájl
* írása/olvasása. Ennek a blokknak a jelenléte támogatást ad arra, hogy
* egyetlen telepített UnrealIRCd-nek több példányát futtassuk, amikor
* a -c parancssori opcióval párosítjuk.
*
* Ahogy megszoktuk, a relatív útvonalak ahhoz a könyvtárhoz relatívan
* értendőek, ahol az UnrealIRCd megtalálja az unrealircd.conf fájlt,
* hacsak nem a -c paramétert megadjuk a parancssorban.
*/
files
{
/* A Nap Üzenete (Message Of The Day), elküldve a belépett felhasználóknak: */
/* motd ircd.motd; */
/*
* Egy rövid MOTD (short MOTD). Ha létezik ez a fájl, ezt a fájlt
* fogják látni a felhasználók az MOTD helyett. A teljes MOTD-t
* továbbra is megnézhetik az /MOTD parancs használatával.
*/
/* shortmotd ircd.smotd; */
/* Megjelenik, ha egy operátor bejelentkezik (/OPER) */
/* opermotd oper.motd; */
/* MOTD hozzáfűzés a szolgáltatásoknak. */
/* svsmotd ircd.svsmotd; */
/* Bot MOTD */
/* botmotd bot.motd; */
/* Megjelenik a /RULES parancsra */
/* rules ircd.rules; */
/*
* Itt tárol és innen tölt be az IRCd néhány olyan értéket, amelyet
* minden szerverújraindítás során meg kell őriznie. Egy olyan fájlra
* kell, hogy mutasson, amely létezik, és az IRCd-nek van módosítási joga,
* vagy pedig olyan könyvtárban van, ahol az IRCd-nek van fájllétrehozási joga.
*/
/* tunefile ircd.tune; */
/* Ide mentjük az IRCd PID fájlját. Az IRCd számára írhatónak kell lennie. */
/* pidfile ircd.pid; */
};
/*
* ÚJ: tld {}
* RÉGI: T:Line
* Beállít más motd és rules fájlt
* a kliens hostmaszkjára.
* A szintaktikája a következő:
* tld {
* mask (azonosító@gazda);
* motd "(motd fájl)";
* rules "(rules fájl)";
* };
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* megjegyzés: a fenti példa blokkot akár le is törölhetjük; ebben az esetben
* mindenkire az alapértelmezett motd/rules fájlok (ircd.motd, ircd.rules)
* lesznek használatban.
*/
/*
* ÚJ: ban nick {}
* RÉGI: Q:Line
* Kitilt egy nicknevet, így az nem használható.
* A szintaktikája a következő:
* ban nick {
* mask "(kitiltandó nick)";
* reason "(indoklás)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Fenntartva a szolgáltatásoknak";
};
/*
* ÚJ: ban ip {}
* RÉGI: Z:Line
* Megtiltja egy ip-nek, hogy a hálózatra kapcsolódjon.
* Szintaktika:
* ban ip { mask (ip cím/gazdanévmaszk); reason "(indoklás)"; };
*/
ban ip {
mask 195.86.232.81;
reason "Lecsatolt szerver";
};
/*
* ÚJ: ban server {}
* RÉGI: Q:Line szerverekre
* Megtiltja egy szervernek, hogy a hálózatra kapcsolódjon.
* Ha egy szerver távoli szerverre linkel, a helyi szerver
* szétkapcsolja a hálózatról.
* A szintaktikája a következő:
* ban server {
* mask "(szervernév)";
* reason "(indoklás)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Mars ki innen!";
};
/*
* ÚJ: ban user {}
* RÉGI: K:Line
* Elintézi, hogy egy felhasználó egy bizonyos maszkról ne tudjon kapcsolódni
* a szerverünkre.
* Szintaktika:
* ban user { mask (gazdanévmaszk/ip cím); reason "(indok)"; };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason "Idióta";
};
/*
* ÚJ: ban realname {}
* RÉGI: n:Line
* Letiltja egy bizonyos valós név használatát.
* Szintaktikája:
* ban realname {
* mask "(valós név)";
* reason "(indok)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* MEGJEGYZÉS MINDEN BANRA: ezek ismételhetőek további bejegyzésekhez!
*
* ÚJ: except ban {}
* RÉGI: E:Line
* Elintézi, hogy ne lehessen minket kibannolni.
* Szintaktika:
* except ban { mask (azonosító@gazda); };
* További gazdákhoz annyiszor ismételjük az except ban {}-t,
* amennyiszer szükséges.
*/
except ban {
/* ne tiltsuk ki stskeeps-t */
mask *stskeeps@212.*;
};
/*
* ÚJ: deny dcc {}
* RÉGI: dccdeny.conf
* Használjuk dcc küldések blokkolására... Jobban
* megállítja a vírusokat.
* Szintaktika:
* deny dcc
* {
* filename "blokkolandó fájl (pl. *exe)";
* reason "indok";
* };
*/
deny dcc {
filename "*sub7*";
reason "Valószínűleg Sub7 Virus";
};
/*
* ÚJ: deny channel {}
* RÉGI: N/A (ÚJ)
* Letiltja bizonyos csatornákon a belépést.
* Szintaktika:
* deny channel {
* channel "(csatorna)";
* reason "indok";
* class "clients"; (nem kötelező)
* };
*/
deny channel {
channel "*warez*";
reason "A warez törvényellenes";
class "clients";
};
/*
* ÚJ: vhost {}
* RÉGI: Vhost.conf fájl
* Beállít egy hamis ip címet közönséges felhasználókon, vagy
* olyan operátorokon, akik lusták a /sethost-ot használni :P
* Szintaktika:
* vhost {
* vhost (vhost.com);
* from {
* userhost (azonosító@gazda, aki használhatja);
* };
* login (bejelentkezőnév);
* password (jelszó);
* };
* azután e vhost használatához adjuk ki
* a /vhost (bejelentkezőnév) (jelszó) parancsot IRC-n
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Befűzhetünk más konfigurációs fájlokat */
/* include "klines.conf"; */
/* Hálózati beállítások */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Az álcázó kulcsoknak a hálózat minden szerverén azonosnak kell
* lenniük. Az álcázott gazdanevek előállításában van szerepük, ezért
* legyenek titokban tartva! Mind 3 kulcs legyen egy-egy véletlenszerű
* sztring 5-100 karakterből (10-20 karakter kitűnő), valamint
* tartalmazniuk kell kisbetűket (a-z), nagybetűket (A-Z) és számokat
* (0-9) [ahogy az első kulcsos példában látható].
* TIPP: *NIX alatt az './unreal gencloak' parancsot futtatva
* a parancsértelmezőnkben, az Unreal 3 véletlen sztringet
* generál nekünk.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"írjunk hozzá még egyet";
"írjunk hozzá még egyet";
};
/* gazdanevek opereléskor */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Szerverszintű beállítások */
set {
kline-address "állítsuk.be.ezt.az.emailt";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#operek";
options {
hide-ulines;
/* Itt engedélyezhetjük az ident ellenőrzést, ha szeretnénk */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* Legkevesebb ennyi ideig kell a felhasználónak kapcsolatban lennie,
* mielőtt engedélyt kap a QUIT üzenetek használatára. Remélhetőleg
* ez leállítja a spamot. */
anti-spam-quit-message-time 10s;
/* A static-quit a neki megadott üzenetet megjeleníti minden
* kilépésben - avagy egyéni kilépési szövegek nem engedélyezettek
* a helyi szerveren */
/* static-quit "Kliens kilépés"; */
/* Hasonlóan blokkolható minden lelépési indok, úgy, hogy kivesszük
* a megjegyzésből ezt, és "yes"-t írunk vagy megadunk valamilyen
* más szöveget (pl. "Bye bye!"), hogy mindig az legyen a lelépés
* indoklószövege. */
/* static-part yes; */
/* Ezzel megmondhatjuk, mely statisztikákat szeretnénk csak operátorok
* számára engedélyezni. Használjunk *-ot, ha az összeset kívánjuk,
* és hagyjuk el a direktívát, ha a felhasználók mindet láthatják. Írjuk
* be a "/stats" parancsot a teljes listáért.
* Lehet, hogy néhány adminisztrátor törölni fogja a "kGs"-t, hogy
a közönséges felhasználók láthassák a kline-okat, gline-okat és
* shunokat.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Elfojtás: ez a példa 60 másodpercenként legfeljebb 3 kapcsolódási
* kísérletet engedélyező korlátozást állít be (gazdánként). */
throttle {
connections 3;
period 60s;
};
/* Árasztásellenes védelem */
anti-flood {
nick-flood 3:60; /* 3 nicknévváltás 60 másodpercenként
(az alapértelmezés) */
};
/* Spamszűrő */
spamfilter {
ban-time 1d; /* a spamszűrő által beállított *line-ok
alapértelmezett kitiltási ideje */
ban-reason "Spam/Reklámozás"; /* alapértelmezett indok */
virus-help-channel "#help"; /* a "viruschan" tevékenységhez
használt csatorna */
/* except "#help"; kivesszük a szűrés alól ezt a csatornát */
};
};
/*
* Problémák akadtak, vagy szükség van további segítségre?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ <- a kérdéseid 80%-át tartalmazza!
* 3) Ha még mindig gondod van, felmehetsz az irc.unrealircd.org #unreal-support
* csatornájára. Fontos: kérjük, hogy előbb OLVASD EL A DOKUMENTÁCIÓT és
* a GYIK-ot!
*/
+816
View File
@@ -0,0 +1,816 @@
/*
* example.conf door Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* $Id$
* Vertaald door Mark
*
* Werkt voor Unreal3.2.x
*
* Dit is de nieuwe example.conf. Het lijkt veel op C++.
* Het begin is wellicht moeilijk, maar met wat ervaring en lezen
* zul je het wel begrijpen.
*
* Kopieer dit bestand naar je hoofd UnrealIRCd dir en noem het 'unrealircd.conf'.
*
* OPMERKING: Alle regels, behalve de openings { regel, eindingen met een ;, dus
* ook de sluitende } regel. Commentaar regels worden door de IRCd niet verwerkt.
*
* LEES doc/unreal32docs.html! De online versie is tevens te bereiken op:
* www.vulnscan.org/UnrealIRCd/unreal32docs.html
* Er staat heel veel informatie in over het configbestand: informatie over
* elk block, variabele, etc..
* Wanneer je dit bestand aanpast zonder de documentatie grondig te lezen,
* zul je gegarandeerd falen!
*/
/* Type van commentaar */
#Commentaar type 1 (Shell type)
// Commentaar type 2(C++ style)
/* Commentaar type 3 (C Style) */
#Deze regels worden niet verwerkt door de IRCd.
/*
* UnrealIRCd ondersteunt modules, het laden van sommige is benodigd.
* Je hebt tenminste een commands module en een cloacking module nodig.
*/
/* VOOR *NIX, haal de commentaartekens weg bij de volgende 2 regels: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* VOOR Windows, haal de commentaartekens weg bij de volgende 2 regels: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Je kan tevens andere configuratiebestanden toevoegen.
* help.conf bevat alle /helpop tekst. De badwords.*.conf
* bestanden bevatten alle badword instellingen voor mode +G..
* spamfilter.conf bevat enkele goede regels voor huidige trojans.
* Je wilt deze waarschijnlijk laden:
*/
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* NIEUW: me {}
* OUD: M:Line
* me {} definieert de naam, beschrijving en unreal numeriek voor deze server.
* De syntax is als volgt:
* me {
* name "server.naam";
* info "Server Beschrijving";
* numeric (server numeric*);
* };
* Waneer je servers linkt, mag de numeric niet door een andere server in gebruik zijn.
*/
me
{
name "irc.foonet.com";
info "FooNet Server";
numeric 1;
};
/*
* NIEUW: admin {}
* OUD: A:Line
* Admin geeft informatie over de server admin. Je mag hier
* zo veel regels opgeven als je wilt.
* De syntax is als volgt:
* admin {
* "eerste regel";
* "tweede regel";
* [etc]
* };
*/
admin {
"Bob Smith";
"bob";
"widely@used.name";
};
/*
* NIEUW: class {}
* OUD: Y:line (de oude was verwarrend)
* Hiermee stel je de classes in. Een class is een groepsinstelling voor
* connections. Server connecties stuur je naar een andere class dan
* gebruikers.
* De syntax is als volgt:
* class (class naam)
* {
* pingfreq (hoe vaak er gepingt moet worden naar een gebruiker/server in seconden);
* maxclients (hoeveel connecties er maximaal in deze class mogen zijn);
* sendq (maximale send queue voor 1 connectie);
* recvq (maximale receive queue voor 1 connectie [flood control]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Hoeveel servers we maximaal tegelijk gelinkt kunnen hebben */
sendq 1000000;
connfreq 100; /* Hoeveel seconden tussen een poging to verbinden */
};
/*
* NIEUW: allow {}
* OUD: I:Line
* Hiermee stel je het toestaan van connecties in.
* Gebruikers kunnen verbinden, en jij hebt wat controle en kan eventueel
* een wachtwoord instellen.
* De syntax is als volgt:
* allow {
* ip (ip mask dat toegestaan moet worden);
* hostname (host mask);
* class (class waarnaar ze gestuurd moeten worden [see class {}]);
* password "(wachtwoord)"; (optioneel)
* maxperip (hoeveel connecties per IP); (optioneel)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* Allow met wachtwoord */
allow {
ip *@255.255.255.255;
hostname *@*.passworded.ugly.people;
class clients;
password "f00Ness";
maxperip 1;
};
/*
* NIEUW: allow channel {}
* OUD: chrestrict
* Geeft de mogelijkheid een kanaal te joinen,
* als uitzondering voor een deny channel {}
* De syntax is als volgt:
* allow channel {
* channel "kanaal naam";
* };
*/
allow channel {
channel "#WarezSucks";
};
/*
* NIEUW: oper {}
* OUD: O:Line
* Stelt een IRC Operator in
* IRC Operators zorgen voor orde op de server en zorgen er
* tevens voor dat de server verbonden blijft met het netwerk.
* De syntax is als volgt:
* oper (login) {
* class (class waarin ze geplaatst moeten worden.);
* from {
* userhost (ident@host);
* userhost (ident@host);
* };
* flags
* {
* (flags hier*);
* };
* OF
* flags "oud type flags, zoals OAaRD";
* };
*/
/* Voor een lange lijst van oper flags, zie doc/unreal32docs.html#operblock
* [wordt ten zeerste aangeraden te lezen!]
*/
oper bobsmith {
class clients;
from {
userhost bob@smithco.com;
};
password "f00";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* NIEUW: listen {}
* OUD: P:Line
* Hiermee stel je een poort in voor de IRCd, zodat
* gebruikers/servers kunnen verbinden met je server.
* De syntax is als volgt:
* listen (ip nummer):(port nummer)
* {
* options {
* (opties hier);
* };
* };
* of een gewone:
* listen: listen (ip):(port);
*
* OPMERKING: voor IPv6 IPs (3ffe:b80:2:51d::2 etc), gebruik listen [ip]:port;
*
* Dat werkt ook.
*/
/* Opties voor listen:
OUD | NIEUW
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* Opmerking voor SSL poorten: SSL poorten zijn niet echt
* standaard. Mensen zeggen dat je SSL op poort 994 moet laten
* lopen, omdat dit de standaard SSL poort is.. Maar meestal worden
* hogere poorten gebruikt. Om poort 994 te gebruiken, moet je root
* zijn! Tevens is poort 194 de officiele IRC poort. Maar heb je daar
* ooit een IRCd op zien lopen?
* Wij raden je aan om poort 6697 voor SSL te gebruiken. Dit wordt op
* vrijwel alle netwerken gebruikt en wordt herkend door bijvoorbeeld
* StunTour. Je mag zoveel SSL poorten openen als je wil, maar als je
* (tevens) 6697 gebruikt, help je mee de wereld meer uniform te maken ;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* Opmerking: Als je een IRCd shell gebruikt met meerdere IPs, krijg
* je wellicht een "Address already in use" error in je log
* en de IRCd zal niet starten. Dit betekent dat je MOET binden
* naar een specifiek IP in plaats van '*', bijvoorbeeld:
* listen 1.2.3.4:6667l
* Natuurlijk moet je het IP vervangen door het IP dat je toewezen is.
*/
/*
* NIEUW: link {}
* OUD: C/N:Lines
* Geeft een server toegang om te verbinden.
* OPMERKING: Beiden servers hebben een link { } nodig om goed te kunnen verbinden!
* De syntax is als volgt:
* link (server naam)
* {
* username (username, * werkt ook);
* hostname (ip number/hostmask);
* bind-ip (welk IP te binden wanneer je connect, of *);
* port (poort om naar te verbinden);
* hub (Als dit een hub is, werkt '*');
* [of leaf *;]
* password-connect "(wachtwoord te zenden)";
* password-receive "(wachtwoord te ontvangen)";
* class (class waarin de server geplaatst moet worden);
* options {
* (opties hier*);
* };
* // Als we SSL gebruiken, kunnen we kiezen welke cipher we willen gebruiken in SSL mode
* // Verkrijg een lijst door "openssl ciphers", onderscheid ciphers met :'s
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
opties:
OUD | NIEUW
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link hub.mynet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Opmerking: Gebruik geen autoconnect naar Services */
autoconnect;
ssl;
zip;
};
};
/*
*
* NIEUW: ulines {}
* OUD: U:Line
* U:Lines geven servers meer macht/commando's. Gebruik het alleen voor
* services en stats, en NOOIT voor normale UnrealIRCd servers!
* De syntax is als volgt:
* ulines {
* (server to uline);
* (server to uline);
* [etc]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* NIEUW: drpass {}
* OUD: X:Line
* Stelt de wachtwoorden voor /die en /restart in.
* De syntax is als volgt:
* drpass {
* restart "(wachtwoord voor herstart)";
* die "(wachtwoord voor beeindigen)";
* };
*/
drpass {
restart "I-love-to-restart";
die "die-you-stupid";
};
/*
* NIEUW: log {}
* OUD: N/A
* Laat de IRCd weten wat en waar te loggen. Je kan er
* zoveel instellen als je wilt.
*
* FLAGS: errors, kills, tkl, connects, server-connects, kline, oper
*
* De syntax is als volgt:
*
* log "log file"
* {
* flags
* {
* flag;
* flag;
* etc..
* };
* };
*/
log "ircd.log" {
/* Verwijder het logbestand en begint een nieuwe wanneer de oude 2MB groot is. Laat dit leeg om altijd
hetzelfde bestand te gebruiken */
maxsize 2097152;
flags {
oper;
kline;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* NIEUW: alias {}
* OUD: N/A
* Hiermee stel je commando's zoals /nickserv, /chanserv etc in.
* FLAGS: services, stats, normal
*
* De syntax is als volgt:
* alias "naam" {
* target "wijst naar";
* type aliastype;
* };
*
* [Opmerking: Je kan ook een standaard alias bestand gebruiken, zie doc/unreal32docs.nl.html sectie 2.9]
*/
// Dit wijst het commando /nickserv naar de gebruiker NickServ welke verbonden is met set::services-server
/*alias NickServ {
target "NickServ";
type services;
};*/
// Als je het commando naar dezelfde nick als het commando wil sturen, kun je "target" weglaten.
//alias ChanServ { type services; };
// Wijst het /statserv commando naar de gebruiker Statserv verbonden met set::stats-server
//alias StatServ { type stats; };
// Wijst het /superbot commando naar de gebruiker SuperBot
//alias SuperBot { type normal; };
/* Standaard aliases */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* NIEUW: alias {}
* OUD: N/A
* Hiermee stel je commando's zoals /identify, /services in.
*
* De syntax is als volgt:
* alias "naam" {
* format "format string" {
* target "wijst naar";
* type aliastype;
* parameters "parameters te verzenden";
* };
* type command;
* };
*/
/* Hier wordt apart notitie van gemaakt, hoewel het dezelfde naam heeft als het vorige block. Het verschilt veel
* in syntax, maar het maakt gebruik van dezelfde functies.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* De alias::format is een reguliere expressie. Het eerste formaat matcht het /identify commando wanneer
* het eerste teken een # is. Daarna wordt het doorgezonden naar de chanserv alias met de parameters
* IDENTIFY %1-. Het tweede formaat matcht het /identify commando wanneer het eerste teken geen # is. Daarna
* wordt het commando doorgestuurd naar de nickserv alias met de parameters IDENTIFY %1-.
*/
/* Het alias::format::parameters is gelijk aan script-talen. %N (N is een nummer) staat voor de parameter die
* gezonden is naar het commando (in dit geval /identify). Wanneer je %N- opgeeft, betekent dat alle parameters
* vanaf N tot de laatste paramater in de string. Je kan ook %n gebruiken, waar %n vervangen wordt door de nick.
*/
/* Standaard aliases */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* Dit is een voorbeeld van een echt commando alias */
/* Dit verwijst /GLINEBOT naar /GLINE <parameter> 2d etc... */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
};
type command;
};
/*
* NIEUW: tld {}
* OUD: T:Line
* Hiermee stel je verschillende MOTD en RULES bestanden in,
* afhangend van de gebruikers hostmask.
* De syntax is als volgt:
* tld {
* mask (ident@host);
* motd "(motd bestand)";
* rules "(rules bestand)";
* };
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* Opmerking: je kan het bovenstaande voorbeeld verwijderen.
* In dat geval worden de standaard motd/rules bestanden (ircd.motd, ircd.rules).
* gebruikt voor iedereen.
*/
/*
* NIEUW: ban nick {}
* OUD: Q:Line
* Bant een nickname zodat deze niet gebruikt kan worden.
* De syntax is als volgt:
* ban nick {
* mask "(nick om te bannen)";
* reason "(reden)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reserved for Services";
};
/*
* NIEUW: ban ip {}
* OUD: Z:Line
* Bant een IP van de server
* De syntax is als volgt:
* ban ip {
* mask (ip number/hostmask);
* reason "(reden)";
* };
*/
ban ip {
mask 195.86.232.81;
reason "Delinked server";
};
/*
* NIEUW: ban server {}
* OUD: Server Q:Line
* Zorgt ervoor dat een server niet kan verbinden met het netwerk.
* Als de server naar een andere server linkt, zal de lokale server
* de verbinding met het netwerk verbreken.
* De syntax is als volgt:
* ban server {
* mask "(server naam)";
* reason "(reden)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Get out of here.";
};
/*
* NIEUW: ban user {}
* OUD: K:Line
* Zorgt ervoor dat een gebruiker met een bepaalde mask niet
* kan verbinden met je server.
* De syntax is als volgt:
* ban user {
* mask (hostmask/ip number);
* reason "(reden)";
* };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason "Idiot";
};
/*
* NIEUW: ban realname {}
* OUD: n:Line
* Belet het gebruik van een bepaalde realname.
* De syntax is als volgt:
* ban realname {
* mask "(real name)";
* reason "(reden)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* OPMERKING VOOR ALLE BANS: Ze mogen herhaald worden voor extra toevoegingen!
*
* NIEUW: except ban {}
* OUD: E:Line
* Zorgt ervoor dat jij niet gebanned kan worden.
* De syntax is als volgt:
* except ban { mask (ident@host); };
* Herhaal de except ban {} zo vaak als je wilt
* voor andere hosts.
*/
except ban {
/* don't ban stskeeps */
mask *stskeeps@212.*;
};
/*
* NIEUW: deny dcc {}
* OUD: dccdeny.conf
* Wordt gebruikt om DCC sends te blokkeren..
* Stopt virii beter.
* De syntax is als volgt:
* deny dcc
* {
* filename "bestand te blokkeren (bv, *exe)";
* reason "reden";
* };
*/
deny dcc {
filename "*sub7*";
reason "Possible Sub7 Virus";
};
/*
* NIEUW: deny channel {}
* OUD: N/A (NIEUW)
* Belet het gebruik van een kanaal.
* De syntax is als volgt:
* deny channel {
* channel "(kanaal)";
* reason "reden";
* };
*/
deny channel {
channel "*warez*";
reason "Warez is illegal";
};
/*
* NIEUW: vhost {}
* OUD: Vhost.conf file
* Dit zet een nep ip voor niet-opers, of voor opers
* die te lui zijn /sethost te gebruiken ;)
* De syntax is als volgt:
* vhost {
* vhost (vhost.com);
* from {
* userhost (ident@host toegestaan de vhost te gebruiken);
* };
* login (login name);
* password (password);
* };
* Om je vhost te gebruiken, typ /vhost (login) (password) op IRC
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Je kan ook andere configuratiebestanden laden */
/* include "klines.conf"; */
/* Netwerk configuratie */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Cloak keys moeten op alle servers in het netwerk hetzelfde zijn.
* Ze worden gebruikt voor het maken van gemaskte hosts en moeten geheim blijven.
* De keys moeten 3 willekeurige strings zijn, bestaande uit 5-100 tekens
* (10-20 tekens is genoeg) en moeten bestaan uit kleine letters (a-z),
* hoofdletters (A-Z) en getallen (0-9) [zie de eerste key als voorbeeld].
* Tip: Wanneer je met een *NIX systeem werkt, kun je './unreal gencloak' gebruiken in
* je shell. Dit genereert 3 willekeurige strings die je kunt gebruiken.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"en nog eentje";
"en nog eentje";
};
/* on-oper host */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Server gerelateerde configuratie */
set {
kline-address "stel.dit.adres.in";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {
hide-ulines;
/* Je kan hier ident checking aanzetten als je wilt */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* Hoelang een gebruiker minimaal verbonden moet zijn voordat hij toegestaan wordt het
* QUIT bericht te gebruiken. Dit stopt spam hopelijk. */
anti-spam-quit-message-time 10s;
/* Stelt een tekst in die standaard wordt gebruikt voor een quit.
* Houdt in dat er geen eigen quits gebruikt mogen worden op deze server. */
/* static-quit "Client quit"; */
/* Je kan ook alle part-redenen blokkeren door hieronder het commentaar weg te halen
* en er 'yes' neer te zetten. Je kan ook een standaard tekst gebruiken (bijvoorbeeld
* "Bye bye!") om deze tekst altijd te gebruiken..
*/
/* static-part yes; */
/* Stelt in dat stats alleen door opers gebruikt mogen worden. Gebruik * voor alle stats,
* en laat het weg zodat gebruikers alle stats kunnen zien. Typ '/stats' voor een lijst
* van alle stats.
* Sommige admins willen 'kGs' wellicht verwijderen zodat gewone gebruikers een lijst van
* klines, glines en shunts kunnen zien.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Throttle: dit voorbeeld zet een limie van 3 conneties per 60s (per host). */
throttle {
connections 3;
period 60s;
};
/* Anti flood protectie */
anti-flood {
nick-flood 3:60; /* 3 naamsveranderingen per 60 seconden (standaard) */
};
/* Spam filter */
spamfilter {
ban-time 1d; /* standaard duur van een *line gezet door spamfilter */
ban-reason "Spam/Advertising"; /* standaard reden */
virus-help-channel "#help"; /* kanaal te gebruiken voor 'viruschan' actie */
/* except "#help"; kanaal waar niet gefilterd wordt */
};
};
/*
* Problemen of meer hulp nodig?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ <- hier staat 80% van je vragen!
* 3) Als je nog steeds problemen hebt, kun je naar irc.unrealircd.org #unreal-support,
maar je moet wel eerst de documentatie en FAQ gelezen hebben!
*/
+791
View File
@@ -0,0 +1,791 @@
/*
* example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* example.ru.conf by Samets Anton aka Bock (bock@bynets.org).
* $Id$
*
* (Encoding): Windows-1251
*
* Работает для Unreal3.2.x
*
* Итак, это русскоязычный пример example.conf. По синтаксису похож на C++.
* По началу будет тяжело понять, что тут написано, однако во время практики и чтения
* вы научитесь это делать.
*
* Просто скопируйте этот файл в главную директорию unrealircd и переименуйте в 'unrealircd.conf'.
*
* Замечание: Все линии, кроме тех, которые начинаются с {, заканчиваются ; включая и закрывающую }.
* IRCd проигнорирует закомментированные линии.
*
* ПРОЧТИТЕ doc/unreal32docs.ru.html! Версия в интернете доступна по адресу:
* www.vulnscan.org/UnrealIRCd/unreal32docs.ru.html
* Она содержит большинство информации о конфигурировании, даёт представление о каждом блоке,
* переменной и так далее...
* Если вы пытаетесь редактировать этот файл без прочтения документации, вы гарантированно
* потерпите неудачу!
*/
/* Типы комментариев */
# Первый тип (Shell type)
// Второй тип (C++ style)
/* Третий тип (C Style) */
# данные линии игнорируются ircd.
/*
* UnrealIRCd поддерживает модули, загрузка некоторых необходима для запуска.
* Вам необходимо загрузить как минимум модули команд и скрытия хоста.
*/
/* Для *NIX систем раскомментируйте следующие 2 линии: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* Для Windows систем раскомментируйте следующие 2 линии: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Вам необходимо подключить и другие конфигурационные файлы.
* help.ru.conf содержит весь текст команды /helpop. Файлы badwords.*.conf
* содержат все включения матных слов для режима +G...
* spamfilter.conf содержит правила для защиты от троянских коней.
* Вы вероятно захотите подключить эти файлы:
*/
include "help.ru.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* НОВОЕ: me {}
* СТАРОЕ: M:Line
* me {} определяет имя, описание и нумерик сервера unreal для данного сервера.
* Синтаксис:
* me {
* name "Имя.сервера";
* info "Описание сервера";
* numeric (нумерик сервера*);
* };
* При соединении с другими серверами, нумерик должен быть уникальным в сети. Имя сервера - англоязычное.
*/
me
{
name "irc.foonet.com";
info "Сервер FooNet";
numeric 1;
};
/*
* НОВОЕ: admin {}
* СТАРОЕ: A:Line
* Данный блок предоставляет информацию об администраторе сервера.
* Вы можете поместить сколько угодно линий после admin {.
* Синтаксис:
* admin {
* "первая линия";
* "вторая линия";
* [так далее]
* };
*/
admin {
"Вася Пупкин!";
"vasya_pupkin";
"haker@lamer.ru";
"ICQ: 987654321";
};
/*
* НОВОЕ: class {}
* СТАРОЕ: Y:line (был слишком запутан)
* Определяет настройки для классов. Класс определяет групповые настройки для подключений.
* Например, подключение сервера, вместо включения его в класс пользователей, вы направляете в
* класс серверов. Используется следующий синтаксис:
* class (имя класса)
* {
* pingfreq (как часто пиновать пользователя/сервер в секундах);
* maxclients (сколько максимально соединений разрешено данному классу);
* sendq (максимальная очередь для отправки от подключения);
* recvq (максимальная очередь для получения от подключения [контроль за флудом]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Какое максимальное количество серверов может быть прилинковано к этому серверу */
sendq 1000000;
connfreq 100; /* Через сколько секунд проводить следующую попытку подключения */
};
/*
* НОВОЕ: allow {}
* СТАРОЕ: I:Line
* Определяет, кому разрешено подключаться к серверу...
* В основном используется для клиентов, это разрешает им подключаться к серверу, а вы можете их контролировать
* и/или устанавивать пароль.
* Синтаксис:
* allow {
* ip (разрешённая маска ip);
* hostname (маска хоста);
* class (класс, в который определить[смотри class {}]);
* password "(пароль)"; (необязательно)
* maxperip (сколько подключений с одного ip); (необязательно)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* Разрешение подключения с паролем */
allow {
ip *@255.255.255.255;
hostname *@*.passworded.ugly.people;
class clients;
password "аццкип0р0ль";
maxperip 1;
};
/*
* НОВОЕ: allow channel {}
* СТАРОЕ: chrestrict
* Позволяет пользователю зайти на канал...
* служит как исключение из запрещённых каналов.
* Синтаксис:
* allow channel {
* channel "имя канала";
* };
*/
allow channel {
channel "#WarezSucks";
};
/*
* НОВОЕ: oper {}
* СТАРОЕ: O:Line
* Определяет IRC оператора
* IRC операторы следят за сервером, занимаются его поддержкой и подключением к сети.
* Синтаксис:
* oper (логин) {
* class (класс, в который определять их, если отличен от блока I, в какой класс переместить);
* from {
* userhost (идент@хост);
* userhost (идент@хост);
* };
* flags
* {
* (тут флаги*);
* };
* ИЛИ
* flags "флаги старого типа, вида OAaRD";
* };
*/
/* Для списка флагов оператора прочитайте doc/unreal32docs.ru.html#operblock
* [ОЧЕНЬ НАСТОЯТЕЛЬНО рекомендуется к прочтения]
*/
oper vasyapupkin {
class clients;
from {
userhost vasya@somewhere.by;
};
password "p0r0l'";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* НОВОЕ: listen {}
* СТАРОЕ: P:Line
* Определяет, на каких портах будет работать ircd,
* позволяя пользователям/серверам подключаться к серверу.
* Синтаксис:
* listen (ip):(номер порта)
* {
* options {
* (тут опции);
* };
* };
* или просто
* listen: listen (ip):(порт);
*
* ЗАМЕЧАНИЕ: для протокола ip v6 (3ffe:b80:2:51d::2), используйте [ip]:порт;
*
* Это так же будет работать.
*/
/* Опции для listen:
СТАРЫЕ | НОВЫЕ
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* ЗАМЕЧАНИЕ ДЛЯ ПОРТОВ SSL: SSL порты стандартизированы,
* за исключением многочисленных "высоких" портов SSL, некоторые люди могут сказать вам,
* чтобы вы запустили на порту 994, потому что он официальный порт SSL... Но это же
* требует привилегий пользователя root! К слову, порт 194 - официальный порт irc,
* но вы видели когда-нибудь ircd, запущенный на нём?
* Итак, наше предложение - использовать порт 6697 для SSL, он используется уже рядом сетей
* и используется в примере StunTour.
* Вы можете открыть сколько угодно портов SSL, но используя так же и 6697, вы поможете
* стандартизировать его;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* ЗАМЕЧАНИЕ: Если вы используете шелл IRCd, где несколько IP адресов, вы можете получить сообщение типа
* 'Address already in use', ошибки в вашем лог-файле и ircd не запустится.
* Это значит, что вам необходимо указать определённый адрес IP вместо '*', к примеру:
* listen 1.2.3.4:6667;
* Конечно же, измените IP адрес на тот, который назначен вам.
*/
/*
* НОВОЕ: link {}
* СТАРОЕ: C/N:Lines
* Определяет блок для подключения серверов.
* ЗАМЕЧАНИЕ: ЧТОБЫ ПОДКЛЮЧИТЬСЯ БЕЗ ВОПРОСОВ, НА ОБОИХ СЕРВЕРАХ НЕОБХОДИМЫ ПРАВИЛЬНЫЕ НАСТРОЙКИ LINK {}!
* Синтаксис:
* link (имя сервера)
* {
* username (имя пользователя, * работает тоже);
* hostname (адрес ip/маска хоста);
* bind-ip (На каком адресе IP слушать или *);
* port (порт для соединения);
* hub (если это хаб, * так же работает, или макси сервера, которые могут быть под ним);
* [или leaf *;]
* password-connect "(пароль для отправки)";
* password-receive "(пароль, что мы должны получить)";
* class (класс, в который определить сервер);
* options {
* (тут указываются опции*);
* };
* // Если мы используем SSL, мы можем указать, какой шифр использовать в режиме SSL
* // Получить список можно "openssl ciphers", шифры разделяются двоеточиями (:)
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
опции:
СТАРЫЕ | НОВЫЕ
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link hub.ru.by
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Замечание: Вы не должны использовать автоподключение (autoconnect) при подключении сервисов */
autoconnect;
ssl;
zip;
};
};
/*
*
* НОВОЕ: ulines {}
* СТАРОЕ: U:Line
* U-lines обладают большей силой/властью, чем другие сервера. Это нужно устанавливать только на
* сервисы/сервера сбора статистики и НИКОГДА на обычные сервера UnrealIRCd!
* Синтаксис:
* ulines {
* (сервер в uline);
* (сервер в uline);
* [и т.д.]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* НОВОЕ: drpass {}
* СТАРОЕ: X:Line
* Определяет пароли для использования команд /die и /restart.
* Синтаксис:
* drpass {
* restart "(пароль для перезапуска)";
* die "(пароль для отключения)";
* };
*/
drpass {
restart "Я-люблю-перезапускать-сервер";
die "умри-тупое!:)";
};
/*
* НОВОЕ: log {}
* СТАРОЕ: N/A
* Указыает ircd куда и что протоколировать (вести лог). Вы можете указать столько, сколько пожелаете.
*
* ФЛАГИ: errors, kills, tkl, connects, server-connects, oper
*
* Синтаксис:
* log "путь_к_лог_файлу"
* {
* flags
* {
* flag;
* flag;
* etc..
* };
* };
*/
log "ircd.log" {
/* Удалять логфайл и старовать новый, если размер превышает 2MB, оставьте это как есть, чтобы использовать
тот же самый файл */
maxsize 2097152;
flags {
oper;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* НОВОЕ: alias {}
* СТАРОЕ: N/A
* Позволяет установить вам псевдонимы на команды, такие как /nickserv, /chanserv и т.д.
* ФЛАГИ: services, stats, normal
*
* Синтаксис:
* alias "имя" {
* target "куда направить";
* type aliastype;
* };
*
* [ЗАМЕЧАНИЕ: Вы так же можете подключить уже определённый файл с псевдонимами,подробнее doc/unreal32docs.ru.html в секции 2.9]
*/
// Данный псевдноним /nickserv направляет команды пользователю NickServ, который подключён к серверу set::services-server
/*alias NickServ {
target "NickServ";
type services;
};*/
// Если вы хотите, чтобы команды направлялись на тот же ник, что и команда, вы можете не указывать target
//alias ChanServ { type services; };
// Указывает, что команда /statserv будет отправлена пользователю StatServ, подключённого к серверу set::stats-server
//alias StatServ { type stats; };
// Указывает, что команда /superbot будет отправлена пользователю SuperBot
//alias SuperBot { type normal; };
/* Стандартные псевдонимы */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* НОВОЕ: alias {}
* СТАРОЕ: N/A
* Позволяет установить такие псевдонимы на команды как /identify, /services и т.д.
*
* Синтаксис:
* alias "имя" {
* format "строка формата" {
* target "кому";
* type aliastype;
* parameters "список параметров";
* };
* type command;
* };
*/
/* Вынесено отдельно, так как имеются отличия по сравнению с предыдущим типом псевдонимов и имеются очень большие отличия в
* синтаксисе, так же используется для других целей, чем стандартные псевдонимы.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* Директива alias::format является регулярным выражением. Под первый формат подпадает команда /identify,
* если первым символом является #. Она посылает команду chanserv с параметрами IDENTIFY %1-.
* Второй формат срабатывает, если в команде, посланной посредством /identify первый символ не #. Тогда ircd
* передаёт эту команду nickserv с параметрами IDENTIFY %1-.
*/
/* alias::format::parameters сходно со скриптовыми языками. %N (где N число) представляет собой параметр, посланный командой
* (в случае /identify). Если вы указали %N-, так вы определили все параметры, начиная от N до последнего в этой строке.
* Вы можете так же указать %n, что будет означать ник пользователя.
*/
/* Стандартные псевдонимы */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* Тут идёт пример использования "действительно псевдонима" (real command alias) */
/* Данный пример - использование /GLINEBOT как /GLINE <параметры> 2d и т.д... */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Боты запрещены на этом сервере, прочитайте ЧаВО на http://www.example.com/faq/123";
};
type command;
};
/*
* НОВОЕ: tld {}
* СТАРОЕ: T:Line
* Устанавливает различные different motd и rules файлы
* в зависимости от маски хостов клиентов.
* Синтаксис:
* tld {
* mask (идент@хост);
* motd "(файл motd)";
* rules "(файл rules)";
* };
*/
tld {
mask *@*.ru;
motd "ircd.motd.ru";
rules "ircd.rules.ru";
};
/* замечание: вы можете просто удалить блок выше, указанный для примера в случае, если есть в наличии
* файлы motd/rules, используемые по умолчанию (ircd.motd, ircd.rules), которые будут использоваться всеми
*/
/*
* НОВОЕ: ban nick {}
* СТАРОЕ: Q:Line
* Банит ник, он не может быть использован.
* Синтаксис:
* ban nick {
* mask "(ник для бана)";
* reason "(причина)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Зарезервирован для сервисов";
};
/*
* НОВОЕ: ban ip {}
* СТАРОЕ: Z:Line
* Банит адрес ip при подключении в сеть.
* Синтаксис:
* ban ip { mask (адрес ip/маска хоста); reason "(причина)"; };
*/
ban ip {
mask 195.86.232.81;
reason "Отключённый сервер";
};
/*
* НОВОЕ: ban server {}
* СТАРОЕ: Серверный Q:Line
* Отключает сервер от попыток подключиться в сеть.
* Если сервер подключается к удалённому серверу в сети, локальный сервер
* будет отключён он сети.
* Синтаксис:
* ban server {
* mask "(имя сервера)";
* reason "(причина)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Ламерский сервер :).";
};
/*
* НОВОЕ: ban user {}
* СТАРОЕ: K:Line
* Пользователь с указанной маской не может подключиться к вашему серверу.
* Синтаксис:
* ban user { mask (маска хоста/адрес ip); reason "(причина)"; };
*/
ban user {
mask *newiceman@*.irc.by;
reason "Идиот!";
};
/*
* НОВОЕ: ban realname {}
* СТАРОЕ: n:Line
* Банит по указанному пользователем реальному имени.
* Синтаксис:
* ban realname {
* mask "(Реальное имя)";
* reason "(причина)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* ЗАМЕЧАНИЕ ДЛЯ ВСЕХ БАНОВ: они могут повторятся в случае необходимости уточнений!
*
* НОВОЕ: except ban {}
* СТАРОЕ: E:Line
* Предотвращает бан.
* Синтаксис:
* except ban { mask (идент@хост); };
* Повторите except ban {} столько раз, сколько хотите использовать различные хосты.
*/
except ban {
/* не банить wax */
mask *wax@195.222.*;
};
/*
* НОВОЕ: deny dcc {}
* СТАРОЕ: dccdeny.conf
* Используется чтобы запретить отправку dcc... служит для защиты от вирусов
* Синтаксис:
* deny dcc
* {
* filename "имя файла для блокироваки (т.е. *exe)";
* reason "причина";
* };
*/
deny dcc {
filename "*sub7*";
reason "Вероятность вируса Sub7";
};
/*
* НОВОЕ: deny channel {}
* СТАРОЕ: N/A (НОВОЕ)
* Запрещает вход на указанные каналы.
* Синтаксис:
* deny channel {
* channel "(канал)";
* reason "причина";
* };
*/
deny channel {
channel "*warez*";
reason "Warez нелегален";
};
/*
* НОВОЕ: vhost {}
* СТАРОЕ: файл Vhost.conf
* Устанавливает фейковый ip для не-операторов или операторы слишком
* ленивые, чтобы сделать /sethost :P
* Синтаксис:
* vhost {
* vhost (vhost.com);
* from {
* userhost (идент@хост, кому разрешено использовать);
* };
* login (логин);
* password (пароль);
* };
* чтобы использовать vhost, наберите /vhost (логин) (пароль) в IRC
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Вы так же можете подключить и другие конфигурационные файлы */
/* include "klines.conf"; */
/* Конфигурация Сети */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Ключи скрытия хостов должны быть одинаковы на всех серверах в сети.
* Они использутся для генерации замаскированных хостов и должны держаться в секрете.
* Ключи должен быть 3-мя случайными срочками с 5-100 символами в каждой
* (10-20 символов должно быть достаточно) и должны содержать прописные (a-z),
* заглавные (A-Z) буквы и цифрты (0-9) [смотрите пример первого ключа].
* Подсказка: В *NIX системах вы можете запустить './unreal gencloak' в вашем шелле, чтобы получить
* 3 строки, сгенерированные случайным образом.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"и ещё одна;
"и ещё одна";
};
/* хост on-oper */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Специфическая конфигурация сервера */
set {
kline-address "set.this.email";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {
hide-ulines;
/* Если желаете, вы можете включить проверку ident */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* Указывает минимальное время, сколько был подключен пользователь,
* прежде чем разрешать ему использовать сообщение QUIT.
* Должно помочь в борьбе со спамом */
anti-spam-quit-message-time 10s;
/* Устанавливает постоянное сообщение о выходе - значит, что локальный сервер не разрешит
различные сообщения о выходе */
/* static-quit "Клиент вышел"; */
/* Вы так же можете блокировать все сообщения о выходе из канала просто раскомментировав это и указать'yes'
* или указать какой-нибудь другой текст (например: "Пока пока!"), который всегда будет использован как причина. */
/* static-part yes; */
/* Позволяет сделать важные сообщения stats были использованы только операторами, используйте * для всех сообщений stats,
* или закомментируйте, что позволит пользователям видеть все сообщения stats. Чтобы получить весь список, введите '/stats'.
* Некоторые администраторы могут убрать 'kGs' для того, чтобы разрешить обычным пользователям видеть список
* klines, glines и shuns.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Тротлинг: данный пример устанавливает предел в 3 попытки подключения в 60 секунд (для одного хоста). */
throttle {
connections 3;
period 60s;
};
/* Защита от флуда */
anti-flood {
nick-flood 3:60; /* 3 изменения ника в 60 секунд (по умолчанию) */
};
/* Фильтр спама */
spamfilter {
ban-time 1d; /* длительность по умолчанию бана *line, установленного spamfilter */
ban-reason "Спам/Реклама"; /* причина по умолчанию */
virus-help-channel "#help"; /* канал при использовании действия 'viruschan' */
/* except "#help"; канал для исключения действия фильтра */
};
};
/*
* Проблемы или нуждаетесь в более подробной информации?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.ru.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ <- содержит 80% ваших вопросов!
* 3) Если у вас до сих пор остались проблемы, зайдите на irc.unrealircd.org #unreal-support,
* но мы требуем, чтобы вы ПРЕЖДЕ ПРОЧИТАЛИ ДОКУМЕНТАЦИЮ и ЧаВО!
*/
-62
View File
@@ -1,62 +0,0 @@
/*
* Example set {} block
*/
set {
/*
* This is the mail users will get shown when k-lined
*/
kline-address "mail.to.mail.to";
/*
* What modes will users get when connecting to this server
*/
modes-on-connect "+ix";
/* What channels users will autojoin */
auto-join "0";
/* What channels opers will autojoin on connect*/
oper-auto-join "0";
/* This needs to be an unused port, that the IRCd will bind
* to, and make insecure proxies connect to.
*/
blackhole [ip]:port;
dns {
/* What IP has our DNS server got? */
nameserver 127.0.0.1;
/* How long time will we wait for each attempt? */
timeout 2s;
/* How many attempts will we do */
retries 2s;
};
options {
enable-opermotd;
enable-chatops;
hide-ulines;
// webtv-support;
identd-check;
};
socks {
ban-message "Insecure SOCKS server";
quit-message "Insecure SOCKS server";
ban-time "1d";
};
/*
* How many channels each user can join
*/
maxchannelsperuser 10;
/*
* This is a new thing in Unreal3.2.
* You _need_ to make three numbers up, bigger than 100000
* These MUST be the SAME on EVERY server in your NETWORK
* If people discover these keys, it is easier for them to crack
* the +x algoritm.
*/
cloak-keys
{
0;
0;
0;
};
};
+841
View File
@@ -0,0 +1,841 @@
/*
* example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).
* $Id$
* Önceki Çevirmen: Mustafa "Ironic" Cakmak (ironic@unrealircd.org)
* Türkçe Çeviri: Serkan Sepetçi (diablo@unrealircd.org)
*
* Unreal3.2.x sürümler için kullanılmaktadır
*
* Peki beyler. Bu example.conf dosyasının yenisi. C++ türüne çok benziyor.
* Neyse şimdi bunun üstesinden gelme zamanı. Başlangıçta zor gelebilir, fakat
* okuyarak ve biraz pratikle anlayacaksınız.
*
* Yapmanız gereken bu dosyayı ana dizine atıp, 'unrealircd.conf' olarak adlandırmak.
*
* NOTE: Bütün satırlar, açılış { satırı dışında, kapama } satırı dahil, sonunda ; taşır.
* IRCd açıklama satırlarını göz ardı edecektir.
*
* Lütfen doc/unreal32docs.tr.html dosyasını okuyunuz! Çevrimiçi sürümüne ulaşabileceğiniz adres:
* www.vulnscan.org/UnrealIRCd/unreal32docs.tr.html
* Yapılandırma dosyası hakkında bir çok bilgi içerir: Her blok,
* değişken vs.. hakkında bilgi verir.
* Eğer dökümantasyon dosyasını tam olarak okumadan bu dosyayı düzenlemeye kalkarsanız
* başarısız olacağınız oldukça yüksek bir oranda garanti edilir!
*
*/
/* Açıklama satırı çeşitleri */
#Açıklama satırı 1 (Shell tipi)
// Açıklama satırı 2 (C++ tipi)
/* Açıklama satırı satırı 3 (C tipi) */
#Bu satırlar ircd tarafından göz ardı edilecektir.
/*
* UnrealIRCd modülleri destekler, Bunların bazılarının yüklenmesi gereklidir.
* En azından komutlar modülü(commands) ve gizleme modülü(cloaking)'ne ihtiyacınız vardır.
*/
/* *NIX için, sonraki 2 satırın açıklama satıracını(//) kaldırın: */
//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
/* Windows için, sonraki 2 satırın açıklama satıracını(//) kaldırın: */
//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";
/*
* Diğer yapılandırma dosyalarınıda dahil edebilirsiniz.
* help.conf bütün /helpop metinlerini içerir. +G kipi için badwords.*.conf
* dosyaları bütün kötü kelime girdilerini içerir...
* spamfilter.conf güncel trojanlar için uygun kuralları içerir.
* Muhtemelen bunları eklemek isteyeceksiniz:
*/
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/*
* YENI: me {}
* ESKI: M:Line
* me {} bu sunucu için isim, tanımlama ve unreal sunucu sayısalını(numeric) belirler.
* Sözdizimi aşağıdaki gibidir:
* me {
* name "sunucu.ismi";
* info "Sunucu tanımlaması";
* numeric (sunucu sayısalı*);
* };
* Eğer link varsa, bu sayısal ağ üzerinde varolan herhangi bir server tarafından kullanılmamalıdır.
*/
me
{
name "irc.foonet.com";
info "FooNet Server";
numeric 1;
};
/*
* YENI: admin {}
* ESKI: A:Line
* Admin sunucu yöneticisine dair bilgi verir. Dilediğiniz kadar
* satırı admin { altına yerleştirebilirsiniz.
* Sözdizimi aşağıdaki gibidir:
* admin {
* "ilk satır";
* "ikinci satır";
* [vs]
* };
*/
admin {
"Bob Smith";
"bob";
"widely@used.name";
};
/*
* YENI: class {}
* ESKI: Y:line (eskisi karışıktı)
* Bu sınıflar için ayarları belirtir. Bir sınıf bağlantılar için bir grup
* ayarıdır. Örneğin, sunucu bağlantılarını, bir istemci sınıfı
* yerine, sunucu sınıfına yönlendirirsiniz. Sözdizimi aşağıdaki gibidir:
* class (class name)
* {
* pingfreq (ne sıklıkta saniye içerisinde kullanıcı veya sunucunun ping edileceği);
* maxclients (bu sınıf için kaç bağlantı);
* sendq (bir bağlantıdan gönderilecek en yüksek dizi);
* recvq (bir bağlantıdan alınacak en yüksek dizi [flood kontrolü]);
* };
*/
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Link edebileceğimiz en yüksek sunucu sayısı */
sendq 1000000;
connfreq 100; /* Her bağlantı girişimi arasında ne kadar saniye olacağı */
};
/*
* YENI: allow {}
* ESKI: I:Line
* Bağlantı izinlerini belirtir..
* Temel olarak istemcilerin sunucuya bağlanabilmesi için herhangi bir kontrol
* ve/veya bir şifre belirtmenize olanak sağlar.
* Sözdizimi aşağıdaki gibidir:
* allow {
* ip (izin verilecek ip maskesi);
* hostname (host maskesi);
* class (gönderilecek sınıf [class {} bloğuna göz atınız]);
* password "(şifre)"; (isteğe bağlı)
* maxperip (ip başına kabul edilecek bağlantı sayısı); (isteğe bağlı)
* };
*/
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
/* Şifrelendirilmiş allow bloğu */
allow {
ip *@255.255.255.255;
hostname *@*.passworded.ugly.people;
class clients;
password "f00Ness";
maxperip 1;
};
/*
* YENI: allow channel {}
* ESKI: chrestrict
* Bir kullanıcının bir kanala girmesine olanak sağlar...
* yasak kanal bloğundaki hariçlik gibi.
* Sözdizimi:
* allow channel {
* channel "kanal ismi";
* class "clients"; (isteğe bağlı)
* };
*/
allow channel {
channel "#WarezSucks";
class "clients";
};
/*
* YENI: oper {}
* ESKI: O:Line
* Bir IRC Operatörü tanımlamanızı sağlar.
* IRC Operatörleri sunucuya uygun bir biçimde bağlanılmasını ve
* makullüğü sağlarlar.
* Sözdizimi aşağıdaki gibidir:
* oper (login) {
* class (sınıf ismini ekleyin, eğer istemciden farklıysa, yeni sınıfı ekleyin);
* from {
* userhost (ident@host);
* userhost (ident@host);
* };
* flags
* {
* (flaglar buraya*);
* };
* VEYA
* flags "OAaRD gibi eski tip flaglar";
* };
*/
/* Oper flaglarının listesine doc/unreal32docs.html#operblock dan göz atabilirsiniz.
* [Okumanız şiddetle önerilir]
*/
oper bobsmith {
class clients;
from {
userhost bob@smithco.com;
};
password "f00";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
/*
* YENI: listen {}
* ESKI: P:Line
* İstemci ve sunucuların sunucuya bağlanmasını sağlamak için ircd tarafından
* kullanılacak bir port tanımlamanızı sağlar .
* Sözdizimi aşağıdaki gibidir:
* listen (ip adresi):(port numarası)
* {
* options {
* (tercihler buraya);
* };
* };
* veya sade bir biçimde
* listen: listen (ip):(port);
*
* UYARI: ipv6 ipleri için (3ffe:b80:2:51d::2 vb), [ip]:port; kullanınız
*
* Böylede çalışır.
*/
/* listen için tercihler:
ESKI | YENI
S serversonly
C clientsonly
J java
s ssl
* standard
*/
/* SSL PORTLARI İÇİN NOT: SSL portları oldukça standart dışıdır,
* ayrıca pek çok yüksek-SSL portları için bazı insanlar 994 te çalıştırın
* der çünkü bu resmi SSL portudur..Fakat bu root erişimi gerektirir.Yanı sıra,
* 194 resmi irc portu olarak bunun üzerinde çalışan ircd
* hiç gördünüz mü?
* Böyle olunca bizim önerimiz 6697 portunu SSL için kullanmanız, bu hayli
* sunucuda kullanılıyor ve örnek için StunTour tarafından kabul görmüş durumda.
* İstediğiniz kadar SSL port açmakta özgürsünüz, fakat 6697 yi kullanmanız
* dünya standartı haline gelmesine biraz daha yardım edecektir. ;).
*/
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* NOT: Eğer bir çok IP barındıran bir IRCd Shell kullanıyorsanız logunuzda olası
* 'Address already in use' alırsınız ve ircd başlamaz.Bunun anlamı '*' yerine
* belirli bir IP adresi kullanmanız gerektiğidir.Yani örneğin:
* listen 1.2.3.4:6667;
* Açıkça, IP yi önceden koyduğunuz IP ile değiştirin.
*/
/*
* YENI: link {}
* ESKI: C/N:Lines
* Bir sunucu bağlantısı için bir onay tanımlamanızı sağlar.
* NOT: HER IKI SUNUCUDA BAĞLANTI IÇIN TAM OLARAK DÜZGÜN BİR LINK {} GEREĞİ DUYAR!
* Sözdizimi aşağıdaki gibidir:
* link (sunucu ismi)
* {
* username (username, * da uygundur);
* hostname (ip adresi/hostmask);
* bind-ip (Bağlanırken hangi IP ile bağlanacağı, veya *);
* port (bağlantı portu, eğer herhangi biriyse);
* hub (Bu bir hub ise, * çalışır, veya sunucu maskeleri bunu sağlar);
* [veya leaf *;]
* password-connect "(gönderilecek şifre)";
* password-receive "(almamız gereken şifre)";
* class (sunucuların yönetileceği sınıf);
* options {
* (tercihler buraya*);
* };
* // Eğer SSL kullanıyorsak, SSL modunda ne tür bir anahtar kullanacağımızı seçebiliriz
* // "openssl ciphers" ile bir liste alınır, anahtarlar birbirinden : ile ayrılırak belirtilebilirler.
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
tercihler:
YENI | ESKI
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link hub.mynet.com
{
username *;
hostname 1.2.3.4;
bind-ip *;
port 7029;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
options {
/* Note: Servisler link edilirken autoconnect kullanmamalısınız.*/
autoconnect;
ssl;
zip;
};
};
/*
*
* YENI: ulines {}
* ESKI: U:Line
* U-lines satırları sunuculara daha güç/komut kazandırır.Bu servis/istatistik
* sunucuları içindir ve ASLA normal UnrealIRCd sunucuları için değildir.
* Sözdizimi aşağıdaki gibidir:
* ulines {
* (uline olacak sunucu);
* (uline olacak sunucu);
* [vb]
* };
*/
ulines {
services.roxnet.org;
stats.roxnet.org;
};
/*
* YENI: drpass {}
* ESKI: X:Line
* Bu blok /die ve /restart için şifre tanımlamanızı sağlar.
* Sözdizimi aşağıdaki gibidir:
* drpass {
* restart "(yeniden başlatmak için şfire)";
* die "(sona erdirmek için şifre)";
* };
*/
drpass {
restart "I-love-to-restart";
die "die-you-stupid";
};
/*
* YENI: log {} ESKI: N/A Ircd e logun ne ve nerede olacağını bildirir. Dilediğiniz
* kadara sahip olabilirsiniz.
*
* FLAGS: errors, kills, tkl, connects, server-connects, oper
*
* Syntax:
* log "log file"
* {
* flags
* {
* flag;
* flag;
* etc..
* };
* };
*/
log "ircd.log" {
/* Eğer 2 MB yi geçerse log dosyasını sil ve yenisini aç, eğer her zaman aynı log
dosyasını kullanmak istiyorsanız karışmayın */
maxsize 2097152;
flags {
oper;
connects;
server-connects;
kills;
errors;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
};
};
/*
* YENI: alias {}
* ESKI: N/A
* /nickserv, /chanserv gibi komutlar hazırlamanızı sağlar.
* FLAGS: services, stats, normal
*
* Sözdizimi:
* alias "isim" {
* target "gidecek nokta";
* type aliastype;
* };
*
* [NOT: Aynı zamanda önceden tanımlanmış alias dosyası dahil edebilirsiniz, doc/unreal32docs.html bölüm 2.9]
*/
// Bu nokta /NickServ komutu ile set::services-server server üzerinden bağlanmış olan NickServ e döner.
/*alias NickServ {
target "NickServ";
type services;
};*/
// Eğer komutla noktanın aynı olmasını istiyorsanız nick girişini gözardı edebilirsiniz
//alias ChanServ { type services; };
// Bu nokta /statserv komutu ile set::stats-server server üzerinden bağlanmış olan StatServ e döner.
//alias StatServ { type stats; };
// Bu nokta /superbot komutu ile kullanıcı SuperBot a döner
//alias SuperBot { type normal; };
/* Standart aliases */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };
/*
* ESKI: alias {}
* YENI: N/A
* Bu /identify, /services gibi komutlar hazırlamanızı sağlar.
*
* Sözdizimi:
* alias "isim" {
* format "format satırı" {
* target "gidecek nokta";
* type aliastype;
* parameters "gönderilecek parametreler";
* };
* type command;
* };
*/
/* Bu ayrı bir şekilde gösterilir.Çünkü bir önceki direktif ile aynı isme sahip olsa bile benzer bir
* fonksiyon sağlaması ve standart aliaseslerin çalışmasına dayanması ile birlikte çok farklı sözdizimine sahip olması.
*/
/*
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
*/
/* alias::format direktifi bir düzenli ifadedir. İlk biçim /identify komutundan sonraki ilk karakter bir # ise eşleşir.
* Ardından IDENTIFY %1- ile chanserv aliases e döner.
* İkinci biçim ise /identify komutundan sonraki ilk karakterin bir # işareti ile eşleşmeme durumunu belirtir.Ardından
* IDENTIFY %1- ile nickserv aliases e döner.
*/
/* alias::format::parameters betik diline benzerdir. %N (N bir numaradır) komuta gönderilecek
* parametreyi temsil eder.(bu durumda /identify). Eğer bir %N- belirtirseniz bu N den sonraki
* bütün parametleri içerir. Ayrıca kullanıcı nickname inin yerine %n kullanabilirsiniz.
*/
/* Standart aliases */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};
alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};
/* Bu gerçek komut aliası için bir örnektir */
/* Bu eşlem /GLINEBOT ile /GLINE <parametre> 2d vb... şeklindedir */
alias "glinebot" {
format ".+" {
command "gline";
type real;
parameters "%1 2d Bu sunucuda botlara izin verilmemektedir, lütfen http://www.example.com/faq/123 sayfasından sss ı okuyunuz.";
};
type command;
};
/*
* YENI: dosyalar {}
* ESKI: include/config.h
*
* Bu blok MOTD gibi şeyleri yüklemek için IRCd varsayılan yolları
* PID haricinde geçersiz kılar veya yazma/yükleme olarak dosyayı kendi ayarlar.
* Bu bloğun varlığı bir UnrealIRCd kurulumuna destek sağlar.
* -c ile kombine edildiğinde birden fazla komut seçeneğinin
* çalışmasına izin verir.
*
* Her zamanki gibi bu gibi yakın yollar -c komut satırında belirtilmezse,
* UnrealIRCd unrealircd.conf'u nerede bulunacağını dizinine göre yorumlar.
*/
files
{
/* Günün mesajı, oturum açan kullanıcılara gösterilir: */
/* motd ircd.motd; */
/*
* Kısa MOTD. Eğer bu dosya varsa, MOTD yerine kullanıcıya
* bu gösterilecektir. Yinede kullanıcılar /MOTD komutu kullanarak
* tam MOTD içeriğini görebilecekler.
*/
/* shortmotd ircd.smotd; */
/* Operatör olduğunda gösterilir. /OPER 'liğe yükselmiş */
/* opermotd oper.motd; */
/* Servislere MOTD ekler. */
/* svsmotd ircd.svsmotd; */
/* Bot MOTD */
/* botmotd bot.motd; */
/* /RULES üzerinde gösterilir */
/* rules ircd.rules; */
/*
* IRCd'nin bazı değerlerinin nerede olduğunu gösterir.
* Bu değerler kalıcı olarak saklanır.Sunucu yeniden başlatıldığında
* ise bu değerleri yeniden yükleyecektir.
*/
/* tunefile ircd.tune; */
/* IRCd pidini nerede kaydedildiğini gösterir. IRCd tarafından yazılabilir olmalıdır. */
/* pidfile ircd.pid; */
};
/*
* ESKI: tld {}
* YENI: T:Line
* Bu istemcilerin hostmaskesine bağlı olarak farklı
* motd ve rules dosyaları belirler.
* Sözdizimi aşağıdaki gibidir:
* tld {
* mask (ident@host);
* motd "(motd dosyası)";
* rules "(rules dosyası)";
* };
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* not: Bütün istemciler için aynı motd/rules (ircd.motd, ircd.rules) dosyaları
* görüntületmek istiyorsanız sadece yukarıdaki örnek bloğu silebilirsiniz.
*/
/*
* YENI: ban nick {}
* ESKI: Q:Line
* Nir nickname yasaklar, bundan doalyı kullanılamaz.
* Sözdizimi aşağıdaki gibidir:
* ban nick {
* mask "(yasaklanak nick)";
* reason "(neden)";
* };
*/
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Servisler için ayrılmıştır";
};
/*
* YENI: ban ip {}
* ESKI: Z:Line
* Ağa bağlanan bir ip yi yasaklar.
* Sözdizimi:
* ban ip { mask (ip adresi/hostmask); reason "(neden)"; };
*/
ban ip {
mask 195.86.232.81;
reason "Bağlı olmayan sunucu";
};
/*
* YENI: ban server {}
* ESKI: Server Q:Line
* Ağa bir sunucunun bağlanmasını devredışı kılar.
* eğer sunucu uzak bir sunucuya bağlanmışsa, yerel sunucunun
* ağdan bağlantısı kesilir.
* Sözdizimi aşağıdaki gibidir:
* ban server {
* mask "(sunucu ismi)";
* reason "(neden)";
* };
*/
ban server {
mask eris.berkeley.edu;
reason "Defol buradan.";
};
/*
* YENI: ban user {}
* ESKI: K:Line
* Kullanıcının belirtilen kesin bir mask ile sunucuya bağlanmasını engeller.
* Sözdizimi:
* ban user { mask (hostmask/ip adresi); reason "(neden)"; };
*/
ban user {
mask *tirc@*.saturn.bbn.com;
reason "Idiot";
};
/*
* YENI: ban realname {}
* ESKI: n:Line
* Kullanılan kesin bir realname i yasaklar.
* Sözdizimi:
* ban realname {
* mask "(real name)";
* reason "(neden)";
* };
*/
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/*
* BUTUN BANLAR İÇİN NOT, ilave girdiler için tekrarlanabilir!
*
* YENI: except ban {}
* ESKI: E:Line
* Bu yasaklanmamanızı sağlar.
* Sözdizimi:
* except ban { mask (ident@host); };
* Farklı hostlar için istediğiniz kadar except ban {}
* bloğunu tekrarlayın.
*/
except ban {
/* stskeeps i yasaklama*/
mask *stskeeps@212.*;
};
/*
* YENI: deny dcc {}
* ESKI: dccdeny.conf
* Dcc gönderimlerini bloklamak için kullanılır..Virüsler
* dursa iyi olur.
* Sözdizimi:
* deny dcc
* {
* filename "bloklanacak dosya (örnek, *exe)";
* reason "neden";
* };
*/
deny dcc {
filename "*sub7*";
reason "Muhtemek Sub7 Virüsü";
};
/*
* ESKI: deny channel {}
* YENI: N/A (NEW)
* Girilen kanalları bloklar.
* Sözdizimi:
* deny channel {
* channel "(kanal)";
* reason "neden";
* class "clients"; (isteğe bağlı)
* };
*/
deny channel {
channel "*warez*";
reason "Warez yasaktır";
class "clients";
};
/*
* YENI: vhost {}
* ESKI: Vhost.conf file
* Oper olmayan kullanıcılar için sahte ip hazırlar, veya
* tembellik yaparak /sethost kullanmayan operler içindir :P
* Sözdizimi:
* vhost {
* vhost (vhost.com);
* from {
* userhost (kullanılacak ident@host);
* };
* login (login ismi);
* password (şifre);
* };
* ardından bu vhostu kullanmak için, IRC de /vhost (login) (şifre) yapın
*/
vhost {
vhost i.hate.microsefrs.com;
from {
userhost *@*.image.dk;
};
login stskeeps;
password moocowsrulemyworld;
};
/* Diğer yapılandırma dosyalarını dahil edebilirsiniz */
/* include "klines.conf"; */
/* Ağ yapılandırması */
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-server "services.roxnet.org";
stats-server "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
/* prefix-quit "no"; */
/* Gizleme anahtarları ağ üzerindeki bütün sunucularda aynı olmalı.
* Bu anahtarlar maskeli hostlar yaratmak ve bunları saklamak için kullanılır.
* Anahtarlar 5-100 karakterlik (10-20 karakter yeterli) 3 rastgele diziden oluşmalı ve
* küçük harf (a-z), büyük harf (A-Z) ve rakamlardan (0-9) meydana gelmelidirler.. [ilk örneğe bakınız].
* IPUCU: './unreal gencloak' Unreal sizin için rastgele 3 adet dizin oluşturur.
* Bunu NIX üzerinde çalıştırabilirsiniz.
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"and another one";
"and another one";
};
/* on-oper host */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Sunucunun kendine özgü yapılandırması */
set {
kline-address "bunu.email.olarak.ayarlayın";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
options {
hide-ulines;
/* Eğer isterseniz identd kontrolünü buradan aktif edebilirsiniz */
/* identd-check; */
show-connect-info;
};
maxchannelsperuser 10;
/* /quit mesajının görüntülenebilmesi için, bir kullanıcının sunucuya bağlı kalması gereken süre
* Umarız spamleri durdurmak için yardım eder */
anti-spam-quit-message-time 10s;
/* Bütün çıkışlarda değişmeyen bir çıkış mesajı yaratır - anlamı yerel sunucuda
ısmarlama çıkışlara izin verilmemesidir */
/* static-quit "Client quit"; */
/* Ayrıca bu seçeneğin açıklama satırlarını kaldırıp 'yes' diyerek bütün kanaldan ayrılma mesajlarını,
* bloklamış veya belirli bir diğer metini bunun için kullanabilirsiniz. (örnek: "Bye bye!") Her zaman kanaldan
* ayrılma mesajı olarak kullanılır */
/* static-part yes; */
/* Operlerin sadece belirli istatistikleri görüntüleyebilmesini sağlar, bütün istatistikler için * kullanın,
* bütün istatistikleri görebilmeleri için gözardı edin. Full liste için '/stats' yapınız.
* Bazı yöneticiler normal kullanıcıların 'kGs' istatistiklerine ulaşmasını istemeyebilir.
*/
oper-only-stats "okfGsMRUEelLCXzdD";
/* Throttling: Bu örnek bir hosta 60 saniye içerisine yanlızca 3 bağlantı imkanı sağlar. */
throttle {
connections 3;
period 60s;
};
/* Anti flood koruması */
anti-flood {
nick-flood 3:60; /* Her 60 saniyede 3 nick değişikliği (varsayılan) */
};
/* Spam filtresi */
spamfilter {
ban-time 1d; /* spamfilter ile bir *line yasağının varsayılan devaö süresi */
ban-reason "Spam/Advertising"; /* varsayılan neden */
virus-help-channel "#help"; /* 'viruschan' eylemi için kullanılacak kanal */
/* except "#help"; spam filtreden muaf tutulacak kanal */
};
};
/*
* Sorununuz veya daha fazla yardımamı ihtiyacınız var?
* 1) www.vulnscan.org/UnrealIRCd/unreal32docs.tr.html
* 2) www.vulnscan.org/UnrealIRCd/faq/ <- sorularınızın %80 ini kapsamakta!
* 3) Eğer probleminiz hala devam ediyorsa irc.unrealircd.org sunucusu #unreal-support kanalına girebilirsiniz
* DÖKÜMANTASYON ve FAQ kısmını okumanızı gerekli gördüğümüzü belirtiyoruz!
*/
-152
View File
@@ -1,152 +0,0 @@
[ $Id$ ]
UnrealIRCd FAQ
Made by Stskeeps
This file will contain frequently asked questions about
Unreal IRCd. If you need more help email stskeeps@tspre.org
1) * I compile and everything seems fine during the compiling, but when it
comes time for the program to link, I get errors complaining about dns and
res things. What causes this?
A: You need to make sure -lresolv is included in the "extra libraries"
option of ./Config (or IRCDLIBS in top-level makefile)
2) * When I start up the IRCd it complains about something with chdir()?
A: You need to make sure the right directory is specified when you was
asked about "What directory are all the server configuration files in?"
./Config question
3) The server says like:
*** Link server1 -> server2 is now synced [secs: 30 recv: 130.4 sent: 120.0]
when I link two servers together, what does that mean?
A: That means the link is "synced" (all infodata transfered about the server).
The "secs" (30 in this example) means it took 30 seconds to do the sync
"recv: 130.4" means there was recieved 130 KiloBytes and 4 bytes.
"sent: 120.0" means there was sent 120 kilobytes from my side.
4) What is a negative TS split?
A: Every computer/server has got a time (so they can do TimeStamps) ..
When the clock on the computer is set wrong and the computer it links
upto is wrong it creates a Negative TS split (means time is lower it
actually is. How to fix this is contacting the root of the machine
and ask him to fix the time (when you made sure it's YOUR server that's
wrong)
5) What is an uProtocol ?
A: UnrealIRCd uses numbers to check if a link is compatible with itself
F.x Unreal v2.1.3 has got number 2103 while version 2.1 only has got
2100 - This means .. if the number is lower/higher than the uProtocol
the server uses, it's an incompatible link (of some reasons)
6) How does T:Lines work and what are they?
A: T:Lines is a new Unreal feature that makes it able to show different
MOTDs and RULES to people who matches a certain hostmask . Lemme show you some examples:
T:*.dk:motds/danish.motd:rules/danish.rules
T:*.fr:motds/french.motd:rules/french.rules
This will get people from Denmark to see the "Danish" MOTD and the "Danish" RULLES
and people from France to see the French ones:)
NOTE: T:Lines are read up side down so if you have a T:*:ircd.motd:ircd.rules in the bottom
it should be at the top so the other motd lines can work as well
7) Where can i download updates to Unreal?
A: Mostly you can download the newest version at
http://www.unrealircd.com
Versions may be spewed out regulary due to new features and bugs..
10) Hosts show up as (null).network.net !!
A: This is because you have forgotten to include the network file.
The correct form is (in unrealircd.conf)
Include ..........: <network file>
If this doesn't work .. seek me at irc.ircsystems.net #unrealircd
12) My IRCd which runs on a FreeBSD says something about FDs and
Max: 0 What shall I do??
A: Well it's somekinda bug but you can workaround it by removing those
lines in src/s_bsd.c: (init_sys())
<- snippet 1 ->
#ifdef RLIMIT_FD_MAX
struct rlimit limit;
int pid;
if (!getrlimit(RLIMIT_FD_MAX, &limit))
{
# ifdef pyr
if (limit.rlim_cur < MAXCONNECTIONS)
#else
if (limit.rlim_max < MAXCONNECTIONS)
# endif
{
(void)fprintf(stderr,"ircd fd table too big\n");
(void)fprintf(stderr,"Hard Limit: %d IRC max: %d\n",
limit.rlim_max, MAXCONNECTIONS);
(void)fprintf(stderr,"Fix MAXCONNECTIONS\n");
exit(-1);
}
# ifndef pyr
limit.rlim_cur = limit.rlim_max; /* make soft limit the max */
if (setrlimit(RLIMIT_FD_MAX, &limit) == -1)
{
(void)fprintf(stderr,"error setting max fd's to %d\n",
limit.rlim_cur);
exit(-1);
}
# endif
}
#endif
<-snippet 2->
#ifdef sequent
# ifndef DYNIXPTX
int fd_limit;
fd_limit = setdtablesize(MAXCONNECTIONS + 1);
if (fd_limit < MAXCONNECTIONS)
{
(void)fprintf(stderr,"ircd fd table too big\n");
(void)fprintf(stderr,"Hard Limit: %d IRC max: %d\n",
fd_limit, MAXCONNECTIONS);
(void)fprintf(stderr,"Fix MAXCONNECTIONS\n");
exit(-1);
}
# endif
#endif
13) I run debian-sparc and i get errors when compiling in match.c
What should I do?
A: If it says like this
<-snippet->
match.c: In function 'myncmp':
match.c:247: argument 'str1' doesn't match prototype
/usr/include/string.h:255: prototype declaration
match.c:247: argument 'str2' doesn't match prototype
/usr/include/string.h:255: prototype declaration
match.c:247: argument 'n' doesn't match prototype
/usr/include/string.h:255: prototype declaration
<-end of snippet>
Then go into include/setup.h and add this line:
#define GOT_STRCASECMP
14) I have my ircd linked to 3.2beta4 and lower servers and people walk
bans!!
In include/config.h, define COMPAT_BETA4_KEYS, and make sure all servers
are using the exact same cloak keys. If you are running pre-3.2 servers
along with 3.2 servers this is unavoidable.
(C) Carsten Munk 1999-2000
(C) also Finny Merrill 2001
-109
View File
@@ -1,109 +0,0 @@
RPL_PROTOCTL (RPL_ISUPPORT):
version: 2.1+ (new version: 3.1+)
This sends a numeric during client signon that lists various features that
Unreal supports. This allows client and script writers to know what features
they can use, and various parameters about the irc server. The numeric
used is '005' to try and maintain some semblance of compatibility with
DALnet which has a similar feature. The 005 numeric may be split across
multiple lines if the length exceeds 512 characters.
The format is:
:servername 005 target feature1 feature2... :are supported by this server.
:servername 005 target feature200... :are supported by this server.
features are either a word describing the feature eg: 'SILENCE', or a word
describing the feature and an equals and a list of parameters.
eg: SILENCE=15 (says that we support silence, and we support up to 15 of
them per user), or FOO=12,3 (says we support FOO with parameters 12 and 3)
for example ircu2.10.08 lists:
:test.undernet.org 005 test SILENCE=15 WHOX WALLCHOPS USERIP CPRIVMSG
CNOTICE MODES=6 MAXCHANNELS=10 MAXBANS=30 NICKLEN=9 TOPICLEN=160
KICKLEN=160
-------------------------------------------------------------------------
UnrealIRCd Supports:
:unreal.server 005 nick MAP KNOCK SAFELIST HCN WATCH=%i SILENCE=%i MODES=%i
MAXCHANNELS=%i MAXBANS=%i NICKLEN=%i TOPICLEN=%i
KICKLEN=%i CHANTYPES=# PREFIX=%s :are supported by this server
Feature "MAP"
-------------
/map shows the servers as the server percieves them, who's connected
to who in a pretty display, with number of users attached to each server
Numerics used:
RPL_MAP (006)
RPL_MAPEND (007)
Feature "KNOCK"
---------------
Command: /KNOCK #Channel :<Reason>
This command will only work if you are not a member of the channel and the
+K (No knocks) mode is not on, and the channel is not +i (and you are not
banned). This will send a notice to ops in the channel, about that the user
"knocked".
Feature "SAFELIST"
------------------
This note means that the user will not get disconnected when doing a /list,
as some IRC networks do
Feature "HCN"
-------------
This is a special feature that you activate using /protoctl +HCN,
that will cause +c notices when being oper, being in the Hybrid IRCd style
Feature "WATCH"
---------------
Parameters: How many watch entries are possible
This will ensure the server is able to do the DALnet WATCH command
Feature "SILENCE"
-----------------
Parameters: How many silence entries you can have
Version: unknown, ircu2.9.32 at least.
Silence is a server side ignore. You can /silence +hostmask or
/silence +nick, to add someone to your silence list, or use /silence
-hostmask to remove it. /silence will list your 'silence list'.
you can /silence nick, to see someone elses silence list (useful for
helping someone). Silence is preferably used as a last resort as it
tends to use server CPU time.
Syntax:
SILENCE +hostmask
SILENCE +nick
SILENCE -hostmask
SILENCE -nick
SILENCE nick
reply:
RPL_SILELIST 217
RPL_ENDOFSILELIST 218
Feature/Modifier "MODES"
------------------------
Parameters: How many modes with parameters you can use in one /mode buffer
Feature/Modifier "MAXCHANNELS"
------------------------------
Parameters: How many channels a normal user can join (opers may have
unlimited)
Feature/Modifier "MAXBANS"
+1417
View File
File diff suppressed because it is too large Load Diff
+1428
View File
File diff suppressed because it is too large Load Diff
+1519
View File
File diff suppressed because it is too large Load Diff
+1404
View File
File diff suppressed because it is too large Load Diff
-82
View File
@@ -1,82 +0,0 @@
Services Install Guide For Unreal 3.2 by zyrorl (zyrorl@unrealircd.org)
=======================================================================
last updated: 4/5/2001 (4th May 2001)
First of all you will be required to download a services package for your
network.
A few of the most popular services are:
IRCServices - http://www.ircservices.za.net/
Epona - http://www.pegsoft.net/epona/
Wrecked - http://www.wrecked.net/services/index.html
Magick - http://www.magick.tm/
Sirius - http://ircsystems.net/sirius
After you have downloaded the appropriate services package, you will have to
upload it to your shell, and untar and un-gzip the file by typing: tar -zxvf
services.x.x.tar.gz
Then you will need to enter the directory created by your services package (for
a listing type ls -a) and type ./configure . This will run the configure script
to setup your services. The script will ask you questions regarding the path
want to install your services to, where you want the services data files to be
installed to, encryption options, and the type of ircd that you are using (Most
probably Unreal). If you have previously used any other services package, it
may also ask you if you would like to convert their databases. It may also ask
you if you would like the services to dump a core file when a segmentation fault
occurs so that you can find out the cause of the problem and bug report to the
developers of the ircd services.
Then you will be required to compile your services package by typing "make" or
possibly "gmake". To install services after compiled, type "make install".
Then you will need to enter the directory that you specified for the location
for the data of the services. You will most likely see a example.conf file in
the folder. You will need to rename this file to services.conf by typing "mv
example.conf services.conf" and then you will need to edit the services.conf
file in your favourite text editor. We recommend new users use pico, to edit
the file using pico type "pico services.conf". Edit the file to your liking,
make sure you follow their recommendations in settings, and make sure you edit
the root services passwords, server to link to, password and port.
After you have configured your services you will then be required to edit your
unrealircd.conf. You will require to add server connection lines to your server
in order for services to work. All services on your network will need to have
the same U line as the server that services are linking to. A sample of the
configuration for services for unrealircd.conf is listed below:
link services.yournetwork.net {
username *;
hostname 0.0.0.0; /*Server Ip Address Or Hostmask */
bind-ip *; /* IP To Bind To When Connecting */
port 6667; /* Port Number */
password-connect "passwordsend"; /*Password To Send On Connection*/
password-receive "passwordreceive"; /* Password To Receive From
Server Connecting */
class servers;
};
Make sure you then add a u:line entry for services. All the servers on your
network will be required to have a U:line. For UnrealIRCD 3.2 the U:lines
should look something like this:
ulines {
services.yournetwork.net;
};
Servers Running UnrealIRCD 3.1.1 Darkshades or below the U:Line for the servers
should look something like this:
U:services.yournetwork.net:*:*
You will then be required to edit your unrealircd.conf's network configuration
services name line, which has to be the same name as chosen on the connection
line for your services. ie. in this case your network configuration line would
look something like:
services-name "services.yournetwork.net";
Then you will require to /rehash your ircd and then go back to your services
directory and type ./services to run services.
+180
View File
@@ -0,0 +1,180 @@
Numeric 005 Documentation
(c) 2002-2005 codemastr (Dominick Meglio) [codemastr@unrealircd.com]
(c) 2005-2009 syzop (Bram Matthys) [syzop@vulnscan.org]
Numeric 005 allows the server to inform the client of any protocol specific features in the
IRCd. The numeric is sent at connection time immediately after numeric 004. Additionally
the numeric is sent when a /version request is made by a local user, for remote users
numeric 105 is used but contains the same information.
Due to the limit imposed by RFC1459 on both the buffer size (512) and the amount of
parameters that can be sent in a single command (15) a total of 13 parameters may be
specified in each 005. Because of this, a client must be able to accept multiple 005s
consecutively. The format for the 005 message is as follows:
":" <servername> "005" SPACE <nickname> SPACE <token[=value]> SPACE ... ":are supported
by this server"
Currently UnrealIRCd supports several tokens that are included in numeric 005. A list of
all tokens, their respective value and a brief description are listed below.
Unreal attempts to follow the proposed ISupport standard as much as possible. Unreal only
ignores the standard in one regard, the TARGMAX token. This token is believed to be
impractical and technically impossible to correctly implement due to existing limitations
in the standard. Therefore, this token is not currently supported.
Unreal does additionally provide a few tokens which are not specified in the standard, these
include: HCN, AWAYLEN, WATCH, SILENCE, EXTBAN, ELIST, CMDS, NAMESX, UHNAMES, and WATCHOPTS.
Unreal also maintains a few legacy tokens such as MAXCHANNELS and WALLCHOPS to ensure
compatibility until the ISupport standard is more widely accepted by clients.
Token Value Default Value Description
------------------------------------------------------------------------------------------------
MAP none none Informs the client that the /map
command is present. [Obsolete]
KNOCK none none Informs the client that the /knock
command is present. [Obsolete]
SAFELIST none none The LIST command is sent in
multiple iterations so that the
client's queue does not get filled
causing the user to be killed.
HCN none none The server supports the HCN
(Hybrid Connect Notice) protocol.
MAXCHANNELS number 10 The maximum number of channels a
user may join. [Deprecated]
MAXBANS number 60 The maximum number of bans that
may be placed for a channel.
[Obsolete]
NICKLEN number 30 Maximum length of a user's
nickname.
TOPICLEN number 307 Maximum length of a channel's
topic.
KICKLEN number 307 Maximum length of a kick reason.
MAXTARGETS number 20 Maximum targets for the PRIVMSG
command.
AWAYLEN number 307 Maximum length of an away message.
WALLCHOPS none none Indicates that you may use
NOTICE/PRIVMSG to send to +ohv by
using PRIVMSG/NOTICE [@|%|+]#channel.
[Deprecated]
WATCH number 128 Indicates the presence of the
WATCH command and specifies the
maximum number of watch entries.
SILENCE number 15 Indicates the maximum number of
entries on the silence list.
MODES number 13 Indicates the number of channel
modes with parameters that may be
sent at one time.
CHANTYPES chars # Indicates the prefixes available
for channels.
PREFIX (modes)prefixes (qaohv)~&@%+ Indicates the modes on a channel
that corespond to the given
nickname prefixes.
CHANMODES A,B,C,D be,kfL,lj, Specifies how each channel mode is
psmntirRcOAQKVHGCuzNSMT set/unset. The A section specifies
modes that add a nick/mask to a
list. The B section specifies
modes that require a parameter
to be both set and unset. The C
section specifies modes that
only require a parameter to be
set, and the D section
specifies modes that require no
parameters.
NETWORK string no default value Specifies the name of the
network that the server is
connected to.
CASEMAPPING string ascii Specifies what definition the
server uses when determining if
characters are upper/lowercase
of eachother.
EXTBAN prefix,types ~,cqnr Specifies what extbans are
supported by the server. The prefix
defines which character indicates
an extban and the types defines
which extbans the server supports.
ELIST flags MNUCT Specifies the set of extended LIST
options supported. The M flag
indicates mask based searching,
the N flag indicates negative
mask based searching. The U flag
means support for user count
searching. The C flag allows channel
creation time searching, and the T
flag allows topic set time
searching.
CMDS commands MAP,KNOCK,DCCALLOW,USERIP Specifies a series of commands that
can be useful for the client to know
exist as they may provide a more
efficient means for the client to
accomplish a specific task. This
token replaces the MAP and KNOCK
tokens.
STATUSMSG flags ~&@%+ Specifies the mode flags that may
prefix a channel name in a PRIVMSG
or NOTICE to limit who receives the
message to only those with a certain
level of access. This token will
replace the WALLCHOPS token.
EXCEPTS none none Indicates that channel ban exceptions
(+e) are supported by the server.
INVEX none none Indicates that channel invite
exceptions (+I) are supported by
the server.
MAXLIST mode:num,... b:60,e:60,I:60 Specifies the maximum number of
entries that may be added to a
particular mode list (type A modes).
This token replaces MAXBANS.
CHANLIMIT pfx:num,... #:10 Specifies the maximum number of
channels with the specified prefix
that a user may join at one time.
This token will replace MAXCHANNELS.
CHANNELLEN number 32 Provides the maximum length of a
channel name that a user can create.
NAMESX none none Indicates that extended /NAMES info
is available on this server. If the
client sends "PROTOCTL NAMESX" then
the server will, from then on, send
all channel rights in a NAMES reply
instead of only the highest right
(eg: @+Person instead of @Person).
UHNAMES none none Indicates that (other) extended
/NAMES info is available on the
server. If the client sends
"PROTOCTL UHNAMES" then the server
will, from then on, send user@host
information in a NAMES reply
(eg: @nick!ident@hostname).
WATCHOPTS flags A WATCH options supported. 'A' means
Away Notification is available.
+11
View File
@@ -0,0 +1,11 @@
base64 Documentation (c) 2002 codemastr (Dominick Meglio) [codemastr@unrealircd.com]
(As of Unreal3.2-beta11)
The base64 system used by Unreal is defined as follows:
0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T
U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x
y z { }
These numbers are translated to and from their decimal equivilents of 0-64 in order to
provide a shorter way of expressing a number.
+160
View File
@@ -0,0 +1,160 @@
PROTOCTL Documentation (c) 2002 codemastr (Dominick Meglio) [codemastr@unrealircd.com]
(As of Unreal3.2-beta11)
The PROTOCTL command allows servers to negotiate protocol specific features when a link
occurs. The PROTOCTL command is sent during a link before the SERVER and PASS commands. The
command contains tokens that list what protocols the server supports.
PROTOCTL SPACE <token> SPACE ...
UnrealIRCd supports several tokens that add additional protocol support to the server. A
list of all supported tokens and their function listed below.
Token Description
------------------------------------------------------------------------------------------------
NOQUIT Informs the server it need not send out a QUIT for each user on the server
when an SQUIT occurs. Instead an SQUIT is sent out for each server that has
been disconnected from the network and the server can then assume all users
that were on those servers have left as well.
TOKEN Informs the server that it may send "tokenized commands", that is a shortened
name for the commands. This allows the server to save bandwidth by sending
less information to other servers. See doc/technical/token.txt for a list of
all commands and their respective token.
NICKv2 Notifies the server that it supports the extended NICK command (version 2),
this command allows the server to specify more information in the NICK
command rather than having to send out a NICK, MODE, and CHGHOST
command. This token only affects a NICK command introducing a client, not one
in which a client is changing his/her nickname. The format for a NICKv2 NICK
command is:
:<sender> NICK <nickname> <hops> <TS> <username> <host> <server>
<servicestamp> <umodes> <vhost> :<info>
If the user has no modes set the umodes parameter is a +, if the user has no
vhost set the vhost parameter is an *.
SJOIN SJOIN is an obsolete token that is only supported for backwards
compatibility. It should not be used.
SJOIN2 SJOIN2 is an obsolete token that is only supported for backwards
compatibility. It should not be used.
UMODE2 Informs the server that support for the UMODE2 command exists. The UMODE2
command is a shortened form of the MODE command but only applys to
usermodes. In a normal MODE command, when applied to usermodes, the nickname
is specified two times. Both as the sender prefix and as the first parameter,
UMODE2 solves this problem in order to save bandwidth, the format for UMODE2
is as follows:
:<sender> UMODE2 <modes>
VL Notifies the server that Vline information is included in the info field of
the SERVER command. Vline information consists of the protocol number of the
server and compiletime options supported. This allows denial of a server
based on version and/or features supported. The VL information is passed only
during connection, it is not filtered to other servers on the network, only
the uplink. The syntax for a VL supporting SERVER command is:
SERVER <servername> <hops> :U<protocol>-<versionflags> <info>
If an * appears for either protocol and/or versionflags no Vline checking is
done, this is often used by services programs where support for all versions
is desired. See doc/technical/vl.txt for a list of version flags and protocol
numbers.
SJ3 Notifies the server that the SJOIN command with SJ3 syntax is
supported. SJOIN is used at link time to inform servers about the channels on
the server. It is a combination of the JOIN commands, and MODE commands
associated with distribution of channel information. The syntax for the SJOIN
command with SJ3 syntax is:
:<sender> SJOIN <ts> <chname> [<modes>] [<mode para> ...] :<[[*~@%+]member] ...
[&"ban/except] ...>
The ts parameter is the time at which the channel, chname, was created. The
modes parameter is only included if modes are set, if not modes and mode para
are excluded. If modes exists and modes requiring parameters (+klLf) are set,
one mode para parameter is included for each value. The last parameter
specifies a list of channel members and the channel ban and except list. The
members are listed with the prefixes they have. * = +q, ~ = +a, @ = +o, % =
+h, + = +v. If no prefix is specified for the member then the user is a
normal user. The & prefix is used to denote a +b, and the " prefix denotes a
+e. It is important that if a & or " is encountered that you do not continue
to check that entry for other prefixes as a ban/except may contain *~@
characters which will intefere with prefixes.
When synching, if ts lower than the local value, the information supplied by
the remote server replaces the local (ie remove local +ohv that are not
recorded on the remote server). The opposite is true when the ts is
higher. Bans/excepts do not apply to the previous rule. If the ts is the
same, information is merged therefore the modes from both servers are added
together. If +l is set and both servers have different values, the highest is
choosen, for +f the highest of each param, N:M is chosen, and if one server
has * set, then it is included. For +k and +L the "highest" in a string
comparison is used.
NS When specified informs the server that numeric server names are
supported. Numeric server names are a base64 number that is associated with
each server. This number is used as a shorthand name for the server. It is
used in the server parameter of the NICK command and can also be used in the
prefix for a message. In the event that the prefix is an NS, rather than
using :<sender>, the format is @<ns> the ns should be translated into the
server name so that the message can be processed. The format for a SERVER
message (at sync time) that supports NS is:
SERVER <servername> <hops> :U<protocol>-<versionflags>-<numeric> <info>
The VL protocol must also be supported. The numeric is passed to all servers
on the network through the SERVER command using the syntax:
:<sender> SERVER <servername> <hops> <numeric> :<info>
Note: anywhere a :<sender> is expected an @<ns> may be received if the source
is a server. See doc/technical/base64.txt for information on the base64
system used.
SJB64 This token allows timestamps to be specified in base64 notation to conserve
bandwidth. When SJB64 is supported, anywhere a timestamp can appear may be in
base64 notation. A base64 timestamp is preceeded by a ! to identify that it
is an sjb64 rather than a regular timestamp, if this is the case the
characters following the ! represent the timestamp in base64. See
doc/technical/base64.txt for information on the base64 system used.
ZIP If both servers have this set then the link will be (zlib) compressed after
the SERVER message. If one of the servers does not have ZIP in his PROTOCTL
message then the link stays uncompressed.
TKLEXT This allows 10 instead of 8 parameters in TKL's for spamfilter, see s_kline.c
function m_tkl for more info on this (added in 3.2RC2).
NICKIP This token indicates that a (standard) base64 encoded IP address is included
in the NICK command. The IP is in binary network byte order formated and
encoded using the standard base64 algorithm. '*' is used if no IP is available.
NICKCHARS This specifies a list of language characters that are allowed in nicks.
USMARC codes are used, with a suffix if needed. See src/charsys.c for the full
list (ctrl+f, static LangList) of possible languages (2nd column).
The items in the list sent as NICKCHARS=.. must always be sorted.
If a server sends NICKCHARS= and if the remote parameters do not match the
charsets in use locally, then the server link is rejected.
CHANMODES Like CHANMODES from the 005 numeric. Useful to see which channel modes are
supported/used, and can also be used to properly eat parameters in parameter
modes in the MODE command (for eg: +jk 1:1 a).
EAUTH Early Authorization. This makes it possible for servers to authenticate each
other before the regular SERVER command. Needs to be done prior to using the
SERVERS token, and possibly other tokens or commands in the future. Hence,
is recommended to be sent as first (or early) PROTOCTL token. Note also that
the PASS command should be sent prior to this PROTOCTL token.
EAUTH=my.server.name[,options]
SERVERS Informs the other server about the other servers (numerics) on this network
(including our own numeric).
Syntax: SERVERS=numeric1,numeric2,numeric3,etc
ESVID This token indicates that the traditional services stamp value may take any
arbitrary value for the SVID field, such as an account name or other unique
identifier, including a traditional timestamp value.
+468
View File
@@ -0,0 +1,468 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Unreal 3.2 Protocol Documentation</title>
</head>
<body>
<h1 style="text-align: center;">Unreal 3.2 Protocol Documentation</h1>
<h3 style="text-align: center;">Last update: 29 November 2006</h3>
<h1>Table of Contents</h1>
<p><a href="#S1">1 Introduction</a></p>
<p><a href="#S2">2 Server Negotiation</a></p>
<blockquote><p><a href="#S2_1">2.1 PASS - Connection Password</a></p></blockquote>
<blockquote><p><a href="#S2_2">2.2 PROTOCTL - Server Protocol Negotiation</a></p></blockquote>
<blockquote><p><a href="#S2_3">2.3 SERVER - Server Negotiation</a></p></blockquote>
<blockquote><p><a href="#S2_4">2.4 EOS - End Of Synch</a></p></blockquote>
<blockquote><p><a href="#S2_5">2.5 NETINFO - Network Information</a></p></blockquote>
<p><a href="#S3">3 User Operations</a></p>
<blockquote><p><a href="#S3_1">3.1 NICK - User Introduction and Nick Change</a></p></blockquote>
<blockquote><blockquote><p><a href="#S3_1_1">3.1.1 Nick Collisions</a></p></blockquote></blockquote>
<blockquote><p><a href="#S3_2">3.2 MODE, UMODE2 - User Mode Change</a></p></blockquote>
<blockquote><p><a href="#S3_3">3.3 QUIT - User Disconnect</a></p></blockquote>
<blockquote><p><a href="#S3_4">3.4 KILL - Force Disconnect</a></p></blockquote>
<blockquote><p><a href="#S3_5">3.5 SETHOST/CHGHOST - Change virtual host</a></p></blockquote>
<blockquote><p><a href="#S3_6">3.6 SETIDENT/CHGIDENT - Change a user's username</a></p></blockquote>
<blockquote><p><a href="#S3_7">3.7 SETNAME/CHGNAME - Change a user's realname</a></p></blockquote>
<blockquote><p><a href="#S3_8">3.8 WHOIS - User Information</a></p></blockquote>
<p><a href="#S1">4 Server Operations</a></p>
<blockquote><p><a href="#S4_1">4.1 SERVER - Server Introduction</a></p></blockquote>
<blockquote><p><a href="#S4_2">4.2 SQUIT - Server Removal</a></p></blockquote>
<blockquote><p><a href="#S4_3">4.3 SDESC - Server Description</a></p></blockquote>
<blockquote><p><a href="#S4_4">4.4 PING - Live Connection Query</a></p></blockquote>
<blockquote><p><a href="#S4_5">4.5 PONG - Live Connection Reply</a></p></blockquote>
<blockquote><p><a href="#S4_6">4.6 STATS - Server Stats</a></p></blockquote>
<p><a href="#S5">5 Channel Operations</a></p>
<blockquote><p><a href="#S5_1">5.1 SJOIN - Channel Burst</a></p></blockquote>
<blockquote><p><a href="#S5_2">5.2 JOIN - Channel Join</a></p></blockquote>
<blockquote><p><a href="#S5_3">5.3 PART - Channel Part</a></p></blockquote>
<blockquote><p><a href="#S5_4">5.4 KICK - Channel Kick</a></p></blockquote>
<blockquote><p><a href="#S5_5">5.5 MODE - Channel Mode</a></p></blockquote>
<blockquote><p><a href="#S5_6">5.6 INVITE - Invite a user to a channel</a></p></blockquote>
<blockquote><p><a href="#S5_7">5.7 SAJOIN - Channel Force Join</a></p></blockquote>
<blockquote><p><a href="#S5_8">5.8 SAPART - Channel Force Part</a></p></blockquote>
<blockquote><p><a href="#S5_9">5.9 SAMODE - Channel Force Mode</a></p></blockquote>
<blockquote><p><a href="#S5_10">5.10 TOPIC - Chanel Topic</a></p></blockquote>
<p><a href="#S6">6 Services Commands</a></p>
<blockquote><p><a href="#S6_1">6.1 SVSKILL - Force Disconnect by Service</a></p></blockquote>
<blockquote><p><a href="#S6_2">6.2 SVSMODE, SVS2MODE - Force User Mode Change</a></p></blockquote>
<blockquote><p><a href="#S6_3">6.3 SVSSNO, SVS2SNO - Forced SNomask Change</a></p></blockquote>
<blockquote><p><a href="#S6_4">6.4 SVSNICK - Forced Nick Change</a></p></blockquote>
<blockquote><p><a href="#S6_5">6.5 SVSJOIN - Forced Join</a></p></blockquote>
<blockquote><p><a href="#S6_6">6.6 SVSPART - Forced Part</a></p></blockquote>
<blockquote><p><a href="#S6_7">6.7 SVSO - Oper Permissions</a></p></blockquote>
<blockquote><p><a href="#S6_8">6.8 SVSNOOP - Oper Lockdown</a></p></blockquote>
<blockquote><p><a href="#S6_9">6.9 SVSNLINE - RealName Ban</a></p></blockquote>
<blockquote><p><a href="#S6_10">6.10 SVSFLINE - File Ban</a></p></blockquote>
<p><a href="#S7">7 Messaging</a></p>
<blockquote><p><a href="#S7_1">7.1 PRIVMSG, NOTICE - Simple Message Transmission</a></p></blockquote>
<blockquote><p><a href="#S7_2">7.2 SENDUMODE, SMO - Usermode-based Delivery</a></p></blockquote>
<blockquote><p><a href="#S7_3">7.3 SENDSNO - SNomask-based Delivery</a></p></blockquote>
<blockquote><p><a href="#S7_4">7.4 CHATOPS - IRCop Chat</a></p></blockquote>
<blockquote><p><a href="#S7_5">7.5 WALLOPS - Wallop Chat</a></p></blockquote>
<blockquote><p><a href="#S7_6">7.6 GLOBOPS - FailOp Chat</a></p></blockquote>
<blockquote><p><a href="#S7_7">7.7 ADCHAT - Admin Chat</a></p></blockquote>
<blockquote><p><a href="#S7_8">7.8 NACHAT - NetAdmin Chat</a></p></blockquote>
<p><a href="#S8">8 Ban Control</a></p>
<blockquote><p><a href="#S8_1">8.1 TKL - Master Ban Control</a></p></blockquote>
<blockquote><blockquote><p><a href="#S8_1_1">8.1.1 GLINE - Network-wide user@host ban</a></p></blockquote></blockquote>
<blockquote><blockquote><p><a href="#S8_1_2">8.1.2 GZLINE - Network-wide IP ban</a></p></blockquote></blockquote>
<blockquote><blockquote><p><a href="#S8_1_3">8.1.3 SQLINE, UNSQLINE - Network-wide Nickname ban</a></p></blockquote></blockquote>
<blockquote><blockquote><p><a href="#S8_1_4">8.1.4 SPAMFILTER - Message Spam Filtration System</a></p></blockquote></blockquote>
<p><a href="#S9">9 Base64 Tables</a></p>
<blockquote><p><a href="#S9_1">9.1 Table for SJB64 (NICK and SJOIN).</a></p></blockquote>
<blockquote><p><a href="#S9_2">9.2 Table for NICKIP.</a></p></blockquote>
<hr/>
<h1><a name="S1"></a>1 Introduction</h1>
<p>This document describes the UnrealIRCd server-to-server protocol.</p>
<h2>A word about clocks.</h2>
<p>Unreal is very time-dependant. Users and channels, for example, are timestamped, and if server clocks are not synchronized properly, things can go very wrong very fast. See <a href="http://vulnscan.org/UnrealIrcd/faq/#67">http://vulnscan.org/UnrealIrcd/faq/#67</a> for more information on this. Note that there is a slight difference between server time and what is actually reported by the UNIX date command or by the C time() function. Unreal can apply an offset to the real time to create the server time, allowing servers to be virtually synchronized when synchronizing the real clocks is not possible (such as on shell servers).
I should make it quite clear that GMT time is used for everything. To be specific, timestamps in unreal are 32-bit integer values (actually, however many bits the time_t type is, which is 32 on 32-bit systems such as x86). This integer value is the number of seconds that have elapsed since Midnight January 1, 1970 GMT (can be referred to as Epoch time in the UNIX world). This means that timezones are no problem, nor is daylight savings time (or whatever your country of choice calls it).</p>
<hr/>
<h1><a name="S2"></a>2 Server Negotiation</h1>
<p>The first step to establish a server-to-server communication is to negotiate the connection as a server. Negotiation is done using standard IRC commands - no PROTOCTL options are in force until the link is established. The first step is to open a TCP/IP connection to the target server. The target port must be one described by a listen {} block in the remote server's configuration, and that listen block must not have the clientsonly option. After the connection is open, you will be treated as any other connection and be greeted with the "Looking up your hostname..." and "Checking identd..." notices as you would for a client. As these are NOTICE messages and your session as a server isn't established, they should simply be ignored. Use the commands below to introduce a server connection.</p>
<h2><a name="S2_1"></a>2.1 PASS - Connection Password</h2>
<p><b>Syntax:</b> <tt>PASS :<i>link password</i></tt></p>
<p>The PASS command is used to transmit the password required for a server link. It must match the password specified in the remote server's link::password-receive (which can be crypted), otherwise the link will be rejected. This should be the first message sent.</p>
<h2><a name="S2_2"></a>2.2 PROTOCTL - Server Protocol Negotiation</h2>
<p><b>Syntax:</b> <tt>PROTOCTL <i>protocol options</i></tt></p>
<p>The PROTOCTL command sets several protocol options. The tokens supported are listed below.</p>
<ul>
<li>NOQUIT : When a netsplit occurs, only send a SQUIT message for each server lost. This server will assume that clients on these servers were also lost and will send the appropriate QUIT messages to local clients and to any non-NOQUIT servers.</li>
<li>TOKEN : Use tokenized commands. Tokens are case-sensitive, shortened versions of command names. Tokens will be usually one or two characters.</li>
<li>NICKv2 : Use extended NICK message for introducing users. See the NICK command for information about this.</li>
<li>VHP : When introducing a user, send his cloaked host as if it were a vhost. Usually used for services to avoid having duplicate code.</li>
<li>SJOIN : Supports SJOIN version 1 which is no longer in use. Use with SJ3.</li>
<li>SJOIN2 : Supports SJOIN version 2 which is no longer in use. Use with SJ3.</li>
<li>UMODE2 : Supports the UMODE2 command, which is a shortened version of MODE for usermode changes.</li>
<li>VL : Supports V:Line information. Extends the SERVER message to include version information used in deny version{} blocks. Note that this is assumed - unreal will always send its own version information.</li>
<li>SJ3 : Supports SJOIN version 3.</li>
<li>NS : Supports server numerics which provides a shorthand for server names. In any circumstance where a :server.name is permitted (the server is the message's real source), @servernumeric may be used instead. In addition, the server.name parameter in the NICK message may be simply the server's numeric. Requires VL support.</li>
<li>SJB64 : Timestamps in NICK and SJOIN are expressed in base64 rather than base10.</li>
<li>TKLEXT : Supports exntended TKL messages for spamfilter support.</li>
<li>NICKIP : Adds an IP parameter to the NICK message, which is the base64 encoding of the user's ip address (in network byte order). Requires NICKv2.</li>
<li>NICKCHARS : Indicates the set of enabled nickchar options (see the regular documention for info about this).</li>
<li>CHANMODES : (Not required to be sent) This is the same as the CHANMODES value in the 005 for client connections. Useful for autodetecting things like what modes are valid for ChanServ MLOCK, for example.</li>
<li>CLK : Supports an extra field in NICK for sending the cloaked host (not vhost).</li>
<li>ESVID : Supports arbitrary values instead of just numeric timestamps for the services identifier field.</li>
</ul>
<p>The syntax examples here follow the conventions for TOKEN and also NS in cases of server-only messages.</p>
<h2><a name="S2_3"></a>2.3 SERVER - Server Negotiation</h2>
<p><b>Note:</b> This message is also used for introducing additional servers, the format of this message in those cases is described later.</p>
<p><b>Syntax (normal):</b> <tt>SERVER <i>server.name</i> 1 :<i>server description</i></tt></p>
<p><b>Syntax (with VL):</b> <tt>SERVER <i>server.name</i> 1 :U<i>protocolversion</i>-<i>protocolflags</i> <i>server description</i></tt></p>
<p><b>Syntax (with VL and NS):</b> <tt>SERVER <i>server.name</i> 1 :U<i>protocolversion</i>-<i>protocolflags</i>-<i>servernumeric</i> <i>server description</i></tt></p>
<p>The literal 1 in the parameter list is the hopcount parameter. Since you are a direct link, your own hopcount will be 1.</p>
<p>The server.name is the same as that in the remote server's link:: block. When received from unreal servers, this will be the value of that server's me::name. The protocol version is the numeric protocol version (2306 for example), and the protocol flags are the server's compilation flags (described below). These two fields are checked against the deny version {} blocks in the remote server's configuration. A value of 0 for either field prevents deny version{} checking for that field. The server description can be anything. When received from unreal servers, it'll be the value of me::description.</p>
<p>The following version numbers have been used previously:</p>
<ul>
<li>2311 - Unreal 3.2.10</li>
<li>2310 - Unreal 3.2.9</li>
<li>2309 - Unreal 3.2.6, 3.2.7, 3.2.8</li>
<li>2308 - Unreal 3.2.5</li>
<li>2307 - Unreal 3.2.4</li>
<li>2306 - Unreal 3.2.3</li>
<li>2305 - Unreal 3.2.2</li>
<li>2304 - Unreal 3.2.1</li>
<li>2303 - Unreal 3.2beta* through 3.2 Release</li>
<li>2302 - Unreal 3.1.1 through 3.1.4</li>
<li>2301 - Unreal 3.1 Release</li>
<li>2300 - Unreal 3.0 Release</li>
</ul>
<p>The compile flags as specified in protocol flags are:</p>
<ul>
<li>c : Server is chrooted (#define CHROOTDIR).</li>
<li>C : Server has command line config (-f option) enabled (#define CMDLINE_CONFIG).</li>
<li>D : Server is in debugmode (#define DEBUGMODE).</li>
<li>F : Using filedescriptor lists.</li>
<li>h : Server is compiled with hub support (#define HUB or answer "Hub" to relevant ./Config prompt).</li>
<li>i : Server shows invisible users in /TRACE.</li>
<li>n : NOSPOOF (pingcookies) is enabled (#define NOSPOOF or answer "Yes" to relevant ./Config prompt).</li>
<li>V : Server is using valloc().</li>
<li>W : Windows IRCd.</li>
<li>Y : Syslog logging enabled.</li>
<li>6 : Server has IPv6 support (#define INET6 or answer "yes" to relevant ./Config prompt).</li>
<li>X : Server has badword stripping (user and channel modes +G) (#define STRIPBADWORDS).</li>
<li>P : Server is using poll().</li>
<li>e : Server has SSL Support (#define USE_SSL or answer "yes" (and have ssl libraries installed) to relevant ./Config prompt).</li>
<li>O : Server has OperOverride enabled (#undef NO_OPEROVERRIDE or answer "no" to relevant ./Config prompt).</li>
<li>o : Server has disabled Oper verify (#undef OPEROVERRIDE_VERIFY or answer "no" to relevant ./Config prompt).</li>
<li>Z : Server has ziplink support (#define ZIP_LINKS or answer "yes" to relevant ./Config prompt AND have the zlib dev libraries).</li>
<li>E : Server has extended channel mode support.</li>
<li>3 : 3rd party modules are loaded or some system libraries are wonky.</li>
<li>m : Private message handling is 'tainted' (one or modules registered a USERMSG hook).</li>
<li>M : Channel message handling is 'tainted' (one or modules registered a CHANMSG hook).</li>
<li>Additional Version flags can be added by 3rd-party modules.</li>
</ul>
<h2><a name="S2_4"></a>2.4 EOS - End Of Synch (TOKEN: ES)</h2>
<p><b>Syntax:</b> ES</p>
<p>Marks the end of the synching process. This is really optional, but it might be a good idea to send it anyway when you really are done synching. Once you send this, unreal will announce &quot;Client connecting&quot; or &quot;Client exiting&quot; notices (to those with snomask +F) for users (unless your server is U:Lined), and joins will be counted toward channel flood controls (chanmode +f).</p>
<p>Sending EOS only marks your server as synched, but does not do so for servers behind you. EOS would need to be sent on those servers' behalf as well.</p>
<h2><a name="S2_5"></a>2.5 NETINFO - Network Information (TOKEN: AO)</h2>
<p><b>Syntax:</b> AO <i>maxglobal</i> <i>currenttime</i> <i>protocolversion</i> <i>cloakhash</i> 0 0 0 :<i>networkname</i></p>
<p>This tells the other server your current network configuration. The max global is the highest number of concurrent users network-wide that this server has seen. The current time is a timestamp value. Protocolversion is the same as that in the SERVER command. Cloakhash is a hash representing the configured cloak keys. It may be a * if you are implementing services. The network name is that specified in set::network-name. The cloak-prefix is currently not sent here (and thus unreal won't generate warning for mismatching cloak prefixes, but they should be the same anyway).</p>
<p>It is NETINFO, not EOS, that triggers the &quot;Link bla bla bla is now synched&quot; notices, but NETINFO does not imply synching is actually complete (see EOS).</p>
<hr/>
<h1><a name="S3"></a>3 User Operations</h1>
<p>One important function of servers is it must notify all other servers about all of the users behind it. These commands represent the operations that can result in the change of a user's global state.</p>
<h2><a name="S3_1"></a>3.1 NICK - User Introduction and Nick Change (TOKEN: &amp;)</h2>
<p><b>Syntax (nick change):</b> <tt>:<i>oldnick</i> &amp; <i>newnick</i> :<i>timestamp</i></tt></p>
<p>This format of the NICK message indicates an existing user is changing his or her nickname. If a collision occurs, see the section on Nick Collisions below. The timestamp is the new nickname's timestamp.</p>
<p><b>Syntax (normal):</b> <tt>&amp; <i>nick</i> <i>hopcount</i> <i>timestamp</i> <i>username</i> <i>hostname</i> <i>server</i> <i>service-identifier-token</i> :<i>realname</i></tt></p>
<p><b>Syntax (NICKv2):</b> <tt>&amp; <i>nick</i> <i>hopcount</i> <i>timestamp</i> <i>username</i> <i>hostname</i> <i>server</i> <i>service-identifier-token</i> <i>+usermodes</i> <i>virtualhost</i> :<i>realname</i></tt></p>
<p><b>Syntax (NICKv2+CLK):</b> <tt>&amp; <i>nick</i> <i>hopcount</i> <i>timestamp</i> <i>username</i> <i>hostname</i> <i>server</i> <i>service-identifier-token</i> <i>+usermodes</i> <i>virtualhost</i> <i>cloakhost</i> :<i>realname</i></tt>
<p><b>Syntax (NICKv2+NICKIP):</b> <tt>&amp; <i>nick</i> <i>hopcount</i> <i>timestamp</i> <i>username</i> <i>hostname</i> <i>server</i> <i>service-identifier-token</i> <i>+usermodes</i> <i>virtualhost</i> <i>nickipaddr</i> :<i>realname</i></tt></p>
<p><b>Syntax (NICKv2+NICKIP+CLK):</b> <tt>&amp; <i>nick</i> <i>hopcount</i> <i>timestamp</i> <i>username</i> <i>hostname</i> <i>server</i> <i>service-identifier-token</i> <i>+usermodes</i> <i>virtualhost</i> <i>cloakhost</i> <i>nickipaddr</i> :<i>realname</i></tt>
<p><b>Note:</b> Because each server normally does its own cloak generation, Unreal does not expect to receive NICK messages with the CLK info, so do not send it. It will send this info to a server it has received a PROTOCTL CLK from however.</p>
<p>This format of the NICK message introduces a new user to the network. If PROTOCTL VHP is enabled, the user's cloaked host is put in the virtualhost field, otherwise it'll be * unless the user is +t. With the addition of CLK, VHP is no longer necessary for determining the cloak host.</p>
<h3><a name="S3_1_1"></a>3.1.1 Nick Collisions</h3>
<p>A nick collision occurs when a server receives a NICK message (or &amp; token) introducing a user that the server already sees on the network. When a collision occurs, one or both of the colliding clients must be disconnected. The timestamp is examined to determine which client loses. The client with the earlier timestamp remains. If both clients have equal timestamps, both are removed. Currently, Unreal handles NICK collisions both passively and agressively:</p>
<ul>
<li><b>Aggressive Handling:</b> The server actively sends a KILL message back across the link to terminate that end's client.</li>
<li><b>Passive Handling:</b> Upon receipt of a NICK message that should "win", the server simply silently exits it's own client.</li>
</ul>
<h2><a name="S3_2"></a>3.2 MODE, UMODE2 - User Mode Change (TOKEN: G or |)</h2>
<p><b>Syntax (MODE):</b> <tt>:<i>user</i> G <i>user</i> <i>modechange</i></tt></p>
<p><b>Syntax (UMODE2):</b> <tt>:<i>user</i> | <i>modechange</i></tt></p>
<p>This indicates a usermode change. The modechange can consist of zero or more strings of characters, each prefixed with either a + or -; the only delimiter between them being said + or -. If no + or - is at the beginning of the mode string, a + should be implied.</p>
<p>Some user modes are never sent between servers. Specifically, usermode +s and +O are not sent between servers. Modules can define additional usermodes that also might not be sent between servers. The UMODE2 saves bandwidth by not including the redundant target field for usermode changes, so use it when possible.</p>
<h2><a name="S3_3"></a>3.3 QUIT - User Disconnect (TOKEN: ,)</h2>
<p><b>Syntax:</b> <tt>:<i>user</i> , :<i>reason</i></tt></p>
<p>This command indicates that a user has disconnected. The reason field is filled in with the reason the user disconnected, which will be any of: quit message provided by the user in a /quit command, kill message for local operator kills, "Client exited" if the user does a brutal quit (clean (by TCP's definition) disconnect without sending a QUIT message), or a socket error message if present.</p>
<p>The QUIT message must NOT be prefixed when passing on to other servers. Only local user quit messages are affected by set::prefix-quit.</p>
<h2><a name="S3_4"></a>3.4 KILL - Force Disconnect (TOKEN: .)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> . <i>target</i> :<i>killpath</i>!<i>source</i> (<i>reason</i>)</tt></p>
<p>Used to indicate that an operator has used KILL on a user not on the same server. Anything beyond the last ! in the kill path is used as the reason. The source (reason) part is simply a standard used by Unreal. As each server passes on a KILL message, it usually prepends the bottommost part (up to the first .) of it's name followed by a ! character. When unreal receives a KILL from a directly connected irc operator, it will usually add that oper's vhost (or realhost if -x) as the first hop in the kill path, then follow with it's own name as mentioned before if it is passing to another server.</p>
<p>A server can also send KILLs on it's own. This is done in cases involving nickname collisions, fake senders, bad direction, and other cases of protocol errors. Usually, in these cases, the server puts it's own name as the source, and also prefixes with <i>bottompart</i>! like for any other ircop on that server. For example: @3 . someone :irc!irc.example.com (Nick collision)</p>
<h2><a name="S3_5"></a>3.5 SETHOST/CHGHOST - Change virtual host (TOKEN: AA or AL)</h2>
<p><b>Syntax (SETHOST):</b> <tt>:<i>source</i> AA <i>newvhost</i></tt></p>
<p><b>Syntax (CHGHOST):</b> <tt>:<i>source</i> AL <i>target</i> <i>newvhost</i></tt></p>
<p>Indicates the change of a user's virtual host. Currently, servers are expected to assume UMODE2 +xt on the target user in both commands. (In the case of SETHOST, the target is the sender.) Servers using PROTOCTL VHP will receive the cloaked host in a SETHOST message when a user activates his cloaked host. A server can also send CHGHOST (from one of it's opered clients) to change a user's hostname. This is generally used by HostServ implementations. To disable a cloaked host, use CHGHOST to set the user's virtual host equal to his real host, or use SVSMODE -xt, but the latter requires services.</p>
<h2><a name="S3_6"></a>3.6 SETIDENT/CHGIDENT - Change a user's username (TOKEN: AD or AZ)</h2>
<p><b>Syntax (SETIDENT):</b> <tt>:<i>source</i> AD <i>newusername</i></tt></p>
<p><b>Syntax (CHGIDENT):</b> <tt>:<i>source</i> AZ <i>target</i> <i>newusername</i></tt></p>
<p>Indicates the change of a user's username. No usermode change is associated with this. Unreal does not use a distinguished virtual username, so servers should only keep the original username (from the NICK message) if they intend to allow the user to reset the original username. Servers can use CHGIDENT to change a user's username.</p>
<h2><a name="S3_7"></a>3.7 SETNAME/CHGNAME - Change a user's realname (TOKEN: AE or BK)</h2>
<p><b>Syntax (SETNAME):</b> <tt>:<i>source</i> AE :<i>newrealname</i></tt></p>
<p><b>Syntax (CHGNAME):</b> <tt>:<i>source</i> BK <i>target</i> :<i>newrealname</i></tt></p>
<p>Indicates the change of a user's realname. No usermode change is associated with this. Unreal does not use a distinguished virtual realname, so servers should only keep the original realname (from the NICK message) if they intend to allow the user to reset the original realname. Servers can use CHGNAME to change a user's username. Note that servers must NOT check that the sender be an IRCop in SETNAME - normal users are permitted to use SETNAME.</p>
<h2><a name="#S3_8"></a>3.8 WHOIS - User Information (TOKEN: #)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> # [<i>from-server</i> ]<i>nick</i></tt></p>
<p>Requests the information on a user. This works exactly like the user /whois command - in fact, the source parameter must be a user, or the command will do nothing. <i>from-server</i> is the server to request the information from; if a server recives a WHOIS message without this parameter, it should return its own information on the user, otherwise it should pass the message to the given server. Note that <i>from-server</i> may name a user instead of a server (such as when a user uses /whois nick nick), in which case the the nick should be interpreted as naming the server that user is on. <i>nick</i> may be several users seperated by commas, but may not contain wildcards.</p>
<p>The reply to a WHOIS message uses the same numeric replies as the user command.</p>
<hr/>
<h1><a name="S4"></a>4 Server Operations</h1>
<p>This is different from server negotiation. Negotiation is when you are first connecting. Server introduction is used for introducing additional servers behind an existing server (aka hubbing). Hubbing is limited as specified by the hub, leaf, and leafdepth parameters in the link block and attempted violation of a hub restriction results in termination of the link. If no hub or leaf directive is given your server is a leaf by default, so any introduction of any server behind you would be an automatic drop. U:Lines don't matter here; services must be configured as a hub in the link block. The reason is U:Line is a permission rule, but hub privilege is a network structure rule.</p>
<h2><a name="S4_1"></a>4.1 SERVER - Server Introduction (TOKEN: ')</h2>
<p><b>Note: This command is also used for negotiation. Be warned that the token for this command is NOT VALID at that time! See section 2.3 for the syntax for negotiation.</b></p>
<p><b>Syntax (without PROTOCTL NS):</b> <tt>:<i>source</i> SERVER <i>new.server</i> <i>hopcount</i> :<i>description</i></tt></p>
<p><b>Syntax (with PROTOCTL NS):</b> <tt>@<i>sourcenumeric</i> SERVER <i>new.server</i> <i>hopcount</i> <i>numeric</i> :<i>description</i></tt></p>
<p>The command indicates that the server named new.server is being introduced by the source (the source is the server which new.server is directly linked to). The hopcount will be the number of links the receiving server would have to cross to reach new.server. In other words, new.server introduced itself with a hopcount of 1, and as the SERVER message is passed along, hopcount is incremented.</p>
<p>As an example, a services server faking a SERVER message for JUPE functionality would use a hopcount of 2.</p>
<h2><a name="S4_2"></a>4.2 SQUIT - Server Removal (TOKEN: -)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> SQUIT <i>server.name</i> <i>:reason</i></tt></p>
<p>From an IRCop or when server.name is not behind the source, this command requests the removal of the specified server.name. The command in this case is treated very much like KILL in the respect that the message is broadcasted to all servers, except server.name and any servers behind it. When the SQUIT reaches server.name's uplink, that server closes the link to server.name (which would then generate it's own SQUIT on behalf of it's uplink for the servers behind it).</p>
<p>A server can also use SQUIT in the same manner as QUIT to note the removal of a server behind it, or that it itself is quitting. In the former case, server.name is behind source, and the message is forward on to all other servers. In the latter case, source and server.name are equal, the receiving server closes the link and forwards the SQUIT message.</p>
<p>Unreal closes a direct link by simply sending an ERROR message and then closing the TCP connection. This typically causes the other end to generate an SQUIT bearing the message "Client exited" or similar, however, the ERROR will usually cause the server to send a message to all IRCops.</p>
<h2><a name="S4_3"></a>4.3 SDESC - Server Description (TOKEN: AG)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> AG :<i>newdesc</i></tt></p>
<p>The server to which source is connected to should have it's description updated to newdesc. This does NOT include the VL inforamtion.</p>
<h2><a name="S4_4">4.4 PING - Live Connection Query (TOKEN: 8)</a></h2>
<p><b>Syntax:</b> <tt>8 <i>source</i>[ :<i>destination</i>]</tt></p>
<p>Used to check if a connection is still live if it has been &quot;quiet&quot; for a certain amount of time. Typically, unreal will send PING requests at intervals determined by the class::pingfreq setting. PINGs originating from the direct uplink will use the token, but it seems PINGs originating from a distant server will not.</p>
<p>The response to a PING is sent with the <a href="#S4_5">PONG</a> command.</p>
<p>When receiving a two-parameter PING, the second parameter is the target. If the target isn't you, you can either reply on behalf of that target (using its name instead of yours), or if there is a real connection representing the target, forward the PING to the target.</p>
<h2><a name="S4_5">4.5 PONG - Live Connection Reply (TOKEN: 9)</a></h2>
<p><b>Syntax:</b> <tt>9 <i>source</i>[ :<i>destination</i>]</tt></p>
<p>Used to respond to a <a href="#S4_4">PING</a> query.</p>
<p><b>Responding to a ping:</b> Once a PING is received, you usually have an amount of time to respond equal to your class::pingfreq. The correct response will always have two parameters. If you received one parameter, then the received parameter becomes the second parameter of your response, and the first parameter is your server name. If you received two parameters, the response returns both parameters in reverse order.</p>
<p>For example, the response to <tt>8 uplink.server</tt> is <tt>9 my.name uplink.server</tt>, while the response to <tt>PING distant.server your.server</tt> is <tt>9 your.server distant.server</tt>. Unreal typically includes a : prior to the last parameter. This isn't required if that parameter contains no spaces, but it is especially important to not include the colon when reversing the parameters, or else Unreal mistake it for a single-parameter PONG.
<p>If a two-parameter PONG is received, the second parameter names the target. If the target is not you, and a real connection represents that target, you should forward the PONG message via that connection.</p>
<h2><a name="#S4_6"></a>4.6 STATS - Server Stats (TOKEN: 2)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> 2 [<i>type</i> [<i>server</i>] [<i>extended-params</i>]]</tt></p>
<p>Requests statistics or configuration information from a server. This command is used to transport cross-server STATS requests from users (eg: /stats o other.server), and should only be sent from a user (not a server). With no parameters, this will cause unreal to simply dump its help output. <i>type</i> is the type of stats to request, <i>server</i> names a server (or a user on that server) to request stats from, and <i>extended-params</i> is used to filter output from STATS G, etc. When received, it is up to the receiver to determine what stats to support and how to reply, but generally numeric replies are used. For the list of unreal's stats types, type /stats in a client for the helptext dump.</p>
<p><b>Note:</b> Stats set as oper-only (see set::oper-only-stats) will be refused from a server. In this case, it will be necessary to send the stats request from a psuedo-oper (such as a services agent, etc) for services/stats/etc.</p>
<hr/>
<h1><a name="S5"></a>5 Channel Operations</h1>
<p>These commands deal with the state of channels across the network. Unreal only supports Network Channels, where the first character is a # character.</p>
<h2><a name="S5_1"></a>5.1 SJOIN - Channel Burst (TOKEN: ~)</h2>
<p><b>Syntax:</b> <tt>@<i>servernumeric</i> ~ <i>timestamp</i> <i>channel</i> +<i>modes</i>[ <i>modeparams</i>] :<i>memberlist</i> <i>&amp;ban</i> <i>"exempt</i> <i>'invex</i></tt></p>
<p>Timestamp is the channel timestamp and can be !b64 as defined by PROTOCTL SJB64. Modes should only include those in the last three mode sets listed in CHANMODES. Modeparams is one parameter for each mode character that requires one. Memberlist is a series of users (all of which must at least be behind the server sending the SJOIN), each user is prefixed with one or more characters indicating their status. Owners (+q) are prefixed with *, admins (+a) ~, ops (+o) @, halfops (+h) %, voices (+v) +. Normal users are not prefixed with anything. Ban, ban exception, and invite exception masks are also included, with bans prefixed with &amp;, ban exceptions prefixed with ", and invite exceptions with '. Note that when a &amp;, " or ' is encountered as the first character, further processing of ~, *, @, %, or + characters must not continue because ban, exempt, and invite masks can contain any of those characters. (Plus it's just not right for a ban mask to be marked as a channel admin...)</p>
<p>If the channel didn't already exist it is created with the information given in the SJOIN. Otherwise the timestamp is used to determine how the SJOIN information is handled. As a given, all members are joined into the channel, regardless. The mode information (modes, modeparams, memberlist prefixes, bans, exempts, and invites) is subject to the timestamp rules:</p>
<ul>
<li>If the channel's current timestamp is equal to the timestamp in SJOIN, then the mode information is merged.</li>
<li>If the channel's current timestamp is less than the SJOIN timestamp, then the mode information is ignored.</li>
<li>If the channel's current timestamp is greater than the SJOIN timestamp, then the channel's existing mode information is cleared (for example, deop, etc all local clients), and the SJOIN mode information is added.</li>
</ul>
<p>When merging modes, conflicting modes (including +p vs +s, differing +l limits or +k keys, etc) are handled as follows:</p>
<ul>
<li><b>Private (+p) vs. Secret (+s):</b> Secret (+s) is preferred. Private (+p) is removed. (Note: there is a <a href="http://bugs.unrealircd.org/view.php?id=2391">bug</a> in Unreal versions prior to 3.2.3 in which a desynch will occur in which one side is +p and the other is +s. Update to Unreal 3.2.4 if you have problems with this.)</li>
<li><b>Strip Color (+S) vs. Block Color (+c):</b> Block (+c) is preferred. Strip (+S) is removed. (Note: Bug for +p vs. +s in prior unreal versions apply here as well.)</li>
<li><b>Channel Limit:</b> Numericly larger limit is preferred (for example, +l 30 versus +l 15 : +l 30 wins).</li>
<li><b>Channel Key:</b> &quot;Larger&quot; key (as defined by strcmp) is preferred (for example, +k moo versus +k meow : +k moo wins).</li>
<li><b>Channel Link:</b> &quot;Larger&quot; link name (as defined by stricmp - not case sensitive) is preferred (for example, +L #moo versus +L #meow : +L #moo wins, but +L #Meow versus +L #meow : values are equal).</li>
<li><b>Flood String:</b> Not really sure on this. I think larger value in each component wins.</li>
<li><b>Join-Throttle:</b> Highest of time period wins, if equal, highest of join amount wins (so +j 3:40 beats +j 5:20 but +j 5:20 beats +j 3:20).</li>
<li>Parameterized modes in third party modules will define their own conflict resolution formula.</li>
</ul>
<h2><a name="S5_2"></a>5.2 JOIN - Channel Join (TOKEN: C)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> C <i>#channel</i></tt></p>
<p>Indicates a user has joined a channel. Only one channel is sent this way, and the key is not sent even if the user gave one one joining. If the channel parameter is the special "0" case, the server must interpret the message as a PART for all channels the user is on.</p>
<h2><a name="S5_3"></a>5.3 PART - Channel Part (TOKEN: D)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> D <i>#channel</i>[ :<i>reason</i></tt>]</p>
<p>Indicates a user has left a channel. Only one channel is sent this way. The reason parameter may be left out if no reason was given.</p>
<h2><a name="S5_4"></a>5.4 KICK - Channel Kick (TOKEN: H)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> H <i>#channel</i> <i>user</i> :<i>reason</i></tt></p>
<p>Orders the forced removal of user from #channel with the given reason. When updating state for this command, it should be the same as if :user PART #channel had been received - the user is removed from #channel's memberlist.</p>
<h2><a name="S5_5"></a>5.5 MODE - Channel Mode (TOKEN: G)</h2>
<p><b>Note:</b> This is the same command as that used for usermode changes.</p>
<p><b>Syntax:</b> <tt>:<i>source</i> G <i>#channel</i> <i>modechange</i> <i>modeparams</i>[ <i>timestamp</i>]</tt></p>
<p>Changes the specified modes on the given channel. If the source is a server and the last parameter is numeric, it is interpreted as timestamp (although it can also be consumed as a parameter for modes. For example: :server.name MODE #channel +l 4 &lt;-- 4 will be a timestamp and the +l parameter). When a mode change is timestamped in this way, the mode is treated as it is with SJOIN: the MODE message is ignored if the timestamp is greater than the channel timestamp. (If the timestamp is equal, the mode is simply added replacing any conflicting modes already in place.)</p>
<p>A services implementation can easily clear all entries in a list mode such as bans with SVSMODE (see below).</p>
<h2><a name="S5_6"></a>5.6 INVITE - Invite a user to a channel (TOKEN: *)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> * <i>target</i> <i>#channel</i></tt></p>
<p>Sends to target an invitation to join #channel. If the source is a channel operator on #channel, or a U:Lined server, the invitation grants the user the temporary ability to join the channel regardless of any bans or some restricting channel modes (not +O or +A).</p>
<h2><a name="S5_7"></a>5.7 SAJOIN - Channel Force Join (TOKEN: AX)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> AX <i>targetuser</i> <i>#channel</i></tt></p>
<p>This requests the forced join of targetuser to #channel. This type of forced join overrides bans, and most modes. The server to which targetuser is connected to must actually acknowledge the join for it to occur. Service implementations may ignore this command, as they would only ever receive it if an SAJOIN was targeted at a service client, in which case it should be ignored...</p>
<h2><a name="S5_8"></a>5.8 SAPART - Channel Force Part (TOKEN: AY)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> AY <i>targetuser</i> <i>#channel</i>[ :<i>reason</i>]</tt></p>
<p>This requests the forced part of targetuser from #channel. This is slightly different from a KICK in that the user's removal is announced with PART. The server to which targetuser is connected to must actually acknowledge the part for it to occur. Service implementations may ignore this command, as they would only ever receive it if an SAPART was targeted at a service client, in which case it should be ignored...</p>
<p>The reason field is optional. If provided the acknowledging PART message should prefix the message with &quot;SAPart:&quot;.</p>
<h2><a name="S5_9"></a>5.9 SAMODE - Channel Force Mode (TOKEN: o)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> o <i>#channel</i> <i>modechange</i> <i>modeparams</i></tt></p>
<p>This has the same parameters as for MODE. The only difference is that servers probably will never receive this (but is best to document just in case), and that absolutely NO permission checking is done on anything.</p>
<h2><a name="S5_10"></a>5.10 TOPIC - Channel Topic (TOKEN: ) )</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> ) <i>#channel</i> <i>nick</i> <i>timestamp</i> :<i>topic</i></tt></p>
<p>Changes the channel topic information. This format is used when synching, as well as when a topic is changed normally. Nick is the user who changed the topic (depending on compile options, it can be just nick or a full nick!user@host), timestamp is when the change occured, and topic is the new topic text. Normally, only a newer timestamp will actually change the topic, but a U:Lined server can use an older timestamp as well (such as for TOPICLOCK).
<hr/>
<h1><a name="S6"></a>6 Services Commands</h1>
<p>These are commands typically employed by a service implementation, in addition to some of the normal commands. All of the commands listed here require the sender to be correctly U:Lined. This means that the services server name must appear within a ulines {} block in the unrealircd.conf configuration for ALL servers in the network. All servers and clients behind a U:Lined server are themselves U:Lined.</p>
<h2><a name="S6_1"></a>6.1 SVSKILL - Force Disconnect by Service (TOKEN: h)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> h <i>target</i> :<i>reason</i></tt></p>
<p>This command is similar to KILL but differs in several ways. First of all: there is no mutilation of the reason value. The reason given is the exact reason used to generate QUIT messages sent to users. Second, it is silent; no server notice is generated in response to this command. Third, it can only be used by a U:Lined server or client (such as services).</p>
<p>Because this command can be dangerous in the hands of an abusive person, service implementations should avoid granting humans control over the reason parameter. In cases of commands where a person has control over such parameter, either use a regular KILL instead, or otherwise modify the reason so that operators can be held accountable if necessary.</p>
<h2><a name="S6_2"></a>6.2 SVSMODE, SVS2MODE - Force User Mode Change (TOKEN: n or v)</h2>
<p><b>Syntax (SVSMODE):</b> <tt>:<i>source</i> n <i>target</i> +<i>usermodes</i></tt></p>
<p><b>Syntax (SVS2MODE):</b> <tt>:<i>source</i> v <i>target</i> +<i>usermodes</i></tt></p>
<p>Judging by these commands alone, you'd think they are identical. Both commands force a usermode change to occur. This is typically used by services to set +r on a user who has successfully identified. They differ in that SVS2MODE also sends the mode change to the user, while SVSMODE does not (hidden mode change).</p>
<p>SVSMODE and SVS2MODE also give special treatment to usermode +d. Rather than setting the deaf mode like you might expect, SVS(2)MODE +d allows services to change a user's services stamp (which is given in the NICK message). This could allow services to set the service stamp to an easily identifiable value that could then be used to say "hey, this person identified already". The syntax of this is: +d <i>newservice-identifier-token</i> and can be combined with setting other usermodes as well. The deaf mode <b>can</b> be set by using +d without the service stamp parameter; however, in this case you <b>cannot</b> set the service stamp in the same SVS(2)MODE message.</p>
<p><b>Note:</b> Do <b>NOT</b> use SVSMODE to remove IRCop status from a user. Use the SVSO command for that instead.</p>
<p>Alternatively, target can name a channel. In this case, the mode change parameter can consist of a - character, followed by any or all of: b, e, I, q, a, o, h, or v. These characters cause the corresponding lists to be cleared of all entries. For example: SVSMODE #channel -b removes ALL bans from #channel, and SVSMODE #channel -qaohv turns ALL users on #channel into normal users (removes all owner, admin, op, halfop, and voice status). In this case, the uplink will acknowledge with a MODE listing the bans, etc that were removed.</p>
<p>To completely clear a channel of all modes: MODE #channel -cfijklmnprstzACGMKLNOQRSTVu (plus any added by third-party module) followed by SVSMODE #channel -beIqaohv.</p>
<h2><a name="S6_3"></a>6.3 SVSSNO, SVS2SNO - Forced SNomask Change (TOKEN: BV or BW)</h2>
<p><b>Syntax (SVSSNO):</b> <tt>:<i>source</i> BV <i>target</i> +<i>snomasks</i></tt></p>
<p><b>Syntax (SVS2SNO):</b> <tt>:<i>source</i> BW <i>target</i> +<i>snomask</i></tt></p>
<p>Changes a user's snomasks. The difference between SVSSNO and SVS2SNO is the same as with SVSMODE versus SVS2MODE. If the user is not +s, you must add it via SVSMODE +s. For example:</p>
<pre>:OperServ v someuser +s
:OperServ BW someuser +ks</pre>
<h2><a name="S6_4"></a>6.4 SVSNICK - Forced Nick Change (TOKEN: e)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> e <i>target</i> <i>newnick</i> :<i>newtimestamp</i></tt></p>
<p>Forces the specified user to change his nick to newnick and also sets the nick timestamp to newtimestamp (so, for example, services could protect identified users from a nick collision by simply setting the nick timestamp to something way less than "now" - though currently this requires actually changing the nick too). SVSNICK requires the server to which the target is connected to acknowledge the nick change. If the user specified by newnick already exists, then target will be disconnected (even if it's something like a case-change).</p>
<h2><a name="S6_5"></a>6.5 SVSJOIN - Forced Join (TOKEN: BX)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> BX <i>target</i> <i>#channel</i></tt></p>
<p>This is identical to SAJOIN with a few exceptions: 1) It is U:Line-only. 2) No opernotice on use. 3) Bans and restricting modes are respected, a prior INVITE message must be sent to cause bans to be ignored.</p>
<h2><a name="S6_6"></a>6.6 SVSPART - Forced Part (TOKEN: BT)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> BT <i>target</i> <i>#channel</i> :<i>reason</i></tt></p>
<p>Also identical to SAPART with a few exceptions: no static prefix on the optional part reason, and no global notice, and requires a U:Line. Usage recommendation of SVSPART versus KICK is the same as for SVSKILL versus KILL.</p>
<h2><a name="S6_7"></a>6.7 SVSO - Oper Permissions (TOKEN: BB)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> BB <i>target</i> <i>flagchanges</i></tt></p>
<p>This allows a service to add or remove IRCop permission flags for a user. Flagchanges is formatted similar to that of MODE with the exception that operflags are used instead of usermodes. If the change string consists only of -, then all oper permissions, usermodes, and snomasks are removed (as if the user had himself typed MODE nick -Oo).</p>
<p>If you are granting IRCop permissions to a user who is not currently an IRCop, you should follow up with an SVSMODE +o or SVSMODE +O as appropriate. For example:</p>
<pre>:OperServ BB somenick +o
:OperServ BW somenick +cefknoqsSv
:OperServ AL somenick local.oper.somethinghere.net
:OperServ v somenick +Ohs </pre>
<h2><a name="S6_8"></a>6.8 SVSNOOP - Oper Lockdown (TOKEN: f)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> f <i>(op)</i><i>server.name</i></tt></p>
<p>The (op) parameter is either a + or - indicating if NOOP mode should be activated (+) or deactivated (-). When NOOP mode is activated, all IRCops on the server are deopered (including local operators) and the /oper command is disabled. IRCop privileges can still be granted through use of SVSO. On UnrealIRCd, it is not necessary to masskill all IRCops on the nooped server, as they are deopered automatically.</p>
<h2><a name="S6_9"></a>6.9 SVSNLINE - RealName Ban (TOKEN: BR)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> BR <i>op</i> <i>reason</i> :<i>realname mask</i></tt></p>
<p>Op is either + (add) or - (remove). In the case of +, reason is a space-escaped string (all space chars are encoded as _). If -, reason is ignored.</p>
<h2><a name="S6_10"></a>6.10 SVSFLINE - File Ban (TOKEN: BC)</h2>
<p><b>Syntax (add):</b> <tt>:<i>source</i> BC + <i>filemask</i> :<i>reason</i></tt></p>
<p><b>Syntax (remove):</b> <tt>:<i>source</i> BC - <i>filemask</i></tt></p>
<p><b>Syntax (clear):</b> <tt>:<i>source</i> BC *</tt></p>
<p>Adds or removes a DCCDENY item for the specified filemask on all servers. These DCCDENYs are hard dccdenies - the /dccallow command cannot override it. The last form removes all dccdenies added via SVSFLINE.</p>
<hr/>
<h1><a name="S7"></a>7 Messaging</h1>
<p>What good is Internet Relay <b>CHAT</b> if users cannot <b>CHAT</b>? This section addresses the commands through which arbitrary user messages are sent.</p>
<h2><a name="S7_1"></a>7.1 PRIVMSG, NOTICE - Simple Message Transmission (Token: ! or B)</h2>
<p><b>PRIVMSG Syntax:</b> <tt>:<i>source</i> ! <i>target</i> :<i>message</i></tt></p>
<p><b>NOTICE Syntax:</b> <tt>:<i>source</i> B <i>target</i> :<i>message</i></tt></p>
<p>Sends a messages to the given target. The target either names a single client, or identifies a list of clients in which the message is to be sent to. The available targets include:</p>
<ul>
<li><i>nickname</i>: Names a single user to whom the message is delivered.</li>
<li><i>nickname</i>@<i>servermask</i>: Also names a single user, but the message will only be delivered if the user is connected to a server matching the specified servermask. This is typically used for sending messages to services. The target must not be changed at any point along the path it must travel for delivery, even up to the final receipt of the message by the target. This allows the target to know it has been sent a message in this way.</li>
<li>#<i>channelname</i>: Sends a message to all users on the specified channel (except when channel is a moderated auditorium (+mu), in which case the wierd +mu sending behavior goes off).</li>
<li><i>modeprefix</i>#<i>channelname</i>: Sends a message to all users on the given channel having the given status or higher. For example: + means all voices, halfops, etc.</li>
<li>$<i>servermask</i>: Sends a message to ALL users on all servers matching the specified servermask (known as a server broadcast message). The RFC requirements of having a TLD with no wildcards is not applied to U:Lined clients.</li>
</ul>
<p>Unreal does not support the #hostmask format.</p>
<h2><a name="S7_2"></a>7.2 SENDUMODE, SMO - Usermode-based Delivery (TOKEN: AP or AU)</h2>
<p><b>Syntax:</b> <tt>@<i>servernumeric</i> AU <i>umode</i> :<i>message</i></tt></p>
<p>Sends the specified message to all users with the given mode. Only one usermode may be given. This is a server-only command if you can't tell from the sender prefix :) .</p>
<p>The message will be displayed as coming from the receiving client's own server. It may be appropriate to add a &quot;*** Notice (or other leader here) -- from blah:&quot; if you wish to clarify where the message is from.</p>
<h2><a name="S7_3"></a>7.3 SENDSNO - SNomask-based Delivery (TOKEN: Ss)</h2>
<p><b>Syntax:</b> <tt>@<i>servernumeric</i> Ss <i>snomask</i> :<i>message</i></tt></p>
<p>Sends the specified message to all users with the given snomask. Only one snomask may be given. This is a server-only command if you can't tell from the sender prefix :) .</p>
<p>The message will be displayed as coming from the receiving client's own server. It may be appropriate to add a &quot;*** Notice (or other leader here) -- from blah:&quot; if you wish to clarify where the message is from.</p>
<h2><a name="S7_4"></a>7.4 CHATOPS - IRCop Chat (TOKEN: p)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> p :<i>message</i></tt></p>
<p>Sends the message to all IRCops on all servers.</p>
<h2><a name="S7_5"></a>7.5 WALLOPS - Wallop Chat (TOKEN: =)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> = :<i>message</i></tt></p>
<p>Sends the message to all users with usermode +w, whether they are ircops or not.</p>
<h2><a name="S7_6"></a>7.6 GLOBOPS - FailOp Chat (TOKEN: ])</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> ] :<i>message</i></tt></p>
<p>Send the message to all IRCops with usermode +g.</p>
<h2><a name="S7_7"></a>7.7 ADCHAT - Admin Chat (TOKEN: x)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> x :<i>message</i></tt></p>
<p>Send the message to all Server and Network Admins (usermode +A).</p>
<h2><a name="S7_8"></a>7.8 NACHAT - NetAdmin Chat (TOKEN: AC)</h2>
<p><b>Syntax:</b> <tt>:<i>source</i> AC :<i>message</i></tt></p>
<p>Send the message to all Network Admins (usermode +N).</p>
<hr/>
<h1><a name="S8"></a>8 Ban Control</h1>
<p>Sometimes, you have the misfortune of encountering a user who has no purpose but to serve as an annoyance to your server or network. These commands transmit network-wide ban information amongst each other.</p>
<h2><a name="S8_1"></a>8.1 TKL - Master Ban Control (TOKEN: BD)</h2>
<p>The TKL command seems to have one oddity about it: the real ban source is included in the TKL command rather than in the sender prefix. Most likely this is done for synching reasons (so that the *line ban can be credited to the proper person even if he/she is offline). For this reason, the command syntax is given without any sender prefix at all. It is still permissible to use one, however.</p>
<h3><a name="S8_1_1"></a>8.1.1 GLINE - Network-wide user@host ban</h3>
<p><b>Add Syntax (TKL):</b> <tt>BD + G <i>userpart</i> <i>hostpart</i> <i>source</i> <i>expiretimestamp</i> <i>settimestamp</i> :<i>reason</i></tt></p>
<p><b>Remove Syntax (TKL):</b> <tt>BD - G <i>userpart</i> <i>hostpart</i> <i>source</i></tt></p>
<p>Adds and Removes Network-wide user@host bans, known as G:Lines. The GLINE command itself must not be used. The userpart and hostpart are the user portion and hostname portion of the ban mask. The expiretimestamp is 0 if the G:Line should not expire, otherwise it will expire at the given time. It is an absolute time, not relative, thus it's imperitive to have reasonably synchrnoized clocks or bans may be removed too early or even immediately!</p>
<h3><a name="S8_1_2"></a>8.1.2 GZLINE - Network-wide IP ban</h3>
<p><b>Add Syntax (TKL):</b> <tt>BD + Z * <i>ipmask</i> <i>source</i> <i>expiretimestamp</i> <i>settimestamp</i> :<i>reason</i></tt></p>
<p><b>Remove Syntax (TKL):</b> <tt>BD - Z * <i>ipmask</i> <i>source</i></tt></p>
<p>Adds and Removes Network-wide IP bans, known as Global Z:Lines. The GZLINE command itself must not be used. Ipmask permits CIDR notation as well as wildcard masks.</p>
<h3><a name="S8_1_3"></a>8.1.3 SQLINE, UNSQLINE - Network-wide Nickname ban (TOKEN: c or d)</h3>
<p><b>Add Syntax (TKL):</b> <tt>BD + Q <i>hold</i> <i>nickmask</i> <i>source</i> <i>expiretimestamp</i> <i>settimestamp</i> :<i>reason</i></tt></p>
<p><b>Add Syntax (SQLINE):</b> <tt>:<i>source</i> c <i>nickmask</i> :<i>reason</i></tt></p>
<p><b>Remove Syntax (TKL):</b> <tt>BD - Q <i>hold</i> <i>nickmask</i> <i>source</i></tt></p>
<p><b>Remove Syntax (UNSQLINE):</b> <tt>:<i>source</i> d <i>nickmask</i></tt></p>
<p>In the TKL syntax, the hold parameter is either a * to mark the qline as a nick ban, or an H to mark it as a services hold. A services hold does not trigger qline rejection notice, and is typically used by NickServ to reserve registered nicks until they are released by the owner. The (UN)SQLINE syntax can only be used by a server, but any user can be used as the source for the TKL syntax. Unlike G and GZ lines, Q:Lines do not cause existing matching users to be disconnected or otherwise affected.</p>
<p>The TKL syntax is preferred, since it is more flexible, but (UN)SQLINE is permitted for compatibility.</p>
<h3><a name="S8_1_4"></a>8.1.4 SPAMFILTER - Message Spam Filtration System</h3>
<p>Proper use of spamfilter in TKL commands requires use of PROTOCTL TKLEXT, which increases the number of parameters allowed in TKL.</p>
<p><b>Add Syntax (TKL):</b> <tt>BD + F <i>target(s)</i> <i>action</i> <i>source</i> 0 <i>settimestamp</i> <i>tklduration</i> <i>tklreason</i> :<i>regex</i></tt></p>
<p><b>Remove Syntax (TKL):</b> <tt>BD - F <i>target(s)</i> <i>action</i> <i>source</i> 0 <i>settimestap</i> :<i>regex</i></tt></p>
<p>Adds and Removes network-wide spamfilters. The SPAMFILTER command itself must not be used. See <a href="http://vulnscan.org/UnrealIrcd/unreal32docs.html#feature_spamfilter">http://vulnscan.org/UnrealIrcd/unreal32docs.html#feature_spamfilter</a> for a list of valid targets. For actions, a single character is used to identify the action to be taken:</p>
<ul>
<li>K (kill) - The user is simply disconnected, with the reason given.</li>
<li>S (tempshun) - A temporary shun is placed on the user. This shun is applied only to that user, and disappears if the user reconnects.</li>
<li>s (shun) - A regular shun on the user's IP address is added. This causes all users with the same hostname to be shunned, but they will also stay shunned if they reconnect.</li>
<li>k (kline) - A K:Line is added on the user's IP address.</li>
<li>z (zline) - A Z:Line is added on the user's IP address.</li>
<li>g (gline) - A G:Line is added on the user's IP address.</li>
<li>Z (gzline) - A Global Z:Line is added on the user's IP address.</li>
<li>b (block) - Messages (or users!) matching the filter are simply blocked.</li>
<li>d (dccblock) - The user is prevented from sending files using DCC for the remainder of his session (in other words, until he quits).</li>
<li>v (viruschan) - User is removed from all channels, joined to the viruschan as defined in conf, and cannot message anything but that channel.</li>
<li>w (warn) - No action on the user is taken. Only the Spamfilter notice is sent to opers with snomask +S.</li>
</ul>
<h1><a name="S9">9 Base64 Tables</a></h1>
<p>Unreal uses base64 encoding to allow saving bandwidth by encoding numbers in a more compact format. Unreal uses two different variations of base64, one used for the SJB64 PROTOCTL option (in NICK and SJOIN), and one used for NICKIP.</p>
<h2><a name="S9_1">9.1 Table for SJB64 (NICK and SJOIN).</a></h2>
<p>In NICK and SJOIN, remember that the timestamp will be prefixed with ! to signal a base64 timestamp.</p>
<p>Just like in base10, the least significant &quot;digit&quot; is last.</p>
<pre> 0 0 17 H 34 Y 51 p
1 1 18 I 35 Z 52 q
2 2 19 J 36 a 53 r
3 3 20 K 37 b 54 s
4 4 21 L 38 c 55 t
5 5 22 M 39 d 56 u
6 6 23 N 40 e 57 v
7 7 24 O 41 f 58 w
8 8 25 P 42 g 59 x
9 9 26 Q 43 h 60 y
10 A 27 R 44 i 61 z
11 B 28 S 45 j 62 {
12 C 29 T 46 k 63 }
13 D 30 U 47 l
14 E 31 V 48 m
15 F 32 W 49 n
16 G 33 X 50 o</pre>
<h2><a name="S9_2">9.2 Table for NICKIP.</a></h2>
<p>In this table, the IP is encoded in network byte order. In terms of IPs, this means the first byte of the address really is first. Each &quot;digit&quot; in the base64 encoded IP corresponds to 6 bits of the IP address.</p>
<p>An IPv4 address is 32 bits, so 6 base64 &quot;digits&quot; are needed. Since base64 requires values to come in multiples of 4 &quot;digits&quot;, padding characters (=) need to be added if a value comes up short. In the case of IPv4 addresses, two are needed.</p>
<p>IPv6 addresses are 128-bit. They therefore need 22 base64 &quot;digits&quot; plus 2 pad characters.</p>
<pre> 0 A 17 R 34 i 51 z
1 B 18 S 35 j 52 0
2 C 19 T 36 k 53 1
3 D 20 U 37 l 54 2
4 E 21 V 38 m 55 3
5 F 22 W 39 n 56 4
6 G 23 X 40 o 57 5
7 H 24 Y 41 p 58 6
8 I 25 Z 42 q 59 7
9 J 26 a 43 r 60 8
10 K 27 b 44 s 61 9
11 L 28 c 45 t 62 +
12 M 29 d 46 u 63 /
13 N 30 e 47 v
14 O 31 f 48 w (pad) =
15 P 32 g 49 x
16 Q 33 h 50 y</pre>
</body>
</html>
+109
View File
@@ -0,0 +1,109 @@
Token List (c) 2002-2004 codemastr (Dominick Meglio) [codemastr@unrealircd.com]
Command Token
------------------------------------------------------------------------------------------------
PRIVMSG !
WHOIS #
NICK &
SERVER '
TOPIC )
INVITE *
VERSION +
QUIT ,
SQUIT -
KILL .
INFO /
LINKS 0
STATS 2
HELP 4
ERROR 5
AWAY 6
CONNECT 7
PING 8
PONG 9
PASS <
TIME >
ADMIN @
SETHOST AA
NACHAT AC
SETIDENT AD
SETNAME AE
LAG AF
SDESC AG
KNOCK AI
CREDITS AJ
LICENSE AK
CHGHOST AL
RPING AM
RPONG AN
NETINFO AO
SENDUMODE AP
ADDMOTD AQ
ADDOMOTD AR
SVSMOTD AS
SMO AU
OPERMOTD AV
TSCTL AW
SAJOIN AX
SAPART AY
CHGIDENT AZ
NOTICE B
SWHOIS BA
SVSO BB
SVSFLINE BC
TKL BD
VHOST BE
BOTMOTD BF
HTM BH
DCCDENY BI
UNDCCDENY BJ
CHGNAME BK
SHUN BL
CYCLE BP
MODULE BQ
SVSNLINE BR
SVSPART BT
SVSLUSERS BU
SVSSNO BV
SVS2SNO BW
SVSJOIN BX
SVSSILENCE Bs
SVSWATCH Bw
JOIN C
PART D
LUSERS E
EOS ES
MOTD F
MODE G
KICK H
REHASH O
RESTART P
CLOSE Q
SENDSNO Ss
DNS T
TEMPSHUN Tz
SILENCE U
AKILL V
UNKLINE X
RAKILL Y
GLOBOPS ]
LOCOPS ^
PROTOCTL _
WATCH `
TRACE b
SQLINE c
UNSQLINE d
SVSNICK e
SVSNOOP f
SVSKILL h
SVSMODE n
SAMODE o
CHATOPS p
UNZLINE r
RULES t
MAP u
SVS2MODE v
DALINFO w
ADMINCHAT x
UMODE2 |
SJOIN ~
+39
View File
@@ -0,0 +1,39 @@
VL Information (c) 2002 codemastr (Dominick Meglio) [codemastr@unrealircd.com]
Protocol Version
------------------------------------------------------------------------------------------------
2311 3.2.10
2310 3.2.9
2309 3.2.6, 3.2.7, 3.2.8
2308 3.2.5
2307 3.2.4
2306 3.2.3
2305 3.2.2
2304 3.2.1
2303 3.2-beta*, 3.2-RC*, 3.2
2302 3.1.1-Darkshades, 3.1.2-Darkshades, 3.1.3-Komara, 3.1.4-Meadows
2301 3.1-Silverheart
2300 3.0-Morrigana
Flag Description
------------------------------------------------------------------------------------------------
c Server is chrooted
C command line config enabled
D Server is in debugmode
F Using file descriptor lists
h Compiled as a hub
i Shows invisible users in /trace
n NOSPOOF enabled
V Uses valloc()
W Windows version
Y Syslog logging enabled
K No ident checking (?)
6 IPv6 supported
X STRIPBADWORDS enabled (chmode/umode +G)
P Uses poll()
e SSL supported
O OperOverride enabled
o OperOverride without verify
Z Zip links supported
3 3rd party modules (were) loaded or unreal is any other way 'tainted' (eg: bad libs)
E Extended channel modes supported
+44
View File
@@ -0,0 +1,44 @@
==[ Translations ]===========================================================
Starting with the release of Unreal 3.2 we have begun accepting translated
documentation files. For now, only translations of unreal32docs.html and
example.conf are accepted. Other stuff might be translated later, but
this will probably be postponed to 3.3 (numerics/ircd text/help.conf/etc).
There a few requirements however:
- When you submit your translation it should be a translation of the
very latest doc... So be sure to translate the cvs version of
unreal32docs.html (www.vulnscan.org/UnrealIrcd/unreal32docs.html).
- Of course the translation should be correct.. So also 'technically',
it's therefore recommended that have some real experience with Unreal ;)
- If you are accepted and start working on it, it would be nice if you
could put your docs-in-progress online somewhere so we can see how
progress is going a bit.
- You should use a proper HTML editor, this especially excludes Microsoft
Word and Frontpage since it enlarges the .html file by (at least) 30%.
Don't worry, there are enough free&simple html editors out there that
work perfectly fine, you won't need to be an HTML expert at all!
- Someone, usually the person who translated it, needs to be willing
to actively maintain the docs. This is very important! If docs are
out of date (out-of-synch) there will be confusion among users.
Translators will receive once a week (and right before every release)
all changes that were made in unreal32docs.html. Then the translator
should update his/her doc and send it in (or commit it via cvs).
Count on an average of 15 minutes a week (it varies).
Now, we should tell you that the first-time translation of unreal32docs.html
is a LOT of work.. probably 20 hours or so. After that, the weekly updates
take really just 5, 10, 15 minutes a week, which is pretty much "no time".
Now why would you translate at all? Well, by translating UnrealIRCd
documentation you will help out your fellow citizens and/or other people
of that language, you will make Unreal a bit more 'internationalized',
and it's a worthwile contribution to the UnrealIRCd project.
Upon successful completion you will also receive an @unrealircd.org
forwarder email address, and of course your name will be in the docs.
If you want to start translating a document, please send an email to
syzop@unrealircd.com and mention the language you are willing to translate
to.. You will then receive an email back saying you can go ahead (or not).
This is mainly to avoid multiple persons working on the same translation.
=============================================================================
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-432
View File
@@ -1,432 +0,0 @@
* * * * * * * * * * * * * * * * * * *
* Unrealircd.conf Documentation *
* http://www.unrealircd.com *
* Made for Version 3.2+ Daemon *
* by devdev *
* * * * * * * * * * * * * * * * * * *
* * * * T a b l e o f C o n t e n t s * * * *
Section 1.0 : Introduction
Section 2.0 : me{} line
2.1 : Syntax
2.2 : Variables
Section 3.0 : admin{} line
3.1 : Syntax
3.2 : Variables
Section 4.0 : class{} line
4.1 : Syntax
4.2 : Variables
Section 5.0 : allow{} line
5.1 : Syntax
5.2 : Variables
Section 6.0 : drpass{} line
6.1 : Syntax
6.2 : Variables
Section 7.0 : oper{} line
7.1 : Syntax
7.2 : Variables
7.3 : Oper Flags
7.4 : Flag Usage
Section 8.0 : listen{} line
8.1 : Syntax
8.2 : Variables
8.3 : Port Options
9.0 : link{} line
9.1 : Syntax
9.2 : Variables
9.3 : Link Options
Section 10.0 : ulines{} line
10.1 : Syntax
10.2 : Variables
Section 11.0 : tld{} line
11.1 : Syntax
11.2 : Variables
Section 12.0 : ban{} line
12.1 : ban nick{}
12.2 : ban ip{}
12.3 : ban server{}
12.4 : ban realname{}
12.5 : ban user{}
Section 13.0 : except{} line
13.1 : except ban{}
13.2 : except socks{}
Section 14.0 : vhost{} line
14.1 : Syntax
14.2 : Variables
* * * * * * * * * * * * * * * * * * * * * * * *
1.0) Introduction:
As you may have noticed, in this version of Unreal, the ircd.conf
has changed dramatically and has a new name... unrealircd.conf.
This will be a fully explanatory guide to the new unrealircd.conf
Every aspect of the new config file is explained below.
2.0) me{} (Server Information Line):
This is the same idea as the old M:line. Gives the server name,
description, and numeric. This, however, does not include the ip
of the server.
2.1) Syntax:
me {
name <server>;
info "<description>";
numeric <numeric>;
};
2.2) Variables:
<server> Server name (irc.network.com)
<description> Server description (Network Hub)
<numeric> Connection Numeric (Number 1-254)
3.0) admin{} (Administrator Line):
This is the same as the A:line. This line gives information about
the server owner/administrator including Name, nickname, and email.
This is not restricted to a number of lines. Shown at /admin
3.1) Syntax:
admin {
"<line>";
};
3.2) Variables:
<line> Text shown at /admin (Admin Name)
The "<line>"; can be repeated as many times as you wish. We suggest
placing the admins nickname and an email to reach them at.
4.0) class{} (Connection Classes Line):
These connection classes are used to define the ping freqency, maximum
amount of clients, and sendq limit for a certain class.
4.1) Syntax:
class <class name> {
connfreq <connfreq>; /*server only*/
ping freq <pingfrq>;
maxclients <maxclients>;
sendq <sendqlimit>;
};
4.2) Variables:
<class type> Name of connection class (client, server, oper)
<connfreq> Seconds between connection attempts (seconds)
<pingfrq> Ping Frequency (every x seconds) (seconds)
<maxclients> Number of maximum connections (number)
<sendqlimit> Limit for sends (number)
5.0) allow{} (Allowed Connections):
This line specifies from which hostnames/ips users can connect from and their
restrictions.
5.1) Syntax:
allow {
ip "<ip>";
hostname "<host>";
class <classname>;
password "<password>";
maxperip <max>;
};
5.2) Variables:
<ip> IP to allow connections from (1.2.3.4)
<host> Hostname to allow connections from (ident@host)
<classname> Class name to use defined above (name)
<password> Password required for connection (password)
<max> Maximum per ip address (number)
6.0) drpass{} (Die/Restart Password):
This line will defy the passwords required to restart or shutdown the irc server.
6.1) Syntax:
drpass {
die "<diepass>";
restart "<restartpass>";
};
6.2) Variables:
<diepass> Password to shutdown the server (password)
<restartpass> Password to restart the server (password)
7.0) oper{} (IRC Operator Line):
This line will define who (after suppling a login and password) will be allowed to have certain permissions
granted. Such as global kills compared to local kills, and being able to restart the server.
7.1) Syntax:
oper <login> {
class <classname>;
from {
userhost <host>;
userhost <host>
};
password "<password>";
flags {
<flag>;
<flag>;
}
};
7.2) Variables
<login> Login user name (opername)
<classname> Class the oper will connect from (class)
<host> Host the oper is allowed to op from (ident@host)
<password> Password to accompany login-name (password)
<flag> Flags to define permissions (see 7.3)
7.3) Oper Flags (old and new)
Old | New |Description
------- |---------------- |------------------------------
N | netadmin | Network Admnistrator
T | techadmin | Technical Administrator
A | admin | Server Administrator
a | sadmin | Services Operator
C | coadmin | Co Administrator
o | local | Local IRC Operator
O | global | Global IRC Operator
r | can_rehash | Is able to rehash the server
e | eyes | Can use the eyes message mode
D | can_die | Can shutdown the server (with password)
R | can_restart | Can restart the server (with password)
h | helpop | ..is available for help. Can see /helpops
g | can_globops | Can use /globops
w | can_wallops | Can use /wallops
l | locop | Can't kill remote users
c | can_localroute | Can locally /connect and /squit servers
L | can_globalroute | Can globally /connect and /squit servers
k | can_localkill | Can do local /kills
K | can_globalkill | Can do global /kills
b | can_kline | Can set a /kline
B | can_unkline | Can unset a /kline
n | can_localnotice | Can send local notices
G | can_globalnotice| Can send global notices
z | can_zline | Can set /zlines
^ | can_stealth | Is invisible to /names
7.4) Oper Flag Usage:
Usage:
flags oldflags;
[or]
flags { new flag; new flag; };
Example:
flags oN;
[or]
flags { netadmin; helpop; };
Local operators are defined by having no additional flags in the oper line or if the IRCD finsd an error in
the flags, locop will be set (default).
8.0) listen{} (Available Ports):
These line(s) define which ports the IRCd will be using. Ports that servers and clients can connect to.
8.1) Syntax:
listen <ip>:<port>;
{
options
{
<option>;
<option>;
};
};
8.2) Variables:
<ip> IP Address to bind to (1.2.3.4)
<port> Port to listen on (port)
<option> Option for the port to use (see 8.3)
8.3) Port Options
standard Normally listens on the port
ssl Port is available to accept SSL connections.
serveronly Port can only have servers connect to it (not clients)
clientsonly Port can only have clients connect to it
9.0) link{} (Connecting Servers):
This line will define what server can connect to yours.
9.1) Syntax:
link <servername>;
{
username <usermask>;
hostname <hostname>;
bind-ip <bindip>;
port <port>;
hub *; /* for connecting a hub */
leaf *; /* for connecting a leaf */
leaf-depth <leaf-depth>; /* for connecting a leaf */
password-connect "<cpassword>";
password-receive "<rpassword>";
class <class>;
rsa-auth "<keypath>";
options {
<option>;
<option>;
};
};
9.2) Variables
<servername> Server name to connect to (server.network.com)
<username> Username for authenticating connection (username)
<hostname> Hostname for authenticating connection (hostname)
<bindip> IP your server will bind to to connect (ip)
hub or leaf Place hub *; or leaf *; depending on
what type of server you're linking to
<leaf-depth> Number of servers below yours (number)
<cpassword> Password to send to the server (password)
<rpassword> Password you expect to receive (password)
<class> Class for servers (classname)
<keypath> Path use for rsa-authentication (keypath)
<option> Option used for connecting (see 9.3)
9.3) Link Options
autoconnect Automaticlly tries to connect to the server
ssl Defines you are connecting to a SSL server
zip Will make them compressed later
10.0) ulines{} (Ulined Servers):
This line will define servers that can have more control over the network. Services
require this line in order to modify channels without being irc-operators.
10.1) Syntax:
ulines {
<server>;
<server>;
};
10.2) Variables:
<server> Server to be u:lined, can be infinate (servername)
11.0) tld{} (MOTD and Rules by Domains):
This line defines which hosts will read which set of MOTDs/Rules. For instance, if you have
a bilingual network, connections from .fr can show a french MOTD and Rule file instead
of the default ircd.motd and ircd.rules
11.1) Syntax:
tld {
mask <mask>;
motd "<motd>";
rules "<rules>";
};
11.2) Variables:
<mask> Mask that will define the new set (ident@host)
<motd> Filename of the motd file (filename)
<rules> Filename of the rules file (filename)
12.0) ban{} (Bans):
This line has many parts to it and can ban different things. See the sections below
on more information on banning.
12.1) ban nick{}
This line is used for restricting the use of certain nicknames
Syntax:
ban nick {
mask "<nickname>";
reason "<reason>";
};
12.2) ban ip{}
Used for removing a entire ip from connecting.
Syntax:
ban ip { mask <ipaddress>; reason "<reason>"; };
12.3) ban server{}
Used for restrictring a server from connecting to you.
Syntax:
ban server {
mask <servername>;
reason "<reason>";
};
12.4) ban realname{}
Used to keep select individuals with certain realnames off the server.
Syntax:
ban realname {
mask "<real name>";
reason "<reason>";
};
12.5) ban user{}
This line is the same as the old K:Lines. It bans a host mask from connecting.
Syntax:
ban user { mask <ident@host>; reason "<reason>"; };
13.0) except{} (Cannot Be Banned):
Used to make sure your own IRCops dont ban you, or so you dont accidently ban an entire
nation's worth of addresses, etc.
13.1) except ban{}
This is so a realname and user cannot be banned.
Syntax:
except ban {
mask <ident@host>;
};
13.2) except socks{}
This line is used so the socks server does not ban a client.
Syntax:
except socks {
mask 216.73.27.177;
};
14.0) vhost{} (Vanity Hosts):
The vhost{} line is used so a user can change their hostname from blah.dialup.com to
a more fun hostname such as tends.to.write.some.really.evildocs.net
/vhost <login> <password>
14.1) Syntax:
vhost {
vhost <vhost>;
from {
userhost <mask>;
};
login <login>;
password <password>;
};
14.2) Variables:
<vhost> Name of the vhost to use (vhost)
<mask> Allowed masks to use the vhost (ident@host)
<login> A login name to use (login)
<password> Password to supply with login (password)
-1062
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -139,7 +139,7 @@ int create_client(const char *hostname, const int hostport) {
/* winlocal
if ((descript=socket(PF_INET, SOCK_STREAM, 0)) < 0)
*/
if ((descript=socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET) // winlocal
if ((descript=socket(PF_INET, SOCK_STREAM, 0)) == -1) // winlocal
fatal("socket");
name_to_number(AF_INET, hostname, hostport, &hostaddr, &adlen);
Binary file not shown.
+128
View File
@@ -0,0 +1,128 @@
/*
* IRC - Internet Relay Chat, src/modules/channeldumper.c
* (C) 2002 Carsten V. Munk <stskeeps@tspre.org>
*
*
* See file AUTHORS in IRC package for additional names of
* the programmers.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#include "proto.h"
#ifdef STRIPBADWORDS
#include "badwords.h"
#endif
#ifdef _WIN32
#include "version.h"
#endif
#ifndef DYNAMIC_LINKING
ModuleHeader channeldumper_Header
#else
#define channeldumper_Header Mod_Header
ModuleHeader Mod_Header
#endif
= {
"channeldumper",
"$Id$",
"Channel dump to text timed",
"3.2-b8-1",
NULL
};
static ModuleInfo ChannelDumperModInfo;
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Init(ModuleInfo *modinfo)
#else
int channeldumper_Init(ModuleInfo *modinfo)
#endif
{
tainted++;
bcopy(modinfo,&ChannelDumperModInfo, modinfo->size);
return MOD_SUCCESS;
}
EVENT(e_channeldump);
static Event *ChannelDumpEvent = NULL;
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Load(int module_load)
#else
int channeldumper_Load(int module_load)
#endif
{
LockEventSystem();
ChannelDumpEvent = EventAddEx(ChannelDumperModInfo.handle, "e_channeldump", 5, 0, e_channeldump, NULL);
UnlockEventSystem();
return MOD_SUCCESS;
}
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Unload(int module_unload)
#else
int channeldumper_Unload(int module_unload)
#endif
{
tainted--;
LockEventSystem();
EventDel(ChannelDumpEvent);
UnlockEventSystem();
return MOD_SUCCESS;
}
EVENT(e_channeldump)
{
aChannel *chptr;
unsigned int hashnum;
Member *m;
FILE *f;
f = fopen("ircd.channeldump", "w");
if (!f)
return;
for (hashnum = 0; hashnum < CH_MAX; hashnum++)
{
for (chptr = (aChannel *)hash_get_chan_bucket(hashnum); chptr; chptr
= chptr->hnextch)
{
if (SecretChannel(chptr))
continue;
fprintf(f, "C %s %s\r\n",
chptr->chname, chptr->topic ? chptr->topic : "");
for (m = chptr->members; m; m = m->next)
fprintf(f, "M %s\r\n",
m->cptr->name);
}
}
fclose(f);
return;
}
+128
View File
@@ -0,0 +1,128 @@
/*
* Defizzer, 3rd party module for Unreal3.2-beta15 and up
* (C) Carsten V. Munk 2003 <stskeeps@tspre.org>
* You can do everything you desire with this module, under the condition that if you
* meet the author, you must buy him a drink of his choice.
* Copyright notice must ALWAYS stay in place.
*
* Removes unidented fizzer clients from the network pre-local-connect
*/
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef STRIPBADWORDS
#include "badwords.h"
#endif
#ifdef _WIN32
#include "version.h"
#endif
DLLFUNC int h_defizzer_connect(aClient *sptr);
static Hook *LocConnect = NULL;
ModuleInfo DefizzerModInfo;
ModuleHeader MOD_HEADER(defizzer)
= {
"defizzer", /* Name of module */
"$Id$", /* Version */
"de-Fizzer", /* Short description of module */
"3.2-b8-1",
NULL
};
DLLFUNC int MOD_INIT(defizzer)(ModuleInfo *modinfo)
{
bcopy(modinfo,&DefizzerModInfo,modinfo->size);
LocConnect = HookAddEx(DefizzerModInfo.handle, HOOKTYPE_PRE_LOCAL_CONNECT, h_defizzer_connect);
return MOD_SUCCESS;
}
DLLFUNC int MOD_LOAD(defizzer)(int module_load)
{
return MOD_SUCCESS;
}
DLLFUNC int MOD_UNLOAD(defizzer)(int module_unload)
{
HookDel(LocConnect);
return MOD_SUCCESS;
}
static void ban_fizzer(aClient *cptr)
{
int i;
aClient *acptr;
char hostip[128], mo[100], mo2[100];
char *tkllayer[9] = {
me.name, /*0 server.name */
"+", /*1 +|- */
"z", /*2 G */
"*", /*3 user */
NULL, /*4 host */
NULL,
NULL, /*6 expire_at */
NULL, /*7 set_at */
NULL /*8 reason */
};
strlcpy(hostip, Inet_ia2p(&cptr->ip), sizeof(hostip));
tkllayer[4] = hostip;
tkllayer[5] = me.name;
ircsprintf(mo, "%li", 86400 + TStime());
ircsprintf(mo2, "%li", TStime());
tkllayer[6] = mo;
tkllayer[7] = mo2;
tkllayer[8] = "Fizzer";
m_tkl(&me, &me, 9, tkllayer);
return;
}
DLLFUNC int h_defizzer_connect(aClient *sptr)
{
char user[USERLEN + 1];
char *infobackup;
char *s1, *s2;
/*
* Algorithm is basically like this, inspired by Zaphod:
* Exchange first word with second in realname, prepend with
* ~, then add in second word and first word upto limit of username.
* sounds fun?
*/
infobackup = strdup(sptr->info);
if (!(s1 = strtok(infobackup, " ")))
{
free(infobackup);
return 0;
}
if (!(s2 = strtok(NULL, " ")))
{
free(infobackup);
return 0;
}
snprintf(user, sizeof(user), "%s%s%s", (IDENT_CHECK ? "~" : ""), s2, s1);
free(infobackup);
if (!strcmp(user, sptr->user->username))
{
ircstp->is_ref++;
ban_fizzer(sptr);
return exit_client(sptr, sptr, &me, "Fizzer client");
}
return 0;
}
+43 -1
View File
@@ -1 +1,43 @@
...
These are 3rd party programs modules, or unsupported modules.
Custom modules are compiled by copying them to src/modules
and running from the root directory
$ make custommodule MODULEFILE=modulename
This will produce a .so you can load. Upon load, this will show a "3" in the
/version flags, as it contains third party modules (we do not support if it
crashes because of the tainted module)
======================
Name: burst.c
Description:
Little program to test out the different aspects of the unreal protocol and
produce net.burst dumps
=======================
Name: m_rawto.c
Is a 3rd party module
Description:
Implements the RAWTO command, will allow U:lines to send raw data to
anywhere it pleases.
:uline.server RAWTO towho :what to send
=========================
Name: channeldumper.c
Is a 3rd party module
Description:
Dumps a list of non secret channels to ircd.channels or something every 5 seconds,
C #channel topic
M member1
M member2
C #channel2 topic
M member3
You can't rely on topic being there
+157
View File
@@ -0,0 +1,157 @@
/*
* Unreal Internet Relay Chat Daemon, m_rawto.c
* (C) 2002 Carsten V. Munk
* RAWTO Module - 3rd party
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Use of this module will make it a 3rd party module, and will
* add to your /version thing. We DO NOT SUPPORT THIS.
*/
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#include "proto.h"
#ifdef STRIPBADWORDS
#include "badwords.h"
#endif
#ifdef _WIN32
#include "version.h"
#endif
DLLFUNC int m_rawto(aClient *cptr, aClient *sptr, int parc, char *parv[]);
/* Place includes here */
#define MSG_RAWTO "RAWTO" /* */
#define TOK_RAWTO "3A" /* 112 */
#ifndef DYNAMIC_LINKING
ModuleHeader m_rawto_Header
#else
#define m_rawto_Header Mod_Header
ModuleHeader Mod_Header
#endif
= {
"rawto", /* Name of module */
"$Id$", /* Version */
"command /rawto", /* Short description of module */
"3.2-b5",
NULL
};
/* The purpose of these ifdefs, are that we can "static" link the ircd if we
* want to
*/
/* This is called on module init, before Server Ready */
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Init(int module_load)
#else
int m_rawto_Init(int module_load)
#endif
{
/*
* We call our add_Command crap here
*/
add_Command(MSG_RAWTO, TOK_RAWTO, m_rawto, 2);
tainted++;
return MOD_SUCCESS;
}
/* Is first run when server is 100% ready */
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Load(int module_load)
#else
int m_rawto_Load(int module_load)
#endif
{
return MOD_SUCCESS;
}
/* Called when module is unloaded */
#ifdef DYNAMIC_LINKING
DLLFUNC int Mod_Unload(int module_unload)
#else
int m_rawto_Unload(int module_unload)
#endif
{
if (del_Command(MSG_RAWTO, TOK_RAWTO, m_rawto) < 0)
{
sendto_realops("Failed to delete commands when unloading %s",
m_rawto_Header.name);
}
tainted--;
return MOD_SUCCESS;
}
/*
* m_rawto Send a raw string to anywhere
* if you are U:line
* parv[0] = sender prefix
* parv[1] = whoto
* parv[2] = string
*/
DLLFUNC int m_rawto(aClient *cptr, aClient *sptr, int parc, char *parv[])
{
aClient *acptr = NULL;
if (!IsULine(sptr))
{
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
return -1;
}
if (parc < 3)
{
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS),
me.name, parv[0], "RAWTO");
return -1;
}
if ((acptr = find_client(parv[1], NULL)))
{
if (MyConnect(acptr))
{
sendto_one(acptr, "%s", parv[2]);
return 0;
}
else
{
sendto_one(acptr, ":%s %s %s :%s",
parv[0], IsToken(acptr->from) ? TOK_RAWTO : MSG_RAWTO,
parv[1], parv[2]);
return 0;
}
}
return 0;
}
+5563
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
BIN
View File
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More