| 1 |
<?xml version='1.0' encoding='utf-8'?> |
|---|
| 2 |
<!DOCTYPE jjigw SYSTEM "http://jjigw.jabberstudio.org/dtd/jjigw.dtd"> |
|---|
| 3 |
<jjigw> |
|---|
| 4 |
|
|---|
| 5 |
<!-- |
|---|
| 6 |
Settings for connection with the Jabber server. |
|---|
| 7 |
|
|---|
| 8 |
For jabberd2 this should match <local/> section of router.xml. |
|---|
| 9 |
|
|---|
| 10 |
For jabberd 1.4 a <service/> section for jjigw should be added to jabber |
|---|
| 11 |
xml. It should contain <host/> element for each domain (network jid defined below) |
|---|
| 12 |
to be handled by the component and <accept/> element with <ip/>, <port/>, <secret/> |
|---|
| 13 |
children matching the settings below. |
|---|
| 14 |
--> |
|---|
| 15 |
<connect> |
|---|
| 16 |
<host>127.0.0.1</host> |
|---|
| 17 |
<port>5347</port> |
|---|
| 18 |
<secret>topsecret</secret> |
|---|
| 19 |
</connect> |
|---|
| 20 |
|
|---|
| 21 |
<!-- |
|---|
| 22 |
|
|---|
| 23 |
JJIGW can be used together with a special ident (RFC1413) server |
|---|
| 24 |
which will return unique id for each unique gateway user. |
|---|
| 25 |
|
|---|
| 26 |
The ident daemon (spidentd) is included in the JJIGW package. |
|---|
| 27 |
|
|---|
| 28 |
<spidentd> |
|---|
| 29 |
<socket>sock</socket> |
|---|
| 30 |
</spidentd> |
|---|
| 31 |
--> |
|---|
| 32 |
|
|---|
| 33 |
<!-- |
|---|
| 34 |
Administrators - Jabber users allowed to browse JJIGW status via Disco |
|---|
| 35 |
--> |
|---|
| 36 |
|
|---|
| 37 |
<admin>admin@localhost</admin> |
|---|
| 38 |
<admin>admin2@otherhost</admin> |
|---|
| 39 |
|
|---|
| 40 |
<!-- |
|---|
| 41 |
IRC networks accessible via the gatway. |
|---|
| 42 |
For Jabberd2 you will need an alias for each network except the first one. |
|---|
| 43 |
--> |
|---|
| 44 |
|
|---|
| 45 |
<!-- |
|---|
| 46 |
freenode network with #pld channel configured to use ISO 8859-2 encoding. |
|---|
| 47 |
Other channels will still be available, but only us-ascii characters will work. |
|---|
| 48 |
--> |
|---|
| 49 |
<network jid="freenode.localhost"> |
|---|
| 50 |
<server>irc.freenode.net</server> |
|---|
| 51 |
<channel encoding="iso-8859-2">#pld</channel> |
|---|
| 52 |
</network> |
|---|
| 53 |
|
|---|
| 54 |
<!-- |
|---|
| 55 |
Polish IRCNet for Polish users :) |
|---|
| 56 |
This settings are fine here in Poland, where most people use ISO 8859-2, |
|---|
| 57 |
but may be inappropriate for other IRCNet users and channels. |
|---|
| 58 |
--> |
|---|
| 59 |
<network jid="ircnet.localhost" encoding="iso-8859-2"> |
|---|
| 60 |
<server>warszawa.irc.pl</server> |
|---|
| 61 |
<server>lublin.irc.pl</server> |
|---|
| 62 |
<server>poznan.irc.pl</server> |
|---|
| 63 |
</network> |
|---|
| 64 |
|
|---|
| 65 |
<!-- |
|---|
| 66 |
A Russian IRC network, alows 8bit characters in nicknames. |
|---|
| 67 |
--> |
|---|
| 68 |
<network jid="rusnet.localhost" encoding="koi8-r" nicks_8bit="yes"> |
|---|
| 69 |
<server>irc.spbu.ru</server> |
|---|
| 70 |
</network> |
|---|
| 71 |
|
|---|
| 72 |
</jjigw> |
|---|