![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
A customer has asked me how Sybase allocates ports for client connections to Sybase SQL Server 11.0 on OpenVMS. I know that the server listens on a specific port for connection requests, in this case port 5010. I can see using 'netstat -a' on the client PC that both application and ISQL sessions to the server have an ESTABLISHED link to that port on the server, using a port on the client. e.g. : TCP MyClient:1177 MyServer:5010 ESTABLISHED TCP MyClient:1186 MyServer:5010 ESTABLISHED TCP MyClient:1194 MyServer:5010 ESTABLISHED The top two (ports 1177 and 1186) are application connections, the bottom one (port 1194) is an ISQL session. My customer is planning on implementing a firewall between clients and server, and needs to be able to allow/deny traffic on specific ports. Consequently he needs to know the range of client-side ports that Sybase will use for these connections. I have reviewed the documentation and searched the internet but cannot find any information on the port ranges that will be used. Are these fixed ? Configurable ? Any information would be welcome. Thanks, Steve. |
#3
| |||
| |||
|
|
The client-side port assignment is done by the OS, not by Sybase. HTH, Rob V. ------------------------------------------------------------- Rob Verschoor Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0 and Replication Server 12.5 / TeamSybase Author of Sybase books (order online at www.sypron.nl/shop): "Tips, Tricks & Recipes for Sybase ASE" (new edition!) "The Complete Sybase ASE Quick Reference Guide" (new edition!) "The Complete Sybase Replication Server Quick Reference Guide" mailto:rob (AT) YOUR (DOT) SPAM.sypron.nl.NOT.FOR.ME http://www.sypron.nl Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands ------------------------------------------------------------- "HP News Feed" <steveTrilby.shadbolt (AT) hp (DOT) com> wrote in message news:f2h82o$3bp$1 (AT) news-pa1 (DOT) hpl.hp.com... A customer has asked me how Sybase allocates ports for client connections to Sybase SQL Server 11.0 on OpenVMS. I know that the server listens on a specific port for connection requests, in this case port 5010. I can see using 'netstat -a' on the client PC that both application and ISQL sessions to the server have an ESTABLISHED link to that port on the server, using a port on the client. e.g. : TCP MyClient:1177 MyServer:5010 ESTABLISHED TCP MyClient:1186 MyServer:5010 ESTABLISHED TCP MyClient:1194 MyServer:5010 ESTABLISHED The top two (ports 1177 and 1186) are application connections, the bottom one (port 1194) is an ISQL session. My customer is planning on implementing a firewall between clients and server, and needs to be able to allow/deny traffic on specific ports. Consequently he needs to know the range of client-side ports that Sybase will use for these connections. I have reviewed the documentation and searched the internet but cannot find any information on the port ranges that will be used. Are these fixed ? Configurable ? Any information would be welcome. Thanks, Steve. |
#4
| |||
| |||
|
|
Thanks for the prompt reply Rob. I don't suppose you know how the OS (Win XP) chooses which port to use ? Does Sybase make a system call to get one allocated ? Regards, Steve. "Rob Verschoor" <rob (AT) DO (DOT) NOT.SPAM.sypron.nl.REMOVE.THIS.DECOY> wrote in message news:c198c$464c387a$3ea37b30$29162 (AT) news (DOT) chello.nl... The client-side port assignment is done by the OS, not by Sybase. HTH, Rob V. ------------------------------------------------------------- Rob Verschoor Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0 and Replication Server 12.5 / TeamSybase Author of Sybase books (order online at www.sypron.nl/shop): "Tips, Tricks & Recipes for Sybase ASE" (new edition!) "The Complete Sybase ASE Quick Reference Guide" (new edition!) "The Complete Sybase Replication Server Quick Reference Guide" mailto:rob (AT) YOUR (DOT) SPAM.sypron.nl.NOT.FOR.ME http://www.sypron.nl Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands ------------------------------------------------------------- "HP News Feed" <steveTrilby.shadbolt (AT) hp (DOT) com> wrote in message news:f2h82o$3bp$1 (AT) news-pa1 (DOT) hpl.hp.com... A customer has asked me how Sybase allocates ports for client connections to Sybase SQL Server 11.0 on OpenVMS. I know that the server listens on a specific port for connection requests, in this case port 5010. I can see using 'netstat -a' on the client PC that both application and ISQL sessions to the server have an ESTABLISHED link to that port on the server, using a port on the client. e.g. : TCP MyClient:1177 MyServer:5010 ESTABLISHED TCP MyClient:1186 MyServer:5010 ESTABLISHED TCP MyClient:1194 MyServer:5010 ESTABLISHED The top two (ports 1177 and 1186) are application connections, the bottom one (port 1194) is an ISQL session. My customer is planning on implementing a firewall between clients and server, and needs to be able to allow/deny traffic on specific ports. Consequently he needs to know the range of client-side ports that Sybase will use for these connections. I have reviewed the documentation and searched the internet but cannot find any information on the port ranges that will be used. Are these fixed ? Configurable ? Any information would be welcome. Thanks, Steve. |
#5
| |||
| |||
|
|
Thanks for the prompt reply Rob. I don't suppose you know how the OS (Win XP) chooses which port to use ? Does Sybase make a system call to get one allocated ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |