Questions tagged [openbsd]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
147 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
401 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
566 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
772 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
283 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
231 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
1answer
89 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
459 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
320 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
185 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
718 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
248 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
2k 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
897 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
1k 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
442 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
294 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
347 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
251 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
3k 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
99 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
194 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/...
2
votes
1answer
89 views

Is there any database solution that can do master-master replication by default on OpenBSD?

There are many "built-in" softwares for OpenBSD, ex.: NTP, LDAP, RADIUS, etc., see all (?): https://github.com/openbsd/src/blob/master/etc/rc.conf in the rc.conf file. The question: Currently, ...
2
votes
1answer
2k views

“doas” allow user to run command with other user and set environment variables

There are two normal users on my OpenBSD machine ("user" and "TESTUSER") and I have this doas config: # cat /etc/doas.conf ...
0
votes
1answer
2k views

“Error: Can't open display: :0” - running GUI apps as another user

Installed OpenBSD with all the sets and using the default FVWM2. I log in to FVWM2, open xterm: $ echo $DISPLAY :0 $ And "su -" to root and create a normal user: useradd -m TESTUSER ok! Now I: ...
17
votes
3answers
1k views

What is OpenBSD's pledge in short?

Can someone please describe, for a non-programmer, but IT person, what is pledge? Ex.: there is a program, ex.: "xterm". How can pledge make it more secure? It pledge inside the programs code, or ...
1
vote
2answers
261 views

How to create Windows XP styled fvwmrc file?

How to create Windows XP styled fvwmrc file? Installed OpenBSD, it default uses FVWM2. Does anyone has an rc file, that could make FVWM2 Windows XP styled? :)
1
vote
1answer
58 views

What does cpg mean during OpenBSD install at disk partition?

What does cpg mean during OpenBSD install at disk partition?
2
votes
3answers
916 views

How to follow OpenBSD current?

We want to try out OpenBSD on desktop, but using the -current flavor: https://www.openbsd.org/faq/faq5.html#Flavors -current: The -current branch is where active development work is done. Every six ...
5
votes
3answers
5k views

List all connected devices in OpenBSD

How do I list all connected (including unmounted) devices on OpenBSD? I'm looking for something similar to lsblk for Linux or camcontrol devlist for FreeBSD: # List devices on FreeBSD $ ...
0
votes
1answer
2k views

Why doesn't xenodm starts the X Window System by default in OpenBSD? [duplicate]

During OpenBSD 6.2 install: Do you want the X Windows System to be started by xenodm(1) [no]? And the default answer is "no". Why does it brings it up, if the default is no? The question: But why ...
0
votes
1answer
193 views

OpenBSD - isolation on Desktop application level

Which usable method is preferred as application isolation on OpenBSD? Running GUI apps with different users? Different for the webbrowser, torrent client, PDF viewer, etc. chroot? - https://www.ibm....
0
votes
1answer
243 views

IPFS on OpenBSD

How can I install IPFS on OpenBSD? https://ipfs.io/ https://en.wikipedia.org/wiki/InterPlanetary_File_System InterPlanetary File System (IPFS) is a protocol designed to create a permanent and ...
1
vote
1answer
860 views

How to copy files from android device to OpenBSD

Here is what dmesg | tail shows after I connect my android phone to the USB port (the last three lines show up when I turn on USB tethering on the android device): # dmesg | tail vscsi0 at root ...
3
votes
1answer
426 views

What does *.* stand for in “Local Address” of a netstat result?

when I do the following netstat : $ netstat -nap udp -f inet Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) udp ...
1
vote
0answers
266 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/...
0
votes
1answer
698 views

OpenBSD /dev/sd0k unexpected inconsistency - bad super block

i got a big problem when i try to boot my VMware OpenBSD 5.7 i got this : I can see all my data making : cat /root/mydata they have nothing important for me into sd0k (/home) i've try fsck etc, the ...
1
vote
1answer
342 views

How to clear keyboard buffer in ksh?

I'm writing a Korn shell script, and it will read input from the user. I would like to clear the keyboard buffer before calling the "read" command, so that the user doesn't cause problems by ...
5
votes
4answers
1k views

Move files between Linux and OpenBSD and keep file properties

I would like to move/share some files between Linux and OpenBSD. What would be an easy and simple way to achieve this? These are the solutions I have found so far and why I am not fully convinced: ...
1
vote
1answer
846 views

How to send mail via console on OpenBSD using a Gmail account?

There is a certificate error: # echo "hello" | msmtp -a default DESTINATION@gmail.com msmtp: TLS certificate verification failed: unable to get local issuer certificate msmtp: could not send mail (...
0
votes
2answers
1k views

Enable history for shell [closed]

When I start bash or any other shell, it has no history. Do you have any idea what I can do about it? I'm trying to use the upwards arrow and it has no effect if I start a new shell with OpenBSD or ...
1
vote
1answer
109 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:...
1
vote
1answer
2k views

OpenBSD relayd SSL reverse proxy for 3 web servers

I run virtual servers behind a firewall on three different machines (each machine servers different domains, it is NOT A CLUSTER). To renew Let's Encrypt certificates automatically I need the proxy to ...
0
votes
1answer
280 views

CARP Interface Doesn't Respond to Traffic

I have two OpenBSD boxes on running as Gen1 VMs on Hyper-V 2016; the VMs are split across two Hyper-V hosts. The NICs associated with the CARP pseudo interface do have MAC address spoofing enabled; ...
3
votes
1answer
132 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, ...
1
vote
1answer
340 views

Used to FreeBSD, want to learn on OpenBSD, what are the main differences I should expect in learning? [closed]

I'm going to be getting into BSD at some point very soon. I'm not that experienced on *nix - enough to figure out basic use on FreeBSD and to look forward to teaching myself more. I started a few ...
9
votes
2answers
595 views

OpenBSD: Defining a new loopback interface

I need one more loopback interface in my OpenBSD 6.1, with the IP address 127.0.0.2. I can create it by hand with the command: ifconfig lo1 127.0.0.2 And to have it at boot time, I just inserted ...
1
vote
1answer
266 views

Graph gateway in/out traffic per client

tl;dr: Suppose I have a list of LAN clients (ip/macaddress/name); how would I best go about graphing the traffic going in/out of my OpenBSD 6.1 gateway? In my network everything going in/out of it ...
3
votes
2answers
3k views

How to change OpenBSD mirror

I need to change the mirror I am using in my OpenBSD 6.1 installation according to this question: OpenBSD 6.1 not updating Right now, I am using ftp.OpenBSD.org and I need to change it to ftp.eu....