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

learn more… | top users | synonyms

3
votes
1answer
29 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 ...
1
vote
0answers
38 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
45 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
1answer
140 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 though it was just corrupted files but after it happened to many different programs and from different ...
3
votes
1answer
62 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
2answers
95 views

Convert fnt to ttf?

Is there a way to convert the .fnt-files from from /usr/share/syscons/fonts to .ttf?
0
votes
1answer
27 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 ...
2
votes
2answers
39 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: ...
0
votes
0answers
42 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
21 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 ...
1
vote
1answer
224 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
67 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: ...
1
vote
2answers
30 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
1answer
55 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 ...
1
vote
1answer
380 views

Why can't I use sudo on OpenBSD?

I'm running OpenBSD 5.7 on VirtualBox on my Windows 7, to learn more about Unix, but I can't use sudo with my password. I've set up a user called adminvpn but when I try to run any command using sudo ...
1
vote
0answers
34 views

openbsd: mpls provider doesn't forward packets

Can anybody help me with next question: I am trying to get mpls test network up like in http://lteo.net/blog/2013/09/03/a-small-mpls-test-network-built-with-openbsd/ or ...
1
vote
1answer
76 views

chroot cannot find cgi file

I am unable to serve or execute a cgi file, and the cause seems to be that chroot is unable to find the cgi file when the permission is set to executable. $>ls -l /var/www/my/dir/test.cgi ...
1
vote
1answer
52 views

Available console solution for a physical machine running OpenBSD?

If we have a physical server running OpenBSD, what are the available remote console solutions for it? Are there any unique methods because it's an OpenBSD? Console of course means if there is no ...
1
vote
1answer
39 views

How do I run inetd at startup on OpenBSD?

I am trying to backup my Synology NAS to my old NAS. The old NAS has to be an rsync compatible server (according to Synology), and the original OS didn't support it. Fortunately OpenBSD supports my ...
2
votes
0answers
29 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
2answers
543 views

Creating a bootable OpenBSD Flashdrive

I've attempted to do dd if=install57.iso of=/dev/sdb. sdb is my flash drive. I've also tried with the install57.fs. When I try to boot from USB it says "Missing Operating System" Could anyone help? ...
2
votes
2answers
62 views

How to get IPs via DHCP, through a router from another DHCP server?

ISP -> OpenBSD box -> Wireless router We have an OpenBSD machine that connects directly to the internet, has dhcp/dns cache "server" on it, and forwards the connection to clients via ethernet ...
2
votes
1answer
217 views

macos - local port redirection using pfctl and syntax errors

I am running MacOS(really BSD), and I want to redirect certain traffic over an ssh tunnel using a a local forward. Seems easy enough, but I am repeatedly blocked by the ambiguous "/etc/pf.conf:29: ...
0
votes
0answers
31 views

pkg_add : Error message “ftp() in free(): error: chunk is already free” when installing a new package

I have error message "ftp(xxxxx) in free(): error: chunk is already free" at random times when installing a new package, for example : # pkg_add -i emacs quirks-2.9 signed on 2014-07-31T22:37:55Z ...
-1
votes
1answer
203 views

Pfsense source code to build firewall

Pfsense is an open source Firewall based on openBSD kernel. Where can I find the code and how to modify it to build my firewall?
1
vote
2answers
83 views

firefox OpenBSD 5.6 Error no display specified

I bought the 3 CD set for OpenBSD 5.6 and installed OpenBSD 5.6, but it may have used an http site. The installation was successful, signify was happy. Then, I installed the packages on an i386 ...
2
votes
4answers
177 views

Auto login after boot on OpenBSD

I know I can create an "auto login with a user" function on an OpenBSD desktop (using the default FVWM2 as WM) with: pkg_add slim ----- start-stop script # vi /etc/slim #!/bin/sh # # ...
1
vote
1answer
18 views

How to only allow a group for network access?

Using OpenBSD's pf. Question: How can we modify the firewall of OpenBSD to allow ONLY a given group for network access? If somebody isn't in that group, it shouldn't have layer 3 or layer 2 network ...
4
votes
3answers
136 views

OpenBSD's pf: disable network access for a given user, except for ssh.

If we are using the default firewall for OpenBSD, how can we modify it to disable all the network access for a normal user except for one thing: we want to ssh to the user from random hosts! So ...
1
vote
1answer
67 views

How do I edit text in Cyrillic / Russian on OpenBSD?

I'm trying to make it possible to easily edit text in Cyrillic / Russian on a remote OpenBSD 5.2 amd64. I'm using emacs-21.4p18-no_x11, which doesn't show any Cyrillic characters whatsoever when I ...
2
votes
0answers
113 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 ...
1
vote
1answer
114 views

Keeping OpenBSD up-to-date with openup

I installed OpenBSD 5.6 -RELEASE on a machine, and then kept it up to date with M:tier's openup. Is my machine now considered up-to-date, the same way as it would be if I where following the -STABLE ...
0
votes
0answers
69 views

Can't access multiple USB channels

In OpenBSD I have a 3G minipcie (USB) modem, that has multiple non multiplexed USB channels. dmesg output: umsm0 at uhub4 port 1 configuration 1 interface 0 "Sierra Wireless, Incorporated AirCard" ...
3
votes
1answer
52 views

Reject packets in pf after a connection consumed a certain amount of traffic

In pf you can limit the bandwidth that is consumed (by for example ssh) using queues. I am hosting a UDP Service (Discard Protocol) which can easily eat up all my traffic when a client transfers ...
0
votes
1answer
67 views

tcpreplay output to STDOUT?

$ tcpreplay tcpdump-2015-01-02-18h-13m.pcap ERROR: The intf1 option is required tcpreplay (tcpreplay) - Replay network traffic stored in pcap files USAGE: tcpreplay [ -<flag> ...
1
vote
1answer
154 views

It is possible to use a HDMI card with OpenBSD

Is it possble to use a HDMI card with OpenBSD? I have a home server but at the moment I have only a TV with an HDMI entry. I would like to use OpenBSD.
3
votes
1answer
449 views

Write an image to a flash drive under OpenBSD

Under Linux, I can simply do a: dd if=ubuntu-14.04.1-desktop-amd64.iso of=/dev/sdb and boot up the /dev/sdb which is a device for a flash drive. It finishes in 263 seconds. But: If I boot up an ...
1
vote
1answer
154 views

OpenBSD 5.6 / fvwm2 / xterm missing UTF-8 support

If I log on from a RHEL 6.5/GNOME notebook via SSH using gnome-terminal to an OpenBSD install, the UTF-8 support is OK. But if I use OpenBSD / fvwm2 / xterm locally, not via SSH, then it just misses ...
0
votes
1answer
123 views

What “bad list v: No such file or directory at -/usr/libdata/per15/OpenBSD/Pkg_Add.pm line 1115” means?

I recently installed OpenBSD on an old laptop from 2005 and I am trying to install nano and then xfce4 and then a few other programs, but every time I try to use pkg_add, I get the message: Fatal ...
3
votes
1answer
192 views

OpenBSD pf NAT rules based on DHCP/DNS

I have a Proxmox installed and an OpenBSD VM in front of all the others to play the role of NAT, firewall, DNS and DHCP. I have a fully functional DNS and DHCP. My DHCP is correctly updating my DNS ...
1
vote
0answers
70 views

How to hint font dejavu sans mono on OpenBSD

The default DejaVu Sans Mono font in OpenBSD xterm looks too fat. Settings in ~/.Xdefaults are: xterm*faceName: DejaVu Sans Mono xterm*faceSize: 12 How to hint this font on OpenBSD (e.g. by ...
1
vote
1answer
60 views

Can OpenSSH 6.7 optionally not depend on OpenSSL?

It has been reported on Slashdot on 2014-04-30 that OpenSSH now has a compile-time option to not depend on OpenSSL. However, OpenSSH 6.7 release notes, released on 2014-10-06, do not make any mention ...
1
vote
0answers
54 views

How to lock GNOME3 on OpenBSD?

There is a normal user, that I added sudo permission to "zzz" on an OpenBSD 5.6 notebook. The "zzz" works, the notebook suspends.. but the GNOME 3 screensaver doesn't lock before/after suspend. How ...
2
votes
1answer
428 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 ...
0
votes
2answers
154 views

When building a new kernel in OpenBSD 5.6, can the name of `config` be something else?

I am using the release version of OpenBSD 5.6 and have to apply a patch called 004_kernexec.patch.sig (URL: http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/004_kernexec.patch.sig ) An excerpt ...
2
votes
1answer
99 views

Will changing hostname in OpenBSD affect installed packages?

With regards to OpenBSD 5.6, suppose I change my hostname in /etc/myname Will doing so affect installed packages, root password or user's passwords? Do I have to reboot my machine after changing my ...
2
votes
1answer
28 views

“persist” attribute in OpenBSD Tables

According to OpenBSD's FAQs on "Tables" (http://www.openbsd.org/faq/pf/tables.html), without the persist attribute, the kernel will automatically remove the table when the last rule referencing ...
0
votes
2answers
568 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 ...
2
votes
1answer
1k views

Key-based authentication from PyCharm / JSCH to OpenBSD fails

I am trying to configure PyCharm (java-based IDE) to connect via sftp to a new OpenBSD 5.6 machine with an almost-default setup. However, it keeps returning an error "Algorithm negotiation fails". I ...
2
votes
1answer
53 views

How do I add more IP addresses to my pf rules?

I wish to have all internet traffic to go through my VPN; when my VPN is disconnected, all internet traffic can not go out of my workstation/desktop (not server). I wish to switch VPN servers of one ...