开发者

Secure and Un-sercure ports

1) Adding a port to in-bound and out-bound exception list in firewall would make my machine vulnerable?

2) What are the ports I should never add to exception list?

3) I would like to add 3690 to exception list for my svn will that make my system 开发者_JAVA技巧vulnerable?


It doesn't matter on which port you run service but mostly often as which user you run those service and what that user can do.

What you need is restricted chrooted user that runs your svn repository if you want to be really safe.

I guess you are trying to run svn repository, your easiest bet is to create your repository as some user and tunnel your connections through ssh with svn+ssh://svnuser@my.domain.com/home/myuser/REPOSITORY style links.

If you want more svn users to access your service make svn group and add them to svn group,

chmod -R g+w /home/myuser/REPOSITORY
chgrp -R svngroup /home/myuser/REPOSITORY

and you're done


This may be to generic in your cases, but have you considered setting up a VPN? (It's really easy with openvpn, and allows you to use your services just the way you use them in your LAN).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