OpenBSD is a BSD variant with a strong security and code correctness focus.

learn more… | top users | synonyms

8
votes
1answer
536 views

USB audio only outputs white noise

I am running OpenBSD/i386 5.1 on a 5 year old laptop. The speakers and headphone port work, but the headphone port is a little loose so I am trying to install an external USB sound card (Fiio E17 USB ...
4
votes
2answers
744 views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
2
votes
1answer
315 views

PDF reader for OpenBSD that has default disabled JAVA/JavaScript/etc.?

I'm searching for a PDF reader that doesn't supports Java, JavaScript in PDF files (and other unneeded things what is only used in 1% of the PDF files, but can cause security issues). Or there isn't ...
6
votes
1answer
313 views

Realtek audio issues on OpenBSD 5.2

I am running OpenBSD/amd64 5.2 stable on a new machine, using a gigabyte motherboard with a realtek alc898 audio chipset. When I try to play any audio (sources include mpd, aucat, and cat > ...
0
votes
1answer
24 views

Unable to patch 2 errata on OpenBSD 5.5

I'm trying to patch OpenBSD 5.5 with all of the 10 errata. The command I use to patch is: signify -Vep /etc/signify/openbsd-55-base.pub -x /path/to/patch/ \ -m - | (cd /usr/src && patch -p0) ...
3
votes
2answers
59 views

How to block abusive IP addresses with pf in OpenBSD?

We can see from the nginx logs that there is an IP address doing nasty things. How can we block it with a pf command and then later permanently with the /etc/pf.log? How can we block a x.x.x.x/24 ...
2
votes
0answers
13 views

How to use a separated user with GUI on OpenBSD?

A webbrowser is a GREAT attack vector since people use it to access the "dangerous" internet. Very bad things can come in through to the desktop. So in general for a desktop, we can do the ...
1
vote
1answer
358 views

Status of 5GHz support for 802.11 WiFi devs in BSD (2014)

To put it simply, 2.4GHz band doesn't work anymore due to the plethora of various Wi-Fi and other devices, whereas 5GHz is still almost entirely empty. Do any of the BSDs -- FreeBSD, OpenBSD, NetBSD, ...
1
vote
1answer
784 views

Courier IMAP - Account's mailbox directory is not owned by the correct uid or gid

so i poked around and found out that DEFDOMAIN="@domain.se" is messing things up, so i removed that from /etc/courier/imapd and i got to the point where SMTP work and i get this from the IMAP: Jul 2 ...
5
votes
4answers
2k views

How do I send a shutdown event to a QEMU guest (OpenBSD)?

I'm using virtualisation solely to install OpenBSD onto the bare hardware, and during the installation, the redirection to the serial port didn't get configured, so, I ended up with the system ...
2
votes
2answers
52 views

Names of copied files from USB device to HDD have all become uppercase. How to fix it?

I am currently using OpenBSD 5.5-release. Whenever I copy files or directories from my USB device to the local HDD, the names of the copied files have all become uppercase. What causes it? How do I ...
0
votes
1answer
89 views

installpath in OpenBSD 5.5

In the FAQ section of OpenBSD 5.5, it is recommended to use export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/5.5/packages/`machine -a`/ and to add the above line to ~/.profile Instead of doing ...
1
vote
1answer
31 views

nginx: Long filenames in directory listing

Using nginx/1.4.1 with OpenBSD 5.4, 64bit: How could we set nginx to show the full filename (or at least show more from the filename then the default) when using directory listing? Googling ...
2
votes
1answer
27 views

Installing a new OpenBSD kernel “safely”: why does `make install` go through these extra hoops?

After building a new OpenBSD kernel, the install target of the kernel Makefile does the following: rm -f /obsd ln /bsd /obsd cp bsd /nbsd mv /nbsd /bsd I understand that the first two lines remove ...
2
votes
1answer
83 views

Partition offset at 63 or 64?

I did not wish to use the entire SSD for OpenBSD 5.5. (The SSD is new and pre-formatted with MSDOS using Gparted) During installation and at the fdisk stage, I chose Partition #: 0 to install OpenBSD ...
3
votes
4answers
117 views

Mount filesystems after boot to avoid fsck delay for sshd

I'm trying to optimise the overall downtime and improve availability in case of system failure. I'm specifically concerned about the reboot (e.g. after a kernel panic) taking so long that I don't ...
1
vote
0answers
37 views

How to update font path?

I am using OpenBSD 5.5 and have just installed a package named xpdf The installation completed with the following message: You may wish to update your font path for ...
2
votes
1answer
107 views

OpenBSD failing to load firmware of supposedly supported WiFi USB adapter

I recently bought an Edimax EW-7811Un WiFi USB adapter on Amazon. A handful of OpenBSD users have reported success with it, and it's listed as being supported by urtwn(4) in its man pages. I'm ...
2
votes
2answers
908 views

How to enable Broadcom wireless BCM 4313 on OpenBSD?

Is there any hack/tip/trick to make this specific Broadcom Wireless work with OpenBSD? After digging some FreeBSD-wireless threads and OpenBSD-tech/OpenBSD-misc, I noticed that adding the PCI vendor ...
2
votes
1answer
84 views

How do I read an acpidump in OpenBSD?

The acpidump utility used to provide human-readable decoding of the DSDT data, however, it seems like this is no longer available in the recent version of OpenBSD. It looks like the last release with ...
1
vote
1answer
63 views

How to modify mount options in an OpenBSD install?

How exactly can I modify different mount options for a FS at an OpenBSD install? IT's crazy, but I just can't find it. I'm at here: W # Use (W)hole disk or (E)dit the MBR? E # Use (A)uto layout, ...
0
votes
1answer
167 views

cannot start PostgreSQL on OpenBSD 5.4 through rc.d

I've installed the postgresql-server package on OpenBSD 5.4 amd64, and I try starting it through its rc.d script, however, it doesn't look like it's running after that. opti# /etc/rc.d/postgresql ...
3
votes
1answer
90 views

What makes fsck so slow on big filesystems?

I have over a dozen of filesystems on my OpenBSD server with 12GB DDR3 and several 1.5TB HDDs. All filesystems themselves are generally between 8GB and 64GB in size. I've noticed that even by ...
4
votes
1answer
86 views

Why doesn't GCM HTTPS work with nginx?

Since these two are using GCM (Galois/Counter Mode): www.ssllabs.com: ECDHE-RSA-AES256-GCM-SHA384 www.google.com: ECDHE-RSA-AES128-GCM-SHA256 We wanted to make our webserver's HTTPS connection ...
1
vote
1answer
272 views

Routing a LAN through OpenVPN on OpenBSD 5.5

I'm configuring an OpenVPN gateway to allow a LAN access to the internet through the tunnel. The gateway is running OpenBSD 5.5-stable amd64 on the PC Engines APU platform. The LAN contains re1, re2, ...
0
votes
0answers
50 views

Centrino N-6300 OpenBSD 5.5 - No Link

I have a Lenovo X230 with a Centrino N-6300 wifi card. I cannot get wifi to work on it. I did fw_upgrade I can do a ifconfig iwno scan I have the list of Wifi networks around including mine. ...
7
votes
2answers
3k views

Dropbox on OpenBSD

Has anyone had any success getting dropbox installed with dropboxd running properly on OpenBSD (FreeBSD would work for me too..)? I have built from source and everything installs just fine but when I ...
0
votes
0answers
63 views

OpenBSD Atheros AR8151 no Ethernet media present

I installed OpenBSD 5.5 on an ASRock AD525PV3. The board uses the mentioned Atheros LAN. It shows alc0 on ifconfig, but the media only has Ethernet manual, and I can't use the LAN. Is there a way to ...
1
vote
2answers
92 views

Why can't I modify OpenBSD securelevel?

I just installed an OpenBSD. I edited "vi /etc/rc.securelevel" and set the securelevel from 1 to 0. Saved the file, then rebooted. But after the reboot the sysctl states the securelevel is still 1. ...
5
votes
1answer
110 views

How to install an old version of OpenBSD inside VirtualBox?

I'm reading an old Phrack article and I would like to install OpenBSD 3.0 inside VirtualBox. I remember installing this very version using actual physical floppy disks in 2001, but nowadays I don't ...
1
vote
2answers
139 views

On OpenBSD, how do I recompile OpenSSL with md2 support?

I searched but couldn't find any similar questions. I need to recompile OpenSSL with md2 support so that I can compile and install libpki. I can't for the life of me figure out how recompiling OpenSSL ...
2
votes
1answer
149 views

Kickstarter-like solution for OpenBSD?

Are there any solutions for OpenBSD to just: Insert the custom installer CD, press enter (like: "are you sure?" - message), then the installer automatically partitions the disk/installs OpenBSD, and ...
1
vote
1answer
34 views

OpenBSD AnonCVS find out which “tree” I am using

I am pretty much of a newb when it comes to OpenBSD. And I know the FAQ suggests to prefer the pkg_tools over using the ports tree if you are not so experienced with the package system. But anyhow, I ...
0
votes
2answers
277 views

How to apply a patch in OpenBSD?

I have comp54.tgz installed. # cd /root && ftp http://ftp.openbsd.org/pub/OpenBSD/`uname -r`/src.tar.gz && tar -xzf /root/src.tar.gz -C /usr/src # uname -r 5.4 # pwd /usr/src # ls -la ...
0
votes
1answer
466 views

How should I configure /etc/host.allow on OpenBSD to only allow given IP's?

I have an OpenBSD 5.1 box that is running a static html based website. I have a list of IP addresses that I want to allow, ex.: ... 78.128.49.0/24 78.128.50.0/24 ... It's a ~10 KByte. ~10 000 ...
2
votes
1answer
93 views

How to modify the default “Index of” page in OpenBSD 5.3 httpd

Using the old apache: # grep -i httpd /etc/rc.conf httpd_flags="-DSSL" # grep -i nginx /etc/rc.conf nginx_flags=NO # How can I modify the custom "Index of" page? Question: The only problem ...
3
votes
2answers
365 views

How to mount an OpenBSD hard disk image on Linux?

First, I'll start by explaining how I got my problem, this will help me get across what I need. A few months ago, my laptop hard disk broke. I had no quick replacement, but I needed that laptop the ...
2
votes
1answer
62 views

Can pf be used to modify HTTP Headers and Contents?

I'm looking at options to replace my router with something that offers me more options for content filtering and also content modification. One of the things that I want to do is to modify HTTP ...
1
vote
1answer
32 views

Are there GPG-signed OpenBSD ISOs with which I can verify an installation disc?

Are there GPG-signed OpenBSD ISOs that I can download and later verify the downloaded file? Or at least a GPG-signed shasum?
0
votes
2answers
258 views

PF and types of NAT(Network Address Translation)

As you know, at least 3 types of NAT are used. Of course i need to two types of them.DNAT and SNAT. DNAT : hiding server behind NAT, SNAT : hiding your client behind NAT. Question: I read a quick ...
0
votes
3answers
144 views

BSD browser information

I am developing an application and I need some BSD browser information. Specifically the output of http://browserspy.dk/browser.php If someone could post the output of Firefox on FreeBSD. OpenBSD ...
13
votes
3answers
6k views

How should one set up full-disk encryption on OpenBSD?

Is there a preferred method to set up full-disk encryption under OpenBSD, similar to dm-crypt under Linux? I'm looking for full-disk encryption, as if someone were to steal my notebook they could ...
3
votes
1answer
208 views

How can I peek at the output of a running crontab task on OpenBSD?

I have an hourly hour-long crontab task running with some mtr (traceroute) output every 10 minutes (that is going to go for over an hour prior to it being emailed back to me), and I want to see the ...
1
vote
1answer
108 views

OpenBSD with adsuck: nslookup works, other applications not

(The problem that nslookup works but other applications can't resolve name is asked very often, mainly for windows. I read a lot of these answers but none of them was applicable.) I use OpenBSD with ...
1
vote
0answers
117 views

How do I stop charging the battery way prior to 100% in OpenBSD?

I'm thinking about using a netbook as an OpenBSD server. I'd like it to have UPS -- so the integrated battery is quite useful. However, I'm very familiar with the batteries going dead very quickly ...
1
vote
0answers
138 views

VPN piggybacked on two mobile phone wifi hotspots

I cannot get 1Gbps at home, so instead of wasting money on slow landline internet with extra traffic limits and ridiculous overage fees, only to wait in the console until my stuff downloads/uploads, ...
0
votes
1answer
110 views

openbsd: why quirks-1.87 was installed all of a sudden?

I was trying to install mysql on OpenBSD; instead, somehow quirks-1.87 was installed, whereas mysql was claimed to not be found. Why? opti# setenv PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/`uname ...
2
votes
0answers
32 views

What does “link#1” mean?

netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default 75.126.68.49 UGS 7 1203 - pcn0 ...
0
votes
1answer
357 views

How to enable CGI in OpenBSD?

I installed an OpenBSD 5.3 in Virtualbox. Webserver is apache: httpd_flags="" in rc.conf. httpd.conf # cat /var/www/conf/httpd.conf ...
1
vote
1answer
73 views

What is “Charlie &” in the gecos field on OpenBSD for root?

Question: what is "Charlie &" for the root user? I didn't gave "Charlie &" for gecos field, I think I didn't gave any at all. ps.: the "/sbin/nologin" doesn't matters, I just tested ...