Operating System - HP-UX
1847115 Members
6149 Online
110263 Solutions
New Discussion

Print protocol return port assignment?

 
Ron Van Cleave
Occasional Contributor

Print protocol return port assignment?

Hello,

Would anyone be able to validate the printer protocol return port assignment?

We are trying to configure a router to allow the printer port 515, in doing
so we need to understand what the return port range will be?

Initial tests seem to indicate it uses ports less than 1023, however it's
unclear what ports are being utilized.

Below are some netstat entries from some failed connections.
These results tend to support > 1020, however if anyone could validate
it would be really appreciated. This is based on hpsh01 initiating the
connections.

hpsh01: /home/rvanclea $> netstat -an | grep 515
tcp 0 1 156.153.110.1.1022 15.19.50.73.515 SYN_SENT
tcp 0 1 156.153.110.1.1021 15.19.50.73.515 SYN_SENT
tcp 0 1 156.153.110.1.1020 15.19.50.73.515 SYN_SENT
tcp 0 0 *.515 *.* LISTEN


m2496cxb: /home/ronvc $> netstat -an | grep 515
tcp 0 0 *.515 *.* LISTEN
tcp 0 2 15.19.50.73.515 156.153.110.1.1022 FIN_WAIT_1
tcp 0 2 15.19.50.73.515 156.153.110.1.1021 FIN_WAIT_1
tcp 0 2 15.19.50.73.515 156.153.110.1.1020 FIN_WAIT_1


Ron.