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

learn more… | top users | synonyms

0
votes
1answer
18 views

On OpenBSD, how do I recompile OpenSSL with md2 support?

I searched but couldn't find any similar questions. I need to recompile OpenSSL with md2 support so that I can compile and install libpki. I can't for the life of me figure out how recompiling OpenSSL ...
0
votes
1answer
143 views

How to apply a patch in OpenBSD?

I have comp54.tgz installed. # cd /root && ftp http://ftp.openbsd.org/pub/OpenBSD/`uname -r`/src.tar.gz && tar -xzf /root/src.tar.gz -C /usr/src # uname -r 5.4 # pwd /usr/src # ls -la ...
2
votes
1answer
19 views

Can pf be used to modify HTTP Headers and Contents?

I'm looking at options to replace my router with something that offers me more options for content filtering and also content modification. One of the things that I want to do is to modify HTTP ...
1
vote
1answer
18 views

Are there GPG-signed OpenBSD ISOs with which I can verify an installation disc?

Are there GPG-signed OpenBSD ISOs that I can download and later verify the downloaded file? Or at least a GPG-signed shasum?
1
vote
1answer
93 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, ...
1
vote
1answer
56 views

OpenBSD with adsuck: nslookup works, other applications not

(The problem that nslookup works but other applications can't resolve name is asked very often, mainly for windows. I read a lot of these answers but none of them was applicable.) I use OpenBSD with ...
1
vote
0answers
51 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
82 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, ...
2
votes
0answers
26 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 ...
0
votes
1answer
35 views

Why can't I modify OpenBSD securelevel?

I just installed an OpenBSD. I edited "vi /etc/rc.securelevel" and set the securelevel from 1 to 0. Saved the file, then rebooted. But after the reboot the sysctl states the securelevel is still 1. ...
0
votes
0answers
38 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 ...
1
vote
1answer
42 views

What is “Charlie &” in the gecos field on OpenBSD for root?

Question: what is "Charlie &" for the root user? I didn't gave "Charlie &" for gecos field, I think I didn't gave any at all. ps.: the "/sbin/nologin" doesn't matters, I just tested ...
0
votes
1answer
43 views

openbsd: why quirks-1.87 was installed all of a sudden?

I was trying to install mysql on OpenBSD; instead, somehow quirks-1.87 was installed, whereas mysql was claimed to not be found. Why? opti# setenv PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/`uname ...
2
votes
2answers
55 views

openBSD w/ KDE 3.5 - no text in menus or any gui's

I just installed KDE 3.5 on my new openBSD 5.4 i386 box. At the moment I don't know that much about openBSD or Unix. For that matter, this is my learning-box. I installed KDE from a mirror, and when ...
0
votes
0answers
40 views

Hotplug NIC on openbsd running in KVM [closed]

I'm having a hard time while trying to configure hotplugd on an OpenBSD5.4 VM running in KVM. When I attach the NIC to the host something goes really wrong and I lose all connection with the VM so I ...
2
votes
0answers
41 views

How do I read an acpidump in OpenBSD?

The acpidump utility used to provide human-readable decoding of the DSDT data, however, it seems like this is no longer available in the recent version of OpenBSD. It looks like the last release with ...
4
votes
2answers
207 views

Does OpenBSD have a limit to the number of file descriptors?

What's the maximum number of file descriptors that a process can get on OpenBSD successfully? For example, there is an openfiles limit in login.conf(5) in OpenBSD. If I want to have as many file ...
0
votes
3answers
92 views

BSD browser information

I am developing an application and I need some BSD browser information. Specifically the output of http://browserspy.dk/browser.php If someone could post the output of Firefox on FreeBSD. OpenBSD ...
4
votes
1answer
55 views

putting extra hops into traceroute6 on OpenBSD

I'm running OpenBSD, or maybe FreeBSD. I don't have lots of IPv4 addresses to waste, but who doesn't have a few billion of IPv6 ones? How do I add some extra IPv6 hops to a traceroute6, around pf(4) ...
1
vote
0answers
30 views

How to modify mount options in an OpenBSD install?

How exactly can I modify different mount options for a FS at an OpenBSD install? IT's crazy, but I just can't find it. I'm at here: W # Use (W)hole disk or (E)dit the MBR? E # Use (A)uto layout, ...
2
votes
2answers
134 views

turn off buffering for `hping` in OpenBSD

It would appear that the output from hping is fully buffered when piped to perl for further line-by-line processing, so piping hping to perl doesn't work. hping --icmp-ts example.ca | perl -ne 'if ...
1
vote
3answers
45 views

Why is it needed to erase the first MByte of an OpenBSD CRYPTO device?

from: http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl The following command, executed from the command line, would configure the device softraid0 with one special device (/dev/sd2e) and an ...
2
votes
1answer
416 views

How to enable Broadcom wireless BCM 4313 on OpenBSD?

Is there any hack/tip/trick to make this specific Broadcom Wireless work with OpenBSD? After digging some FreeBSD-wireless threads and OpenBSD-tech/OpenBSD-misc, I noticed that adding the PCI vendor ...
0
votes
2answers
73 views

Shell script to find what package provides a file on OpenBSD

# for i in `pkg_info -q`; do pkg_info -L "$i" | grep ^/ | sed "s/^/$i/g" | perl -pe 's/\//\t\//'; done | grep tasklist.desktop xfce4-panel-4.10.0p2 ...
1
vote
0answers
43 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 ...
3
votes
1answer
75 views

How can I capture an OpenBSD install console?

So.. How can I save the text that is based on Q/A's when installing an OpenBSD 5.3? Or I only have the choice to manually type the texts down? or an OCR software using printscreens?
2
votes
1answer
53 views

How do I check out the OpenBSD web site via CVS?

I recently read this on the OpenBSD misc mailing list: "John Darrah" writes: > Hi. Would it be possible to get SSL on the OpenBSD website(s)? > It would be just a couple lines to change in ...
2
votes
3answers
85 views

tcpdump syntax error when specifying portrange as documented

I am using tcpdump on OpenBSD and trying to learn it from a primer on it. I want to capture a range of ports, but it seems how this is done has changed. I can't even find portrange as a keyword in ...
1
vote
1answer
58 views

How to “bond” sshd to only a given interface? [duplicate]

How can I limit sshd to only listen on given interface when using OpenBSD 5.3?
1
vote
1answer
51 views

How to reach only an application in QEMU emulation without X?

I run an OpenBSD guest on an OpenBSD host (Desktop) with QEMU. Because I want to run a webbrowser in a separated environment. I can reach the QEMU machine via ssh -X so I can see the webbrowser. But ...
0
votes
0answers
51 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 ...
0
votes
1answer
196 views

How to enable CGI in OpenBSD?

I installed an OpenBSD 5.3 in Virtualbox. Webserver is apache: httpd_flags="" in rc.conf. httpd.conf # cat /var/www/conf/httpd.conf ...
1
vote
0answers
47 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 ...
0
votes
1answer
104 views

Tell autoconf to use different version of gcc

OpenBSD installs newer version of gcc as egcc. I am trying to compile some software that requires gcc 4.4+ and can't seem to convince autoconf to use the newer versions of gcc... I have tried: # ...
7
votes
1answer
202 views

How can I send power on/off signals to a VGA monitor?

I've used some old spare parts to make a sort-of kiosk for my kitchen. It's running OpenBSD and has a simple text based UI (no X Server). I plan to add an Arduino with a motion sensor that ...
0
votes
1answer
73 views

How to only output [a-z;A-Z;0-9;|] chars with ksh?

How can I "whitelist"/output only the (ENglish) a-z;A-Z;0-9;| chars and space in ksh/OpenBSD 5.3? $ echo 'ASDF"`date`ew � kd A | A' ASDF"`date`ew � kd A | A $ echo 'ASDF"`date`ew � kd A | A' | MAGIC ...
0
votes
0answers
23 views

How to securely create a search form via www? [duplicate]

There is an OpenBSD 5.3 server. It hosts only static TXT/etc. files using directory listings. If I'm logged in as a UNIX user I can give out a: fgrep -iIR 'SEARCHSTRING' /var/www/htdocs/stuff and ...
4
votes
2answers
239 views

Decrypting a file encrypted on a different system

My home server runs OpenBSD 5.3 with Samba serving files to several Windows machines. I wrote a script to backup video files by encrypting each file with openssl enc -aes-256-cbc and uploading it to ...
0
votes
2answers
167 views

PF and types of NAT(Network Address Translation)

As you know, at least 3 types of NAT are used. Of course i need to two types of them.DNAT and SNAT. DNAT : hiding server behind NAT, SNAT : hiding your client behind NAT. Question: I read a quick ...
2
votes
1answer
179 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
98 views

Kickstarter-like solution for OpenBSD?

Are there any solutions for OpenBSD to just: Insert the custom installer CD, press enter (like: "are you sure?" - message), then the installer automatically partitions the disk/installs OpenBSD, and ...
3
votes
1answer
121 views

How to create a user with minimalistic permissions on OpenBSD?

I want to run the webbrowser (xxxterm) with a different user (XY) on an OpenBSD Desktop (different user from the one I use daily). I will reach the Browser with ssh -X in the local machine (or are ...
1
vote
1answer
53 views

Are there any PaxTest for OpenBSD?

Pax: PaX is a process memory protection patch For FreeBSD, there exists a testsuite called PaxTest, is there a PaxTest available for OpenBSD?
2
votes
1answer
500 views

Compiling bitcoind on OpenBSD

The instructions to build bitcoind are vague enough, but I can't work out what to do on OpenBSD. I've installed boost, and the system has berkeley db 4.6, OpenSSL, etc already in the base install of ...
1
vote
1answer
457 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
0answers
577 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 ...
0
votes
1answer
992 views

Redirect both stderr and stdout to /dev/null with /bin/sh

Tried all sorts of ways to redirect both stdout and stderr to /dev/null without any success. I have almost my entire life run bash which i've never had this issue with but for once in BSD i'm stuck ...
3
votes
2answers
205 views

How to mount an OpenBSD hard disk image on Linux?

First, I'll start by explaining how I got my problem, this will help me get across what I need. A few months ago, my laptop hard disk broke. I had no quick replacement, but I needed that laptop the ...
1
vote
2answers
330 views

Problem with WPA connection on OpenBSD

I have an OpenBSD 5.3 amd64 installed and Intel WiFi Link 1000 card which works with WEP but I obtain a strange message with WPA keys: # sh /etc/netstart iwn0 iwn0: no link ............. sleeping ...
2
votes
1answer
81 views

How to modify the default “Index of” page in OpenBSD 5.3 httpd

Using the old apache: # grep -i httpd /etc/rc.conf httpd_flags="-DSSL" # grep -i nginx /etc/rc.conf nginx_flags=NO # How can I modify the custom "Index of" page? Question: The only problem ...