Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Opening up mysql port should I implement port knocking??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Wed May 18, 2005 4:59 pm    Post subject: Opening up mysql port should I implement port knocking?? Reply with quote

I'm going to need to open up the mysql port over the net, the mysql daemon is running under a limited user of course, and I do daily backups (of course)..

That being said, the only client that will connect will be using a custom front end application which I could implement port knocking in, but I'm just debating the need...

Obviously, I'd harden my mysql users/passwords..etc.. Just not sure how generally robust mysql is when it comes to hack attempts.

Thanks.
_________________
Poxart
Back to top
View user's profile Send private message
toxicnaan
n00b
n00b


Joined: 13 Nov 2004
Posts: 68

PostPosted: Wed May 18, 2005 7:07 pm    Post subject: security Reply with quote

there's a few things you could try...

obviously prot knocking is a good idea, you can't say run a buffer overflow attempt if you can't even connect to an mysql port.

selinux is fun.

also compiling programs with grsecurity / pax can help you from being compromised

running my sql even on non standard archtechture, most buffer overflow attempts are for x86 (the most common platform). compile mysql on amiga or atari st, ;-)..... (68000)..

if you have a fix ip address for your client then you can use iptables to only allow it (watch out for ip spoofing).

using an ipsec tunnel, and binding you mysql to private non internet routable address.

put a firewall between your mysql box and the internet... use snort or a nids to look for suspicous activity.

use a honey pot system, run mysql on a non standard port, redirect your standard mysql port to a honeypot system, keeps em busy while
you can see what they are up to (irc!).

use a wrapper, and running mysql over ssl can be fun too.

use encryption to pervent on the wire sniffing (or for wireless more so, off the wire sniffing)

but, in all security situation, layers security is the best, don't use just one security method, use some or even all.

at the end of the day, some software is just more prone to remote exploits than other's, always subscribed to your products security announcement lists, so you can patch software early, remember if your not subscribed, the script kiddies are watching...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum