× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: FW: Re: 5250 Data Stream Operation Codes
  • From: "Jason M. Felice" <jasonf@xxxxxxxxxxxxxxxx>
  • Date: Tue, 14 Dec 1999 15:23:50 -0500

On Tue, Dec 14, 1999 at 02:40:10PM -0500, Sean Porterfield wrote:
> On another note, I think Sean Porterfield submitted the bug with
> transmitting
> negative numbers in Number Only fields.  I've been looking at this, and I
> can
> duplicate it (easily, it appears to happen in every case), but a very close
> inspection of the logs seems to indicate that I'm doing nothing wrong.  I've
> also closely inspected the 5250 Functions Reference manual, and it doesn't
> indicate that the data from this field should be transmitted in a special
> manner.  I'm going to try snooping on a session with a different emulator
> if I get a chance at lunch or before I leave work today; regardless, a log
> from 'portsnoop' (included in the tarball) with an emulator that you know
> works would be terribly useful.
> 
> 
> Please forgive a possibly dumb question, but how do I use portsnoop?  Better
> yet, how do I use it to record a connection between my MS Windows CA session
> and the AS/400?

Oh yeah, documentation :)

First of all, find a Linux box which you can yank telnet access to for a short
period of time (CA needs to connect on port 23).  Then remove telnetd in 
/etc/inetd.conf and replace it with portsnoop like so:

telnet stream tcp nowait  nobody /usr/sbin/tcpd /path/to/portsnoop x.x.x.x 23 
/tmp/portsnoop.log

... where x.x.x.x is the IP address of your 400.

You can use ssh or rsh to have access to the box while telnet access is
removed (I would check first, tho :)

Send a HUP to inetd:

killall -HUP inetd

Configure a new '400' in Client Access, the new 400's IP address is your Linux
box's IP address.  Ignore CA's warnings when it has trouble connecting to
other ports (I think you can still coerce CA into thinking it's talking to
a 400 - let me know if you can't).

I should probably look at some sniffers and create a shell script which will
dump a session to a logfile - that would be much easier than this. *sigh*
yet another thing to do :(

-Jay
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.