

Learn From Robert Watson Of FreeBSD And TrustedBSD 142
Robert Watson is a core developer for FreeBSD, and a member of the TrustedBSD project. He is one of the best people in the world to ask about FreeBSD security, and about FreeBSD development in general. Please post your questions below. We'll send 10 of the highest-moderated ones to Watson by email, and post his responses verbatim as soon as we get them back.
TrustedBSD and OpenBSD (Score:4)
Nice link (Score:1)
--
TrustedBSD With VMS Features? (Score:4)
I'm a UNIX admin, and don't wish to admin VMS, but this blew me away. Are there any other VMS you are or are considering adding to make TrustedBSD a more solid and extendable OS?
OS X based on FreeBSD (Score:5)
Correct FreeBSD Link (Score:1)
USB support and the future (Score:1)
-=-=-=-=-=-=-
The COBOL Warrior
Re:OS X based on FreeBSD (Score:1)
Why another BSD? (Score:2)
Is there enough distinction between OpenBSD and TrustedBSD to justify it?
And most importantly How do you get some much time to devote it *two* projects?
Nevertheless I congratulate you (and am kind of jealous
Bolke.
Isn't FreeBSD now part of BSDi? (Score:1)
Isn't FreeBSD now part fo BSDi?
And if so, how is this affecting your development, support, etc. ad nausem?
bsd color scheme (Score:1)
Why would you... ? (Score:4)
I am a Windows guy, only because my job says so.
What I want to know is, how would you go about convincing me, a Win2k user, to consider using a *BSD. I am interested in learning a new OS... always. But, what makes it stand out from Linux/Win2k/MacOS?
Kinda Does (Score:1)
Re:Nice link (Score:1)
Why will people continue to use FreeBSD? (Score:1)
Sure, anyone can install WindowMaker on BSD, but they can't control the entire system seamlessly, like you can with Mac OS X, NT, or for that matter, the Red Hat control panel.
Yes, I'm going to get flamed for this, but the fact is, FreeBSD needs to think about its future a little more competitively. Ever wonder how Linux, a much younger operating system, got so far so fast? You should see the graphical installation programs, which help you partition your drive, and then easily install the stuff you want.
So, what do you think can be done to keep FreeBSD alive?
--
Re:why *BSD is dying (Score:1)
From what I can tell, I don't know about FreeBSD (it seems that many people just see it as a Linux with less hardware support), but OpenBSD seems to be doing well because of its repuptation for security, and NetBSD is the only option for people who want to be running a *nix (or a Free OS) on many machines that are simply ignored by most every other software project.
FreeBSD Distribution (Score:3)
I have noticed, however, that linuxmall.com sells FreeBSD CDs, has the FreeBSD community recieved much support from the Linux community over distribution (such as mirrored FTP from mostly Linux servers)?
The future? (Score:4)
Do you think it will remain the strong, viable but simply less popular free OS it is now, hiding behind the limelight of linux, or will it come up in popularity, esp with the codebase for Apple's Darwin, which is all BSD based?
decent literature (Score:4)
i am trying to cut the signal/noise ratio out of understanding bsd. specifically, what security documentation have you found useful day-in/out?
Question Please! (Score:3)
Please try and direct your answer to people who continue to proclaim that *BSD is dying, and point at some made up marketing numbers.
IPSO (Score:1)
Bah. (Score:1)
BTW, nice troll. Is that from some sort of Web-based marketing-speak script? It's so devoid of content. It's hilarious. :-)
Question for Mr. Watson (Score:1)
(never underestimate the importance of someone's name preference)
Biggest problem / Best advice (Score:4)
Also, in terms of security, what do you think the most common dangerous behaviours are by FreeBSD users and admins? What would you change about the FreeBSD userbase if you could?
--
"Don't trolls get tired?"
Security System (Score:2)
Re: (Score:2)
Do you think all boxes will get hackd eventually? (Score:1)
Do you, as a member of a widely trusted BSD distribution, think that eventually all computers will be hacked in some way?
Second question, do you think FreeBSD (and Linux) should ship with the tightest security possible at all times? Some reasons not to would be, usability by the "average" desktop user and being a hassle to set up for admins who want, say, ftp enabled.
Mandatory Access controls (Score:4)
*NIXes with ruleset-based mandatory access controls. Is
standardisation important? What influence do you see of NSA's
recently released `security enhanced linux' having on other systems
(like that in TrustedBSD)?
what do you do for *money*?? (Score:5)
TrustedBSD and NSA secure linux (Score:5)
And just for my information, where did all the packages for clustering BSD go? All I can seem to find anymore is the linux stuff. And personally I don't like redhat and their rpm distribution method, all anyone wants to distribute anymore is rpms which is not near enough to standard and compatable accross the board as tar-gzip for my purposes. (One primary difference being that I can open a tar-gzip on a windows box at work during break to browse through source, and to my knowledge no one has bothered to create a "winrpm")
Openpackages? (Score:5)
More OS X (Score:4)
Unified Ports Tree? (Score:5)
--
SecretAsianMan (54.5% Slashdot pure)
Cross-pollination with Linux security efforts? (Score:4)
Is there a need for something like Bastille for FreeBSD? There shouldn't be a need for it with TrustedBSD, should there?
Have you looked at what the NSA did to Linux and attempted to extract from it? Are there modifications they made that apply to TrustedBSD, either in source code or in spirit?
Re:Interbase Backdoor? (Score:1)
Only if the *BSD box was running Interbase.
Kent
What is next: (Score:3)
I've closed stuff off such that an nmap from localhost, tcp, syn, and udp shows only sshd, dhcpc, and syslog. I'm currently running the verson of openssh that comes with FreeBSD 4.2.
I'm planning on installing tripwire on the machine at some point as well. I also plan to write something that will mail me a diff of the setuid log between the current day and the previous day, as well as a similar thing for the password file. Any other suggestions?
Christians? (Score:1)
Re:USB support and the future (Score:1)
-=-=-=-=-=-=-
The COBOL Warrior
Good question above (Score:1)
OSS Philosophy (Score:1)
Re:OS X based on FreeBSD (Score:2)
days) from BSD 3.2 put on top of Mach. It's now probably a 4.x on top of Mach. This means its codebase really isn't directly inherited from FreeBSD or NetBSD, AFAIK.
However, that might not stop it from contributing. The Apple-open OS X distro Darwin [darwinfo.com] may have a tip or trick to contribute back, and likely incorporates a bunch of *BSD stuff as well.
--
(OT)Interviews color scheme (Score:1)
Like Tetris? Like drugs? Ever try combining them? [pineight.com]
Process? (Score:4)
Hi,
I'd like to thank you for all the work and effort you and your fellow developers are putting into this project. I currently use FreeBSD and have plans to try out your work on my next server configuration.
Could you give us a short overview of the process you're taking to make FreeBSD more secure? In particular, how does the TrustedBSD project compare with OpenBSD, which has been undergoing a line-by-line security audit for years? Most importantly, what are the advantages of choosing TrustedBSD over OpenBSD (besides the obvious project-loyalty factors)?
Kindest regards,
NGH
Re:Is it just me? (Score:1)
Stargazer! (Score:2)
Anyway, here's my question:
Security has traditionally been viewed as more of an architecture of denial than anything else -- stop people from getting where they are not supposed to get. However, these days security has more impetus because of the sheer amount of intellectual property that's being housed on publically accessable computers. Do you think's it's theoretically possible to ever build a 'crack proof' system? I'm famaliar with FreeBSD's track record, and use it for my firewall at home. But should the onus of security be placed on the sysadmins of the server, or on the people that make the operating system the server runs?
anacron (aka Surface)
Re:TrustedBSD and NSA secure linux (Score:1)
I build rpm's on a daily basis and while it does lack some robustness in the dependancies arena, I think it's overall A Good Thing. And by the way, RPM != Red Hat... I can't stand it when people use the two interchangably.
rwm
Re:TrustedBSD With VMS Features? (Score:2)
FreeBSD and X-Windows (Score:4)
Re:FreeBSD Distribution (Score:2)
How does TrustedBSD compare to Eros? (Score:3)
What do you think about Eros? What's your opinion (and your perception of the security community's opinion) about capability based security?
Thanks, Jeremy
Re:TrustedBSD With VMS Features? (Score:1)
Linus has this feature, too (and FreeBSD using the linuxthreads port). But many people consider this a bug and not a feature
Re:Cross-pollination with Linux security efforts? (Score:2)
TrustedBSD is up to: the TrustedBSD folks are aiming to provide tools
to make it possible to ensure that a distribution satisfies a security
policy, whilst Bastille is meant to check a given system for obvious
holes. A Bastille project for a TrustedBSD system would make sense.
What is part of FreeBSD and what is not ? (Score:4)
One thing I was wondering about is how decision are taken about what goes in the real system (/usr/src) and what does not. For instance, rcp is in the base system, while rsync is in the port tree. When I started, less was not in the distribution, but now is. Why ? Will FreeBSD grow and accumulate more and more tools in
Something somewhat related that bother me is that as soon as I get away of the base system, things are much less clean. Even if the port tree is wonderfull, there is no simple command that will enable me to stay in sync with non-standard stuff. I would love beeing able to do something analogous to cvsup + make world to keep an up-to-date X / gnome / mozilla installation, with a defaut window manager and configuration that make sense. Is there any work in that direction ?
Cheers,
--fred
A few important questions: (Score:5)
2) Are there plans to rewrite the TCP/IP stack to be multi threaded
3) Will BSD ever migrate away from UFS to a more modern file system?
4) With serious POSIX compatablity issues are there plans to use code from POSIX compliant OS's to become more commercially attractive to major corporations
Re: (Score:1)
Re:Christians? (Score:1)
Just wanted to make it known that not all Christians get their panties in a twist about silly stuff like cartoon daemon logos :)
Are you mad? (Score:1)
Oh sorry, this isn't the Andre's Hedrick interview.
Re:TrustedBSD and OpenBSD (Score:1)
Re:Why another BSD? (Score:2)
BSD Security (Score:1)
--
Changing face of security (Score:3)
Re:Christians? (Score:1)
--
BSD hackers vs GPL hackers (Score:4)
What are your views on this from a perspective as a BSD hacker? Can free software really be stolen? Is BSD open for exploitation (in the negative sense)?
Re:FreeBSD and X-Windows (Score:1)
IMHO, this is about all that can be done. X = security problems, no matter what.
Secure programming (Score:1)
Where should I start?
What book/doc/faq do you recommand me reading?
OS X and FreeBSD (Score:1)
apple states [apple.com] that mac os x/darwin is based on freebsd 3.2. how complete an implementation is this? has darwin contributed any new ideas/code/features to bsd?
Re:FreeBSD question (Score:1)
On top of that kernel, you can run X-Windows, and then a common window-manager (like GNOME, KDE etc.)
In theory, you could have a system that looks identical to Mandrake(linux) that runs on top of the FreeBSD kernel. Some argue that the BSD kernel is more stable and "industrial strength".
Re:Good question above (Score:1)
The design methodology of a group of people VS linus is an advantage. (FreeBSD gets out releases once a quarter. the linux kernel has been delayed) Because of the design of BSD, updating a BSD box goes like this:
become root
cd
make update
make buildworld
make installworld
And the BSD license is a difference. If Micro$oft 'attacks' GNU/Linux, Micro$oft will use the GPL as the vector of the attack.
Applications: Rate shaping for TCP/IP traffic is an example. How about Office 2001 for MAc OS X? (the whole Mac OS X stuff)
Re:FreeBSD Distribution (Score:2)
Re:Why will people continue to use FreeBSD? (Score:3)
Unix in all its many splendored flavors is good for when you need stability and performance. This is why it's usually paired with the =really= sexxxy hardware you need a government grant to buy. Unix boxes are at their finest as tools, accessories. Big, expensive shared peripherals that serve a specific, tailored purpose.
In my case, I've got a Sparcstation LX running OpenBSD for a purpose: I need to host a private web forum. It has to be robust, able to cope with large loads, and dirt cheap. Including the OpenBSD CD(with stickers!), the setup cost me $50. I don't need a windowing environment...I have my MacOS Powerbook on a network with it. After the initial install, I can administrate it better sitting on my couch than I can sitting on the terminal...the Mac's tools for editing bits of text from a usercentric standpoint are second to none. Perfect for tweaking configuration files.
And you will need to tweak configuration files. By hand. Might as well start off that way rather than continually correcting what the GUI administration applications assume is what you want. This is where BSD's shine. Their systems are simple and unsophisticated, well documented with clearly written manpages and FAQs, thus shallowing the learning curve if you need to get into the nitty-gritty of networking, soft-raid, security auditing, etc. You know...the stuff Unix is =good= at.
Linux is too chaotic, the distros vary too wildly from one to the other to make low level administration and automation easy. They cram everything but the kitchen sink into your system, none of it documented very well. This is fine if your hobby is computer science and you need a toy to play with, or you need a robust workstation environment, or you want to compete with Windows to be the hottest Mac rip-off arround. Not so good if you're trying to track BBS users by IP to filter out the trolls and bots.
There just isn't a GUI front end for that sort of stuff. Fancy windowing environments soak up valuable processor cycles and RAM. If you need a robust and fast server tailored to meet a specific utility, you need *BSD.
SoupIsGood Food
FreeBSD and Operating System Ports (Score:2)
You might not be the best person to ask, but what are the difficulties in porting FreeBSD to other operating systems?
The alpha port seems to have been struggling somewhat recently with all the different motherboard configurations (alphapc for one) that make the alpha an almost completely different CPU in some critical points.
Theres also the sparc port, which doesnt appear to have made lots of progress at all.
Here comes the questions:
Re:Isn't FreeBSD now part of BSDi? (Score:1)
I will say, however, that so far I've noticed nothing in -stable. Still works great and is easy to maintain and administer, still doesn't support devices as broadly as linux. No changes significant enough to change anyone's reasons for using or not using FreeBSD, in my view.
In the -current version, however, there appear to be lots of changes afoot. FreeBSD 5 is supposedly going to come with a lot of the SMP stuff from BSDi merged in, which would be a huge plus for FreeBSD.
Boss of nothin. Big deal.
Son, go get daddy's hard plastic eyes.
File Transfers (Score:1)
Now really, does that make any sense? It means that behind a firewall (BSD, of course) running NAT, a client must run passive FTP, since there is no way an outside box should be able to initiate into the client box at a high port. However, what about that server? Do I really want to allow high port access to that box?
Finally, my question is this: How does one properly configure FTP between two NAT'd boxes without opening up lots of high ports?
Better still: Where do I write my congressman to make FTP illegal!?
--paul
Re:FreeBSD question (Score:1)
As to your comments on X-windows, that's a seperate piece of software to the OS and would look more or less the same on any platform it runs on. (and it runs on a lot more than just Linux and FreeBSD).
Re:USB support and the future (Score:3)
Ports Unification (Score:3)
On the other hand, for OpenBSD and TrustedBSD, the "fuzzyness" of sharing the code base may make it more difficult to "warrant" the security of packages.
Would it be sensible/preferable to have a "fork" whereby there might be a set of Trusted Ports that would represent a (perhaps limited) set of software that undergoes more comprehensive code auditing, as well as the Unified Ports containing software that hasn't undergone such testing?
Re: A few important questions: (Score:4)
Only important questions if you are trolling...
1) Do you ever plan on moving away from the slow and resource intensive method of VMS style paging for memory address resolution
FreeBSD's paging code is extremely fast, which is why FreeBSD performs so well under load. It is fairly resource intensive, but the requirements for page tables etc are proportional to your RAM size, so FreeBSD will still run in low memory configurations.
2) Are there plans to rewrite the TCP/IP stack to be multi threaded
Once again, this is a buzz word issue - the TCP/IP stack performance is very good (ie can staturate whatever network you happen to plug in). But the entire kernel is being multi-threaded for 5.0, to provide fine grained SMP support.
3) Will BSD ever migrate away from UFS to a more modern file system?
The UFS file system is being continously upgraded. It has features which Linux and most other commercial FSs would love - like softupdates, and new utilities to grow filesystems (and shink them too hopefully soon). Just because Linux has had to rewrite it's FS because of poor reliability doesn't mean that the BSDs have a bad file system.
4) With serious POSIX compatablity issues are there plans to use code from POSIX compliant OS's to become more commercially attractive to major corporations
POSIX compatibility is also something which is always being improved. But I think that you're wrong about POSIX compatibility being an issue for major corporations. They are far more concerned with stable APIs, and at the moment they want stable APIs for things like windowing services. This is why people code for Windows, not POSIX compliance.
Regards,
-Jeremy
A very long, complete answer (Score:3)
--
"Don't trolls get tired?"
The future of gaming on BSDs, GNU/Linux, Darwin (Score:1)
What can these communities do to allow a game developer to write one title and port it easily across platforms, while retaining performance and quality?
Can you comment on what would be required to put something like this together, in terms of software, standards and effort on the part of the developers?
Thank you, and good luck with your TrustedBSD efforts.
common misconception alert! (Score:1)
The OpenBSD/FreeBSD/NetBSD team has no direct control over the s/w in the ports collection.
There is no organized effort to audit everything in the ports collection.
The OpenBSD audit is only concerned with the base OS, that in itself is a huge job. They don't have the resources to audit the thousands of apps in the ports collection.
The ports team does what they can to keep up with bugfixes from the various apps, but they aren't auditing the ports.
Once you install some 3rd party software, it's up to you to keep up with bugfixes for that 3rd party s/w.
Re:Good question above (Score:1)
But, if it was said on Slashdot (OS X == BSD), it must be true!
Re:Good question above (Score:1)
Re:decent literature (Score:1)
It covers basically anything you need to know, and makes a great reference if you want to understand the source code itself.
An overview of the book is at this location [awlonline.com].
Re:File Transfers (Score:2)
map ep0 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
To allow active FTP through the NAT, assuming 192.168.0.0/24 is your local network and ep0 is your external interface. I use this on my NetBSD NAT machine and it works great.
FreeBSD 5.0? (Score:2)
Where can I find more info about plans for FreeBSD 5.0? Is 5.0 include the integration of BSDI code? Freebsd.org doesn't seem to mention much.
chris
FreeBSD & Directory Services (Score:2)
Novell has NDS.
NextStep has NetInfo.
Will FreeBSD be supporting any type of directory service? I know there's always DNS but I was thinking of something a little more powerful.
What I (and most network admins) would like is a nice central way to manage users, computers, or any other network "object". In order for this to work well the service will probably have to be added to the distro - not just supplied as an external package (hence your envolvement.)
I was thinking that since NetInfo has been opensourced it might be a good solution. I know a Linux port already exists.
Making xxBSD easy to setup and administer would greatly increase its appeal to network administers. During the install procedure you should have the option "connect via NetInfo" where everything is done for you - you shouldn't even have to assign it a root password. All administration, and I mean everything, should be done from a central location. (I know most UNIX gurus probably want their commands like "adduser" - but some type of directory service should still be an option.)
Aah, network nirvana...
Willy
Info on SMP status in FreeBSD 5.0 (Score:3)
Re:TrustedBSD With VMS Features? (Score:2)
It sounds as if the person who asked the question to which you responded was saying that VMS allows different threads in a process to have different privileges. The NT per-thread security described by the stuff to which you linked isn't per-thread security in the sense of "what the thread is allowed to do", it's per-thread security in the sense of "what other processes are allowed to do to the thread".
Common criteria and TrustedBSD (Score:3)
The common criteria [nist.gov] are far more than the old orange book [ncsc.mil] controls (B1, B2, C1, ...). Part two of ISO 15408 has many things that I'd really like to see (and I'm prepared to help, too).
Why even bother with the old style Orange book stuff, which barely work in a networked environment, when the new style CC definitions are available for free?
Also will you be providing a framework such that deployed TrustedBSD systems are ready for CC evaluation?
Lastly, any plans for a NetBSD version? Want some help?
Re: A few important questions: (Score:2)
So, I've taken the liberty of reposting your last BSD post. Here is the original post [slashdot.org] if you want to see it.
***Bob Abooey's Last BSD Post: ***
Couldn't agree more. In fact I'm really tired of the whole BSD camp acting like the red-headed bastard stepchild. BSD just flat out fails due to the Amiga type zealotry which impedes clear thinking in many cases.
I have submitted a well ducumented and heavily tested patch for BSD which provides code and a clean interface to remove the hard limit of 2000 maximum processes, but it was rejected for no good reason. I guess they really don't want to play in the big leagues when it comes to big iron servers. I have also re-written chunks of BSD code which I run on my own personal RDBMS back-end which fixes many of the *real* problems with BSD, namely the file system which is slow and rife with corruption, the fine grain low level context switching which kills any sort of performance you might get by using multi threaded apps (that's true multi-threaded apps, not the "forking PID" type). Yeah, why don't the BSD zealots ever address the kernel space addressing scheme which still relies on the old VMS paging concept which does nothing but increase the kernel-space overhead.
I could go on and on but I won't. It's not often I make a real post so I hope you guys understand that I'm really upset here. Thanks
***End Bob Abooey's last BSD post***
Wow, impressive. So Bob, when are you releasing that RDBMS that you wrote yourself that replaces the BSD filesystem? Can we expect to see it on freshmeat any time soon?
Also, if FreeBSD's paging system and TCP/IP stack leave so much to be desired, where can I turn to find a better system?
Bob?
Basis for Trusted BSD (Score:3)
A biger question - to what extent are these formal, committee-design secure systems criteria relevant to securing an open source product? What is good about them? What specifically do you find flawed or totally useless? What did you have to improvise because the methodology didn't cover it?
Re:TrustedBSD With VMS Features? (Score:2)
Compare this to OpenBSD. OpenBSD may be based on a dated security model, but it is a ROCK SOLID implementation of that model. It dosn't take a rocket scientist to figure out which one to use where security is critical.
Re: A few important questions: (Score:2)
That being said, I don't think any of the BSD projects are in any danger of dying. While there are some valid differences of opinion as to design philosopy between the various BSD projects, I think there is also a huge amout of hubris and rampant egos at work that keep the core teams from working more closely with one another. (Not that the Linux community is much better with it's perennial distribution and desktop manager catfights)
Diversity is a good thing. A good engineer picks the best tool for the job at hand. The choice of an operating system (or any other piece of software or hardware, for that matter) depends on what you want to do with it. No one tool is right for all jobs, regardless of what sales drones or fanboys want you to believe. As software engineers, we can't let our political views or personal enthusiasiams get in the way of making sound technical decisions.
Re:FreeBSD question (Score:2)
Damn, people. It's not like OpenSSH [openssh.com] is a big secret.
I still say that backbone providers should throw all port 23 traffic on the floor just on principle. It's no different than hiding your friend's car keys until he sobers up.
Debian vs BSD (Score:2)
Kernel vs Kernel
Gnu tools vs Gnu tools
this goes here, this goes there
All of these can become moot details to an experianced admin.
The real question for me is...
Any plans on porting to dpkg and apt?
Re:OS X based on FreeBSD (Score:2)
If you actually look at Darwin source, you'll see that there's also a lot of the userland taken from NetBSD.
Anyhow, Apple has definetly been a good neighbor to the open source world. Look at Darwin- people can take work from there back to FreeBSD or any other OS. They've also taken an interest in OpenPackages [openpackages.org] and it'll be interesting to see where, if anywhere, they go with that.
Re:OS X based on FreeBSD (Score:2)
Re:Ports Unification (Score:2)
Re:USB support and the future (Score:2)
Uhmm....no. *BSD support for USB was done NetBSD a while back and merged into project from there. This was done back in mid '99. Dont say as of 4.1 as that is mere FUD.
When I installed RedHat 7.0...
You're actually using RedHat 7.0!??! Are you on coke? You obviously didn't read about their shitty gcc version they packaged with it. If I remember correctly, Linus called RH7 "Unsuitable for any use". It's ok you're a newbie.
So does FreeBSD have usb support, Yes. Is it as clean and complete as it should be, not yet.
My God thats incorrect. If you have even bothered to follow any mailing lists you'd see you were woefully wrong. Go spread your unsubstantiated FUD elsewhere.
Where do Free/Trusted BSD stand with InfiniBand? (Score:2)
Conclusion about /. moderators (Score:2)