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

learn more… | top users | synonyms

4
votes
2answers
1k 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 ...
3
votes
1answer
742 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 ...
1
vote
1answer
25 views

OpenBSD cannot find host names

I have a openBSD instance under vultr. I installed OpenBSD 5.8 and I can ssh into it just fine. But I cant seem to be able to use pkg_add, ftp, ping or any other internet dependent program. For ...
0
votes
0answers
32 views

Need help with the webserver by OpenBSD 5.8 'httpd'

The configuration is as documented here but when I move my index.html to /var/www/htdocs/index.html my browser finds nothing! It always jumps to www.example.com/cgi-bin/bgplg! The httpd webserver ...
2
votes
1answer
2k 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 ...
0
votes
1answer
20 views

I have 5 IP addresses and use opensmtpd as the mail server on Debian 8.3. The mail server uses the main IP as standard

I have 8 IP addresses on my RootServer, and use OpenSMTPD as the mail server on Debian 8.3. The mail server uses the main IP as standard Ip. How can I tell the mail server www.OpenSMTPD.org to use a ...
1
vote
0answers
13 views

HTTP proxy in OpenBSD 5.8 (replacing Apache ProxyPass)

I'm trying to replace Apache with OpenBSDs httpd but can't figure out what to do with my ProxyPass statements. In apaches conf it looks like this ProxyPass /someurl ...
1
vote
0answers
23 views

Setting up IPSEC on LAN between two hosts (OpenBSD)

I originally asked this on ServerFault, but got nothing. Hoping there are some OpenBSD experts here Trying to use IPSEC between two hosts on a LAN. No VPN involved Using OpenBSD 5.8 (in VirtualBox). ...
0
votes
0answers
25 views

I use OpenSMTPD on OpenBSD 5.8! How can I automatically encrypt E-mail with OpenSMTPD

How can I automatically encrypt all outgoing E mail? My scenario: I use XXXX@gmail.com as my relay for all Emails my OpenSMTPD Server forwards All Emails to me as well as all Emails from somewhere to ...
0
votes
0answers
21 views

I have a stable release with OpenBSD 5.8 built. I'd like to upgrade OpenBSD 5.8 now on stable!

The new kernel bsd I just copy with scp on the root server /bsd. scp /usr/rel/bsd base58.tgz man58.tgz vim@10.10.10.10:/ && ssh -l vim 10.10.10.10 && cd / && tar -xzvphf ...
1
vote
1answer
35 views

alias su='su -' in .kshrc

I'm on OpenBSD 5.8, new to ksh and I put the string alias su='su -' in my .kshrc file as the only line. After logging in via ssh alias su gives me su alias not found and $(cat .kshrc) ...
3
votes
1answer
76 views

OpenBSD- ignoring a particular keypress

I am using a Lenovo Yoga and the screen always sends out some "keystrokes" to indicate its orientation or simply being open, I don't know. On Linux, I could ignore those keystrokes with setkeycodes ...
1
vote
0answers
29 views

Fatal IO error 35 - X problem

I have a problem with running X on my OpenBSD 5.8. Hardware is Lenovo m57 USFF with Core 2 Duo and Intel GMA3100 graphic. machdep.allowaperature is set to 2 I can run X without problems, but for ...
2
votes
1answer
790 views

LDAP Authentication on OpenBSD

I'm trying to get an OpenBSD server to authenticate users using the same LDAP server the rest of my home network uses. While 'getent password' lists the users from the LDAP server as expected, I ...
1
vote
1answer
44 views

Kill process on specific port

It has been asked before but how to do it with OpenBSD? I tried some different method but none worked. $ sudo fuser -k 80/tcp fuser: 80/tcp: No such file or directory $ kill $(sudo lsof -t -i:80) ...
1
vote
2answers
53 views

Is it possible to upgrade OpenBSD over a network?

I have an OpenBSD 5.5 system that I once had physical access to and I was able to plug in a monitor to upgrade from 5.0 to 5.5. Now it is installed in a location away from my residence in a spot ...
1
vote
2answers
34 views

OpenBSD: is safe to delete /usr/src?

After I successfully upgraded OpenBSD, I wanted to upgrade my sources. I want to know, is it safer to delete /usr/src and then extract src.tar.gz, or is it better to preserve the already existing ...
1
vote
1answer
73 views

