Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-08-2006, 09:26 AM
|
#1
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190
Rep:
|
hosting web and e-mail security risks
What are some of the inherent risk of hosting your own website and e-mail system from home as oppossed to another company hosting it?
Looking at it from the firewall perspective no matter what you will still have to allow traffic between ports 80,443,25 and others so what is the difference?
Last edited by metallica1973; 04-08-2006 at 11:55 AM.
|
|
|
04-08-2006, 10:52 AM
|
#2
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
You have additional services running on your machine that are accesible from outside systems which could be liable to security issues, someone could try using your server as mail relay for spam, DDoS attacks against your webserver would stop your net connection, etc. :-)
There's lots of extra problems unless you secure your system. Your firewall idea doesn't quite hold true though - you would close port 80 on your firewall at home as nothing's running on it - you don't need it open to browse the net. Same with 25 + 443. Opening them opens a way into your system.
|
|
|
04-08-2006, 12:01 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190
Original Poster
Rep:
|
Quote:
There's lots of extra problems unless you secure your system. Your firewall idea doesn't quite hold true though - you would close port 80 on your firewall at home as nothing's running on it - you don't need it open to browse the net. Same with 25 + 443. Opening them opens a way into your system.
|
I guess what I meant to say was that at home you of course would filter those ports but I do see what you are saying that with additional services there would be more of a security risk.
|
|
|
04-09-2006, 05:44 AM
|
#4
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
Okay, lets assume you have your machine with Apache, Postfix, et al running. A security vulnerability is announced detailing a buffer overflow within Apache. You've got Apache installed so you need to patch it, otherwise there's a security weakness in your system. Take Apache out which would be the case on a fairly standard Linux system, the security issue isn't there :-)
Always goes that the more you have installed, the more security holes you open up, especially when those services are networked ones and accesible over the net. Folks will watch for security problems and try to exploit them, so you'd need to ensure you kept bang up to date with your patching.
Hope that's a bit clearer! So long as you keep on top of things, read well in advance to lock things down, you shouldn't have too many problems, will give you full control over the whole thing, and be a great learning experience!
|
|
|
04-09-2006, 10:35 AM
|
#5
|
Member
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549
Rep:
|
If your email is hosted by a company there is a very big chance they have fallback servers. If the primary mailserver is unreachable the mail will be temporary delivered to one of the fallback servers until the primary is up again.
If you have your emailserver at home and your connection is down or you have troubles with the server all mail sent will be lost.
|
|
|
04-09-2006, 10:47 AM
|
#6
|
Member
Registered: Jul 2005
Distribution: Debian, Ubuntu
Posts: 85
Rep:
|
Your security depends on what it is that you plan to host. Server daemons can have flaws, server-side scripts can have flaws, etc. Set up a good IDS, iptables, harden your selected distro/web pages/scripts, and let it go. And you don't have to use those ports, but that's a moot point. If you will run SSH, which you probably will, I would suggest changing the default port from 22 to avoid the massive amounts of traffic from port scanning kiddies.
Overall, the main problem that individuals face when hosting web services is bandwidth, maintenance, etc. Security is a concern, but most of us don't have a fat pipe into our closets or whatever to run a server of that nature.
|
|
|
04-09-2006, 11:38 AM
|
#7
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190
Original Poster
Rep:
|
killer points many thanks
|
|
|
04-10-2006, 04:18 AM
|
#8
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
Quote:
Originally Posted by pk21
If you have your emailserver at home and your connection is down or you have troubles with the server all mail sent will be lost.
|
Unless the whole server goes down, it shouldn't be a problem even for home users. You can also usually restore data from a drive if the system fails, or simply take a backup to CD-R every few days (although usually mail wouldn't stay on the server, rather with the mail client on the desktop).
A lack of Internet connection would cause the server to simply queue all outbound messages. Once the connection is back, they're all sent. Inbound messages will be returned to sending mail server where it will usually be re-queued and re-sent over a period of time depending on their set up until either sucessfully delivered once conection restored, or returned to sender (usually after 4 days or so).
I've setup mail servers for people at home where the connection has dropped for a couple of days and all mail gets routed through correctly once the connection returns :-)
|
|
|
04-10-2006, 09:39 AM
|
#9
|
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190
Original Poster
Rep:
|
Thanks for the insight!
|
|
|
All times are GMT -5. The time now is 03:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|