Bug 146990 - telnet through firewall to wingate shows junk chars
Summary: telnet through firewall to wingate shows junk chars
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: telnet
Version: 3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-03 14:38 UTC by Hassan Aurag
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-16 14:03:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
This is a dumb telnet client I found in a demo dir for python 2.3 on windows (2.28 KB, text/plain)
2005-02-03 15:39 UTC, Hassan Aurag
no flags Details

Description Hassan Aurag 2005-02-03 14:38:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
When using telnet from Linux (actually any redhat version
6.1/7.2/FC2/FC3) to a remote host running wingate through a firewall,
I get garbage at the wingate prompt that stop me from actually
entering anything at this prompt to be able to connect to some other
internal computer.

Example session:

[aurag@l0553l ~]$ telnet xxx.xxx.xxx.xxx
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.

Firewall Proxy authentication:
Username: foo

Password:
Access granted Example Inc.
WinGate>
WinGate>P


WinGate>b


Notice the P at the second line and then the garbage that shows later.
No input is then possible. Please note that telnet from an AIX host
works fine though. Or from a windows box.



Version-Release number of selected component (if applicable):
telnet-0.17-30

How reproducible:
Always

Steps to Reproduce:
I sadly can't give you access to either hosts to help you reproduce
it. I don't even know our firewall config or type. It's a corporate
thinggy. Probably MS type.

But it's just a telnet and you need wingate on the other side.


    

Actual Results:  Garbage at wingate prompt

Expected Results:  Normal wingate prompt and allow me to enter host ip
etc....

Additional info:

Please note that this does not happen when no firewall is around as
when I am at home and connecting directly.

Comment 1 Harald Hoyer 2005-02-03 15:11:33 UTC
try /usr/bin/telnet , if you accidently used /usr/kerberos/bin/telnet

Comment 2 Hassan Aurag 2005-02-03 15:39:44 UTC
Created attachment 110601 [details]
This is a dumb telnet client I found in a demo dir for python 2.3 on windows

I am using /usr/bin/telnet. I do not have /usr/kerberos/bin/telnet.

Btw, the attachment telnet.py has a dumb telnet client that actually works and
catches all those weird chars. It also actually works and I can connect to
remote host through firewall

Here is the output, where I removed any sensitive info put bracketed
description instead:

(IAC) (WILL) 3
(IAC) (WILL) 1

Firewall Proxy authentication:
Username: <someuser>

Password: <somepass>

(IAC) (WONT) 3
(IAC) (WONT) 1
Access granted Example Inc.
(IAC) (WILL) 1
(IAC) (WILL) 3
(IAC) (DO) 3
WinGate>(IAC) (WONT) 1
(IAC) (WILL) 3
<xx.xxx.xxx.x (remote host)>
(IAC) (DO) 24
(IAC) (DO) 32
(IAC) (DO) 35
(IAC) (DO) 39
(IAC) (WILL) 3
(IAC) (DO) 1
(IAC) (DO) 31
(IAC) (WILL) 5
(IAC) (DO) 33
(IAC) (WONT) 3
(IAC) (WILL) 3
(IAC) (WILL) 1
Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.7 on an i686
login:

Comment 3 Harald Hoyer 2005-02-03 16:06:05 UTC
you may debug via
$ telnet -n <tracefile>
telnet> toggle prettydump
Will print user readable output for "netdata".
telnet> toggle options
Will show option processing.
telnet> open xxx.xxx.xxx.xxx
....

then edit the <tracefile> to remove the data and attach it here, please


Comment 4 Harald Hoyer 2005-09-16 14:03:28 UTC
CANTFIX without more information, closed due to inactivity.


Note You need to log in before you can comment on or make changes to this bug.