Questions tagged [openbsd]

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

103 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
8k 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 /usr/local/share/ghostscript/...
user66229's user avatar
  • 1,103
5 votes
1 answer
2k 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 http://192.168.123.123/...
EVK's user avatar
  • 51
4 votes
1 answer
470 views

How to pass extra options to OpenBSD's EFI boot loader with systemd-boot?

I have an extra systemd-boot entry for OpenBSD. $ cat /boot/loader/entries/bsd.conf title OpenBSD efi /extra/bootx64.efi It works and I manage to get into boot shell, The problem is that by default ...
andreoss's user avatar
4 votes
1 answer
1k views

mDNS on OpenBSD; resolving names in the ".local" domain using the standard resolver

I have a collection of macOS, Ubuntu Linux, and OpenBSD systems. They use mDNS to publish their dynamic IP addresses to the local network, making themselves available under the .local domain name. My ...
Kusalananda's user avatar
  • 335k
4 votes
0 answers
318 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 ...
lorenzog's user avatar
  • 1,413
4 votes
0 answers
349 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 following:...
somelooser28533's user avatar
3 votes
0 answers
1k views

How to install OpenBSD 7.1 on NanoPi R4S using SD card as root disk?

I would like to install OpenBSD 7.1 on the NanoPi R4S (Rockchip RK3399 ARM64 SoC). Following the instructions in INSTALL.arm64, I managed to make the NanoPi R4S boot miniroot71.img. I wrote the ...
Harald Hetzner's user avatar
3 votes
1 answer
161 views

Not seeing packets from internal->external firewall in AWS VPC

I am setting up an AWS VPC with an external/internal firewall to protect the hosts in the DMZ (for Internet->DMZ and DMZ->Internet traffic) and hosts on the local network (for DMZ->Local, Local->DMZ, ...
Albert Chin's user avatar
3 votes
0 answers
823 views

PING error through enc0: Frag needed and DF set (mtu = 0)

I'm up ipsec vpn client to remote host. Since the remote host accepts only one ip i'm up nat for local net on enc0. Ping from ipsec host is ok: PING 172.20.162.150 (172.20.162.150): 56 data bytes 64 ...
Morry's user avatar
  • 31
3 votes
0 answers
1k views

NFSv3, mapping GID across heterogeneous Unix systems

I'm serving /exports/home (home directories) and /exports/pkgsrc (NetBSD's pkgsrc repository) from an OpenBSD NFSv3 server running OpenBSD 6.0-release to an internal network of OpenBSD and Ubuntu 16....
Kusalananda's user avatar
  • 335k
3 votes
0 answers
986 views

Using 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 ...
Nick's user avatar
  • 131
3 votes
1 answer
1k 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 ...
heyhey's user avatar
  • 31
3 votes
0 answers
2k views

DNS resolution problem with OpenBSD

During boot up, messages flashed on my computer screen, among which are the following: DHCPACK from 192.168.200.1 bound to 192.168.200.12----> renewal in 432600 seconds The contents of my /etc/...
user.stackexchange.253690's user avatar
3 votes
0 answers
265 views

VPN piggybacked on two mobile phone Wi-Fi 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, I'...
cnst's user avatar
  • 3,283
3 votes
0 answers
224 views

ral0 malfunctioning

OpenBSD 4.9 using a ral card, RT2560 For some strange reason it stopped functioning, ifconfig ral0 shows all the network information and network active, but no real connection. I keep getting DHCP ...
baweaver's user avatar
  • 354
2 votes
0 answers
342 views

Is it possible to get a resolution greater than 1920x1200 on openbsd in qemu ( virt-manager)?

How to increase screen resolution in openbsd if it possible? It is necessary to have a resolution such as 2k or 4k. Tried virtio, qxl there is even smaller than in VGA, checked the maximum resolution ...
daswer's user avatar
  • 21
2 votes
1 answer
507 views

OpenBSD, relayd and acme-client: Unable to read TLS-certs for subdomains: "Empty reply from server"

OpenBSD server with relayd/httpd/acme-client. Attempting to run https://mydomain.com (app server on port 32489), https://webmail.mydomain.com (48293) and https://forum.mydomain.com (28192). All three ...
Mark Boulder's user avatar
2 votes
0 answers
226 views

Why does OpenBSD consider xterm mouse tracking a security issue?

In the OpenBSD 7.1 release notes: Security improvements: Disabled xterm(1) mouse tracking by default. From the commit: Disable mouse tracking by default. This causes extra control sequences to be ...
Sijmen Mulder's user avatar
2 votes
1 answer
410 views

OpenBSD as VirtualBox guest halts on reboot on Linux host (not on macOS host)

I have an installation of OpenBSD-current running headlessly within VirtualBox 6.1.16 on a headless Ubuntu Linux (Focal) system. Whenever I reboot the virtual machine (issuing the reboot command as ...
Kusalananda's user avatar
  • 335k
2 votes
1 answer
530 views

Touchpad from HP laptop not working on OpenBSD

I have installed OpenBSD 6.8 on a HP laptop. I have also installed xfce4. My problem is that the touchpad of the laptop does not work. Running the following command: dmesg | grep Touchpad the system ...
tudor.a's user avatar
  • 21
2 votes
0 answers
213 views

OpenBSD ipsec routing

I have an OpenBSD VM that I wish to connect to my OpenBSD home router with ipsec. The objective is to have a secure channel between my home network and the VM. So I have the following ike conf' on ...
22decembre's user avatar
2 votes
0 answers
263 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, ...
andrzejdre's user avatar
2 votes
1 answer
945 views

Why isn't my nat-to not applied to the pass out rule?

I've a strange problem concerning NAT on an OpenBSD-Box with pf. I've cut down my pf.conf to the following lines: extif = "pcn0" intif = "pcn1" block drop all #Allow all incoming traffic from intif ...
funkypopcorn's user avatar
2 votes
0 answers
1k 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 ...
cnst's user avatar
  • 3,283
2 votes
0 answers
630 views

OpenBSD X, mouse only scrolls down

I just got a new OpenBSD 4.8 instance up and running with Xfce. The only issue I'm having is that the mouse wheel only ever scrolls down. When I physically scroll up, X scrolls down. When I do scroll ...
Justin's user avatar
  • 201
2 votes
1 answer
876 views

In OpenBSD, what is a service?

I am trying to understand some fundamentals that I had some misunderstandings on, and in looking at OpenBSD I find that I'm not clear what a service is. (Note that I am not referring to web services, ...
Paul's user avatar
  • 507
1 vote
0 answers
96 views

Vagrant OpenBSD Box not starting up through Libvirt Provider

So I have created a OpenBSD 7.3 VM in libvirt with the following shell command. virt-install --name openbsd7.3 --os-variant openbsd7.0 \ --virt-type kvm --vcpus 1,maxvcpus=2 --memory 256,maxmemory=...
prmethus's user avatar
1 vote
1 answer
213 views

OpenBSD: npm install sodium-native, interpret error messages

I am attempting to install sodium native as an npm package on OpenBSD 7.3 amd64. Aside: As a dependency of Hypercore, Hyperbee and Corestore. This needs node-gyp. Following this, I set the C and C++ ...
Lee's user avatar
  • 497
1 vote
0 answers
393 views

OpenBSD 7.2 NanoPi R4S sdmmc0: can't enable card

I am facing the following issue with SD card when trying to install OpenBSD 7.2 on Nanopi R4S (Rockchip RK3399 ARM64 SoC). The same problem as previously described on OpenBSD 7.1 here. sdmmc0: can't ...
Krakonoš's user avatar
1 vote
0 answers
164 views

How to configure OpenBSD for multiple X Window sessions of different users?

I want to configure an OpenBSD (7.2 amd64) system to support multiple users logged in and each having separate X Window sessions, but being able to easily switch whose session is on the terminal. ...
Kyle Markley's user avatar
1 vote
0 answers
511 views

OpenBSD boot color

Is there a way to set the OpenBSD console foreground/background color? With the wscons configuration, I can only modify the kernel colors: option WS_KERNEL_FG = WSCOL_XXX option WS_KERNEL_BG = ...
user471916's user avatar
1 vote
1 answer
166 views

What is the canonical way to have wifi devices reconnect?

On openbsd6.7 I was able to get the urtwn driver to work easily, by setting up a /etc/hostname.urtwn0. I can connect to different APs defined by separate join statements. However, when I suspend/...
Björn Gohla's user avatar
1 vote
0 answers
635 views

Mail sent with mutt is not dkim signed

On OpenBSD 6.6 I'm sending mail with mutt and it isn't being DKIM signed. I am new to OpenBSD, mutt, and rspamd, so any help much appreciated. $ cat ~/.muttrc set editor = nano set pager = lynx set ...
Paul's user avatar
  • 507
1 vote
0 answers
401 views

polkit on OpenBSD

I use xfce which came with a polkit action org.xfce.thunar.policy in /usr/local/share/polkit-1/actions/. This action allow to run thunar as root if you can give the root password. On debian with ...
ctac_'s user avatar
  • 1,960
1 vote
0 answers
1k views

Running OpenBSD 6.5; "rcctl start xenodm" does not start Xwindows, it returns "xenodm(ok)"

I installed gnome today on OpenBSD 6.5. Since we no longer use startx, I did rcctl enable xenodm. There were no errors. Then I did rcctl start xenodm. The only response was one line of text: xenodm(ok)...
John R. Woodward's user avatar
1 vote
1 answer
297 views

Verification of packages in a local mirror

Packages for several BSD and Linux operating systems / distributions are downloaded over a potentially insecure connecting or are later on replaced with a malicious version on the local disk. The ...
user6756's user avatar
1 vote
0 answers
150 views

Why does ^C on netcat client close the server whereas ^C on server doesn't close the client?

I tested on Ubuntu 18.04 LTS the venerable netcat. The netcat comes from OpenBSD: $ dpkg -l|grep netcat ii netcat-openbsd 1.187-1 amd64 ...
juhist's user avatar
  • 182
1 vote
1 answer
453 views

OpenBSD not replying to ARP requests

I am setting up an OpenBSD system as a router, I have one interface as the upstream, then another with a vlan configured: Upstream(em0): inet 10.0.2.20 255.255.255.0 NONE description upstream ...
Michael Jones's user avatar
1 vote
0 answers
246 views

How do I connect to the internet with 3g usb modem (mobile broadband connection) in OpenBSD?

In order to install the GUI in OpenBSD! I know how to connect to wifi but now I have only 3g-usb-modem Huawei E171 and I don`t know how to connect to the internet via 3g-usb-modem in OpenBSD ! How can ...
William Parker's user avatar
1 vote
1 answer
2k views

After OpenBSD login, mouse and keyboard do not work

I just installed OpenBSD 6.3 on a Dell Optiplex G620 with 4 gigs of RAM, a USB keyboard and a USB mouse. The keyboard and mouse work until I log in. When the X Windows screen comes up, I get a ...
John R. Woodward's user avatar
1 vote
0 answers
484 views

Programmes crashing in OpenBSD 6.1

I run OpenBSD 6.1 and some programmes like thunar and firefox keep crashing randomly. Not all programms crash, however. I ran memtest, I increased datasize-max and datasize-cur both to 2048M in /etc/...
spacelander's user avatar
1 vote
1 answer
264 views

Why do I see two lines in fstat for the same socket/port?

Seen on OpenBSD 6.1: When i do a fstat | grep internet on my openbsd server (192.168.102.128), I have the following result : jrx sshd 87949 3* internet stream tcp 0x0 192.168.102.128:...
Jérôme Radix's user avatar
1 vote
1 answer
187 views

Building dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current

Is it possible to build dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current? See The Mason Book and the introduction to OpenBSD's httpd.
Vim's user avatar
  • 229
1 vote
1 answer
1k views

Barnyard 2 install failing on OpenBSD

I'm new to OpenBSD, but I'm having issues with getting Barnyard to install after running the make command. I've ran ./configure and ./configure --with-mysql and both end up with the same error when ...
Nixphoe's user avatar
  • 205
1 vote
0 answers
653 views

Is it possible? Three OpenBSD 6.0-current firewall bridges with only one OpenBSD Server?

Is it possible to configure several firewall bridges with one OpenBSD server which has 6 nic's. In this case 3 OpenBSD firewall bridges from each other completely independent? cat /etc/sysctl.conf ...
Vim's user avatar
  • 229
1 vote
1 answer
538 views

Connect to commercial VPN on OpenBSD 5.9

I recently installed OpenBSD 5.9 and I'm trying to get it functional enough to use as a replacement for Debian. One thing where I hit a brick wall is connecting to my VPN. I use a commercial VPN which ...
voyager's user avatar
  • 11
1 vote
0 answers
848 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). ...
Neil McGuigan's user avatar
1 vote
0 answers
72 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 ...
v.suragin's user avatar
1 vote
1 answer
762 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 accent....
Vitor Py's user avatar
  • 1,912
1 vote
0 answers
634 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 ...
virvegto's user avatar