How do you configure the mail command to read Maildir instead of the default mbox on OpenBSD?

By default the mail command on OpenBSD seems to read from mbox files. I configured smtpd to ... deliver to mbox and I was able to read newly delivered mail using the mail command. I want to switch to ...
1
vote
1answer
759 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 ...
1
vote
0answers
38 views

User creation during authentication

I'm working with OpenBSD 5.6 and the goal is that I need to create user when he or she tries to authenticate with specific password. I've written a script for this purpose and everything goes ok but ...
1
vote
1answer
50 views

Configuring OpenBSD's PF as a router

I am running OpenBSD 4.4, I copied the template from https://markshroyer.com/guides/router/ch07.html for /etc/pf.conf and edited it to match my network. When I start it I get syntax errors on only ...
1
vote
1answer
81 views

How to install pkg_add in a fresh OpenBSD 5.8 installation?

I installed OpenBSD into a Virtualbox using the install58.iso and installing all sets. Now I want to install more packages via pkg_add which is not in the users nor roots path. How do I get pkg_add? ...
1
vote
1answer
175 views

How to run VirtualBox on OpenBSD?

I'm trying to find a way to run VirtualBox on an OpenBSD host. I know there is a port for FreeBSD. I also know there is a Linux compatibility layer in OpenBSD. Would this Linux compatability feature ...
10
votes
9answers
12k views

How to apply updates on OpenBSD, NetBSD, and FreeBSD?

I'm using OpenBSD for quite a while now. All I do, however is go from one release to the next, always just doing an update. I configured the system so it works as my router and firewall, and it works ...
0
votes
1answer
525 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 ...
4
votes
1answer
508 views

How to check downloaded package on OpenBSD 5.1?

Under linux there is a package called "ubuntu-keyring" - it's for checking that the downloaded packages (from the offical repositories) are the ones that are on the server. How can I do this under ...
0
votes
2answers
394 views

Convert .fnt to .ttf?

In FreeBSD's /usr/share/syscons/fonts one finds the syscons-fonts in .fnt-format. Is there a way to convert them to .ttf format?
2
votes
1answer
777 views

Why I can't unpack .tar.bz2 or .tar.xz files?

I'm having a problem unpacking files when I try to build from source on my OpenBSD First I thought it was just corrupted files but after it happened to many different programs and from different ...
3
votes
1answer
41 views

OpenBSD: Move directories larger than X to new directory

I'm accessing OpenBSD via SSH and I'm wanting to create a command to find directories larger than 20MB and copy them to a new directory, keeping all folder structure. So far I have this: find ...
2
votes
1answer
57 views

Git “write failed, file system is full fatal: unable to write new_index file”

I am running OpenBSD 5.7 and am modifying the kernel for a university assignment. It's running in a virtual machine. I cloned the repository into '/usr/src' and started to modify 1 file. I went $ ...
3
votes
1answer
60 views

Looking for help with the new rtwn(4) driver for OpenBSD

EDIT 1: Patch from the mailing list I got in touch with the original poster about the card, and he gave me a patch to try out. I will apply it, recompile the kernel, and report my findings. If it ...
1
vote
0answers
46 views

Archive of old OpenBSD snapshots

Sometimes when you install a new OpenBSD snapshot, something is broken and you want to return to a previous snapshot. If you are lucky there is still a mirror who hasn't synced to the latest version. ...
3
votes
2answers
90 views

Is it possible to store user's crontab in user's git repository on OpenBSD?

On OpenBSD and with OpenBSD's cron and crontab, is it possible to store the crontab(5) of a user in a git repository of the same user? What would be the proper way to accomplish something like this? ...
1
vote
1answer
52 views

How to use accent keys with US keyboard on OpenBSD 5.7?

I have a machine running OpenBSD 5.7. The keyboard is a standard US 101 keys keyboard. /etc/kbdtype is set to us. I'd like to use dead keys (ie. pressing ' and a should yield an a with an acute ...
1
vote
1answer
201 views

Can I install FreeBSD, OpenBSD, NetBSD and DragonFly on one disc?

Is it possible to install all of FreeBSD, OpenBSD, NetBSD and DragonFly BSD on a single disc? What would be the proper procedure for success, and what are the caveats?
4
votes
1answer
78 views

