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

learn more… | top users | synonyms

0
votes
2answers
170 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
67 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
489 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
182 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 ...
3
votes
3answers
823 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
127 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
104 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
84 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 ...
1
vote
1answer
708 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
103 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
468 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: # ...
8
votes
1answer
521 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
154 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 ...
4
votes
2answers
1k 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
461 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
582 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
240 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
190 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
85 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?
3
votes
1answer
950 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 ...
2
votes
1answer
2k 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
961 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 ...
10
votes
1answer
12k 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
663 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
1k 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
120 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 ...
1
vote
1answer
905 views

How to log SSHD failed logins with usernames under OpenBSD 5.3?

Since DYNDNS became a payed service, I found a solution to dynamic IP address problem: OPENWRT router side (dynamic IP, this line is in the CRON): echo close | ssh LOCATION@SERVER -p 22 > ...
1
vote
1answer
363 views

Start the GUI automatically in OpenBSD

I can't find the GUI to start up automatically in OpenBSD hppa 5.3. What commands must I use to get this working? I want to use Gnome like in OpenSuse which I am more comfortable with.
1
vote
1answer
698 views

reinstall all FreeBSD packages with pkg_add, pkg_info

In OpenBSD, I have the possibility to take a snapshot with all my installed packages, with pkg_info -m > output.txt and then move this file to a different server and on this new server run a: ...
1
vote
1answer
530 views

OpenSMTPD Configuration Problem

I'm trying to configure a simple mail server on OpenBSD 5.2, running OpenSMTPD 5.3.1, however there is some problem with my configuration file, and I'm unsure how to fix it. I can send and receive ...
2
votes
1answer
247 views

OpenBSD 5.2 and Intel GMA X4500: How to get the X Window System to work

I've just installed OpenBSD 5.2 on my desktop computer and I can't get the X Window System to work. My graphics card is Intel GMA X4500. When I run startx, my system freezes and no keyboard ...
2
votes
2answers
69 views

How to detect what is causing entries in the “last” cmd's output? [duplicate]

last ... date { Sun Mar 31 12:00 date | Sun Mar 31 12:00 date { Sun Mar 31 00:00 date ...
0
votes
1answer
634 views

Webcam on Openbsd

# dmesg ... uaudio0 at uhub1 port 2 configuration 1 interface 1 "vendor 0x093a product 0x2622" rev 1.10/1.00 addr 2 uaudio0: audio rev 1.00, 2 mixer controls audio1 at uaudio0 ugen0 at uhub1 port 2 ...
2
votes
1answer
2k views

OpenBSD, NVIDIA, and Xorg

I've installed OpenBSD 5.2 i386 on my desktop however I hit a wall when it came to running X at my native resolution (1920x1200). All of the hardware is working normally except for the video card: an ...
2
votes
2answers
260 views

How to su to www on OpenBSD?

I have a PHP script that I wish to run under the www account. The account has nologin as shell and is used by Apache. When I run "su -l www -s /bin/ksh" as root, I get the following message: This ...
0
votes
1answer
624 views

How should I configure /etc/host.allow on OpenBSD to only allow given IP's?

I have an OpenBSD 5.1 box that is running a static html based website. I have a list of IP addresses that I want to allow, ex.: ... 78.128.49.0/24 78.128.50.0/24 ... It's a ~10 KByte. ~10 000 ...
1
vote
1answer
693 views

How do I make mutt show Cyrillic characters on OpenBSD?

I'm using mutt-1.5.21p0v0 to read my mail on OpenBSD 5.2 every now and then. Why does mutt show question marks instead of Cyrillic characters when I open standards-compliant email messages in ...
5
votes
2answers
180 views

Emacs on OpenBSD for DEC VAX?

I have managed to install OpenBSD 5.2 on my DEC VaxStation 4000 Model 90 but to my surprise have not found a binary for Emacs (any version) for the VAX architecture. As best as I can tell I do not see ...
2
votes
1answer
289 views

How to configure OpenBSD pf to only allow inbound from given countries?

I have an OpenBSD 5.2 box what's running a webserver on port 80 and an SSHD server on port 2222. How can I configure OpenBSD's pf to only allow connections from given countries to port 80 and 2222?
5
votes
2answers
344 views

How can I peek at the output of a running crontab task on OpenBSD?

I have an hourly hour-long crontab task running with some mtr (traceroute) output every 10 minutes (that is going to go for over an hour prior to it being emailed back to me), and I want to see the ...
10
votes
3answers
540 views

Unix on a DEC VAX?

I just picked up a DEC VaxStation 4000 model 90 with a built in CDROM and an auxiliary SCSI storage module with tape archive drive. I believe it is functional although I cannot test it yet since I ...
4
votes
2answers
527 views

Does sysctl kern.bufcachepercent not work in OpenBSD 5.2 above 1.7GB?

I run OpenBSD/amd64 5.2 on a system with 12GB of RAM, and I want to use about 6GB to 8GB for filesystem caching. By default, 5.2 amd64 comes with sysctl kern.bufcachepercent set to 20 (20%); I've ...
2
votes
2answers
2k views

How to configure pppoe client on OpenBSD?

I have an OpenBSD 5.1 installed + a cable from my ISP. I have the username/password for the PPPoE connection, but how can I configure the connection to be permanent? (I have 1 interface on the ...
5
votes
3answers
692 views

Why does time/ident/daytime/comsat run after an OpenBSD 5.2 install?

I installed an OpenBSD 5.2 using "-* & +etc* & +base* & +bsd". After finished with the install, I rebooted, then netstat -at | grep LISTEN, this is what I get for output: Why does so ...
3
votes
3answers
1k views

Is this enough for a working mail server?

I have an internet connection with a public, static IPv4 address (the IP address has a PTR record for foo.org domain, and I own foo.org domain, and have nameservers for it elsewhere, mx record is set ...
6
votes
1answer
410 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 > ...
6
votes
4answers
5k views

How do I send a shutdown event to a QEMU guest (OpenBSD)?

I'm using virtualisation solely to install OpenBSD onto the bare hardware, and during the installation, the redirection to the serial port didn't get configured, so, I ended up with the system ...
2
votes
1answer
281 views

Install OpenBSD on running Linux machine

I just found my old IBM ThinkPad 240 where I installed ArchLinux some years ago. The machine still works as intended but the package manager (pacman) does not work anymore at all. I tried to fix it ...
4
votes
3answers
804 views

Why does a default Linux installation run more processes than a default OpenBSD installation?

If I ps -aux on Ubuntu (or any GNU/Linux distribution) without GUI I see ~100 processes running. If I ps -aux on OpenBSD without GUI, then I get ~10 processes. What is the explanation/reason for ...
2
votes
1answer
165 views

How to partition an OpenBSD if it's used as a static HTTPD server?

So mount options can be useful because it can afaik increase the security of a webserver that is only serving static html files. What are the best mount options/partition schemes for az OpenBSD 5.2 ...