Log in | Back to darenet.org

Microsoft ICS and Ident

Line 93: Line 93:
</pre>
</pre>
-
[[Category:Documentation]]
+
[[Category:Technical]]

Revision as of 08:04, 26 October 2007

Some users have reported problems connecting to ChatX while using ICS, maily due to a requirement to run ident on their PC. By default, ICS does not support ident correctly, a special configuration is required. There are two ways to do this, depending on whether or not you need to access ChatX from one or more than one PC.

Users who need to access ChatX from more than 1 machine can use the file below unmodified, however they will require to install a stand-alone ident daemon on the machine directly connected to the Internet and running ICS. A suitable ident daemon can be downloaded from:

http://info.ost.eltele.no/freeware/identd/

or

http://identd.sourceforge.net/

This is the recommended method, as it will allow all machines on the network to access ChatX should the need arise.

If for whatever reason you wish to restrict access to one specific PC then you will require to edit the file below and replace all occurances of 0.0.0.0 with the IP address of that machine. You will also require to make sure that the machine connecting to ChatX has ident enabled in the client.

To enable ident over ICS, copy the following into a text file named portsample.inf and save the file. Right click on it and choose INSTALL to activate the new portmappings. This file is believed to work with Windows 98, it has not been tested under Windows 2000/XP.

This information is taken from the Microsoft Knowlege Base. The file provided there has been suitably modified for this use.

Disclaimer & Warning

ICS was not designed with this type of use in mind and is not supported by Microsoft in this configuration. We believe the solution provided here works safely; however, neither ChatX, it's staff nor the hosts of this page can accept liability for any damage or loss caused in any way by your use of this information or any inaccuracies therein. You are strongly advised to backup all important data and to verify such backups before following any advise given on these pages.

INF File Begins on Next Line

[version]
signature="$CHICAGO$"
; inf file to enable Ident (port 113 tcp) over ICS.
; Modified from a Microsoft Original by jim-mm
; Monday Oct 9 2000

[DefaultInstall]
AddReg=PortSample

[DefaultUnInstall]
; This section included for ease of removing any maps added in.
; To uninstall, type the following line:
;
; rundll.exe setupx.dll,InstallHinfSection DefaultUnInstall 0
; <I BRACKET="YES">YOUR_INF_FILE_NAME</I>
DelReg=PORT_SAMPLE_DEL_REG

[PortSample]

HKLM,%ICSACTIVE%,ident,,"0.0.0.0"
HKLM,%ICSINSTALLED%\ident

HKLM,%ICSINSTALLED%\ident,Name,,"Ident Server"

; Options is a DWORD value and is currently always set to 00,00,00,00 

HKLM,%ICSINSTALLED%\ident,Options,1,00,00,00,00

; The next four lines describe the specific ports that need to be open
; or mapped. The first port is always 0000, each additional port is 
; incremented (the second port to open would be listed as 0001,
; the third would be 0002, and so on). This information is strictly 
; dependent on what is needed by the program. If you do not know what 
; ports your program requires or are unsure, you need to contact the 
; manufacturer of the program to get this information.
;
; The four lines need to be re-created for each port.
;
; On the second line, valid entries for type are "TCP" or "UDP."
;
; The third line contains the actual port or port range needed by the 
; program.
;
; The entry below demonstrates a port range. If the program only needs 
; a single port, the last part of the line below would read ,Port,,"5678"
;
; Note that you can only use a port range when the translation type is 
; NORMAL or BLOCK.
;
; If Translation is set to anything else, you must list each port 
; individually.
;
; Valid types of translation are NORMAL, BLOCK, CUSEEME, DPLAY, FTP, 
; H323, PPTP, and QUAKE

HKLM,%ICSINSTALLED%\ident\0000
HKLM,%ICSINSTALLED%\ident\0000,Type,,"TCP"
HKLM,%ICSINSTALLED%\ident\0000,Port,,"113"
HKLM,%ICSINSTALLED%\ident\0000,Translation,,"NORMAL" 

[PORT_SAMPLE_DEL_REG]
HKLM,%ICSINSTALLED%\ident
HKLM,%ICSACTIVE%,ident

[Strings]
ICSINSTALLED="System\CurrentControlSet\Services\ICSharing\Mappings\Installed"
ICSACTIVE="System\CurrentControlSet\Services\ICSharing\Mappings\Active"