zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Second chance: etckeeper

February 1, 2011 by Igor Drobot Leave a Comment

Etckeeper is a useful tool to store /etc in a version control system. It allows you to read the changes that have been made to the files in /etc, document these changes and recover a previous version of a modified file in case we made some changes that we don’t want to keep. It’ s a great system to control your server and find very quickly solutions.

Its installation is very trivial:

1
aptitude install etckeeper

aptitude install etckeeper

[Read more…]

Filed Under: Bash, Debian, Linux Tagged With: Etckeeper, GIT

Enable CGI in Apache2

January 31, 2011 by Igor Drobot 2 Comments


If you want to enable CGI support for you domain or subdomain.

Install Apache2 mod-perl module:

1
aptitude install libapache2-mod-perl2

aptitude install libapache2-mod-perl2

Add this to the Apache configuration:

1
2
3
4
<directory "="" var="" www="" domain="" cgi-scripts"="">
    Allow from all
    Options All FollowSymLinks MultiViews
</directory>

<directory "="" var="" www="" domain="" cgi-scripts"=""> Allow from all Options All FollowSymLinks MultiViews </directory>

Only scripts in directory /var/www/cgi-scripts can be executed as CGI.

Filed Under: Debian, HTTP, Linux Tagged With: apache2 cgi, cgi, enable cgi

How to Bruteforce SSH

January 30, 2011 by Igor Drobot 17 Comments

SSH is an acronym which stands for Secure SHell, which provides a secure shell access to a remote machine.

This brut force tool is great to test some security stuff like iptables or sshguard.

You are able to see the proceeder of real hacking attempt.

Like most brute forcing tools, you’ll first need a pretty big passlist. You can get one from here:

1
wget https://zeldor.biz/other/bruteforce/passlist.txt

wget https://zeldor.biz/other/bruteforce/passlist.txt

[Read more…]

Filed Under: Bash, Debian, Linux, Networking Tagged With: hacking, SSH Brute force, SSH Security

Nginx + apache2 = real-ip

January 30, 2011 by Igor Drobot 4 Comments

Nginx and Apache2 are running great but there is only one tiny problem with the visitors ip’s.

Normaly I let my nginx instance do the logging job, but if you let your Apache do it you will get some problems. Apache will see all incoming requests as coming from localhost (127.0.0.1). Right they are all from nginx.
[Read more…]

Filed Under: Debian, HTTP, Linux, Networking Tagged With: apache2, Nginx, Proxy, real-ip, rpaf

Nginx plugins for Munin

January 24, 2011 by Igor Drobot 1 Comment

Monitoring is great! I try to monitor everything I can – each service and important cron-jobs.

Since I’m running on nginx I searched a lot around the web for munin plugins, maybe yo know this problem you found one but you get empty graph.
[Read more…]

Filed Under: Debian, Linux, Monitoring Tagged With: Monitoring, Munin, Nginx, WGET

  • « Previous Page
  • 1
  • …
  • 8
  • 9
  • 10
  • 11
  • 12
  • …
  • 17
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok