linux - Secure, Private, Local Gitorious -


I have to do a local installation that can not be reached outside of my local network, and as secure and private as possible is.

I am not an expert with Linux, of course, I am not an expert with git / gitorious, so a suggestion to improve my installation below will be most useful!

I have:

  • Gitorious installed on a local machine that runs Ubuntu Server 11.04 64-bit with a local encrypted LVM.
  • If someone is curious, then the guitar is used to install.
  • Modify Gitorious to support local IPs as host names
  • In the gitorious.yml:
    • Host field is a local IP (e.g. 192.168.xxx.xxx)
    • public_mode: false
    • only_site_admin_can_create_profile: True
    • hide_http_clone_urls: true
    • The git-daemon was installed but has now been deleted.
    • No ports facing the Internet from router on the machine.

      Both git: // based and http: // based requests normally allow open cloning of repo. Removing guit-daemon and setting hide_http_clone_urls to the wrong seems to have disabled both of them. They save both errors when they try to clone them.

      In case of physical theft with encrypted LVM, the machine is safe and in addition, all clone repos are placed on the encrypted drive on other machines. I have used a custom script on encrypted LVM that fills the hard drive with obscene in case of very unsuccessful attempts.

      My current concerns:

      • There is repo access via git: // and http: // completely disabled?
      • Is there any way of repo access behind SSH safe now?
      • Is there any way to block all requests to all machines, if originating from within the local network, if my router gets annoyed and tries to take revenge against me?
      • If something goes wrong, then what can I do to encrypt or preserve anything?
      • How do I back up the data of Guitarius? Just back up MySQL database and repository directory?

        Thank you.

        If your git-daemon is not running, then no git: // access. Hide_http_clone_urls does not disable HTML, it just does not show links To protect it from unauthorized access, you can block all access to gache.yourdomain.com at apache / nginx.

        You can see my Debian package, which has several default configurations, better documentation available on the Internet:

        The base folder where all the configuration is stored , Like echarch config and others, there are shell scripts that do the default user and other things, just locate the source tree.

        Being more specific about Apache configuring, take a look here:

        For example, if you do not add git.yourserver.com surname, then anyone The GIT should not be able to clone with the HTTP.

        You will also want to see and support the plans you have planned, who will provide real, safe, who can see who can.

        For a question about SSH, I can say that, yes, it is safe and only what will be entered into a public key in your gitorious establishment.

        Regarding the questions of the requests, you can look at one where you can create something like this:

          Allow all to deny from 192.168.0   

        For backups, you must back up your repository folder and mysql database.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -