[JDEV] turning OFF karma
Dustin Puryear
dpuryear at usa.net
Tue Apr 10 12:17:21 CDT 2001
Keith Minkler wrote:
>
> Simply using <dec>0</dec> tag will turn off karma limits, since
> it will prevent a user's karma from ever decreasing.
I did that and still get:
20010410T17:16:08: [warn] (io_select): 127.0.0.1 is being connection
rate limited
Relevent jabber.xml:
<service id="c2s">
<load>
<pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
</load>
<pthcsock xmlns='jabber:config:pth-csock'>
<authtime/>
<karma>
<heartbeat>2</heartbeat>
<init>64</init>
<max>64</max>
<inc>6</inc>
<dec>0</dec>
<penalty>0</penalty>
<restore>64</restore>
</karma>
<!--
Use these to listen on particular addresses and/or ports.
<ip port="5222">127.0.0.1</ip>
-->
<ip port="5222"/>
<!--
The <ssl/> tag acts just like the <ip/> tag. Except SSL is used
on the ports and ips specified. You must specify an IP here, or
the
connections will fail.
<ssl port='5223'>127.0.0.1</ip>
<ssl port='5224'>192.168.1.100</ip>
-->
</pthcsock>
</service>
<service id="s2s">
<load>
<dialback>./dialback/dialback.so</dialback>
</load>
<dialback xmlns='jabber:config:dialback'>
<legacy/>
<!-- Use these to listen on particular addresses and/or ports.
<ip port="7000"/>
<ip port="5269">127.0.0.1</ip>
-->
<ip port="5269"/>
<karma>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>0</dec>
<penalty>0</penalty>
<restore>50</restore>
</karma>
</dialback>
</service>
Any help? Notice I set penalty to 0 on the second try.
Regards, Dustin
>
> On Fri, Apr 06, 2001 at 11:01:55AM -0500, Dustin Puryear wrote:
> > How can I just turn off karma completely? I find the documentation for
> > karma in jabber.xml a bit vague since it doesn't cover all of the
> > parameters.
> >
> > Regards, Dustin
> >
> > --
> > Dustin Puryear <dpuryear at usa.net>
> > http://members.telocity.com/~dpuryear
> > In the beginning the Universe was created.
> > This has been widely regarded as a bad move. - Douglas Adams
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> Keith Minkler
>
> -------
> Software Developer
> Jabber.COM, Inc.
> -------
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
--
Dustin Puryear <dpuryear at usa.net>
http://members.telocity.com/~dpuryear
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams
More information about the JDev
mailing list