From owner-freebsd-questions Mon Dec 18 10:48:30 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 10:48:25 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from electabuzz.westgroup.com (electabuzz.westgroup.com [163.231.238.98]) by hub.freebsd.org (Postfix) with ESMTP id 6B67B37B400 for ; Mon, 18 Dec 2000 10:48:25 -0800 (PST) Received: from electabuzz.westgroup.com (localhost.localdomain [127.0.0.1]) by electabuzz.westgroup.com (8.9.3/8.9.3) with ESMTP id MAA00670 for ; Mon, 18 Dec 2000 12:48:24 -0600 Received: from elk.int.westgroup.com (elk.int.westgroup.com [163.231.101.86]) by electabuzz.westgroup.com (8.9.3/8.9.3) with ESMTP id MAA00596 for ; Mon, 18 Dec 2000 12:48:20 -0600 Received: by elk.int.westgroup.com with Internet Mail Service (5.5.2653.19) id ; Mon, 18 Dec 2000 12:48:20 -0600 Message-ID: <27CD34D68C7DD211A68A0004AC38272A03E27F70@elizabeth.int.westgroup.com> From: "Evoniuk, Rodney" To: "'freebsd-questions@freebsd.org'" Subject: BSD Proxy Date: Mon, 18 Dec 2000 12:48:13 -0600 Return-Receipt-To: "Evoniuk, Rodney" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am a network specialist supporting our products in a network environment. Our software uses telnet access from the local machine to access our servers here. The issue I have been encountering with a client, who states they are using a Unix BSD Application Proxy on their network, is that I can utilize telnet itself to get to our threshold. But, when I attempt to script this into our software application it appears like I cannot get their proxy/firewall to respond. I have spent days working with the client checking all angles of our software and our script to get through the firewall, and by all means given the telnet session it should pass through this proxy server, but it will not respond to any portion of our script. I have even sent a telnet details command, within a script, looking for any response from the proxy but the proxy returns no response. The telnet port the customer is using is 23, terminal type is VT100. I have enclosed a link to our software download it can be installed locally for test purposes the link is: http://software.westgroup.com/esd/software/WM73Win/dlinstr.asp?first_name=ro dney&last_name=Evoniuk&city=Egan+&state=MN&country=&email=rodney.evoniuk@wes tgroup.com&phone=123-456-7888&bnSubmit=Continue Once installed launch the software and choose cancel at the sign on screen. To setup the firewall script mentioned above you go to tools, communication options and click on the advanced access tab. Then click on Scripts and first choose westsock then click on properties, you will see the following script: 10 label 'Internet // Windows Sockets' 20 genmsg 30 versions 40 getport ;45 firewall 50 on 'fail',150 60 70 on 'fail',150 80 goto 180 150 ems 'Access failed. Please try again.' 170 end 180 exit Unrem line 45 (take out the ";") and save then choose firewall from the script list and you will see the following script: 25 lfstatus 'Connected to firewall.' ;27 prompt 'Username:', login_code ;28 prompt 'Password:', password, 1 30 rx 'login:', 80 40 pause 150 50 lfstatus 'Login prompt not received from firewall.' 60 return 'fail' 80 tx '', 85 tx '^M', 90 rx 'password:',140 100 pause 150 110 lfstatus 'Password prompt not received from firewall.' 120 return 'fail' 140 tx '', 145 tx '^M', 150 rx '$', 200 160 pause 150 170 lfstatus '$ prompt not received from firewall.' 180 return 'fail' 200 tx 'telnet westlaw.westlaw.com', 210 tx '^M', 500 end the changes we typically make are as follows: 30 rx ':',80 80 tx 'enter your login here for firewall', 90 rx ':' ,140 140 tx 'enter your password her for firewall' 150 rx '>',200 NOTE: these are dependant on a telnet session for example: AIX Version 4 (C) Copyrights by IBM and by others 1982, 1996. login: ************** ***********'s Password:*********** **************************************************************************** *** * * * * * Welcome to AIX Version 4.2! * * * * * * Please see the README file in /usr/lpp/bos for information pertinent to * * this release of the AIX Operating System. * * * * * **************************************************************************** *** Last login: Tue Dec 12 11:02:36 2000 on /dev/pts/0 from *****(our proxy address)***** $ given this telnet session I would use the following changes: 30 rx ':',80 80 tx '************', 90 rx ':' ,140 140 tx '************' 150 rx '$',200 ONE Last change must be done before you can attempt to sign on using our software is to go to the General TAB in the communications setup and make sure the communication device is TCP/IP the remote IP address is the address of your firewall and the sign on option tab (on the left hand side) is set to Westlaw via Windows Sockets given this scenario the client I refer to does not get the first rx from the firewall i.e. line 30 even if we set our software to show details it fails to do so there appears like using this scripting feature that we get no response from the firewall. NOTE: a person can change the port our script would use for the telnet and turn on details from the firewall by simply launching the following file from C:/program files/west Group/Westmate/SysAdmin.exe choose setup, Registry setup and change the TCP port to the desired telnet port and to turn on details from the proxy and/or firewall simply type in Yes instead of the No entered in the Telnet Display box. ONCE the changes are made to the communications as mentioned one should be able to go to File, Sign on westlaw, It will prompt you for a password: you can simply enter in 12345abc and you must enter in a client ID you can type in test and although this will not let you on to Westlaw it should take you to our door step and give you an error that password is not valid. But during the signon procedure you can click on the details tab and it will give you a detailed message of the script and script errors along with the details from the proxy/firewall if you edited the SysAdmin.exe file and changed the Telnet Display from NO to Yes. As mentioned we have tried several different changes to the script but no matter what I do it appears that the firewall is not responding to our script and we get no details NOTE if you go back into the SysAdmin.exe file to check your settings they are automatically changed back to the default settings and it does not reflect your changes. Your changes are automatically changed in the actual registry for our program... Thank You for any help you can provide If I can be of service in helping you set this up for testing please feel free to give me a call at 1-800-WESTLAW ext. 76818 Also if you need an actual password for further testing I can provide you with one, but I cannot email you one. Sincerely; Rodney H. Evoniuk West Group Network Specialist PS we do not install proxy servers for clients To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message