Re: [jabberd2] Removing Cyrus SASL backend proposal

2008-10-06 Thread Mark Doliner
On Mon, Oct 6, 2008 at 6:43 AM, Proskurin Kirill <[EMAIL PROTECTED]> wrote: > Tomasz Sterna wrote: >> >> Cyrus SASL backend is currently abandoned and not maintained anymore. >> It has known bugs with noone wanting to fix them. >> >> The main reason for Cyrus backend inclusion in jabberd2 was GSSAP

Re: [jabberd2] Rate limiting functional.

2008-08-06 Thread Mark Doliner
On Wed, Aug 6, 2008 at 6:33 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-08-06, śro o godzinie 02:07 -0700, Mark Doliner pisze: >> It still wouldn't be beautifully event-driven, but it should be less >> resource intensive. > > Is it really so resource

Re: [jabberd2] Rate limiting functional.

2008-08-06 Thread Mark Doliner
On Wed, Aug 6, 2008 at 6:33 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-08-06, śro o godzinie 02:07 -0700, Mark Doliner pisze: >> It still wouldn't be beautifully event-driven, but it should be less >> resource intensive. > > Is it really so resource

Re: [jabberd2] Rate limiting functional.

2008-08-06 Thread Mark Doliner
On Sun, Jul 27, 2008 at 12:58 PM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-07-24, czw o godzinie 12:17 +0200, Tomasz Sterna pisze: >> I will look at the throttling possibilities (instead of >> disconnections) >> during the weekend. >> I have a hunch it is doable. :-) > > It's done. http

Re: [jabberd2] Re: Rate limiting non-functional?

2008-07-23 Thread Mark Doliner
Hmm, two people have told me my last email was empty, so here it is again: FYI I just added a "stanza rate limit." Instead of limiting based on the number of bytes it limits based on the combined number of message, presence and iq requests (regardless of their size). It's configurable in c2s.xml

Re: [jabberd2] Re: Rate limiting non-functional?

2008-07-23 Thread Mark Doliner
On Fri, Jul 18, 2008 at 10:42 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-07-18, pią o godzinie 09:31 -0700, Mark Doliner pisze: >> That seems a little odd... I think only data read from the client >> counts toward the limit. > > Disabling rate limiti

Re: [jabberd2] Remove scod?

2008-07-23 Thread Mark Doliner
On Tue, Jul 8, 2008 at 1:45 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-07-07, pon o godzinie 20:10 -0700, Mark Doliner pisze: >> How do people feel about removing the "scod" code from the sx >> directory? > > This is what I did for 2.1

Re: [jabberd2] Re: Rate limiting non-functional?

2008-07-18 Thread Mark Doliner
On Fri, Jul 18, 2008 at 2:23 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-07-11, pią o godzinie 13:48 -0700, Mark Doliner pisze: >> 1. Don't disconnect people when they hit the rate limit. Instead, >> stop reading from their socket until the limit has expire

Re: [jabberd2] External libraries: libevent and GLib

2008-07-16 Thread Mark Doliner
On Wed, Jul 16, 2008 at 3:17 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-07-15, wto o godzinie 15:07 -0700, Mark Doliner pisze: >> Anyway, probably not something we want to dive into now. I mostly >> just wanted to make people aware of the existence of the tw

[jabberd2] External libraries: libevent and GLib

2008-07-15 Thread Mark Doliner
I just thought I'd throw this idea out there... has anyone ever thought of changing jabberd to use libevent or GLib? libevent is an event notification library that abstracts the APIs for poll, select, epoll, kqueue and maybe a few other things. I guess we would really only gain support for kqueue

Re: [jabberd2] Re: Rate limiting non-functional?

2008-07-13 Thread Mark Doliner
On Sun, Jul 13, 2008 at 1:58 AM, Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-07-11, pią o godzinie 13:48 -0700, Mark Doliner pisze: >> Do we >> have a way to call a function after a certain amount of time has >> passed? We would need one for this. > >

[jabberd2] Re: Rate limiting non-functional?

