Questions tagged [openbsd]

OpenBSD is a free, multi-platform 4.4BSD-based UNIX-like operating system with a focus on security, portability, standardization, code correctness, proactive security and integrated cryptography.

enter image description here

OpenBSD is an open-source operating system derived from 4.4BSD UNIX and is popular for it's focus on security, portability and code correctness. It was forked from in the mid-1990s.

The project strictly incorporates only source code with ISC or BSD compatible licensing (except the ports tree) with the goal of providing software for any use, including commercial. It is funded by the Canadian non-profit, The OpenBSD Foundation, which also supports related projects such as OpenSSH, LibreSSL, OpenSMTPD, and other popular infrastructure software.

Website: http://www.openbsd.org

OpenBSD Foundation: http://www.openbsdfoundation.org

Distrowatch: http://distrowatch.com/table.php?distribution=openbsd

Wikipedia: http://en.wikipedia.org/wiki/OpenBSD

225 questions
6
votes
2 answers

Which BSD best suited to run as VMware guest?

I want to deploy a VM to serve DNS and files (via NFS) to other *nix systems in my infrastructure. Due to reasons beyond my control, I need a very light OS, so I naturally choose the *BSD family. Can you recommend which *BSD is the best VMware…
pepoluan
  • 5,038
  • 4
  • 47
  • 72
6
votes
1 answer

How to run VmWare tools in OpenBSD4.5 with VmWare server 2.0.X

For testing purposes i frequently run OpenBSD in VmWare, before version 2.0.x, tweaking the vm type and using Freebsd compatibility mode made the job but this does not work anymore with VmWare server 2.0.x. Does somebody know a way to make vmware…
Maxwell
  • 5,076
  • 1
  • 26
  • 31
5
votes
1 answer

OpenBSD: How to use `relayd` and `httpd` for redirecting subdomain requests

Situation I created the following setup on OpenBSD: So I have my OpenBSD server on 192.168.1.250 redirecting all http-requests to the host-vm on 192.168.30.2. The host-vm itself operates nginx for redirecting subdomain-requests like so: ## the…
Jan
  • 107
  • 1
  • 8
5
votes
2 answers

How to block MAC address in pf firewall

I want to block particular MAC address on PF firewall. I know PF firewall works on the Layer 3 i.e it operates on the IP addresses rather than MAC address.But is there any way to block the MAC address on pf firewall
user229957
  • 61
  • 1
  • 2
5
votes
3 answers

OpenBSD: Gateway outside subnet (works in Linux)

We need to set up an OpenBSD host to use a default gateway that's outside of it's subnet. This is all I need to do on Linux (not the actual IPs) to achieve it: ifconfig eth0 33.33.33.33/31 up route add 33.33.33.254 dev eth0 route add default gw…
kshade
  • 65
  • 1
  • 5
5
votes
1 answer

Request multiple IP-addresses via DHCP on a single physical interface (OpenBSD)

On OpenBSD, is it possible to request multiple IP-addresses via DHCP on a single physical interface? It looks like DHCP leased addresses can't be assigned as aliases. I though of creating a virtual interface and forward traffic to the physical…
watain
  • 151
  • 1
  • 3
  • 14
5
votes
2 answers

Portable firewall rules for Linux and Free/Net/Open/DragonFlyBSD

I need apply the same rules (lists of IPs with allow and drop rules) in firewalls of Linux and *BSD. Do you know some application (CLI) for to convert a list of rules in the specific format of each firewall?. The application for to convert the rules…
Rufo El Magufo
  • 321
  • 2
  • 12
5
votes
1 answer

BSD 50% interrupt utilization in irq0/clock

On OpenBSD on an Atom 450, with HPET configured in the BIOS and not, also with Hyperthreading/ACPI on-off, nothing seems to make a difference. Here's my vmstat -iz # vmstat 2 procs memory page disk traps cpu r…
5
votes
4 answers

How do I count the number of processors on an OpenBSD system?

How can I determine the number of CPUs on an OpenBSD system, using either system tools or C code? The technique I know of to count CPUs on other BSD platforms -- checking /var/run/dmesg.boot for certain strings, doesn't always seem to work. More…
mob
  • 183
  • 1
  • 7
4
votes
1 answer

Changing PF rules on the fly to mitigate damage of DDoS (OpenBSD 6.4)

This is a two part question, really. Keep in mind that I am a developer not a system admin, but being the only employee in the company, I wear ALL the hats. I have deployed my server with two firewalls running on CARP for load balancing/redundancy…
Miguel
  • 171
  • 4
4
votes
3 answers

tuning tips for CPU load for OpenBSD guest on qemu-kvm Server

I have a CentOS KVM Server running 1 OpenBSD, 1 CentOS and 2 FreeBSD guests. Only the openBSD guest has a higher CPU load on the KVM Server. 8-10% on Server whilst Guest is at idle. The only service I am running on the guest is pfctl. if I disable…
Philip
  • 41
  • 1
  • 3
4
votes
2 answers

home, end, delete, pageup, pagedown with ksh

I want to use home, end, delete, pageup, pagedown with ksh. My TERM is xterm-color. These keys works fine with tcsh and zsh, but not with ksh (print a tilda ~) I found this: bind '^[[3'=prefix-2 bind '^[[3~'=delete-char-forward bind…
Nicolas
  • 41
  • 2
4
votes
1 answer

Is reverse DNS a good method for promoting grey IPs from trusted domains to white?

I'm trying to set up a mail server using OpenBSD, OpenSMTPD, spamd, and pf. The first problem I've encountered is that many large webmail providers - like Gmail - will retry delivery from a different server with a different IP address, making it…
rcampbell
  • 1,035
  • 4
  • 14
  • 24
4
votes
1 answer

What's the proper way to get smtpd (OpenSMTPD) to pick up changes to smtpd.conf?

I'm new to OpenBSD and in the process of learning OpenSMTPD. I would have expected some sort of "restart" option from the smtpctl command, but it only has a stop with no start which might force a reread of smtpd.conf so changes take effect. Outside…
rcampbell
  • 1,035
  • 4
  • 14
  • 24
4
votes
1 answer

OpenBSD automatic filesystem check at reboot

I want my openbsd server to boot, no matter what and dont break with waiting for manual FSCKing. It's easy to do in linux, but in obsd it just doesnt want to be "auto". Last time I set the 6th,7th numbers to 0 0 in fstab, hoping it's gonna do the…
danishd
  • 41
  • 3
1
2
3
14 15