Server Configuration


Chat Server configuration (pchatd.conf)

The main ParaChat Server configuration file is called 'pchatd.conf'. This file is located in the "config" directory (...\ParaChat\ParaChat400\config\pchatd.conf) of your ParaChat Server. This file contains configuration information for the entire chat server, and is where server-wide and server-related parameters are set. The file contains hundreds of individual lines, but only specific lines may ever need edited. Below is a listing of important configuration parameters, and their function.

The 'pchatd.conf' file is a simple text file which can be edited using a text editor. Please note that any change to the 'pchatd.conf' file must be saved, and the ParaChat Server must be restarted for the change to take effect. Since this action may cause a brief interruption in chat service for your users, your ParaChat Server includes a method to make changes to the server configuration file without requiring a chat server reboot. Details on making and implementing changes to the server configuration file without requiring a chat server restart are found in the Dynamic Settings section of the Documentation.

Feature
Configuration parameter
Defaults / Values / Examples
Admin Server Port pchatd.adminport Default:

0

By default this is set to 0 which means it is turned off.

Password for the Admin Server Port

This password is for connecting to the admin server port and not for the Super Admin user.

pchatd.adminpasswd Default:

<randomly set during install>

Port where the ParaChat server should listen for chat connections. pchatd.port Default:

7777

HTTP Port

This specifies where HTTP connections to the ParaChat Server will operate. This port is used for firewall tunneling and save-to-server actions. The default value for this parameter is 100 above the chat port number.

httpd.port Default:

7877

Enable profanity filter pchatd.profanityfilter Values:

pchatd.profanityfilter=true
pchatd.profanityfilter=false

Standard topic for room pchatd.DefaultTopic Example:

pchatd.DefaultTopic=Welcome to my chat room

Maximum idle time (in seconds) before user is disconnected. (Can be set on a per-user level.) pchatd.max_idle_time Default:

10*60=600 (i.e 10 minutes)

Example:

pchatd.max_idle_time=1000

Maximum number of users per room. (Can be set on a per-room basis.) pchatd.maxperchan Default:

25 users per room

Example:

pchatd.maxperchan=100

Action taken if URL of entering Web page does not match the creator URL in the room configuration file. (Can be set on a per-room basis.) pchatd.enforce_url Values:

pchatd.enforce_url=warn
Issues warning message but allows entry to room.

pchatd.enforce_url=allow
Allows any URL without warning.

pchatd.enforce_url=deny
Denies entry to room if URL does not match creator URL.

To disallow private messaging between users pchatd.allowprivate Values:

pchatd.allowprivate=true
Default setting to allow private messages

pchatd.allowprivate=false
Stops private messages

Number of lines in the Message of the Day (message received when a user logs in to a room) pchatd.motdlines Example:

pchatd.motdlines=2

Message line in Message of the Day pchatd.motdN where N is 1.<message of the day> Example:

pchatd.motd1=Welcome to the Just Talk chat server

pchatd.motd2=Please email support@justtalk.com for help.

Hostname on which the ParaChat server is running pchatd.host Example:

pchatd.host=chat.mycompany.com

Turns on spam detection pchatd.spam_detection Default:

pchatd.spam_detection=true

Values:

pchatd.spam_detection=true
pchatd.spam_detection=false

Load limit when a user is sent a spam detection warning message. (If user is trying to flood the room with messages, the system checks the load imposed by the user and sends a warning.) pchatd.spamload_warn Default:

pchatd.spamload_warn=2500

(The moving average time between 2 successive commands in the last 10 commands from the user is 2.5 seconds.)

Load limit when a user is disconnected from the chat server. pchatd.spamload_disconnect Default:

pchatd.spamload_disconnect=500

(The moving average time between 2 successive commands in the last 10 commands from the user is 0.5 seconds.)

This value defines the max number of characters a user can type in one message. pchatd.spammaxlength Default:

pchatd.spammaxlength=4096

Comma-separated list of IP addresses or prefixes to allow client connections from. (Can be overridden in room file.) pchatd.allowed_ip Example:

pchatd.allowed_ip=201.234.345,233.234.555.2

The IP suppression mode for the users of the chat room. (Room administrator can always see the entire IP address.) pchatd.ip_suppression Values:

pchatd.ip_suppression=classc
shows the classc, not the full IP address

pchatd.ip_suppression=suppress
suppresses the entire IP address

pchatd.ip_suppression=show
shows the entire IP address


Examples

Example of a Standard Server Setting

Your pchatd.conf file contains hundreds of lines of code. To make any changes to your standard settings, scroll down to the "#pchatd parameters" area. All you need to do is change the current line with your customized setting. Make sure you only change settings listed above. Making additional changes are not recommended and could disable your chat server.

#pchatd parameters
#Fri Jul 05 15:53:17 PDT 2002
pchatd.maxsessions=1000
pchatd.userclasses.auth.lynx.simple=paralogic.io.SimpleFileDirector(true,false,profile)
pchatd.userclasses.auth=paralogic.chat.auth.LynxAuthenticator
pchatd.logfile.dir=slogs
pchatd.reservedPrefix=
pchatd.adminpasswd=conan
pchatd.allowTunneling=true
pchatd.allow_remote_privmsg=false
pchatd.special.replace=>
pchatd.userclasses.auth.lynx.fileDirector=simple
pchatd.paralynx.enable=true
pchatd.logformat=extended
pchatd.messages.en.class=paralogic.chat.PChatMessages_en
pchatd.spamload_disconnect=500
pchatd.logfile.contstring=...
pchatd.port=7777
pchatd.motdlines=2
more ...........

Home | Hosting | Server | Features | Samples | Chat Now | Web Tools | Help | Affiliate

©1996 - 2002   M Square, Inc. |  Privacy Policy