Search results

  1. H

    Postfix using MySQL

    Hi, I am using Postfix with MySQL. I want to know if I need to use prepared statements? Or is this down automatically? I have query = query statement This is what I have and was told by someone my mail server can be attacked with an SQL injection attack. Now, I rewrote the query to use...
  2. H

    IPFW fail2ban with ipfw

    The filters I am using are already premade by Webmin. Here's a example of the regular expression that they use: For webmin logins: Look at here: https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/webmin-auth.conf Here's a bunch of the log filters...
  3. H

    IPFW fail2ban with ipfw

    I have a table setup with IPFW. I added in webmin the actual command to issue to add IP's to the table. I need to know if Fail2Ban works. What is the best way to test it? I see some errors in the Fail2Ban log. Saying stuff like: " CRITICAL Unhandled exception in Fail2Ban: Traceback (most...
  4. H

    Solved How to change user passwords?

    Never mind successfully changed the passwords.
  5. H

    Solved How to change user passwords?

    Guys, I have the free versions no commercial versions and all are setup by default. The path locations are used by default. I am not an advance user so I stick with the defaults. That way I can easily get help and suggestions online. I am sure after using the software for 10 years. I will build...
  6. H

    Solved How to change user passwords?

    So, do I need to manually change the password for all server software like MySQL? I use webmin to help me config the server software. I have options to update the accounts passwords but it says update will take place once the FreeBSD user is modified. I don't know if I have to make password...
  7. H

    IPFW fail2ban with ipfw

    what's the ban table? I am using webmin and used it's preinstalled scripts that setup fail2ban with ipfw. However, the logs are showing some kind of error of how the logs are not submitting an ip address to fail2ban. It's submitting some other data.
  8. H

    Solved How to change user passwords?

    Hi, I would like to know how to change freebsd FreeBSD 10.1 user passwords? I want to change the root and the user passwords. I want to do it in a way where it will automatically update all the software that uses that account with the new password. For example my website uses MySQL and it...
  9. H

    IPFW fail2ban with ipfw

    Hi, I need some help on understanding how to implement Fail2Ban with ipfw. I have Fail2Ban installed and have setup ipfw. I have Apache, Postfix, Dovecot, MySQL, SSH / sftp running on my server. With ipfw I have MySQL, SSH / sftp to only permit IP addresses from my networks only. The logs...
  10. H

    FreeBSD 10.1 server security question

    Ya, I understood what you're saying. I spent 3 days playing around with the rules. I had any but now switched to me. I then had a deny all rule for MySQL. I quickly when going to my website got my SQL printed out on screen showing the connection information with a message saying permission...
  11. H

    FreeBSD 10.1 server security question

    Never mind figured it out. I left out keywords setup keep-state
  12. H

    FreeBSD 10.1 server security question

    I decided to run this command: ipfw list It listed all the rules. I notice at the last line it says deny ip from any to any. I see all my lines and at the bottom I see that line which blocks everything. I search online and found that this was the default rule. I don't know how to prevent this...
  13. H

    FreeBSD 10.1 server security question

    Do I have to use me? I used any to not be specific since I have 2 ip addresses config with my server. The allow all from me. I want to restrict it. I just need my webserver and mail server to communicate to the internet. I don't need mysql database to be accessed by the internet. Just expose...
  14. H

    FreeBSD 10.1 server security question

    Thanks for the response. Right now I setup ipfw on my freebsd FreeBSD 10.1 server. I created a custom script / rule but it looks like it's not working. The firewall is using it's default settings by closing all ports. I followed online tutorials and written the syntax like this: ipfw -q add 10...
  15. H

    FreeBSD 10.1 server security question

    Ok, I finally got everything updated from FreeBSD 8.4 to FreeBSD 10.1. While doing the upgrade my network been attacked by DDOS and brute force attacks. I had to shutdown my servers. I used ftpd in the past and was currently using it. Someone on here advised not to use it since it's not secure...
  16. H

    Solved FreeBSD upgrade from 8.4 to 10.1

    Never mind got it to work. I just did a pkg search glx. I looked around for the GLX libs. I used PKG to installed it. It found nvidia drivers installed so it uninstalled it. It replaced it with GLX libs and now everything works.
  17. H

    Solved FreeBSD upgrade from 8.4 to 10.1

    I checked my xorg.0.log and it shows nothing failed. It loaded the glx ok but later down the lines it shows failed to initialize glx. That and another fail message but that's due to not detecting a mouse. I don't have a mouse connected while doing this. Any ideas? should I look in the demessage?
  18. H

    Solved FreeBSD upgrade from 8.4 to 10.1

    Update: I was able to compile all packages and get them up to date and installed. xorg.0.log shows no errors. I ran startx It boots me into a white/grey window with a small window with a message saying something where it failed. It doesn't give a specific message. Just a general statement that...
  19. H

    Solved FreeBSD upgrade from 8.4 to 10.1

    That was exactly it. I followed that and it finally after needing to upgrade certain packages. It compiled. I then recompiled and installed xorg. It looks like that was the only thing keeping me back. Right now letting it finish compiling and reinstalling xorg. I will see if I can start gnome.
  20. H

    Solved FreeBSD upgrade from 8.4 to 10.1

    Yes, I tried that but ever package would fail.
Back
Top