hardcoded port 445

Oskar Liljeblad oskar at osk.mine.nu
Mon Oct 31 13:07:19 MDT 2011


On Monday, October 31, 2011 at 12:19, Linda Walsh wrote:
[..]
>    Why are you connecting to port 445 if you are not going to be using it?
> 
> Ports below 1024 are considered "reserved" ports -- they have well
> defined meanings
> across computer systems and are *reserved* or the general use and
> function of the
> network.
> 
> You can't use one of those ports in an arbitrary application and
> expect it NOT to cause
> problems.  Choose a port >1024 for your demo.  If you talk to port
> 445, then you need to
> send it only valid MS-RPC/SMB/CIFS commands.
> 
> 
> (at least thats my take on it...someone else is more than welcome to
> 'educate' me about my
> narrow or outdated views on the matter... ;-) )

My application will connect to a >=1024, only that it is forwarded
to port 445 on a remote machine. So it will talk MSRPC, only on
a different port than 445.

Regards,

Oskar



More information about the samba-technical mailing list