The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> BSD Help
|
OpenBSD .vs FreeBSD for web, database, mail and DNS servers
Discuss OpenBSD .vs FreeBSD for web, database, mail and DNS servers in the BSD Help forum on Dev Shed. OpenBSD .vs FreeBSD for web, database, mail and DNS servers BSD Help forum discussing all BSD based operating systems including FreeBSD, OpenBSD, NetBSD, and more. BSD refers to the distribution of UNIX originally developed by the University of California at Berkeley.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 27th, 2002, 03:33 PM
|
|
Junior Member
|
|
Join Date: Oct 2001
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
OpenBSD .vs FreeBSD for web, database, mail and DNS servers
Hi,
What is your opinion on OpenBSD .vs FreeBSD for web, database (MySQL and PostgreSQL), mail, DNS and other types of servers? Please provide your reasons for prefering one over the other if you can, please.
I'm most interested in reliability, robustness, security and the ability to handle large workloads -- for preferably long time periods without a crash or reboot.
What's your opinion on ease of and time required for remote maintenence (updates & patches) and remote server administration?
What other factors bear on the OpenBSD .vs FreeBSD for public internet servers issue?
How do they compare performance wise on the same x86 hardware?
Would especially appreciate folks who have run both in production environments on the public internet sharing their experiences.
Thanks a lot for sharing!
Louis
|

March 27th, 2002, 06:03 PM
|
|
|
|
My opinion means 'jack'
anyway about 15 threads down, the ones with over a thousand views may give you some insight.
but my understanding is fbsd optimized for web
blahhhhhhh
bump:
|

March 28th, 2002, 03:40 PM
|
 |
funky munky
|
|
Join Date: Jul 2001
Location: UK
Posts: 1,446
  
Time spent in forums: 2 Days 18 h 45 m 36 sec
Reputation Power: 14
|
|
I have minimal experience of FreeBSD vs OpenBSD - I have used FreeBSD now for 5 months in a multi-user environment hosting apache/mysql/php/ssh/ftp - albeit only 15 or so friends.
The only issue I found was with users being able to issue denial of service attacks by executing code that forks repeatedly, perpetually opening new processes and hence eating resources until a cold reboot is required. Howerver - in defense of freebsd on this matter I'd say that the machine we ran the code snippets on was only a p166 with 32mb or ram and 100mb swap space, hardly what you'd use on a production server!
After this we looked at ways in which the resources of the server could be restricted on a per-user basis and set up login classes for different 'types' of user (essentially one class for 'wheel'/effective uid 0 users and one class for all others). By creating login capabilities for each class/type of user, you can restrict various things such as mem usage, max cputime, max concurrent logins etc etc (there are about 30-50 caps in all you can set). Once these caps were in place, the effects of such malicious code execution could be curbed quite easily.
In working through 'man login.conf(5)' on freebsd, I decided to compare login capabilites on freebsd with those on openbsd. I found that the login caps on openbsd were a lot more restrictive by default than on freebsd, and in general the extent to which you can customize the login capabilities on openbsd is less than on freebsd. Hence on this alone (there are a myriad of other issues obviously), freebsd would make a better platform for performing logins (ie via ssh) whereas openbsd might make a better routing/border machine where you don't expect users to login regularly.
In terms of local security exploits, the general concensus seems to be that if you keep your source up to date on FreeBSD then it's a fine platform to host on in terms of security, the only two significant problems in the last month being a ssh potential local exploit and a zlib problem on the freebsd platform.
For much more info, check out the other threads on this forum - there are some brilliant snippets of info on exactly this subject, you just need to read through and find em.
One relevant link:
http://www.daemonnews.org/200104/bsd_family.html - the differences between the BSDs
|

March 28th, 2002, 05:53 PM
|
|
Contributing User
|
|
Join Date: Oct 2001
Posts: 310
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
Quote: Originally posted by munkfish
In terms of local security exploits, the general concensus seems to be that if you keep your source up to date on FreeBSD then it's a fine platform to host on in terms of security, the only two significant problems in the last month being a ssh potential local exploit and a zlib problem on the freebsd platform. |
PHP v4.11-, SSH and zlib security issue are affected to almost whole *nix (included OpenBSD) and ever Windows; not only on FreeBSD.. 
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|