Re: Why are high ports used by SFTP server implementation?

2016-02-24 Thread John Hartnup
I think you've overcomplicated the answer here. The high numbers David is seeing are the port number on the client, not on the server. This is normal. Your server is not listening on any port except 22. On Wed, Feb 24, 2016 at 2:58 AM Jon V. wrote: > I’ll try to simplify;

Re: Why are high ports used by SFTP server implementation?

2016-02-23 Thread Jon V.
I’ll try to simplify; TCP (the protocol) can have up to 0x ports or 65535 Ports only need to be reserved for server services and outbound connections. They both use the same pool size of 65535. Each OS type allocates different range for user-space applications. For linux its around 32768

Re: Why are high ports used by SFTP server implementation?

2016-02-23 Thread David Hoffer
Hum, that's not entirely clear to me. The first link says... 'A TCP/IPv4 connection consists of two endpoints, and each endpoint consists of an IP address and a port number. Therefore, when a client user connects to a server computer, an established connection can be thought of as the 4-tuple

Re: Why are high ports used by SFTP server implementation?

2016-02-23 Thread Chad Beaulac
Hey Dave, Listener servers hand off to ephemeral ports. http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html You need ephemeral ports so a server can start listening on port 22 again while something else is happening. Look here for some configuration options.