Networking Forums

Networking Forums > Computer Networking > Linux Networking > Changing sending ports in the middle of a job

Reply
Thread Tools Display Modes

Changing sending ports in the middle of a job

 
 
notgiven
Guest
Posts: n/a

 
      03-12-2005, 01:09 PM
A mainframe host is sending from a specific port to a PC (an IP
address / port) using "Raw" TCP/IP. At the end of the first page they
change from the original sending port to a different port, still
sending to the same IP address and destination port. The job fails,
only the first page printing.
I think it its correct behavior on the part of the receiving system to
end the TCP stream when transmission ceases from the original port,
and assume that the transmission from the new port (same IP address)
is a new transmission.

Am I incorrect?

Any ideas or suggestions?
 
Reply With Quote
 
 
 
 
prg
Guest
Posts: n/a

 
      03-12-2005, 03:20 PM

notgiven wrote:
> A mainframe host is sending from a specific port to a PC (an IP
> address / port) using "Raw" TCP/IP. At the end of the first page they
> change from the original sending port to a different port, still
> sending to the same IP address and destination port. The job fails,
> only the first page printing.
> I think it its correct behavior on the part of the receiving system

to
> end the TCP stream when transmission ceases from the original port,
> and assume that the transmission from the new port (same IP address)
> is a new transmission.
>
> Am I incorrect?
>
> Any ideas or suggestions?


The "circuit" is established with the tuple (src addrs, dst addrs, src
port, dst port) and changing any of the elements would require the
establishment of a new circuit/session.

Whether the sender is intending this or not I can't readily see what's
the point. There are protocols that use multiple ports per "connection
session" but whether that should apply here I can't say.

In your present case it seems something is "broken" (ie., obviously
undesired behavior) but what it may be is hard to say. Sounds like the
sender is expecting the receiver to be prepared for port-per-page but
has failed to set it up (or check that receiver has properly set it up)
before transmitting.

This sort of thing is more common with UDP than TCP, ime fwiw

Is this code that previously ran in a different environment and/or with
a different client?

prg

 
Reply With Quote
 
notgiven
Guest
Posts: n/a

 
      03-12-2005, 05:59 PM
On 12 Mar 2005 08:20:24 -0800, "prg" <(E-Mail Removed)> wrote:

>The "circuit" is established with the tuple (src addrs, dst addrs, src
>port, dst port) and changing any of the elements would require the
>establishment of a new circuit/session.


Thanks for confirming this. I thought so.

>Is this code that previously ran in a different environment and/or with
>a different client?


Yes, the mainframe previously printed via "Bus and Tag" direct
channel. Now it's going over TCP. The printing works fine if they
print LPR but they do not want to do this because (and I am quoting
here) "When we print LPR we have to spool the job twice, and our spool
area overflows. We don't mind LPR for small jobs, but not for large."
My conclusion is that while I don't know the things they are doing
wrong, I am certain that there are quite a few such things.
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      03-12-2005, 06:12 PM

"notgiven" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> I think it its correct behavior on the part of the receiving system to
> end the TCP stream when transmission ceases from the original port,
> and assume that the transmission from the new port (same IP address)
> is a new transmission.


Yes, it is a new transmission, as far as TCP is concerned.

DS


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Man in the middle worries MaPo Wireless Internet 1 12-29-2007 01:56 PM
Sending a "ping": Which (ICMP) ports must be open in firewall to receive answer ? Peter Waibel Linux Networking 2 03-29-2007 05:49 PM
Man-in-the-middle and VPNs Dave Rudisill Wireless Internet 4 02-26-2007 10:23 PM
change sending ports in the middle of a network notgiven Linux Networking 1 03-12-2005 05:36 PM
Constant sending to all ports Pete Broadband Hardware 0 02-11-2004 10:26 PM



1 2 3 4 5 6 7 8 9 10 11