Jason Booth | 15 May 2013 00:48
Picon

ircd-ratbox serve tweaks

Greetings,

 I have a general question about speed tweaks. I have noticed that on my internal ratbox server if a user puts in 1 <return>,2 <return>,3 <return>,4 <return>,5  <return> that there is a ~2  second delay on the 5th entry. This appears to be a throttling issue. I set default_floodcount to 100 to see if this would help but the issue has not gone away. Can anyone tell me why there is a slow down in the chat after the 4th message? Many thanks in advance.

My configuration


ircd-ratbox-3.0.8

Regards,

-J
<div><div dir="ltr">Greetings,<div><br></div>
<div>&nbsp;I have a general question about speed tweaks. I have noticed that on my&nbsp;internal&nbsp;ratbox server if a user puts in 1 &lt;return&gt;,2 &lt;return&gt;,3 &lt;return&gt;,4 &lt;return&gt;,5 &nbsp;&lt;return&gt; that there is a ~2 &nbsp;second delay on the 5th entry. This appears to be a&nbsp;throttling&nbsp;issue. I set&nbsp;default_floodcount to 100 to see if this would help but the issue has not gone away. Can anyone tell me why there is a slow down in the chat after the 4th message? Many thanks in advance.</div>
<div><br></div>
<div>My configuration</div>
<div><br></div>
<div>
<a href="http://pastebin.com/KvTr9T9e">http://pastebin.com/KvTr9T9e</a><br>
</div>
<div><br></div>
<div>ircd-ratbox-3.0.8<br>
</div>
<div><br></div>
<div>Regards,</div>
<div><br></div>
<div>-J</div>
</div></div>
Daniel Corbe | 4 May 2013 16:43

ircd-ratbox-3.0.8-unicode1


Hi,

As part of an ongoing effort to create a stand-alone Jabber MUC which uses an IRC
server as a back end, I've created a very simple patch to ircd-ratbox
which enables unicode nick support.

As it turns out, it was quite easy because the server is pretty much
agnostic to encoding.

The patch is available at
http://www.corbe.net/static/ircd-ratbox-3.0.8-unicode.patch

A production server is up at irc.corbe.net.

The working repo can be tracked at
git://apollo.corbe.net/ircd-ratbox.git

Cheers.
-Daniel
Rick Dicaire | 27 Jan 2013 19:34
Picon

banserv

Hi folks, ratbox-services version 1.2.4, ircd-ratbox 3.0.8.

All the services work, except for banserv.

I set a temp kline with banserv, I can see the kline when querying
banserv, but I cannot see the kline
when I do /stats k. Nor does the kline have any effect.
Test client is not in any exempts.

Nothing in ircd or services logs indicates an error.

ircd shared block:

shared {
oper = "* <at> *", "ratbox.services";
flags = all;
}

I did a /rehash after adding the shared block.
I stopped, started ratbox-services.

Are klines set with banserv supposed to show in /stats k?
Any ideas why the klines set with banserv don't prevent client
matching said kline from
connecting?

I'm at a loss how to further troubleshoot this issue.

--

-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
John Smith | 1 Jan 2013 12:01
Picon

Static source code analysis (or fun and profit)

Hi,

