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

learn more… | top users | synonyms

1
vote
0answers
14 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 ...
0
votes
0answers
17 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
36 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
17 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 ...
1
vote
0answers
20 views

Reading a 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
73 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
22 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
63 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
20 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
82 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
48 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
120 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
16 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
73 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
40 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
66 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
65 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
43 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
45 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
46 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
105 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
127 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
87 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
78 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 ...
1
vote
1answer
38 views

What does the “first Ethernet card” mean in the BSD world?

https://www.freebsd.org/doc/handbook/network-routing.html The designation link#1 refers to the first Ethernet card in the machine. Question: what does the "first Ethernet card" mean? How to ...
3
votes
1answer
142 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
50 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
46 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
35 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
219 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
127 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 ...
1
vote
1answer
56 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
24 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
1answer
465 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
940 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
43 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 ...
1
vote
2answers
169 views

OpenBSD runs out of memory, while not using swap space

I'm working with a fresh install of OpenBSD (5.6 amd64). I'm attempting to build Boost libraries, and quite a few compilations are failing with cc1plus running out of memory errors. I've read ...
1
vote
0answers
39 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 ...
1
vote
2answers
112 views

Which is the software package for creation of PDF documents on Debian and OpenBSD OSes?

I have installed the software package called evince. It only opens and reads PDF files but does not create them. What software package should I install on boxes that run Debian (or OpenBSD) that can ...
1
vote
2answers
388 views

Is there a valid alternative to top for OpenBSD?

I like very much htop, on GNU/Linux is very nice, I would like a similar software for OpenBSD 5.6. Anyone knows something about that?
0
votes
1answer
89 views

Firefox and firefox-esr packages in OpenBSD 5.5

After I issued sudo pkg_add -vi firefox, the ftp server responded: Ambiguous: 0. firefox-esr 1. firefox Enter choice: I didn't know what to choose, so I chose and entered 0. The installation was ...
1
vote
0answers
55 views

On-screen fonts appear tiny on OpenBSD 5.5

I chose the default installation of OpenBSD 5.5. My monitor's brand is Samsung 27-inch 850 series LED. It's in full high-definition, 1920x1080. After I type my login username and password, I am ...
3
votes
1answer
124 views

OpenBSD and xorg: How to fully expand shrunken vesa video?

Because OpenBSD 5.5 does not appear to support moderately newer Nvidia cards (mine is a GT 610), I am using the vesa X.Org driver. Problem with vesa is that the displayed image is shrunken and ...
0
votes
2answers
160 views

Ran out of disk space in /usr/ports partition, how can I build ports?

I installed OpenBSD using the default/automatic partition configuration which only allocated ~4MB to /usr. While compiling a large port it gave an error that the disk was full. I have looked for ways ...
1
vote
0answers
66 views

Two fdisks seeing different MBRs on same external drive (OpenBSD 4.2/5.5)

I'm trying to use an external USB hard drive to copy data between a legacy production OpenBSD 4.2 system (on a slow, fragile network — that's not an option) and a new OpenBSD 5.5 box, and I'm running ...
2
votes
0answers
63 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 ...
0
votes
1answer
67 views

Unable to patch 2 errata on OpenBSD 5.5

I'm trying to patch OpenBSD 5.5 with all of the 10 errata. The command I use to patch is: signify -Vep /etc/signify/openbsd-55-base.pub -x /path/to/patch/ \ -m - | (cd /usr/src && patch -p0) ...
6
votes
2answers
2k views

How to block abusive IP addresses with pf in OpenBSD?

We can see from the nginx logs that there is an IP address doing nasty things. How can we block it with a pf command and then later permanently with the /etc/pf.log? How can we block a x.x.x.x/24 ...
2
votes
1answer
50 views

Installing a new OpenBSD kernel “safely”: why does `make install` go through these extra hoops?

After building a new OpenBSD kernel, the install target of the kernel Makefile does the following: rm -f /obsd ln /bsd /obsd cp bsd /nbsd mv /nbsd /bsd I understand that the first two lines remove ...
0
votes
1answer
325 views

installpath in OpenBSD 5.5

In the FAQ section of OpenBSD 5.5, it is recommended to use export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/5.5/packages/`machine -a`/ and to add the above line to ~/.profile Instead of doing ...