[Question/Poll] - Does your work use BSD? What for? reddit / BSD ---------------------------------------------------------------------- redhathtml112 · 2018-07-02 23:51 This morning we turned off the last of our BSD servers. Used to run the DNS nodes on them (since migrated to RedHat; not my decision, ironically). Am curious to know what others uses BSD holds in the workplace ? Edit. Sorry for the million questions, in all my 35 years I've only ever known BSD as "Oh that's what OSX was built off" but the past few days I've been talking to some of the old UNIX boys and they've been telling me a fair bit about it, sent me on a bit of a learning path. ---------------------------------------------------------------------- euphraties247 · 2018-07-03 02:57 We run a bunch of FreeBSD to program FPGA's and control Broadcom Ethernet switching ASICs. Aka we have Juniper devices. ---------------------------------------------------------------------- [deleted] · 2018-07-03 03:46 I'm using NetBSD on desktop/laptop because I prefer it. It's as good an OS as any for running a web browser, terminal emulator, and a few FOSS programs. ---------------------------------------------------------------------- johnklos · 2018-07-03 03:48 BSD is excellent for anything public facing, and that's what we use it for. I wouldn't trust Ubuntu or any other GNU/Linux distro with anything remotely security critical. ---------------------------------------------------------------------- phessler · 2018-07-03 07:12 at work we use OpenBSD for firewalls and some of our routers. We also use it for many infrastructure machines (monitoring, logs, etc); and many of our staff use it as a desktop. ---------------------------------------------------------------------- illumosguy · 2018-07-03 08:13 At the research lab where I work we have a NetBSD firewall and a OmniOS web server ---------------------------------------------------------------------- ranadoo2 · 2018-07-03 08:52 We started with Linux about 15 years ago and switched to FreeBSD because of its superior networking speed and security. Because we did web development, it was natural for us to use FreeBSD everywhere and, now, all 10 of our developer's workstations and all of our servers run FreeBSD. ---------------------------------------------------------------------- TheRealLazloFalconi · 2018-07-03 16:25 [Deleted] ---------------------------------------------------------------------- TheRealLazloFalconi · 2018-07-03 16:25 We have a few netapps and junipers but I suspect that's not what you mean. I run a certificate authority on FreeBSD, and for a while I had an internal web server for documentation but nobody used it so it's been decommissioned. My boss doesn't like anything that's not windows so it's tough for me to sneak even Linux in there, let alone any BSDs. ---------------------------------------------------------------------- haroldp · 2018-07-03 20:15 We use FreeBSD for most of our servers: mail, DNS and especially web hosting. ---------------------------------------------------------------------- ZoDalek · 2018-07-03 22:29 The very notion of directly provisioning a server or VM is considered obsolete where I work. That’s the cloud vendor’s job, we just spin up web app instances and queue workers and whatnot. I’m really no sysadmin type but I enjoy the simplicity of the BSD server I use for personal stuff. It hosts my website, repositories and more and can even be used as a remote workstation. But no, that’s an absolute no-go for work. ---------------------------------------------------------------------- classicrando · 2018-07-03 23:52 OpenBSD for Firewalls, but run the colo to colo to aws VPNs on openVPN on Linux VMs, that way no monkeying with the firewalls to update/change/reconfigure the VPN links. I'd love to have some OpenBSD desktops but everyone works remotely and BYODs. ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:11 Do you run anything specific to BSD ? i.e. something that couldn't be run equivalent to some other OS (\*NIX/DOS) ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:14 >many of our staff use it as a desktop. Can I ask what work you do? And what do they use the desktop for? Anything specific to BSD? The only time I've seen a workplace desktop that wasn't OSX/DOS was a few web developers using a shared Ubuntu VM. Do your staff use the virtual/pool desktop thing? Or local tin? ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:18 What's the NetBSD FW? I've used pfSense but that's built of FreeBSD. I heard from one of my old workplaces network guru that Juniper FW was built of BSD practices. Never heard of OmniOS, will spin up a VM tonight and have a play. What are the advantages for this as a web server, over say Apache? ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:21 What applications do you run overtop for these? I presume DNS is using BIND? ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:24 >We have a few netapps and junipers Do you mean the Juniper networking company? JunOS? I heard recently they were based on BSD! As I said in another reply I'd never had much involvement in BSD, but turns out one of my first real jobs was configuring BSD inherited Juniper switches! ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:29 I've just started running some BSD VMs at home, you're so right! They're so simple/obvious. And it sounds weird but tcsh seems so much more natural on FreeBSD. >But no, that’s an absolute no-go for work. Do you mean running BSD servers as an OS specifically? Is that a business decision? Or the cloud providers limitation? ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 07:30 I've been reading more & more about BSD. I had no idea just how much networking/security applications have been built off BSD!! ---------------------------------------------------------------------- phessler · 2018-07-04 08:11 What's a virtual/pool desktop thing? We're a managed hosting provider, basically "datacenter with consulting". Lots of unix/linux shells open, web browsers, general funking around. ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 08:21 >What's a virtual/pool desktop thing? Citrix, that sort of thing. I've seen a resurgence of 'server' desktops coming back, was curious if BSD was being utilised in that way. And thanks for sharing. My job is 90% SSH and web browsers. 10% Coffee. ---------------------------------------------------------------------- ZoDalek · 2018-07-04 08:58 I never got quite used to tcsh! Perhaps I'm just too rooted in the Bourne tradition. I switched to /bin/sh on FreeBSD before switching most machines over to OpenBSD where I've found peace with ksh. > Do you mean running BSD servers as an OS specifically? Is that a business decision? Or the cloud providers limitation? We try to build everything from Azure PaaS primitives like web services, databases, functions ("lambdas" in AWS terminology), etc. We don't deal with the OS. If those can't provide what we're looking for we use Docker containers or, as a last resort, a VM. VMs are considered a problem for maintenance, scalability, and institutional knowledge. Azure will run almost anything on a VM but the business prefers Windows. Linux has a bus factor of 3. I'm the only one to have ever touched a BSD. ---------------------------------------------------------------------- [deleted] · 2018-07-04 09:06 Like many people I encounter bugs in software. It's frustrating to have some free time to look into them but have various impediments from not using a developer-centric OS. in netbsd+pkgsrc, I already have the source for all the software in the same version, so I can quickly test a change. in certain linux distros, they hide coredumps, the error log has a lot of spammy things in it obscuring the current problem[1], packages are split off to remove components only useful for developers (read: me). etc. I'm also a lot further along on the learning curve of knowing NetBSD, and awkwardly flailing around with simple issues on linux. I had trouble configuring my keyboard to behave the same because something GNOME-ish is overriding setxkbmap. Unwillingly using a different keyboard layout is a constant source of frustration. [1] One time by reading these messages I found a likely vulnerability in popular software. I suspect it the messages for it were visible to many other users on linux distros, but obscured by the noise. ---------------------------------------------------------------------- illumosguy · 2018-07-04 09:59 >What's the NetBSD FW? NetBSD comes with 3 firewalls: Solaris IPFILTER, a fork of OpenBSD's PF since 3.0 release, and, since 6.0, with its own written-from- scratch FW, [NPF]( https://netbsd.org/~rmind/npf/), which is what we use, and are satisfied with. Give also a look at this [presentation]( http://www.netbsd.org/~rmind/pub/npf_presentation_netbsd_6.pdf), at [npf.conf(5)](http://netbsd.gw.com/cgi-bin/man-cgi?npf.conf++NetBSD- current), and NPF [sources](https://nxr.netbsd.org/xref/src/sys/net/npf/) >I've used pfSense but that's built of FreeBSD. I heard from one of my old workplaces network guru that Juniper FW was built of BSD practices. I've never used either FreeBSD's or OpenBSD's PF, so can't really tell you how they differ and which one is better. AFAIK FreeBSD's PF (what pfSense is wrapped around) focuses on multi-core and performance, where it rocks, but it's an outdated fork, in terms of features, syntax and versatility compared with OpenBSD's PF. I don't know what kind of FW does Juniper use, but considering it's FreeBSD, it may be FreeBSD's PF or IPFW, FreeBSD's native firewall. I have a mediocre knowledge of IPFW, which I regard as a powerful and well-thought tool, whereas as mentioned above, I'm completely ignorant about PF and can't say how it compares with NPF. All I can say is that generally speaking OpenBSD's PF is regarded as best, at a design and software-quality level. DragonflyBSD seems to have boosted IPFW potentiality to a higher level by creating [IPFW3](https://www.dragonflybsd.org/docs/ipfw3/), albeit I have no experience with it. >Never heard of OmniOS, will spin up a VM tonight and have a play. What are the advantages for this as a web server, over say Apache You can install and set up Apache on illumos/OmniOS similarly to any other Unix-like system. In fact our server is AMPO, see [general admin istration](https://omnios.omniti.com/wiki.php/GeneralAdministration). There's not really a particular advantage in using Illumos over any of the BSDs, Linux or what else. As always, there are pros and cons with each OS and none is strictly speaking better or worse than others; choices is mostly driven by priotities, goals, hardware/software support, prices...habit, tastes and design phylosophies too. The good things about Illumos are shameless and perfectly integrated ZFS support, Solaris kernel, userland and documentation with direct SysV-R4 UNIX® software lineage and a perfect POSIX-compliance, SMF parallel init/supervisor, fantastic native NFS integration, boot environments and Time-Slider, good performance, Zones (including LX- branded ones for nearly perfect Linux compatibility), both KVM and Bhyve for virtualization, CrossBow network stack (Virtual NIC, IP Zones, Bandwith management and Flow Control), IPFilter (though it's obsolete now), SunSSH, DTrace, FreeBSD booloader, Sun Studio+ (usually) very up to date GCC as compilers, IPS (Solaris' and OpenCSW repos)+pkgsrc (SmartOS Joyent Repo) providing a solid software availability, solid SPARC64 support (only on Tribblix, DilOS, and OpenSXCE), Wine, Nvidia binary drivers, SunAudio, prompt security patches for every new CVE vulnerability discovered. The amd64 OmniOS server which I help managing, replaced an older SPARC Solaris11 small-business server, with a PF firewall (Solaris provides a very good closed-sourcecl PF implementation), for a private clinic, inside which I'm undergoing additional internship (not a admin or programmer by profession) They were looking for an hardware and software alternative, especially after the 2017 Solaris lay-off by Oracle, and x86_64 RHEL/CentOS/Oracle Linux seemed the most obvious solution, but then I talked throughly about Illumos and NetBSD to the local admin and the chief officer, telling them I would helped setting up everything as medium-level amateur, and both seemed to like the idea (chief officer told "it was indifferent as long as it would have kept working and being as secure as always, and the cost would have stood within the budget"). The long-term Solaris admin was naturally skilled enough by himself to deal with OmniOS, while I helped him with NetBSD management, providing some tips around general system administration, pkgsrc and NPF functionality, which he liked a lot. > will spin up a VM tonight and have a play Make sure you download [OmniOSce](https://omniosce.org), the newer community edition ---------------------------------------------------------------------- FatFingerHelperBot · 2018-07-04 09:59 It seems that your comment contains 1 or more links that are hard to tap for mobile users. I will extend those so they're easier for our sausage fingers to click! [Here is link number 1](https://netbsd.org/%7Ermind/npf/) - Previous text "NPF" ---- ^Please ^PM ^/u/eganwall ^with ^issues ^or ^feedback! ^| ^[Delete](htt ps://reddit.com/message/compose/?to=FatFingerHelperBot&subject=delete& message=delete%20e1rrc54) ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 11:38 good bot. ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 11:39 Woah. That was super in depth! Thank you so much. I have a lot of homework now !! Edit: Yeah Community Edition seems excellent. Was reading through the documentation earlier. They also release an AWI so I can demo it during my downtime at work :). ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 12:01 >in netbsd+pkgsrc, I already have the source for all the software in the same version, so I can quickly test a change. I never knew that about BSD :). Is that particular to NetBSD? Or does Open/Free also follow this practice? >he error log has a lot of spammy things I agree, Linux generates a LOT of noise. We've only recently started migrating from Solaris to RHEL and when I need to dive into /var/\~ it's frustrating trawling through stuff. >I'm also a lot further along on the learning curve of knowing NetBSD We're in the reverse boat :). I grew up on Debian; in a professional sys sense only managed Solaris kit until recently. FreeBSD (just started on) has been a hellovalot more intuitive than SunOS (which is a BSD fork?) ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 12:04 I started with tcsh because I (rather naively) thought it would help me learn C better (granted there are familiarities...) I touch bash a fair bit (only because most servers at work lock down your default shel, and changing it is another hassle). But honestly I find scripting so much better with tcsh. Bash is waaaaaay easier for navigation etc. and trying things out. > but the business prefers Windows I left my last job when the business decided to migrate 99% of things to Windows. Something about getting a massive discount from Microsoft on cost/added support. My new company is actually doing the reverse, moving everything they can off Windows and onto RHEL. ---------------------------------------------------------------------- illumosguy · 2018-07-04 12:09 you're welcome, have fun with it, unix is awesome! ---------------------------------------------------------------------- phessler · 2018-07-04 12:14 Ah. No, we don't use that normally. Well, there is that one windows box that is available in case a customer has some strange Office file we need to look at. We use OpenBSD as a proper desktop, local things are local, remote things are remote. ---------------------------------------------------------------------- [deleted] · 2018-07-04 13:40 > Solaris IPFILTER for the record, the author of ipfilter is Darren Reed. at least at some point he had commit access to FreeBSD and NetBSD. ---------------------------------------------------------------------- haroldp · 2018-07-04 15:42 The servers themselves are pretty bare jail-on-zfs hosts. All the action happens inside jails Mail jail is postfix, courier-imap, dovecot-sasl, maildrop, spamassassin, postgrey and mysql. Plus apache, php, roundcube and squirrelmail for webmail. I also have a bulk-mail jail for newsletters and stuff that runs on postfix and a lot of custom code. DNS jails are indeed BIND, but I (finaly!) have a PowerDNS replacement in beta testing. Web hosting jails are mostly apache, php-fpm and mysql, but we have a few variations with Postgress, nginx, etc as needed. And we have assorted other application jails for things like nagios, owncloud, and internal admin apps. Oh and one video streaming jail on nginx + ffmpeg. ---------------------------------------------------------------------- illumosguy · 2018-07-04 17:12 I see, thanks for the prompt heads up! ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 23:05 > unix is awesome! I wholeheartedly agree :). ---------------------------------------------------------------------- redhathtml112 · 2018-07-04 23:13 >DNS jails are indeed BIND, but I (finaly!) have a PowerDNS replacement in beta testing. What are your benefits to PowerDNS over BIND? ---------------------------------------------------------------------- haroldp · 2018-07-05 00:07 A decent REST API, baked right in. ---------------------------------------------------------------------- Harthu · 2018-07-05 13:44 We run a lot of our core services off of FreeBSD: NTP, DNS resolvers, Backups, Web servers, Puppet, Radius, mail relay, etc.. We run most of network functionality off of OpenBSD: VPN, haproxy, firewall We have plenty of Linux servers as well, however we've been moving away from them over to FreeBSD or OpenBSD depending on which we deem more performant. ---------------------------------------------------------------------- thatstevelord · 2018-07-05 17:59 Work-wise: * Two OpenBSD workstations for general office desktop use. * FreeNAS server for storage * FreeBSD Gogs server for internal projects and code * OpenBSD Gitea server for collaborative projects * OpenBSD server for monitoring and alerting * OSX Server running file sharing, Apple management tools and XCode with some automation Just bought a box to run OpenBSD as a router/fw/IDS/DNS/DHCP server with full 30 day pcap storage. Looking at migrating the Gogs repos to the external Gitea box, and replacing the FreeNAS with illumos at some point next year. ---------------------------------------------------------------------- redhathtml112 · 2018-07-06 00:15 Woah. You're a proper BSD shop :). Can I ask what work do to enable that? ---------------------------------------------------------------------- redhathtml112 · 2018-07-06 00:19 I keep reading that BSD is the supreme as far as security/networking. ---------------------------------------------------------------------- Harthu · 2018-07-06 03:26 Out of the box? Possibly However any installation is only as secure as the understanding of the developers, and the competency and thoroughness of the person administrating the installation. ---------------------------------------------------------------------- thatstevelord · 2018-07-06 07:11 Security training, consulting and research mostly. There's also a lot of mac stuff for video and a ton of linux flying around too, so it looks bsd heavy but it isn't. The move to Free/OpenBSD is an ongoing process mostly related to problems with systemd more than anything else. I'd love to get some netbsd in as well but there isn't anything that needs it. ---------------------------------------------------------------------- redhathtml112 · 2018-07-07 07:33 Systemd can be a real jerk. You might like [this for a giggle](http://without-systemd.org/wiki/index.php/Main_Page) ---------------------------------------------------------------------- redhathtml112 · 2018-07-07 07:49 That's very true. I meant more things as a source. Juniper, for example. ---------------------------------------------------------------------- irumbumoideen · 2018-07-09 04:28 I run a startup and we run JVM apps (for API) and nodejs (for the webapp) shop. All our stuff runs off FreeBSD from day 1. I myself use TrueOS for my everyday work. ---------------------------------------------------------------------- redhathtml112 · 2018-07-09 05:53 TrueOS is a desktop build of BSD, yeah? ---------------------------------------------------------------------- irumbumoideen · 2018-07-09 06:18 TrueOS is a reasonably stabilised operating system built from FreeBSD 12-CURRENT. Until recently it had a desktop edition. They are prepping to spin off the desktop build as a community project called "Trident" ---------------------------------------------------------------------- vivekkhera · 2018-07-10 02:34 My entire infrastructure at my company was FreeBSD. I got an Ethernet wire from the data center. That plugged into a pair of pfSense (FreeBSD based) firewalls. These fronted web servers, app servers, database servers, DNS servers, and misc management and backup systems, every one of which was FreeBSD. I ran like that for about 24 years until we sold the company last year. Currently I just have one server to run my project management and development software (Jira, Confluence, subversion, git, etc.) and that too is FreeBSD. ---------------------------------------------------------------------- redhathtml112 · 2018-07-10 06:08 >TrueOS is a reasonably stabilised operating system built from FreeBSD 12-CURRENT. Until recently it had a desktop edition. They are prepping to spin off the desktop build as a community project called "Trident" Thank's for updating me! I found [this TrueOS blog post ](https://www.trueos.org/blog/trueosdownstream/)explaining it.