[JDEV] (no subject)

Ted Rolle trolle at uwgrocers.com
Fri Oct 20 14:48:56 CDT 2000


Well, we're blazing along!  At least to the point where I can get rid of 
the humongous debug logs.  This next one is short and sour:

I removed the mod_version and other stuff, along with the statements inside 
<etherx></etherx>.

WinJab/Debug/Server Stuff:

SENT: <stream:stream to="198.140.216.36" xmlns="jabber:client" 
xmlns:stream="http://etherx.jabber.org/streams">
RECV: <?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' id='39F09E0B'>
SENT: <iq type="set" id="JCOM_6"><query 
xmlns="jabber:iq:auth"><username>ted</username><password>********</password><resource>Work</resource></query></iq>

server.debug:

Fri Oct 20 12:31:13 2000  debug/conn.c:162 New XML Stream started, locating 
internal namespace handler
Fri Oct 20 12:31:13 2000  debug/config.c:150 name 3 for 198.140.216.36
Fri Oct 20 12:31:13 2000  debug/xmlstream.c:101 head: <?xml 
version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' id='39F09D81'>
Fri Oct 20 12:31:13 2000  debug/tstream.c:133 tstream_write_buffer

Current jserver.xml:

<jserver>

This is the Jabber Server XML configuration file.
Each section has its own instructions.

Replace the default name with your primary server hostname:

	<names>
	<default>destiny.ugweb.com</default>
	<!-- You may have alaises for this server,
		these are NOT virtual hosts,
		only use these for migrating from an old server name or
		for *receive only* on an alternate name
		<alias>old.host.net</alias>
	-->
	</names>


This section provides the default bindings for IP addresses and ports
used within the server.
If the service is not loaded/used, it's directives here are ignored.

	<listen>
		<!--
		<jabber ip='198.140.216.36'>5222</jabber>
		<ssl ip='198.140.216.36'>5223</ssl>
		<irc>6667</irc>
		<http>5280</http>
		<telnet>5228</telnet>
		-->
		<jabber	ip='198.140.216.36'>	5222</jabber>
		<ssl	ip='198.140.216.36'>	5223</ssl>
		<irc	ip='198.140.216.36'>	6667</irc>
		<http	ip='198.140.216.36'>	5280</http>
		<telnet	ip='198.140.216.36'>	5228</telnet>
		<!-- Specific IPs can also be used:
		<jabber ip='12.34.56.78'>5222</jabber>
		<irc ip='12.34.56.79'>6667</irc>
		-->

	</listen>


The session log, make sure the folder exists!

	<log>

		<!-- replace with <error>syslog</error> to log to syslog
			instead, remove to log to STDERR -->
		<error>/log/jserver.error</error>

		<session>/var/log/jserver.log</session>

		<!-- This logs some basic tracking information about every
			packet of data (TONS!)
		-->
		<packet>/var/log/jserver_packet.log</packet>

	</log>


Data is stored on the filesystem for each user,
make sure the folder exists!

	<spool>/usr/local/var/jspool</spool>

	Registration instructions and fields, remove to disallow
	registration:

	<register>
		<instructions>Choose a username and password to register
			with this server.</instructions>
		<username/><password/><name/><email/>
	</register>


Server info:

	<info>
		<name>UWG's Jabber Server</name>
		<description>Our Jabber Server!</description>
		<url>http://foo.bar/</url>
	</info>


A place to list the available agents for the users of this server:

	<agents>

		<!-- this is the default agent for the (temporary) master
			jabber user directory
		-->
		<!--
			<agent jid="users.jabber.org">
				<name>Jabber User Directory</name>
				<description>You may register and create a public
					searchable profile, and search for other registered
					Jabber users.
				</description>
				<service>jud</service>
				<register/>
				<search/>
			</agent>
		-->

	<!-- these are examples.
			You will receive instructions on what to place here
			when you install a real agent.
	-->
	<!--
		<agent jid="aim.jabber.org">
			<name>AIM Transport</name>
			<description>This is the AIM Transport</description>
			<transport>AIM/AOL ScreenName</transport>
			<service>aim</service>
			<register/>
		</agent>
	-->
	<!--
		<agent jid="icq.jabber.org">
			<name>ICQ Transport</name>
			<description>This is the ICQ Transport</description>
			<transport>ICQ#</transport>
			<service>icq</service>
			<register/>
		</agent>
	-->
	<!--
		<agent jid="groups.jabber.org">
			<name>GroupChat</name>
			<description>You can create and participate in private
				chatrooms.
			</description>
			<service>privatechat</service>
			<groupchat/>
			<register/>
			</agent>
	-->		
	<!-- end of agent examples. -->

	</agents>

List of the default DSO loaded modules:

	<dso>
		<mod_time>/usr/local/lib/jabber/mod_time.so</mod_time>
		<!-- temas and orion said to get rid of this:
		<mod_version>/usr/local/lib/jabber/mod_version.so</mod_version>
		-->
		<mod_echo>/usr/local/lib/jabber/mod_echo.so</mod_echo>
		<mod_filter>/usr/local/lib/jabber/mod_filter.so</mod_filter>
		<svc_http>/usr/local/lib/jabber/svc_http.so</svc_http>
		<svc_irc>/usr/local/lib/jabber/svc_irc.so</svc_irc>
	</dso>


This is how the server connects to etherx:

<!-- only enable to use remote mode,
	you should know what you are doing!
-->
<!--
	<etherx>
		<secret>test</secret>
		<remote>198.140.216.36</remote>
	</etherx>
-->

List of usernames with administrative access,
These users receive messages and notices sent to 'hostname':

<!--
	<admin>
		<read>support</read>
		<write>root</write>
	</admin>
-->

</jserver>





More information about the JDev mailing list