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

learn more… | top users | synonyms

4
votes
2answers
1k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
1
vote
2answers
51 views
+100

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 # # ...
6
votes
1answer
389 views

Realtek audio issues on OpenBSD 5.2

I am running OpenBSD/amd64 5.2 stable on a new machine, using a gigabyte motherboard with a realtek alc898 audio chipset. When I try to play any audio (sources include mpd, aucat, and cat > ...
3
votes
1answer
210 views

What makes fsck so slow on big filesystems?

I have over a dozen of filesystems on my OpenBSD server with 12GB DDR3 and several 1.5TB HDDs. All filesystems themselves are generally between 8GB and 64GB in size. I've noticed that even by ...
2
votes
1answer
144 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 ...
2
votes
1answer
21 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 ...
2
votes
1answer
1k views

Routing a LAN through OpenVPN on OpenBSD 5.5

I'm configuring an OpenVPN gateway to allow a LAN access to the internet through the tunnel. The gateway is running OpenBSD 5.5-stable amd64 on the PC Engines APU platform. The LAN contains re1, re2, ...
2
votes
1answer
801 views

Status of 5GHz support for 802.11 WiFi devs in BSD (2014)

To put it simply, 2.4GHz band doesn't work anymore due to the plethora of various Wi-Fi and other devices, whereas 5GHz is still almost entirely empty. Do any of the BSDs -- FreeBSD, OpenBSD, NetBSD, ...
2
votes
1answer
38 views

What does “link#1” mean?

netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default 75.126.68.49 UGS 7 1203 - pcn0 ...
2
votes
1answer
492 views

PDF reader for OpenBSD that has default disabled JAVA/JavaScript/etc.?

I'm searching for a PDF reader that doesn't supports Java, JavaScript in PDF files (and other unneeded things what is only used in 1% of the PDF files, but can cause security issues). Or there isn't ...
2
votes
1answer
1k views

Courier IMAP - Account's mailbox directory is not owned by the correct uid or gid

so i poked around and found out that DEFDOMAIN="@domain.se" is messing things up, so i removed that from /etc/courier/imapd and i got to the point where SMTP work and i get this from the IMAP: Jul 2 ...
1
vote
1answer
14 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 ...
1
vote
1answer
11 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 ...
1
vote
1answer
24 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 ...
1
vote
1answer
35 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 ...
1
vote
1answer
41 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
1answer
51 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 ...
1
vote
1answer
736 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 ...
0
votes
1answer
64 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 ...
0
votes
1answer
59 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) ...
0
votes
1answer
454 views

cannot start PostgreSQL on OpenBSD 5.4 through rc.d

I've installed the postgresql-server package on OpenBSD 5.4 amd64, and I try starting it through its rc.d script, however, it doesn't look like it's running after that. opti# /etc/rc.d/postgresql ...
3
votes
0answers
155 views

How do I delete a partial package in OpenBSD

While upgrading, I tried to add a package that was already there and due to some error, a partial package got created - partial-gnutls. When I try to delete this partial package, I get these errors: ...
2
votes
0answers
50 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 ...
2
votes
0answers
60 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 ...
2
votes
0answers
209 views

How many rings does OpenBSD use?

Usually a Windows/Linux operating system uses afaik max 2 rings But how many rings does OpenBSD use?
2
votes
0answers
180 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 ...
2
votes
0answers
327 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 ...
1
vote
0answers
44 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
0answers
29 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 ...
1
vote
0answers
34 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
0answers
48 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 ...
1
vote
0answers
63 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 ...
1
vote
0answers
335 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 ...
1
vote
0answers
202 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 ...
1
vote
0answers
162 views

VPN piggybacked on two mobile phone wifi 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, ...
1
vote
0answers
62 views

Are there tools to build a LiveCD based on OpenBSD in the Linux environment?

I'm currently on Ubuntu and I want to build an OpenBSD 5.3 LiveCD customized for my own needs. I found the perfect tool to build a Linux LiveCD - live-build. I'm looking for the same, but to create ...
1
vote
0answers
92 views

How to set up FAX modem card on OpenBSD?

I found a modem card in a dumpster yesterday. It's a Conexant RD01-D270 also marketed as "Dell / Conexant N11846 Modem Card". It still works, I've tested this on Linux, but I'd like to use it in my ...
1
vote
0answers
911 views

postfix + Cyrus SASL - cannot connect to saslauthd server: No such file

Everything is up and running and answer on calls but the login for postfix doesn't seem to work (it works for Courier IMAP, just not postfix). Here's the error output: Jun 30 22:22:10 HOST ...
1
vote
0answers
293 views

openBSD static ip can't connect

I have set /etc/hostname.msk0 to inet 192.168.1.102 255.255.255.0 NONE and /etc/mygate to 192.168.1.1 but still can't ping the router (192.168.1.1) do I need to configure dns to ping ? ...
0
votes
0answers
17 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 ...
0
votes
0answers
29 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" ...
0
votes
0answers
108 views

Centrino N-6300 OpenBSD 5.5 - No Link

I have a Lenovo X230 with a Centrino N-6300 wifi card. I cannot get wifi to work on it. I did fw_upgrade I can do a ifconfig iwno scan I have the list of Wifi networks around including mine. ...
0
votes
0answers
88 views

OpenBSD Atheros AR8151 no Ethernet media present

I installed OpenBSD 5.5 on an ASRock AD525PV3. The board uses the mentioned Atheros LAN. It shows alc0 on ifconfig, but the media only has Ethernet manual, and I can't use the LAN. Is there a way to ...
0
votes
0answers
75 views

How to disable HTTP TRACE on OpenBSD 5.3?

An nmap scan gaved this: 443/tcp open ssl/http Apache httpd | http-methods: GET HEAD OPTIONS TRACE | Potentially risky methods: TRACE |_See http://nmap.org/nsedoc/scripts/http-methods.html so ...