I need to know what ports rcp exactly uses coz I am facing problem with a router access list that would only permit explicity defined traffic & would deny else? I tried 512, 513 & 514 all together.
This thread is somewhat old, but there seems to be some confusion so I figured I would try and help. I'm not sure if you are talking about rcp (remote copy) or RPC (remote procedure call). So I’ll try and help out with both.
I am fairly certain that rcp uses TCP port 514, so allowing TCP/514 through your ACL should work. You should look to use SSH instead, which uses 22 and is much more secure.
RPC uses UDP & TCP ports 111, but RPC has issues with ACLs. the RPC portmapper lives on port 111, but RPC applications can live on dynamic ports that they register with the portmapper once they start. If you try and reach an RCP program you contact the portmapper (port 111) and ask it what port the program is listening on. The portmapper tells you what port and you make a connection to that port. This is an issue for ACLs since the RPC programs port number is usually random within a range. You can try and figure out the range of the port numbers and allow that range though your ACL, but it's not desirable.
Hope that helps
Joe
---------------------------------------
Joe Keegan - Joe@jjk3.com
SANS GSEC & GCFW
CCSE, CCNA, CCSA & Sun Certified
Well, 514 didn't do the trick. It starts with 1024 all right but then it randomly assigns some port beyond 1024 for the copy itself. I had to open all ports beyond 1024 till I find another sollution. Appreciate ur help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.