Thanks DJ! - RE: [JDEV] Some help for a Newbie?
Shane Breland
breland at lincolnparish.org
Tue Sep 18 10:30:17 CDT 2001
Thanks for the reply DJ! Please forgive me if I'm sending too much
information.
Here's the debug code:
Tue Sep 18 09:58:00 2001 usercount 1 total users
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:278 new socket accepted (fd: 12, ip:
192.0.0.26, port: 1476)
Tue Sep 18 09:58:05 2001 client.c:310 io_select NEW socket connected at 12
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 client.c:180 root received for 12
Tue Sep 18 09:58:05 2001 io_select.c:105 WRITE 12 len 138 of <?xml
version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' id='3BA752ED'
xmlns='jabber:client' from='192.0.0.14'>
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:192.0.0.14 <route
type='auth' to='breland at 192.0.0.14' from='12 at c2s/819B398'><iq type='get'
id='JCOM_0'><query
xmlns='jabber:iq:auth'><username>breland</username></query></iq></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 deliver.c:84 (8080488)incoming packet <route
type='auth' to='breland at 192.0.0.14' from='12 at c2s/819B398'><iq type='get'
id='JCOM_0'><query
xmlns='jabber:iq:auth'><username>breland</username></query></iq></route>
Tue Sep 18 09:58:05 2001 util.c:92 config query auth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 entering from pth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 one call 8197850
Tue Sep 18 09:58:05 2001 authreg.c:52 auth request
Tue Sep 18 09:58:05 2001 users.c:147 js_user(breland at 192.0.0.14,80EE980)
Tue Sep 18 09:58:05 2001 users.c:159 js_user not current
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='get'
to='breland at 192.0.0.14/jabber:iq:auth' from='192.0.0.14' id='16'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='get' to='breland at 192.0.0.14/jabber:iq:auth' from='192.0.0.14'
id='16'/>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='breland at 192.0.0.14/jabber:iq:auth'
id='16'><password>b0hatkub</password></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14' from='breland at 192.0.0.14/jabber:iq:auth'
id='16'><password>b0hatkub</password></xdb>
Tue Sep 18 09:58:05 2001 users.c:179 js_user debug 80ED3F8 80ED3F8
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 5
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B41A8
Tue Sep 18 09:58:05 2001 mod_auth_digest checking
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B41D8
Tue Sep 18 09:58:05 2001 mod_auth_0k checking
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='get'
to='breland at 192.0.0.14/jabber:iq:auth:0k' from='192.0.0.14' id='17'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='get' to='breland at 192.0.0.14/jabber:iq:auth:0k' from='192.0.0.14'
id='17'/>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='breland at 192.0.0.14/jabber:iq:auth:0k'
id='17'><zerok><token>3B9FBB73</token><sequence>484</sequence><hash>2b4c02ea
19f38108c3e1e267e467ebc491de3342</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14'
from='breland at 192.0.0.14/jabber:iq:auth:0k'
id='17'><zerok><token>3B9FBB73</token><sequence>484</sequence><hash>2b4c02ea
19f38108c3e1e267e467ebc491de3342</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:c2s <route
from='breland at 192.0.0.14' to='12 at c2s/819B398' type='auth'><iq type='result'
id='JCOM_0'><query
xmlns='jabber:iq:auth'><username>breland</username><digest/><sequence>483</s
equence><token>3B9FBB73</token><resource/></query></iq></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'c2s'
Tue Sep 18 09:58:05 2001 client.c:124 Found the sock for this user
Tue Sep 18 09:58:05 2001 client.c:145 Auth not successfull
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 leaving to pth
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:105 WRITE 12 len 168 of <iq
type='result' id='JCOM_0'><query
xmlns='jabber:iq:auth'><username>breland</username><digest/><sequence>483</s
equence><token>3B9FBB73</token><resource/></query></iq>
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:192.0.0.14 <route
type='auth' to='breland at 192.0.0.14/Work' from='12 at c2s/819B398'><iq
type='set' id='JCOM_1'><query
xmlns='jabber:iq:auth'><username>breland</username><hash>f2d6b934368114713d7
9b1df09b8f09a455a0c91</hash><resource>Work</resource></query></iq></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 deliver.c:84 (8080488)incoming packet <route
type='auth' to='breland at 192.0.0.14/Work' from='12 at c2s/819B398'><iq
type='set' id='JCOM_1'><query
xmlns='jabber:iq:auth'><username>breland</username><hash>f2d6b934368114713d7
9b1df09b8f09a455a0c91</hash><resource>Work</resource></query></iq></route>
Tue Sep 18 09:58:05 2001 util.c:92 config query auth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 entering from pth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 one call 8197C50
Tue Sep 18 09:58:05 2001 authreg.c:52 auth request
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/Work,80EE980)
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 5
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B41A8
Tue Sep 18 09:58:05 2001 mod_auth_digest checking
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B41D8
Tue Sep 18 09:58:05 2001 mod_auth_0k checking
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='get'
to='breland at 192.0.0.14/jabber:iq:auth:0k' from='192.0.0.14' id='18'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='get' to='breland at 192.0.0.14/jabber:iq:auth:0k' from='192.0.0.14'
id='18'/>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='breland at 192.0.0.14/jabber:iq:auth:0k'
id='18'><zerok><token>3B9FBB73</token><sequence>484</sequence><hash>2b4c02ea
19f38108c3e1e267e467ebc491de3342</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14'
from='breland at 192.0.0.14/jabber:iq:auth:0k'
id='18'><zerok><token>3B9FBB73</token><sequence>484</sequence><hash>2b4c02ea
19f38108c3e1e267e467ebc491de3342</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 mod_auth_0k got client hash
f2d6b934368114713d79b1df09b8f09a455a0c91 for sequence 484 and token 3B9FBB73
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='set'
to='breland at 192.0.0.14/jabber:iq:auth:0k' from='192.0.0.14'
id='19'><zerok><token>3B9FBB73</token><sequence>483</sequence><hash>f2d6b934
368114713d79b1df09b8f09a455a0c91</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='set' to='breland at 192.0.0.14/jabber:iq:auth:0k' from='192.0.0.14'
id='19'><zerok><token>3B9FBB73</token><sequence>483</sequence><hash>f2d6b934
368114713d79b1df09b8f09a455a0c91</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='breland at 192.0.0.14/jabber:iq:auth:0k'
id='19'><zerok><token>3B9FBB73</token><sequence>483</sequence><hash>f2d6b934
368114713d79b1df09b8f09a455a0c91</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14'
from='breland at 192.0.0.14/jabber:iq:auth:0k'
id='19'><zerok><token>3B9FBB73</token><sequence>483</sequence><hash>f2d6b934
368114713d79b1df09b8f09a455a0c91</hash></zerok></xdb>
Tue Sep 18 09:58:05 2001 xdb_file.c:215 decaching
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:c2s <route
from='breland at 192.0.0.14/Work' to='12 at c2s/819B398' type='auth'><iq
type='result' id='JCOM_1'/></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'c2s'
Tue Sep 18 09:58:05 2001 client.c:124 Found the sock for this user
Tue Sep 18 09:58:05 2001 client.c:141 auth for user successful
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:192.0.0.14 <route
type='session' to='breland at 192.0.0.14/Work' from='12 at c2s/819B398'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 deliver.c:84 (8080488)incoming packet <route
type='session' to='breland at 192.0.0.14/Work' from='12 at c2s/819B398'/>
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/Work,80EE980)
Tue Sep 18 09:58:05 2001 sessions.c:131 session_create
breland at 192.0.0.14/Work
Tue Sep 18 09:58:05 2001 base_load.c:441 MTQ(new)
Tue Sep 18 09:58:05 2001 mtqoverflow 0 overflowing 81931C8
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:c2s <route type='session'
to='12 at c2s/819B398' from='breland at 192.0.0.14/81931C8'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'c2s'
Tue Sep 18 09:58:05 2001 client.c:124 Found the sock for this user
Tue Sep 18 09:58:05 2001 client.c:152 Session Started
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 81931C8
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 0
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B3AC8
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 1 81934D8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B3B58
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 1 81934E8
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 0 81934F8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B3CD8
Tue Sep 18 09:58:05 2001 mod_filter.c:585 FILTER session init
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 1 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4178
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 0 8193520
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 1 8193530
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 1 8193540
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 2 8193550
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B42C8
Tue Sep 18 09:58:05 2001 modules.c:106 mapi_register_session 2 8193560
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 leaving to pth
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:105 WRITE 12 len 31 of <iq
type='result' id='JCOM_1'/>
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:192.0.0.14 <route
to='breland at 192.0.0.14/81931C8' from='12 at c2s/819B398'><iq
id='jabberim:prefs3293' type='get'><query
xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query></iq></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 deliver.c:84 (8080488)incoming packet <route
to='breland at 192.0.0.14/81931C8' from='12 at c2s/819B398'><iq
id='jabberim:prefs3293' type='get'><query
xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query></iq></route>
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/81931C8,80EE980)
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 entering from pth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 8197820
Tue Sep 18 09:58:05 2001 sessions.c:290 THREAD:SESSION:FROM received a
packet!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 81934D8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 81934E8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193530
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193540
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:262
deliver(to[192.0.0.14],from[breland at 192.0.0.14/Work],type[4],packet[<iq
id='jabberim:prefs3293' type='get' from='breland at 192.0.0.14/Work'
to='192.0.0.14'><query xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query></iq>])
Tue Sep 18 09:58:05 2001 deliver.c:44 delivering locally to 192.0.0.14
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 3
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:282 psending to 80C8068 packet 8197820
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 leaving to pth
Tue Sep 18 09:58:05 2001 server.c:60 THREAD:SERVER received a packet: <iq
id='jabberim:prefs3293' type='get' from='breland at 192.0.0.14/Work'
to='192.0.0.14'><query xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query></iq>
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/Work,80EE980)
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 2
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B3B28
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B3BE8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B3C18
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4238
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4298
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:262
deliver(to[breland at 192.0.0.14/Work],from[192.0.0.14],type[4],packet[<iq
id='jabberim:prefs3293' type='error' from='192.0.0.14'
to='breland at 192.0.0.14/Work'><query xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query><error code='404'>Not Found</error></iq>])
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/Work,80EE980)
Tue Sep 18 09:58:05 2001 deliver.c:44 delivering locally to
breland at 192.0.0.14/Work
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 3
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 entering from pth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 819C9C0
Tue Sep 18 09:58:05 2001 sessions.c:338 THREAD:SESSION:TO received data
from 192.0.0.14!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 0
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 81934F8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193520
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:c2s <route
from='breland at 192.0.0.14/81931C8' to='12 at c2s/819B398'><iq
id='jabberim:prefs3293' type='error' from='192.0.0.14'
to='breland at 192.0.0.14/Work'><query xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query><error code='404'>Not
Found</error></iq></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'c2s'
Tue Sep 18 09:58:05 2001 client.c:124 Found the sock for this user
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 leaving to pth
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:105 WRITE 12 len 203 of <iq
id='jabberim:prefs3293' type='error' from='192.0.0.14'
to='breland at 192.0.0.14/Work'><query xmlns='jabber:iq:private'><jabberIM
xmlns='jabberim:prefs'/></query><error code='404'>Not Found</error></iq>
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:192.0.0.14 <route
to='breland at 192.0.0.14/81931C8' from='12 at c2s/819B398'><presence
type='unavailable'/></route>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 deliver.c:84 (8080488)incoming packet <route
to='breland at 192.0.0.14/81931C8' from='12 at c2s/819B398'><presence
type='unavailable'/></route>
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/81931C8,80EE980)
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 entering from pth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 8197268
Tue Sep 18 09:58:05 2001 sessions.c:290 THREAD:SESSION:FROM received a
packet!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 81934D8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 81934E8
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193530
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193540
Tue Sep 18 09:58:05 2001 mod_presence new presence from
breland at 192.0.0.14/Work of <presence type='unavailable'
from='breland at 192.0.0.14/Work'/>
Tue Sep 18 09:58:05 2001 mtqoverflow 0 overflowing 80ED578
Tue Sep 18 09:58:05 2001 mtqoverflow 1 overflowing 8198298
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='get'
to='breland at 192.0.0.14/jabber:iq:roster' from='192.0.0.14' id='20'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='get' to='breland at 192.0.0.14/jabber:iq:roster' from='192.0.0.14'
id='20'/>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 xdb_file.c:118 caching
/var/lib/jabber/192.0.0.14/breland.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='breland at 192.0.0.14/jabber:iq:roster'
id='20'><query xmlns='jabber:iq:roster'><item jid='compushane at 192.0.0.14'
subscription='none' name='compushane'><group>General</group></item><item
jid='admin at 192.0.0.14' subscription='both'
name='admin'><group>General</group></item><item jid='rob at 192.0.0.14'
subscription='both'
name='rob at 192.0.0.14'><group>General</group></item></query></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14'
from='breland at 192.0.0.14/jabber:iq:roster' id='20'><query
xmlns='jabber:iq:roster'><item jid='compushane at 192.0.0.14'
subscription='none' name='compushane'><group>General</group></item><item
jid='admin at 192.0.0.14' subscription='both'
name='admin'><group>General</group></item><item jid='rob at 192.0.0.14'
subscription='both'
name='rob at 192.0.0.14'><group>General</group></item></query></xdb>
Tue Sep 18 09:58:05 2001 mod_presence roster item compushane at 192.0.0.14
s10n=none
Tue Sep 18 09:58:05 2001 mod_presence roster item admin at 192.0.0.14
s10n=both
Tue Sep 18 09:58:05 2001 mod_presence delivering to them
Tue Sep 18 09:58:05 2001 mtqoverflow 2 overflowing 819CFE0
Tue Sep 18 09:58:05 2001 mod_presence roster item rob at 192.0.0.14 s10n=both
Tue Sep 18 09:58:05 2001 mod_presence delivering to them
Tue Sep 18 09:58:05 2001 mtqoverflow 3 overflowing 819D3E0
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 80ED578
Tue Sep 18 09:58:05 2001 sessions.c:290 THREAD:SESSION:FROM received a
packet!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193530
Tue Sep 18 09:58:05 2001 mod_presence avail tracker
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193540
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:262
deliver(to[breland at 192.0.0.14],from[breland at 192.0.0.14/Work],type[2],packet[
<presence type='unavailable' from='breland at 192.0.0.14/Work'
to='breland at 192.0.0.14'/>])
Tue Sep 18 09:58:05 2001 users.c:147 js_user(breland at 192.0.0.14,80EE980)
Tue Sep 18 09:58:05 2001 deliver.c:44 delivering locally to
breland at 192.0.0.14
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 3
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4148
Tue Sep 18 09:58:05 2001 mod_presence deliver phase
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:282 psending to 80B79D8 packet 80ED578
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 8198298
Tue Sep 18 09:58:05 2001 sessions.c:290 THREAD:SESSION:FROM received a
packet!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193530
Tue Sep 18 09:58:05 2001 mod_presence avail tracker
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193540
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:262
deliver(to[breland at 192.0.0.14],from[breland at 192.0.0.14],type[2],packet[<pres
ence type='probe' to='breland at 192.0.0.14' from='breland at 192.0.0.14'/>])
Tue Sep 18 09:58:05 2001 users.c:147 js_user(breland at 192.0.0.14,80EE980)
Tue Sep 18 09:58:05 2001 deliver.c:44 delivering locally to
breland at 192.0.0.14
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 3
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4148
Tue Sep 18 09:58:05 2001 mod_presence deliver phase
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:282 psending to 80B79D8 packet 8198298
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 819CFE0
Tue Sep 18 09:58:05 2001 sessions.c:290 THREAD:SESSION:FROM received a
packet!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193530
Tue Sep 18 09:58:05 2001 mod_presence avail tracker
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193540
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:262
deliver(to[admin at 192.0.0.14],from[breland at 192.0.0.14/Work],type[2],packet[<p
resence type='unavailable' from='breland at 192.0.0.14/Work'
to='admin at 192.0.0.14'/>])
Tue Sep 18 09:58:05 2001 users.c:147 js_user(admin at 192.0.0.14,80EE980)
Tue Sep 18 09:58:05 2001 users.c:159 js_user not current
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='get'
to='admin at 192.0.0.14/jabber:iq:auth' from='192.0.0.14' id='21'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='get' to='admin at 192.0.0.14/jabber:iq:auth' from='192.0.0.14' id='21'/>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/admin.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='admin at 192.0.0.14/jabber:iq:auth'
id='21'><password>kxp8410</password></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14' from='admin at 192.0.0.14/jabber:iq:auth'
id='21'><password>kxp8410</password></xdb>
Tue Sep 18 09:58:05 2001 users.c:179 js_user debug 819B458 819B458
Tue Sep 18 09:58:05 2001 deliver.c:44 delivering locally to
admin at 192.0.0.14
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 3
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4148
Tue Sep 18 09:58:05 2001 mod_presence deliver phase
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:282 psending to 80B79D8 packet 819CFE0
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 819D3E0
Tue Sep 18 09:58:05 2001 sessions.c:290 THREAD:SESSION:FROM received a
packet!
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193508
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193530
Tue Sep 18 09:58:05 2001 mod_presence avail tracker
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193540
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:262
deliver(to[rob at 192.0.0.14],from[breland at 192.0.0.14/Work],type[2],packet[<pre
sence type='unavailable' from='breland at 192.0.0.14/Work'
to='rob at 192.0.0.14'/>])
Tue Sep 18 09:58:05 2001 users.c:147 js_user(rob at 192.0.0.14,80EE980)
Tue Sep 18 09:58:05 2001 users.c:159 js_user not current
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 2:192.0.0.14 <xdb type='get'
to='rob at 192.0.0.14/jabber:iq:auth' from='192.0.0.14' id='22'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'xdb'
Tue Sep 18 09:58:05 2001 xdb_file.c:161 handling xdb request <xdb
type='get' to='rob at 192.0.0.14/jabber:iq:auth' from='192.0.0.14' id='22'/>
Tue Sep 18 09:58:05 2001 xdb_file.c:98 loading
/var/lib/jabber/192.0.0.14/rob.xml
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 1:192.0.0.14 <xdb
type='result' to='192.0.0.14' from='rob at 192.0.0.14/jabber:iq:auth'
id='22'><password>rob</password></xdb>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 base_load.c:167 xdb_results checking xdb packet
<xdb type='result' to='192.0.0.14' from='rob at 192.0.0.14/jabber:iq:auth'
id='22'><password>rob</password></xdb>
Tue Sep 18 09:58:05 2001 users.c:179 js_user debug 8195088 8195088
Tue Sep 18 09:58:05 2001 deliver.c:44 delivering locally to rob at 192.0.0.14
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 3
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 80B4148
Tue Sep 18 09:58:05 2001 mod_presence deliver phase
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 deliver.c:282 psending to 80B79D8 packet 819D3E0
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 leaving to pth
Tue Sep 18 09:58:05 2001 offline.c:64 THREAD:OFFLINE received
breland at 192.0.0.14's packet: <presence type='unavailable'
from='breland at 192.0.0.14/Work' to='breland at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 util.c:64 dropping 503 packet <presence
type='unavailable' from='breland at 192.0.0.14/Work' to='breland at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 offline.c:64 THREAD:OFFLINE received
breland at 192.0.0.14's packet: <presence type='probe' to='breland at 192.0.0.14'
from='breland at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 util.c:64 dropping 503 packet <presence
type='probe' to='breland at 192.0.0.14' from='breland at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 offline.c:64 THREAD:OFFLINE received
admin at 192.0.0.14's packet: <presence type='unavailable'
from='breland at 192.0.0.14/Work' to='admin at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 util.c:64 dropping 503 packet <presence
type='unavailable' from='breland at 192.0.0.14/Work' to='admin at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 offline.c:64 THREAD:OFFLINE received
rob at 192.0.0.14's packet: <presence type='unavailable'
from='breland at 192.0.0.14/Work' to='rob at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 1
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 util.c:64 dropping 503 packet <presence
type='unavailable' from='breland at 192.0.0.14/Work' to='rob at 192.0.0.14'/>
Tue Sep 18 09:58:05 2001 io_select.c:339 io_main checking sockets
Tue Sep 18 09:58:05 2001 client.c:265 closing XSTREAM
Tue Sep 18 09:58:05 2001 client.c:321 io_select Socket 12 close
notification
Tue Sep 18 09:58:05 2001 deliver.c:472 DELIVER 4:192.0.0.14 <route
type='error' to='breland at 192.0.0.14/81931C8' from='12 at c2s/819B398'/>
Tue Sep 18 09:58:05 2001 deliver.c:344 delivering to instance 'sessions'
Tue Sep 18 09:58:05 2001 deliver.c:84 (8080488)incoming packet <route
type='error' to='breland at 192.0.0.14/81931C8' from='12 at c2s/819B398'/>
Tue Sep 18 09:58:05 2001 users.c:147
js_user(breland at 192.0.0.14/81931C8,80EE980)
Tue Sep 18 09:58:05 2001 sessions.c:204 end 135868872 'Disconnected'
Tue Sep 18 09:58:05 2001 io_select.c:199 freed socket
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 entering from pth
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 queue call 81931C8
Tue Sep 18 09:58:05 2001 sessions.c:368 THREAD:SESSION exiting
Tue Sep 18 09:58:05 2001 modules.c:124 mapi_call 2
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193550
Tue Sep 18 09:58:05 2001 mod_presence avail tracker guarantee
Tue Sep 18 09:58:05 2001 modules.c:147 MAPI 8193560
Tue Sep 18 09:58:05 2001 mod_log.c:107 creating session log entry
Tue Sep 18 09:58:05 2001 modules.c:163 mapi_call returning unhandled
Tue Sep 18 09:58:05 2001 mtq 80EF2B0 leaving to pth
Tue Sep 18 09:58:05 2001 users.c:82 checking users for host 192.0.0.14
Tue Sep 18 09:58:05 2001 users.c:63 freeing rob
Tue Sep 18 09:58:05 2001 users.c:63 freeing admin
Tue Sep 18 09:58:05 2001 users.c:63 freeing breland
----------------------------------------------------------------------------
---------------
---------------------------Here's my jabber.xml
file---------------------------------------
----------------------------------------------------------------------------
---------------
<jabber>
<!--
This is the Jabber server configuration file. The file is
broken into different sections based on the services being
managed by jabberd, the server daemon. Most of the important
sections have comments and are easy to modify. You can find
full instructions in the server howto, which is available at
http://docs.jabber.org/. Note that when you see a tag like
"jabberd:cmdline", it's automatically replaced on startup
with the command line flag passed in to jabberd. This enables
you to override parameters set in this configuration file if
necessary or desired. Also note as you comment things in and
out that jabberd does not like comments within comments, so
be careful with your XML. :)
-->
<!--
The following <service/> section is for the session manager,
the most important component within the server. This section
contains the following types of information:
* the server's hostname
* other basic server information
* the location of the session log file
* email addresses for server administrators
* the location of the server that provides update information
* registration instructions for new users
* a welcome message for new users
* a list of agents with which users can register
* load rules for the modules within the session manager
-->
<service id="sessions">
<!--
Change hostname below to something other than "localhost",
i.e., to the hostname or IP address of your Jabber server.
Multiple <host/> entries are allowed - each one is for a
separate virtual server. Note that each host entry must
be on one line, the server doesn't like it otherwise! :)
-->
<host><jabberd:cmdline flag="h">192.0.0.14</jabberd:cmdline></host>
<!--
This is the custom configuration section for the
Jabber session manager, a.k.a. "JSM".
-->
<jsm xmlns="jabber:config:jsm">
<!--
The <filter/> section below determines settings
for mod_filter, a server-side module built into
JSM that enables users to set delivery rules for
messages they receive (not yet supported by all
clients. The <allow/> subsection specifies which
conditions and actions to enable. High-level
descriptions of each setting can be found below
(see docs.jabber.org for full details):
* <default/> - a user cannot delete this one, it's
the default rule for delivering messages
* <max_size/> - the maximum number of rules in a
user's rule set (we don't want to overdo it!)
* conditions...
* <ns/> - matches the query xmlns attrib on an iq packet
* <unavailable/> - matches when user is unavailable
* <from/> - matches the sender of the message
* <resource/> - matches the receiver's resource
* <subject/> - matches the subject of the message
* <body/> - matches the body of the message
* <show/> - matches the show tag on the receiver's presence
* <type/> - matches the type of the message
* <roster/> - matches if the sender is in your roster
* <group/> - matches if the sender is in the specified group
* actions...
* <error/> - replies with an error
* <offline/> - stores the messages offline
* <forward/> - forwards the message to another jid
* <reply/> - sends a reply to the sender of the message
* <continue/> - continues processing of the rules
* <settype/> - changes the type of the message
-->
<filter>
<default/>
<max_size>100</max_size>
<allow>
<conditions>
<ns/>
<unavailable/>
<from/>
<resource/>
<subject/>
<body/>
<show/>
<type/>
<roster/>
<group/>
</conditions>
<actions>
<error/>
<offline/>
<forward/>
<reply/>
<continue/>
<settype/>
</actions>
</allow>
</filter>
<!-- The server vCard -->
<vCard>
<FN>Jabber Server</FN>
<DESC>A Jabber Server!</DESC>
<URL>http://foo.bar/</URL>
</vCard>
<!--
Registration instructions and required fields. The
notify attribute will send the server administrator(s)
a message after each valid registration if it is set
to "yes".
-->
<register notify="yes">
<instructions>Choose a username and password to register with this
server.</instructions>
<name/>
<email/>
</register>
<!--
A welcome note that is sent to every new user who registers
with your server. Comment it out to disable this function.
-->
<welcome>
<subject>Welcome!</subject>
<body>Welcome to the Jabber server at localhost -- we hope you enjoy
this service! For information about how to use Jabber, visit the Jabber
User's Guide at http://docs.jabber.org/</body>
</welcome>
<!--
IDs with admin access - these people will receive admin
messages (any message to="yourhostname" is an admin
message). These addresses must be local ids, they cannot
be remote addresses.
Note that they can also send announcements to all
users of the server, or to all online users. To use
the announcement feature, you need to send raw xml and be
logged in as one of the admin users. Here is the syntax
for sending an announcement to online users:
<message to="yourhostname/announce/online">
<body>announcement here</body>
</message>
<message to="yourhostname/announce/motd">
<body>message (of the day) that is sent only once to all users
that are logged in and additionally to new ones as they log in</body>
</message>
Sending to /announce/motd/delete will remove any existing
motd, and to /announce/motd/update will only update the motd
without re-announcing to all logged in users.
The <reply> will be the message that is automatically
sent in response to any admin messages.
-->
<!--
<admin>
<read>support at localhost</read>
<write>admin at localhost</write>
<reply>
<subject>Auto Reply</subject>
<body>This is a special administrative address. Your message was
received and forwarded to server administrators.</body>
</reply>
</admin>
-->
<!--
This is the resource that checks for updated versions
of the Jabber server software. Note that you don't lose
any functionality if you comment this out. Removing the
<update/> config is especially a good strategy if your
server is behind a firewall. If you want to use this
feature, change 'localhost' to the hostname or IP address
of your server, making sure that it is the same as your
entry for <host/> above.
-->
<!-- <update><jabberd:cmdline
flag="h">localhost</jabberd:cmdline></update>
-->
<!--
This enables the server to automatically update the
user directory when a vcard is edited. The update is
only sent to the first listed jud service below. It is
safe to remove this flag if you do not want any users
automatically added to the directory.
-->
<vcard2jud/>
<!--
The <browse/> section identifies the transports and other
services that are available from this server. Note that each
entity identified here must exist elsewhere or be further
defined in its own <service/> section below. These services
will appear in the user interface of Jabber clients that
connect to your server.
-->
<browse>
<!--
This is the default agent for the master Jabber User
Directory, a.k.a. "JUD", which is located at jabber.org.
You can add separate <service/> sections for additional
directories, e.g., one for a company intranet.
-->
<service type="jud" jid="users.jabber.org" name="Jabber User
Directory">
<ns>jabber:iq:search</ns>
<ns>jabber:iq:register</ns>
</service>
<!--
The following services are examples only, you will need to
create/modify them to get them working on your Jabber
server. See the README files for each service and/or the
server howto for further information/instructions.
-->
<!-- we're commenting these out, of course :)
<conference type="private" jid="conference.localhost" name="Private
Conferencing"/>
<service type="aim" jid="aim.localhost" name="AIM Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
</service>
<service type="yahoo" jid="yahoo.localhost" name="Yahoo! Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
</service>
end of <service/> examples -->
</browse>
</jsm>
<!--
The following section dynamically loads the individual
modules that make up the session manager. Remove or
comment out modules to disable them. Note that the order
of modules is important, since packets are delivered
based on the following order!!
-->
<load main="jsm">
<jsm>./jsm/jsm.so</jsm>
<mod_echo>./jsm/jsm.so</mod_echo>
<mod_roster>./jsm/jsm.so</mod_roster>
<mod_time>./jsm/jsm.so</mod_time>
<mod_vcard>./jsm/jsm.so</mod_vcard>
<mod_last>./jsm/jsm.so</mod_last>
<mod_version>./jsm/jsm.so</mod_version>
<mod_announce>./jsm/jsm.so</mod_announce>
<mod_agents>./jsm/jsm.so</mod_agents>
<mod_browse>./jsm/jsm.so</mod_browse>
<mod_admin>./jsm/jsm.so</mod_admin>
<mod_filter>./jsm/jsm.so</mod_filter>
<mod_offline>./jsm/jsm.so</mod_offline>
<mod_presence>./jsm/jsm.so</mod_presence>
<mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
<mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
<mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
<mod_log>./jsm/jsm.so</mod_log>
<mod_register>./jsm/jsm.so</mod_register>
<mod_xml>./jsm/jsm.so</mod_xml>
</load>
</service>
<!-- OK, we've finished defining the Jabber Session Manager. -->
<!-- The <xdb/> component handles all data storage, using the filesystem.
-->
<xdb id="xdb">
<host/>
<ns>jabberim:prefs</ns>
<ns>jabberim:windowpos</ns>
<load>
<xdb_file>./xdb_file/xdb_file.so</xdb_file>
</load>
<xdb_file xmlns="jabber:config:xdb_file">
<spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
</xdb_file>
</xdb>
<!--
The following service manages incoming client socket connections.
There are several items you can set here to optimize performance:
* authtime - default is unlimited, but you can set this to
limit the amount of time allowed for authentication to be
completed, e.g., <authtime>10</authtime> for 10 seconds
* karma - this is an input/output rate limiting system that
the Jabber team came up with to prevent bandwidth hogging.
For details about karma, read the io section at the bottom
and/or see docs.jabber.org. These are the low settings and
apply per connection/socket and can be changed as desired.
-->
<service id="c2s">
<load>
<pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
</load>
<pthcsock xmlns='jabber:config:pth-csock'>
<authtime/>
<karma>
<init>10</init>
<max>10</max>
<inc>1</inc>
<dec>1</dec>
<penalty>-6</penalty>
<restore>10</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>
<!--
This is the default server error logging component,
which copies to a file and to STDERR.
-->
<log id='elogger'>
<host/>
<logtype/>
<format>%d: [%t] (%h): %s</format>
<file>error.log</file>
<stderr/>
</log>
<!--
This is the default server record logging component,
which logs general statistical/tracking data.
-->
<log id='rlogger'>
<host/>
<logtype>record</logtype>
<format>%d %h %s</format>
<file>record.log</file>
</log>
<!-- The following two services are for handling server-to-server traffic.
-->
<!-- External asychronous DNS resolver -->
<service id="dnsrv">
<host/>
<load>
<dnsrv>./dnsrv/dnsrv.so</dnsrv>
</load>
<dnsrv xmlns="jabber:config:dnsrv">
<resend service="_jabber._tcp">s2s</resend> <!-- for supporting SRV
records -->
<resend>s2s</resend>
</dnsrv>
</service>
<!--
The following 's2s' config handles server connections and
dialback hostname verification. The <legacy/> element is
here to enable communication with old 1.0 servers. The
karma settings are a little higher here to handle the
higher traffic of server-to-server connections (read
the io section below for more details, medium settings).
-->
<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>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
</dialback>
</service>
<!--
If you identified additional agents in the main <service/>
section (see examples above), you'll need to define each
of them here using a separate <service/> section for each
<agent/> you identified. Note that the <agent/> sections
determine what gets shown to clients that connect to your
server, whereas the following <service/> sections define
these services within the server itself. The following are
examples only, you will need to create/modify them to get
them working on your Jabber server. See the README files
for each agent and/or the server howto for further
information/instructions.
-->
<!-- we're commenting these out, of course :)
<service id="conference">
<load>
<groupchat>/path/to/groupchat.so</groupchat>
</load>
<host>conference.localhost</host>
</service>
<service id="irc">
<host>irc.localhost</host>
</service>
<service id="aim.localhost">
<accept>
<ip/>
<port>7009</port>
<secret>jabber-rocks</secret>
</accept>
</service>
<service id="yahoo.localhost">
<accept>
<ip/>
<port>9001</port>
<secret>jabber-rocks</secret>
</accept>
</service>
end of <service/> examples -->
<!--
The following <io/> config initializes the top-level
I/O, otherwise known as MIO (Managed Input/Output).
-->
<io>
<!-- Set the default karma for *all* sockets -->
<!-- definition of terms:
Avg. Throughput: The ammount of bytes you can send every second
without incuring any penalty
Burst allowed to: The maximum you can send in 2 seconds without
incuring any penalty
max sustained rate: if you send data as fast as you can, you will
hit penalty, and will not be able to send for 10 seconds,
this is the average rate you can dump data when
you are dumping as much as you can, as fast as you can.
seconds to recover from burst: The ammount of time it will take to
reach Avg. Throughput capability, after sending max burst
of data
penalty length: Penalty will last abs(penalty) * Heartbeat
seconds so a penalty of -5 and heartbeat of 2 will last 10 sec.
NOTE: penalty CANNOT be less than -100..
otherwise strange things might happen.
-->
<!-- Example of Low Karma Limits
Avg. throughput: 1k-2k/s
burst allowed to: 5.5k/s
max sustained rate: 485b/s
seconds to recover from burst: 20
penalty length: 12 seconds
<karma>
<heartbeat>2</heartbeat>
<init>10</init>
<max>10</max>
<inc>1</inc>
<dec>1</dec>
<penalty>-6</penalty>
<restore>10</restore>
</karma>
-->
<!-- Example of Medium Karma Limits
Avg. throughput: 5k-10k/s
burst allowed to: 125.5k/s
max sustained rate: 12.6k/s
seconds to recover from burst: 25
penalty length: 10 seconds
<karma>
<heartbeat>2</heartbeat>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
-->
<!-- Example of High Karma Limits
Avg. throughput: 5k-10k/s
burst allowed to: 206k/s
max Sustained rate: 34.3k/s
seconds to recover from burst: 21
penalty length: 6 seconds
<karma>
<heartbeat>2</heartbeat>
<init>64</init>
<max>64</max>
<inc>6</inc>
<dec>1</dec>
<penalty>-3</penalty>
<restore>64</restore>
</karma>
-->
<!--
Set rate limits to monitor the number of connection
attempts from a single IP, any more than [points]
within [time] will engage the limit. This setting
applies to all incoming connections to any service,
unless otherwise overridden by that service.
-->
<rate points="5" time="25"/>
<!--
The following section initializes SSL for top-level I/O.
This works only when the server is compiled with openssl!
-->
<!--
<ssl>
<key ip='192.168.1.1'>/path/to/cert_and_key.pem</key>
<key ip='192.168.1.100'>/path/to/other/cert_and_key.pem</key>
</ssl>
-->
<!--
The following section is used to allow or deny
communications from specified IP networks or
addressses. If there is no <allow/> section,
then *all* IPs will be allowed to connect. If
you allow one block, then only that block may
connect. Note that <allow/> is checked before
<deny/>, so if a specific address is allowed
but the network for that address is denied,
then that address will still be denied.
-->
<!--
<allow><ip>127.0.0.0</ip><mask>255.255.255.0</mask></allow>
<allow><ip>192.0.0.0</ip><mask>255.255.255.0</mask></allow>
<allow><ip>12.34.56.78</ip></allow>
<deny><ip>22.11.44.0</ip><mask>255.255.255.0</mask></deny>
-->
</io>
<!--
This specifies the file to store the pid of the process in.
-->
<pidfile>./jabber.pid</pidfile>
</jabber>
Again, sorry if I sent to much
Shane Breland
IT Director
Lincoln Parish
Office - 318-251-5168
Mobile - 318-245-2472
breland at lincolnparish.org
More information about the JDev
mailing list