2008-07-11 Thread Mark Doliner
On Thu, Jul 10, 2008 at 5:51 PM, Mark Doliner <[EMAIL PROTECTED]> wrote: > On Thu, Jul 10, 2008 at 5:38 PM, Mark Doliner <[EMAIL PROTECTED]> wrote: >> On Mon, Jul 7, 2008 at 10:25 AM, Mark Doliner <[EMAIL PROTECTED]> wrote: >>> I've been looking at the rate

[jabberd2] Re: Rate limiting non-functional?

2008-07-10 Thread Mark Doliner
On Thu, Jul 10, 2008 at 5:38 PM, Mark Doliner <[EMAIL PROTECTED]> wrote: > On Mon, Jul 7, 2008 at 10:25 AM, Mark Doliner <[EMAIL PROTECTED]> wrote: >> I've been looking at the rate limiting options in c2s.xml, and looking >> at the code that intends to enforce

[jabberd2] Re: Rate limiting non-functional?

2008-07-10 Thread Mark Doliner
On Mon, Jul 7, 2008 at 10:25 AM, Mark Doliner <[EMAIL PROTECTED]> wrote: > I've been looking at the rate limiting options in c2s.xml, and looking > at the code that intends to enforce those limits. It looks like the > connection rate limit would work (but I haven't tested

[jabberd2] Remove scod?

2008-07-07 Thread Mark Doliner
How do people feel about removing the "scod" code from the sx directory? That's the old homegrown sasl implementation, right? I'm always in favor of removing older code in favor of moving forward. And I think using shared libraries is always a step forward. -Mark -- To unsubscribe send a mail

[jabberd2] Rate limiting non-functional?

2008-07-07 Thread Mark Doliner
I've been looking at the rate limiting options in c2s.xml, and looking at the code that intends to enforce those limits. It looks like the connection rate limit would work (but I haven't tested it), but it looks like the byte limit code has a few major problems that would keep it from doing anythi

Re: [jabberd2] s2s fails as resolver not able to resolve DNS

2008-01-23 Thread Mark Doliner
On Wed, 2008-01-23 at 3:41 PM Praveen wrote: > Hi all, > I have 2 jabberd2 installations on my LAN, serving 2 different domains, > domain1 and domain2. However, I'm not able to establish s2s connections > between them. Apparently, the resolver is not able to resolve DNS queries > for domain1 and do

Re: [jabberd2] Fwd: Patch to allow C++ modules

2007-12-17 Thread Mark Doliner
I'm in favor of making a change along these lines... the patch just avoids using variables named "private" which are reserved words in C++. It's a pretty unobtrusive change to jabberd2. I think the variable should probably be "private_data" instead of "privateData," though -Mark > -Origi

Re: [jabberd2] Storing passwords in DB as MD5

2007-11-05 Thread Mark Doliner
On Nov 4, 2007 at 2:11am Josh wrote: > Is there a way to store c2s passwords in the database as MD5 hashes? More > to the point, is it easy to use an existing database full of usernames and > MD5-hashed passwords? If you want to use an existing database full of usernames and MD5-hashed passwords

Re: [jabberd2] asynchronous DNS and resolver component

