有人做过 IRC Server吗

由 GSB 在 11-15-2002 14:36 发表:

有人做过 IRC Server吗

LINUX的


由 n0fe@r 在 11-15-2002 16:46 发表:


有什么问题就说吧


由 GSB 在 11-15-2002 18:55 发表:


我现有一台2K的鸡做IRC SERVER现要改成LINUX的但不知如何入手,网上查了好久都没这方面的资料


由 n0fe@r 在 11-15-2002 21:43 发表:


推荐

IRCd用: UnrealIRCd ( www.unrealircd.com )

Services用: Auspices ( http://sourceforge.net/projects/auspice/ )

for details,contact me @ msn: [email protected]


由 n0fe@r 在 11-15-2002 21:44 发表:


奇怪了,突然发现直接可以上sourceforge了


由 GSB 在 11-15-2002 23:23 发表:


Unreal3.2-Selene (BETA12) Release Notes

======================================

I M P O R T A N T R E A D I N G

(YES, YOU WILL NEED TO READ ALL OF THIS)

  • 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

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). The +x algorithm was changed slightly

to fix a method of cracking that was found. #define COMPAT_BETA4_KEYS to use t

he beta4

system for compatibility with older betas.

  • If you use Linux and have problems where the IRCd complains that

MAXCONNECTIONS is larger than FD_SETSIZE, you need to get your root to

edit /usr/include/bits/types.h - #define __FD_SETSIZE 1024 to be some

number that is equal or higher than MAXCONNECTIONS. This is a problem with

Linux that it is hardcoded and non overrideable in some distributions. We

recommend you use FreeBSD or the variants of this if you need to run high

load IRC servers.

  • We use autoconf to help with compiliation, and this should make us able

to a lot more platform (we have even ported to BeOS).

  • We require a pthreads library for the SOCKS scan now - and this is now

done in the background (no more waiting!).

  • 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.

  • We have some IPv6 support, and there are some minor bugs in it.

  • The documentation is NOT yet 100% complete

  • We have added snomask (similar to ircu), basically this allowed us to remove s

everal modes. Modes +cfFkje

are gone, but don't worry, you can still use them. They are now added like thi

s:

/mode yournick +s +cF

You set the flags in the second parameter of the mode command for a mode chang

e +s, setting -s with no

parameters removes all your snomask. You can remove a specific snomask by doin

g:

/mode yournick -s -c

The current snomasks are:

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

n - nick change notices

q - deny nick (Q:line) rejection notices

It shouldn't be too hard to figure out, just play around with it a bit

  • /who needs testing it was recoded and may contain bugs

  • 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 stand

ard ones include

one of the following files

aliases/ircservices.conf (IRCServices, Daylight)

aliases/epona.conf (Epona)

aliases/auspice.conf (Auspice)

aliases/generic.conf (Magick, Sirius, Wrecked)

aliases/operstats.conf (OperStats)

aliases/genericstats.conf (GeoStats, NeoStats)

  • You can now use an IP in the oper::from and vhost::from fields even if the hos

t resolves

  • Added an http proxy scanner (scan_http.so)

  • Added oper::snomask to specify default oper snomask modes

  • /helpop text has been moved to a config directive, help {}. To keep the standa

rd help

text you need to include help.conf so add

include "help.conf";

to your config file.

  • To be able to use G:lines you must now have the can_gkline flag (or t if old s

tyle flags)

  • Usermode +T (Tech Admin) has been removed, since it is 100% useless

  • Added a make install to copy files to the installation location

  • Removed ./ircd, ./killircd, crypt/mkpasswd, ./rehash and merged them into a ne

w

./unreal [start|stop|rehash|mkpasswd]

for mkpasswd the format is

./unreal mkpasswd [method] [password]

  • Added a new system for crypting passwords. You now do for example

password "my password" { crypt; };

This allows you to have some crypted passwords and others not. If you have SSL

enabled

you may also use the md5 and sha1 methods.

  • The old blackhole is now set::scan::endpoint and specifies an IP and port to t

ell

proxies to connect to.

  • You can now specify a cipher list for SSL links (read doc/unreal32docs.html fo

r more info)

  • +I is now in invisibility.so so it is easily disabled

  • set::socks has been replaced by set::scan (read doc/unreal32docs.html for more

info)

  • If you experince problems with the scanners, perhaps check out BOPM

( http://www.blitzed.org/bopm )

  • log {} syslog support added (read doc/unreal32docs.html for more info)

  • Added ripemd-160 password encryption support

  • Enabled sha1 and md5 password encryption on Win32 regardless of whether SSL is

used.

  • Added WinNT/2k/XP service support (experimental)

To use this you use the unreal.exe utility:

unreal install -installs the service

unreal uninstall -uninstalls the service

unreal start -starts the service

unreal stop -stops the service

unreal restart -restarts the service

unreal rehash -rehashes the config file

Config errors and crashes are now logged to service.log when in service mode.

  • Implimented a new win32 debugger to make fixing bugs much easier.

  • Added a win32 installer to simplify installing under Windows.

  • AKILL/RAKILL is depricated. Server command still works but will be removed eve

ntually

(aliases to TKL G). For normal opers it notices that the commands are depricat

ed.

  • Made the config parser smarter when it comes to time values and size values. E

ntries are

no longer limited to 1d2h1m. You can now enter "1day 2 hours 1 minute" for exa

mple. See

doc/unreal32docs.html for more information.

  • The operoverride code has been rewritten to be less intrusive. You can now no

longer

automatically join a channel for which you must override a mode. You must /inv

ite

yourself to the channel. The idea behind this is it prevents the accidental "r

ejoin on

kick" ban override and joining a +s channel without realizing it is +s and the

refore you

shouldn't know it exists.

  • If you use the SSL features of Unreal, you should use OpenSSL 0.9.6e or later.

This is

important as the older versions may make the program exploitable. See

http://www.openssl.org for more information

  • We have made a lot of changes to deal with SSL, and if you find any flaws or p

roblems,

please contact the coder team. We however think that the changes will make SSL

more transparent and make it work more efficiently.

  • Added technical documentation in doc/technical. This directory will contain in

formation

about the protocol used by Unreal.

  • Added EGD support for SSL. EGD allows entropy to be gathered on systems that d

o not

have a random device (/dev/random or /dev/urandom) or have an unreliable rando

Many older operating systems have an insecure TCP/IP stack

which may be vulnerable to IP spoofing attacks, if you run

an operating system that is vulnerable to such attacks

enable this option. If you aren't sure if your OS is vulnerable

you should still enable it.

Do you have an insecure operating system and therefore want to

use the server anti-spoof protection?

[No] ->

What directory are all the server configuration files in?

[/tmp/Unreal3.2] ->

What is the path to the ircd binary including the name of the binary?

[/tmp/Unreal3.2/src/ircd] ->

<

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus