Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openbsd]

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

0
votes
1answer
54 views

pf not stopping bruteforce attempts

I am setting up an SFTP server for me and my friends and I am trying to stop brute force attempts. I have read many articles on how to get pf to stop brute force attacks and am not having any luck. ...
1
vote
1answer
39 views

Dvorak Programmer Layout with OpenBSD

I've recently installed OpenBSD. When installing the OS I selected the normal Dvorak layout as the Dvorak Programmer wasn't present on the list. After the install I wanted to change the layout with ...
0
votes
2answers
177 views

How to find why php72_fpm is failing to start on OpenBSD?

My httpd logs show errors that look like php-fpm issues and sure enough, when I try rcctl start php72_fpm I get php72_fpm(failed) In line with other OpenBSD configuration so far, I'd expect to ...
1
vote
1answer
51 views

debugging a statement in a Makefile on OpenBSD

It is not clear to me, where the error comes from, the Makefile code follows: platform_id = $$( uname -s ) platform = $$( \ case $(platform_id) in \ Linux | FreeBSD | OpenBSD | NetBSD ) ...
1
vote
0answers
41 views

OpenBSD threads priorities

Can anybody explain how to work with thread priorities in OpenBSD? Information about this question in MAN pages is poor, it does not give clear understanding. In particular: sched_get_priority_min/...
2
votes
1answer
129 views

OpenBSD - How does one set an alias?

I am running the latest OpenBSD and I cannot figure out how to set a simple alias, something along the lines of cls=clear. I've tried putting it in ~/.cshrc and in ~/.profile. I've tried: alias cls ...
0
votes
0answers
81 views

OpenBSD relayd failing in redirection mode

Attempting to run relayd in redirection mode on a router - sending TLS connection to two web servers in a round robin configuration. TLS connection attempts - just get a TCP Reset packet returned. ...
1
vote
0answers
176 views

Connect external DAC / sound card in OpenBSD

I am trying to connect a Focusrite Scarlett 2i4 USB DAC to my OpenBSD system to use as an external sound card. From what I have figured out so far, it seems that I need to tell some program or other ...
1
vote
1answer
164 views

OpenBSD redirect HTTPS by doman with relayd or pf

I have one machine with multiple domains and I'm trying to run multiple HTTPS web servers on it. All web servers have https support so I just need to redirect incoming packets to appropriate port (...
0
votes
0answers
70 views

OpenBSD relay, https proxy for multiple domains

I'm trying to make a proxy for 3 web servers (running on the same machine as the proxy). A have successfully configured relayd to redirect a request to correct port by their host header, but I cannot ...
0
votes
0answers
39 views

HTTPS over direct Ethernet connection very slow

Very often I have to connect via a direct Ehternet connection from my Linux machine to network appliances that run OpenBSD. While SSH is always fast and as reliable as you would expect, HTTPS ...
0
votes
0answers
88 views

install vips library in openbsd

On OpenBSD, I need to install sharp, which require the vips library. When I use a prebaked vips tarball, <stephane@bandersnatch.22decembre.eu:/usr/local/src/libvips/vips-8.7.0> ./configure ...
1
vote
2answers
58 views

Why is DHCPD offering wrong lease times?

I have DHCPD on OpenBSD 5.8 running and experiencing a weird issue. I set the lease time as follows in /etc/dhcpd.conf: max-lease-time 7200; default-lease-time 7200; This should be 2 hours. When I ...
0
votes
1answer
74 views

XMonad error: xmonad-x86_64-openbsd: executeFile: Permission Denied

I'm running openbsd-6.3 with xmonad-0.13, I've tried using chmod -R +x on the .xmonad directory but when I use startx I get the error in the title. The xmonad.hs file also compiles with no warnings, ...
2
votes
1answer
215 views

How to change TCP congestion control algorithm on OpenBSD?

On FreeBSD, I can change the TCP congestion control algorithm via net.inet.tcp.cc.algorithm. On OpenBSD, there is no net.inet.tcp.cc.algorithm parameter. So, here is the question: How to change TCP ...
1
vote
0answers
46 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 ...
1
vote
0answers
117 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 ...
3
votes
4answers
310 views

Delay termination of script

I have a script like this (written for /bin/sh on OpenBSD) which first updates a local copy of some CVS repositories using rsync, and then updates the checked-out version of these on my machine. The ...
0
votes
0answers
114 views

OpenBSD not accessible through SSH without GPU

I'm new to BSD and installed OpenBSD 6.3 to a test server for education purposes. It's going to be a dedicated firewall eventually. During installation I used a graphics card to connect my monitor. ...
-1
votes
1answer
96 views

Can't Get Necromancer (OpenBSD VM) to connect to the network [closed]

I started playing Necromancer from Vulnhub (CTF). It was working just fine. I set the network adapter to bridged mode and I was able to capture every flag up to the point where I had to exploit SNMP. ...
1
vote
0answers
81 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 ...
0
votes
1answer
127 views

Dual boot OpenBSD with Mint

I want to dual boot mint with OpenBSD. I tried using the instructions here https://www.openbsd.org/faq/faq4.html but it doesn't seem to be working when using a live USB (using the amd64 download ...
2
votes
3answers
152 views

Why isn't there a /usr/include/GL directory on OpenBSD?

I have just recently made the switched for Linux to OpenBSD. So far, I am really liking the philosophy of including the bare minimum needed to run the system, and the emphasis for clean and simple ...
2
votes
1answer
143 views

How to install Xfce from tarball (source code) in OpenBSD without internet access?

I downloaded the Xfce tar.bz2 tarball file and I want to install Xfce. I can't install from the internet because of problems with my connection to the Internet. Who can help me to install Xfce from ...
0
votes
0answers
63 views

Wifi Applet for Lumina

I am tring to use Lumina in OpenBSD 6.3. I would like however to find a suitable wifi applet. I have tried wicd, but it is not exactly what I need. Some sugestions, please?
0
votes
1answer
420 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 ...
0
votes
1answer
91 views

How to complie OpenBSD in src?

Running on OpenBSD, I issue a: git clone https://github.com/openbsd/src.git then how can I compile all the OpenBSD binaries? Is there a "master" make file? I only need the binaries inside the src ...
1
vote
2answers
249 views

Convert a date to UNIX timestamp on OpenBSD

On OpenBSD 6.3 I can see: foo# date Sun Apr 1 17:00:45 CEST 2018 foo# foo# date -d "Sun Apr 1 17:00:45 CEST 2018" +%s 1522594858 foo# date Sun Apr 1 17:00:59 CEST 2018 foo# that "date" doesn't ...
-2
votes
2answers
298 views

How install packages in OpenBSD snapshot?

If I install the ISO from: https://cloudflare.cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/ Then how can I install packages? Or there is no pkg_add method in snapshots? What do I need to do for ...
1
vote
2answers
458 views

Mounting Encrypted Softraid on OpenBSD

The Setup I have a machine that is running OpenBSD, it has two SSDs in it: sd0 and sd1. I've setup each SSD with two partitions a and d. From there I've built two mirrors using bioctl: The first ...
0
votes
2answers
156 views

Stack-register checking

https://marc.info/?l=openbsd-tech&m=152035796722258&w=2 OpenBSD introduced stack-register checking "It is opportunistically enforced by the kernel." -> this means it is optional? "When a ...
0
votes
1answer
157 views

OpenBSD LDAP authentication - ypldap high CPU usage

I have an OpenBSD server with login_ldap, ypldap, ypbind and portmapper is configured according to these guides that I managed to find courtesy of Google. http://obfuscurity.com/2009/08/OpenBSD-as-an-...
0
votes
0answers
143 views

OpenBSD - login_ldap - ypldap - sudo.ldap and handling of remote and local users

I have an OpenBSD server with login_ldap, ypldap, ypbind and portmapper is configured according to these guides that I managed to find courtesy of Google. http://obfuscurity.com/2009/08/OpenBSD-as-an-...
0
votes
1answer
66 views

OpenBSD - run several X servers at a time

I if install an OpenBSD 6.2, how can I run several X servers at a time? Purpose: have 2 "X servers" running Why?: one "X" would be used for general purposes, the other "X" would be used only for ...
2
votes
1answer
332 views

OpenBSD Memory protection mechanisms that are not enabled by default?

Besides the "S" option for malloc.conf and increasing kern.stackgap_random and removing the wxallowed mount option, what else memory-related hardening mechanism are in OpenBSD that can be turned on ...
1
vote
1answer
219 views

Why does Google Chrome need wxallowed option?

OpenBSD has great security mitigations too, ex.: W^X: https://en.wikipedia.org/wiki/W%5EX But, the /usr/local FS needs to have "wxallowed" mount option because of Google Chrome, because it won't ...
2
votes
1answer
111 views

Reverting OpenBSD Install In-Place

What I'm trying to do is revert my VPS running OpenBSD-current (following via binary updates, using snapshots and booting to ramdisk) to OpenBSD-6.2-release. It's not an important system, so if it ...
2
votes
1answer
471 views

Arrow keys in OpenBSD's ksh, command line editing, Vi-mode

I'm using the default ksh on OpenBSD 6.2 (based on pdksh) with Vi command line editing mode enabled. I'm trying to get the arrow keys to work properly as a complement to h, l, j and k (as I'm on a ...
0
votes
1answer
167 views

How to “fully” remove fuse support from OpenBSD?

How can someone remove the fuse support from OpenBSD? Would it require to recompile the kernel? Or just a config modifications or remove some binaries? How?
3
votes
2answers
1k views

How to properly enable httpd with rcctl on OpenBSD so that it starts automatically?

On a OpenBSD machine running OpenBSD 6.2 amd64, httpd cannot be started by using rcctl: # rcctl start httpd httpd(failed) However, when started by just entering httpd, it works; but this is not the ...
11
votes
1answer
2k views

How to mitigate Spectre and Meltdown kernel memory leaking CPU bug on OpenBSD?

Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign and Reading privileged memory with a side-channel In recent news people could read about a kernel memory leaking CPU ...
-2
votes
1answer
581 views

How to install directly from a package *.tgz file in NetBSD, OpenBSD, or FreeBSD

Is there any way to install software from the *.tgz file that is its package, in NetBSD? Or indeed in operating systems with similar package managers such as OpenBSD or FreeBSD? For example, I can ...
6
votes
2answers
842 views

Incorrect UTF-8 accents in vi/vim on OpenBSD 6.2

After a default install of OpenBSD 6.2 with FVWM, I open an xterm on the FVWM GUI, with normal user, create a test file: $ echo 'árvíztűrő tükörfúrógép' > test.txt $ echo 'ÁRVÍZTŰRŐ TÜKÖRFÚRÓGÉP' ...
1
vote
1answer
284 views

Human readable dd in OpenBSD?

# dd if=/dev/zero of=test.img bs=1M 11+0 records in 10+0 records out 10485760 bytes transferred in 0.652 secs (16074433 bytes/sec) # When I see: 16074433 bytes/sec I cannot determine, how much is ...
2
votes
1answer
207 views

I can not change the ciphers in OpenBSD 6.2 in httpd.conf

I can not change the ciphers in OpenBSD 6.2 in httpd.conf tls ciphers "HIGH:!aNULL:!eNULL:!SSLv3:!TLSv1:!DSS:!ECDSA:!RSA:!SHA1:!AES128:!DHE:-ECDH:ECDHE:+SHA384:+SHA256" /etc/httpd.conf:46: ...
0
votes
1answer
217 views

ncurses/diag like menu for console for OpenBSD?

Strictly on the console, so no GUI, how can I create similar on OpenBSD, like as YAST uses for SLES? Cannot find any ncurses or diag packages on OpenBSD ports.
3
votes
1answer
191 views

LibreOffice: soffice/oosplash start permission denied error

Few days after installed OpenBSD, I got the following error: $ libreoffice /usr/local/lib/libreoffice/program/soffice[171]: /usr/...
10
votes
2answers
2k views

OpenBSD: How to follow -current?

This question is similar to this one, but more specific. I have a -stable OpenBSD machine and I want to start following -current. I know about the upgrade procedure from one release to another. How ...
0
votes
1answer
77 views

Real-time fs or file replication for OpenBSD?

(with locking support) How can I have a shared fs with master-master replication, so with real-time sync between them?
0
votes
1answer
132 views

Are there any distributed filesystems in OpenBSD?

Are there any distributed filesystems in OpenBSD? But not firstly from the ports, rather in the base! Maybe found AFS, but there is only client? - https://en.wikipedia.org/wiki/...