2007-11-02 Thread Mark Doliner
On Nov 2, 2007 at 2:42 AM Tomasz Sterna wrote: > I had started implementing asynchronous DNS resolving in jabberd, > to really fix problem of resolver timing out requests by accumulation. > > If there are 20 requests to process at the moment, and each takes 5 > seconds to resolve (default libresol

[jabberd2] Use /usr/sbin instead of /usr/bin

2007-10-30 Thread Mark Doliner
Currently jabberd2's binary files are installed to /usr/bin. It seems more customary for server binaries to go into the /usr/sbin directory instead. Examples off servers on my system that are in /usr/sbin: crond, anacron, lighttpd, apache, sshd, ntpd, cupsd, sendmail, smartd How do people feel

Re: [jabberd2] Location of pid file

2007-10-26 Thread Mark Doliner
On Oct 26, 2007 at 12:34 AM, Tomasz Sterna wrote: > Dnia 25-10-2007, Cz o godzinie 17:20 -0700, Mark Doliner pisze: > > > ./configure --prefix=somedir HAVE to move the whole installation to > > > 'somedir'. > > > So we simply cannot use fixed pa

Re: [jabberd2] Location of pid file

2007-10-25 Thread Mark Doliner
On Oct 25, 2007 at 5:01 PM, Tomasz Sterna wrote: > Dnia 25-10-2007, Cz o godzinie 08:27 -0700, Mark Doliner pisze: > > 2. /var/run/jabberd/component.pid > > > > I realize that not all operating systems follow the FHS, but it seems > > like either of these altern

[jabberd2] Location of pid file

2007-10-25 Thread Mark Doliner
By default jabberd 2 uses '@localstatedir@/jabberd/pid/component.pid' as the pid file for each component. This ends up being '/usr/local/var/jabberd/pid/c2s.pid' for me when I don't specify a prefix. This seems weird to me. I don't even have a /usr/var or /usr/local/var on Ubuntu Linux or Cen

Re: [jabberd2] Distinction between jabberd2 and jabberd14

2007-10-25 Thread Mark Doliner
On Oct 25, 2007 at 12:31 AM Tomasz Sterna wrote: > Dnia 25-10-2007, Cz o godzinie 00:02 -0700, Mark Doliner pisze: > > It took me a long time to get a good feel for the distinction between > > jabberd14 and jabberd2. I think the names are probably confusing to > > anyone

[jabberd2] Distinction between jabberd2 and jabberd14

2007-10-25 Thread Mark Doliner
It took me a long time to get a good feel for the distinction between jabberd14 and jabberd2. I think the names are probably confusing to anyone not familiar with the projects. It seems like it might be a good idea for the jabberd2 project to use "jabberd2" in many places where it currently u

Re: [jabberd2] s2s.xml

2007-10-22 Thread Mark Doliner
On Oct 21, 2007 at 7:57 PM, ?? wrote: > What does the in s2s.xml represent? > The comment writes "Our ID on the network". > I think the should be the hostname. As does sm.xml and c2s.xml, I > also changed the default to my hostname. > But It's wrong . sm died. > > Please explpain more details >

Re: [jabberd2] Server to Server can't connet for DNS reason

2007-10-22 Thread Mark Doliner
On Oct 20, 2007 at 4:20 AM, ?? wrote: > Dear Sir > To test the S2S connection function, I installed two jabberd2 servers in > LAN, that are Server1 and Server2. > Because lack of DNS, I modfied the /ets/hosts in each of Linux as follows: > == > 192.168.82.123 server1 > 192.

Re: [jabberd2] Clustering

2007-10-19 Thread Mark Doliner
On 17 October 2007 at 2:20 PM, Tomasz Sterna wrote: > Dnia 17-10-2007, Sr o godzinie 13:52 -0700, Mark Doliner pisze: > > > When the router detects bind conflict. It tells the conflicting > > > components to "go to the lower level". > > > > And there wou

Re: [jabberd2] Clustering

2007-10-17 Thread Mark Doliner
> -Original Message- > From: Tomasz Sterna > Sent: Wednesday, October 17, 2007 1:34 PM > To: jabberd2 development > Subject: Re: [jabberd2] Clustering > > Dnia 17-10-2007, Śr o godzinie 13:05 -0700, Mark Doliner pisze: > > Doesn't this make the router a bo

Re: [jabberd2] Clustering

2007-10-17 Thread Mark Doliner
ginal Message- > From: [EMAIL PROTECTED] [mailto:jabberd2- > [EMAIL PROTECTED] On Behalf Of Tomasz Sterna > Sent: Wednesday, October 17, 2007 11:49 AM > To: jabberd2 development > Subject: Re: [jabberd2] Clustering > > Dnia 17-10-2007, Śr o godzinie 10:34 -0700, Mark Do

[jabberd2] Clustering

2007-10-17 Thread Mark Doliner
Hi! I'm interested in adding clustering support to jabberd2. We're noticing that sm is definitely a bottleneck in our jabberd2 installation, and we think clustering would eliminate this. I've read through all the clustering pages on the wiki and think I have a pretty good idea of what needs