[Samba] ms-rpc dynamic port range
dcardon at tranquil.it
Thu Oct 27 18:39:48 UTC 2016
According to the samba wiki page , samba ms-rpc dynamic port range is
1024-5000, which looks mostly coherent with a quick tcpdump analysis.
However it seems like there are also some connection in the upper range
or MS-RPC 49152-65535.
It seems that the lower range would be for AD2003 according to kb832017,
and that the upper range would be for AD2008 and up .
So my question is, what is the range that is used? Actually, I grep'ing
in the source code was quite unlucky because I didn't even found where
it was defined in samba source code... And I guess there aren't any
smb.conf parameter to control those values?
I was digging into this question after negotiating port openings for
dynamic range with the network/security team at a client.
Another similar question I have is about the drs replication port, and
if it can be set to a fixed value in order to limit the replication
partners through firewalling, like in MS KB224196 ?
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0) 22.214.171.124.55
More information about the samba