Tag: freebsd

  • How to prevent annoying crackers from brute force login attacks

    Add following to your /etc/pf.conf# if re0 is your card$ext_if=”re0″# this goes in the toptable <bad_guys> persist…block in quick on $ext_if from <bad_guys> to any Add following to your /etc/syslog.confauth.info;authpriv.info |/root/auth_checker.pl(assuming that auth_checker.pl is in /root directory) If you want to remove ip from table bad_guys (in case you somehow lock yourself), add this to…

  • RabbitMQ start with FreeBSD

    1. Install erlang from ports2. grab latest binary tar.gz package from their website download session (file name should be something like rabbitmq-server-generic-unix-X.Y.Z.tar.gz) – unpack it somewhere3. start server from the directory where you unpack it sbin/rabbitmq-server4. when you need to stop it run sbin/rabbitmqctl stop It is also possible to compile it directly from source,…