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 [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---