Just for fun, I decided to run the llvm/clang static source code
analyzer (see: http://clang-analyzer.llvm.org/) on ircd-ratbox. For
those interested, the results can be found here :

http://lbalbalba.x90x.net/clang-analyzer/ircd-ratbox/

Regards,

John Smith.
androsyn | 31 Dec 2012 23:01

ircd-ratbox-3.0.8 released(urgent security update)


Well this is an embarrassing release for certain, turns out there was a
nasty little bug in the CAPAB handling code that allows for a remote
attacker to crash the ircd.  With that said, all admins are urged to
upgrade to ircd-ratbox-3.0.8 immediately.  See the link below for further
details, the link mentions Charybdis but really this impacts all ircd-ratbox
derived ircds.  

http://www.ratbox.org/ASA-2012-12-31.txt

If you happen to be running a vunerable server and for whatever reason
cannot upgrade immediately, a /quote modunload m_capab.so should mitigate
the effects of the bug.

-Aaron

(now for the standard boiler plate release notice)

http://www.ratbox.org/download/ircd-ratbox-3.0.8.tar.bz2
Sig: http://www.ratbox.org/download/ircd-ratbox-3.0.8.tar.bz2.asc
sha1sum: 544a94032ec700897204acd50ca176539f731b05

Please note as of this release, the 3.0 branch is now marked as 'stable'. 
The 2.2 branch will no longer be maintained.

This is the current release version of the 'stable' tree of ircd-ratbox.

If you are upgrading from 2.2, you must read doc/whats-new-3.0.txt
If you are upgrading from 2.1, you must read doc/whats-new-2.2.txt
If you are upgrading from 2.0, you must also read doc/whats-new-2.1.txt
If you are upgrading from 1.x, you must also read doc/whats-new-2.0.txt

-- ircd-ratbox-3.0.8
fix embarrassing CAPAB crash - All admins should upgrade immediately
various doc cleanups

-- ircd-ratbox-3.0.7
remove sigio code. its buggyness makes it more trouble than its worth
stop logging to files when they are commented out in the ircd.conf
add help for GUNGLINE
make cross compiles work again 
fix error handling with GNUTLS
update included sqlite3 code to something recent
documentation cleanups/updates

-- ircd-ratbox-3.0.6
fix a user-triggerable crash in /links handling when flatten_links is
  disabled 
-- ircd-ratbox-3.0.5
fix a bug with reading help files
add debugging in for dealing with a kline removal bug
fix /rehash tdlines and /rehash bans so they actually do something with
  dlines
compute the number of file descriptors passed correctly on freebsd/amd64
  (and probably others) 
check for compiler support for various warning flags and add them
add -fno-strict-aliasing as this is now needed for gcc 4.4
GNUTLS code now picks up new keys/certificates on rehash

-- ircd-ratbox-3.0.4
Actually release from the right branch.  Oops.

-- ircd-ratbox-3.0.3
fix forward dns resolution, only used by connect::host with hostnames
check return values on rb_socketpair that can cause a crash if 
  socketpair fails
add autoconf checks for -fstack-protector
add warnings for certain functions who's return values should always 
  be checked
fix a CHALLENGE related core dump

-- ircd-ratbox-3.0.2
fix ssl+zip close detection
fix openssl detection when openssl is a static library
add gungline support
fix a problem with ssl connections not being accepted on solaris
  and perhaps other platforms as well
attempt to report the real network errors on ssl connections a bit better
actually update the internal timekeeping when using sigio 
fix an off by one error in ziplink stats processing  

-- ircd-ratbox-3.0.1
call rb_helper_close on bandb errors to kill off old bandb processes
report correct files/line numbers for spoof warnings
sid in the serverinfo struct should be 4 bytes, not 3
rebuild the included ircd_lexer.c 
fix ports and /dev/poll on solaris
report libratbox version on -version and /info
libratbox version info includes ssl info
fix installing when using install-sh
reenable ziplinks + ssl
fix a gnutls related core dump
add support for a serverinfo::bandb setting for the ban database
report adding throttles when an oper is set umode +r
report throttle stats in /stats T

-- ircd-ratbox-3.0.0
fix a crash with the the global cidr code
fix a core dump in bantool if bantool cannot open the database
report failure to open logfiles in a more useful way
check to see if we have both read and write access to the ban database
fix a build error on OS X Leopard

-- ircd-ratbox-3.0.0rc3
fix a leak that would cause the ircd to leak 128 bytes per connection
a few minor cleanups of cases where malloc/free were used instead of
  rb_malloc/rb_free
keep people from passing absurd non-numeric values to --with-nicklen
have stats T report cumulative connection times as a 64bit integer
  and keep track of those values as a 64bit integer as well so they do
  not wrap

-- ircd-ratbox-3.0.0rc2
log ERROR commands to file regardless of hide_error_messages setting 
restrict JOIN 0 to only allow 0 by itself, no multiple zeros or zeros
  before or after commas
honor -logfile command line option
fix timerfd_create check

-- ircd-ratbox-3.0.0rc1
fix a bug in comment parsing in the config file
have bandb honor -basedir option
if ssld to work on win32 should you ever desire such a thing and a 
  few other minor win32 fixes
fix up a few things so that the source code builds with gcc -pedantic
do not abort configure if the AC_CHECK_SQLITE3 check fails
drop configure option for ssl only channels, this is now controlled by
  channel {} use_sslonly option
attempt to override FD_SETSIZE when using select, and if this cannot 
  be overriden, lower maxconnections
fix signalfd code on 32bit platforms
add support for timerfd_create event handling on linux systems with 
  new enough kernels and glibc
fix our fake rb_sockaddr_storage so that it actually compiles
Add some work arounds to avoid OPENSSL_applink on some platforms

-- ircd-ratbox-3.0.0beta12
add support for ssl only oper and auth blocks
do not show whowas ip info if the ip is 0
fix admindline to actually work
fix a compile error with vhost6_dns when no ipv6 exists
fix a logic inversion with duplicate dline checking
fix a minor buffer overrun in the identd checking code
default bursting of who set topics to on
tidy up some of the identd checking code
don't try to release a closed connection 
change a few instances where localtime was being used instead of 
  UTC
do not bother logging ERROR commands from non-servers
fix a crash in bantool
fix an issue in libratbox with storing event names incorrectly
put a bit of sanity checking in rb_vsnprintf_append
some portability cleanups 

-- ircd-ratbox-3.0.0beta11
remove the remains of servlink_path from the config file parser
userlog now logs the users IP address as well as their hostname
whowas now supports showing the users IP address as well as 
  hostname.  the same rules apply to showing the whowas IP as 
  apply to showing whois_actually and uses the same numeric.
double the size of the whowas array for large networks.  this 
  comes at a hit of about 2MB or so of memory.
really, really fix the block heap garbage collection code 

-- ircd-ratbox-3.0.0beta10
fix a case a passing a NULL to match()
properly fix a crash in the block heap garbage collection code

-- ircd-ratbox-3.0.0beta9
fix a hang with the resolver using epoll
add dns source port randomization
add a vhost_dns/vhost6_dns option to control which IP addresses the
  resolver binds to
make /stats A work again
cleanup some remains of the old ident helper
work around a core dump in libratbox with accepting sockets that 
  appear to be open in the fd hash and log this condition
fix a buffer overrun in the arc4random code when there is no ssl
  library
fix a memory alignment issue on sparc where the ircd would crash
  with a SIGBUS accessing long long variables that were allocated
  via the block allocator

-- ircd-ratbox-3.0.0beta8
some cleanups in the checksplit code
some cleanups in the /trace code
show reasons for failed outbound SSL handshakes to opers
log ssl errors for servers and handshakes in serverlog
make sqlite3 checking more robust
change the resolver to use the code from charybdis instead of adns
fix identd checking so it works again
fix a bug where the ircd could stop reading from the client on the CAP 
  command
add some functions for random number generation for the nossl case in
  libratbox

-- ircd-ratbox-3.0.0beta7
my release building script manage to not include libratbox, oops

-- ircd-ratbox-3.0.0beta6
change -lock klines and friends to now be ADMINKLINE etc
default to only supporting TS6 
fix remote kline reasons
have sqlite3 checking use pkg-config when possible
move identd checking back into the ircd, this seems to have been more
  problematic than what it was worth
add experimental gnutls support - note that CHALLENGE does not work when using just
  gnutls 
some helpfile cleanups
fix compile error when zlib is not found
remove some restrictions on k/d/x/resv reasons that are no longer needed

-- ircd-ratbox-3.0.0beta5
fix things so that --enable-assert=soft compiles again
fix a typo in mkpasswd
add admin only -lock klines, doing KLINE -lock will allow admins to
  add klines that normal opers cannot remove. 
modify bantool to have a -u option that updates the database schema.
  if upgrading from previous betas, this needs to be run to support
  the -lock kline changes.
fix cidr klines so they work again
update included sqlite3 to the latest revision
allow kline/unkline of a bare host or address, this gets treated as 
  * <at> host
report when an invalid kline is passed, instead of silently ignoring
fix --enable-assert=soft
fix libratbox build on OS X and others

-- ircd-ratbox-3.0.0beta4
some configure/makefile changes that are useful for package maintainers
various bantool fixes
fix a bug with the command hash that could cause the ircd to crash
fix an ident checking bug that would sometimes cause users to get the 
  wrong ident
fix an ssld crash due to mangling connection ids incorrectly
fix matching of cidr masks where the bit length was 0 
implement throttling of ssl connection handshake flooding 
fix build on bsd platforms that lack EVFILT_TIMER
fix kqueue from sometimes dropping updates
fix a possible crash with ssl connections closing quickly
perserve errno so that connect failures report the correct error

-- ircd-ratbox-3.0.0beta3
fix an issue with CAP END releasing clients before it should
report bandb errors in a useful fashion
strip tabs when reading from help/motd etc
override default_max_clients if it is == 0
fix ssl issue with wanting reads/writes
fix some cases where /list can freeze a client
stop libltdl from installing an empty include directory
improve SIGCHLD handling in the ircd

-- ircd-ratbox-3.0.0beta2
honor global_cidr setting
fix a bug in bantool that improperly parsed X-lines with spaces them
fix user <at> host spoofs
fix default maxclients to work correctly
fix libratbox build with openssl disabled
don't spin on openssl accepts when there is no data

-- ircd-ratbox-3.0.0beta1
No release notes, see doc/whats-new-3.0.txt

$Id: RELNOTES 27412 2012-12-31 21:31:20Z androsyn $

Sven Hergenhahn | 23 Aug 2012 15:53
Picon

operator in irdc.config an channel oprators


Hi,

I'm a bit confused.

I was able to become oper on the server by setting an
operator "svenxy" {};

in the config.

I get that:

* *** Notice -- svenh (~svenh <at> 127.0.0.1) is now an operator
* svenh setzt Modus +a svenh
* svenh setzt Modus +l svenh
* svenh setzt Modus +o svenh
* svenh setzt Modus +s svenh
* svenh setzt Modus +w svenh
* svenh setzt Modus +z svenh
* You have entered... the PANTS FREE ZONE!
* *** Oper privs are GKXQOCRUHDAnLspB
* *** Notice -- Link with ratbox.services established: (TS6 QS EX IE
TB ENCAP SERVICES) link
* *** Notice -- End of burst (emulated) from ratbox.services (0 seconds)
* You have entered... the PANTS FREE ZONE!

However, I can't seem to figure out how this would enable me to become
a channel operator in a channel that I did not create myself.

I was under the (probably wrong) impression that as a server operator,
I should be able to become an oper in a given channel.

Right? Wrong?

Any hints are greatly appreciated.

Cheers,
Sven

--

-- 
Sven Hergenhahn
Heidelberg.Germany.Earth.

GPG Key 0x0DCE97AB
Fingerprint E452 94A5 A426 1CA5 B321 5A71 D1AE 3696 0DCE 97AB
Scott MacDonald | 27 May 2012 08:46
Picon

Small typo in ratbox

line 570 src/ircd.c, 'whilst' is spelled 'whlist' in an error message


- Scott

--
Sigs are for weenies.
<div>
<p>line 570 src/ircd.c, 'whilst' is spelled 'whlist' in an error message</p>
<div><br></div>
<div>- Scott</div>
<div>
<div><br></div>-- <br>Sigs are for weenies.<br>
</div>
</div>
Will Sheldon | 9 Mar 2012 08:52
Picon

New setup config help.

I'm really keen to get up and running with ratbox, I've setup a server 
for our staff and students to use to collaborate out of hours but I'm 
having some problems :-(

I have ircd-ratbox and ratbox-services up and running using the debian 
packages ircd-ratbox and ratbox-services-mysql

I don't seem to be able to create a channel though :-(.

When I log in (using irssi from localhost) as god and issue '/join 
#test' i get 'Irssi: Channel #test is temporarily unavailable, this is 
normally because of netsplits. '

Would one of you lovely people be willing to look over my config files 
and see if I've made any obvious mistakes?
http://pastebin.com/2ZzVTrrv

Has anyone written a "howto setup a server for idiots" guide, or have I 
got the server setup but am not issuing the correct commands? I thought 
perhaps I should be asking chanserv to create channels, but chanserv 
wants me to log in with userserv first, but I can't seem to do that. :-( 
I cant find much in the way of documentation so any pointers would be 
hugely appreciated. I'd be willing to contribute a howto if one doesn't 
exist, once i understand what I'm doing :-)

Will
h3nt3r | 28 Feb 2012 10:45
Picon
Favicon

Documentation

Hi Folks, could somebody point me to a ratbox-services and ircd site or documentation?

Im unable to find something online.

Cheers,

h3nt3r
b2 | 26 Feb 2012 00:58

SSL S2S issues

Hi list , does anybody have some success hands on experience with server to server over SSL ?


<div>
Hi list , does anybody have some success hands on experience with server to server over SSL ?<br><br><br>
</div>
Brad | 11 Jan 2012 04:52

[PATCH] Fix typo in examples configs

The example configs have a typo in them.

Index: doc/example.conf
===================================================================
--- doc/example.conf	(revision 27336)
+++ doc/example.conf	(working copy)
 <at>  <at>  -88,7 +88,7  <at>  <at> 
 	/* vhost6_dns: the IP to bind outgoing dns requests when the dns server is 
 	 * ipv6
 	 */
-	# vhost_dns6 = "3ffe:80e8:546::3";
+	# vhost6_dns = "3ffe:80e8:546::3";

 	/* default max clients: the default maximum number of clients
 	 * allowed to connect.  This can be changed once ircd has started by
Index: doc/example.efnet.conf
===================================================================
--- doc/example.efnet.conf	(revision 27336)
+++ doc/example.efnet.conf	(working copy)
 <at>  <at>  -91,7 +91,7  <at>  <at> 
 	/* vhost6_dns: the IP to bind outgoing dns requests when the dns server is
 	 * ipv6
 	 */
-	# vhost_dns6 = "3ffe:80e8:546::3";
+	# vhost6_dns = "3ffe:80e8:546::3";

 	/* default max clients: the default maximum number of clients
 	 * allowed to connect.  This can be changed once ircd has started by

--

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Gmane