How do I set a wireless static IP address on an OpenBSD 5.7 laptop?

I have a typical laptop situation. When I'm at my desk, I want to be hooked up to the network via ethernet, and when I want to sit on the back deck, I'd like to be on wireless. I have ethernet setup ...
0
votes
1answer
180 views

How to check my DNS chain?

I want to use DNSCrypt to encrypt all my DNS packets, so I tried to do this: on /etc/rc.local : /usr/local/sbin/dnscrypt-proxy -a 127.0.0.1:40 -u _dnscrypt-proxy -d -l /dev/null -R ...
2
votes
0answers
95 views

KeePass on OpenBSD and libpng error

I am trying to run KeePass on OpenBSD. I installed Mono from packages and downloaded KeePass-2.30-portable. Unforunately I can't start KeePass because of this errors: SendMessage (27263013, 0x112c, ...
0
votes
1answer
219 views

Unable to mount USB flash drive on OpenBSD

My machine on which was installed OpenBSD 5.7-stable, was booted up with my USB 2.0 flash drive plugged into a USB 2.0 port. I logged in as root, opened up a terminal and typed: mount /dev/sd1i ...
2
votes
2answers
73 views

How to duplicate a daemon?

I want to run two instances of dnscrypt client proxies, but I'm having trouble making them automatically start at boot. Here is what I tried: In rc.local, this is the first: ...
3
votes
1answer
90 views

Where are SSH init scripts located?

I'm following the best security practices of SSH, via this link and the link states: We should remove the unused keys and only generate a large RSA key and an Ed25519 key. Your init scripts may ...
0
votes
1answer
55 views

Remove/Uninstall desktop environment from second user account on OpenBSD

During the installation process of OpenBSD 5.7, I created a user account, user1, belonging to wheel group. Subsequently I installed a desktop environment after logging into my user account. This ...
3
votes
0answers
48 views

Reading GPG passphrase from the physical keyboard in OpenBSD

I'm using Synergy to control an OpenBSD desktop from a Linux computer (think of it like a VNC client/server). That is to say what I type on the keyboard goes through a network connection before it ...
1
vote
0answers
91 views

Unable to surf internet with VPN on OpenBSD

I am using OpenBSD 5.7-amd64 with the latest patches applied. I downloaded and installed OpenVPN (package version: openvpn-2.3.6.tgz) available for OpenBSD 5.7 using the following command: sudo ...
1
vote
1answer
102 views

Need to remove a line in fstab on OpenBSD

I thought it would be easier for me to mount flash drives automatically if I did the following to fstab: /dev/sd1i /mnt/usb (sd1i is found from sysctl hw.disknames) I rebooted the box with the USB ...
2
votes
1answer
2k views

Gnome desktop environment: how to get it working on OpenBSD?

I have OpenBSD 5.7-amd64 installed and patched with all the latest available fixes. I would like to have a minimal Gnome desktop environment and I did the following to my user account (not root ...
1
vote
0answers
236 views

Can not divert packet to pf when configure transparent squid 3.4.13 on OpenBSD 5.7

I am trying to build transparent proxy with squid on OpenBSD 5.7 with pf firewall. I compile squid from sources with options: $ squid -v Squid Cache: Version **3.4.13** configure options: ...
0
votes
0answers
89 views

How to disable HTTP TRACE on OpenBSD 5.3?

An nmap scan gaved this: 443/tcp open ssl/http Apache httpd | http-methods: GET HEAD OPTIONS TRACE | Potentially risky methods: TRACE |_See http://nmap.org/nsedoc/scripts/http-methods.html so ...
1
vote
2answers
178 views

Chromium User Agent String on FreeBSD or OpenBSD

I'm in need of a recent Chromium user agent string from a FreeBSD or OpenBSD desktop with the default user agent string. I can only find Chrome useragent strings but no mention of Chromium. Other ...
0
votes
2answers
738 views

USB not working in OpenBSD 5.6 installer

I'm trying to install OpenBSD 5.6 amd64 on my 2012 Mac mini (quad-core Intel i7), but USB stops working partway through the boot sequence, as evidenced by my lighted keyboard going dark. Without a ...