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

learn more… | top users | synonyms

2
votes
1answer
240 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 ...
3
votes
3answers
633 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
151 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 ...
2
votes
0answers
201 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?
4
votes
2answers
327 views

What does “Do you expect to run the X Windows System?” do when installing OpenBSD?

When installing OpenBSD 5.1, I got the question: Do you expect to run the X Windows System? What change does the installer make to my system if I say "yes"? I know what X Windows is, but I don't ...
1
vote
2answers
774 views

How to disable inetd and sendmail under OpenBSD 5.1?

# grep '^inetd_flags="' /etc/rc.conf inetd_flags="NO" # for normal use: "" # grep -i 'sendmail_flags="NO"' /etc/rc.conf sendmail_flags="NO" # after a reboot..: two questions: # ps ...
2
votes
1answer
299 views

How to move the /var/www directory to a USB HDD?

I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK. QUESTION: How can I use the /dev/sd0a on /mnt/usbhdd type ffs (local, nodev) instead of the default "/var/www" directory? What ...
2
votes
0answers
114 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: ...
7
votes
1answer
187 views

How to use /etc/fbtab in OpenBSD to secure X11?

OpenBSD's man page afterboot(8) suggests: "You might wish to tighten up security more by editing /etc/fbtab as when installing X." How might one do this? What lines when added to /etc/fbtab would ...
5
votes
1answer
174 views

OpenBSD and limiting login to local only like in FreeBSD's login.access(5)

I am using OpenBSD as my desktop. I don't want to login to my machine remotely, and I don't want anyone else to login remotely. In FreeBSD there is a file called login.access(5) that can be used to ...
4
votes
2answers
4k views

How to permanently connect to WPA2AES wifi with OpenBSD (through cli)

I have an OpenBSD 5.1 i386 installed. I have no GUI/X. I googled for the answer but I can't find authentic one. How can I connect to a WPA2 PSK/AES wifi network using only the terminal? (so I don't ...
8
votes
1answer
588 views

USB audio only outputs white noise

I am running OpenBSD/i386 5.1 on a 5 year old laptop. The speakers and headphone port work, but the headphone port is a little loose so I am trying to install an external USB sound card (Fiio E17 USB ...
5
votes
1answer
857 views

How to edit a .gpg file with vi?

So I created a gpg encrypted file with password: gpg -c passwords.txt.gpg how can I open it with vi, edit it, then close it? (So that no passwords.txt file will be created, the decrypted ...
-1
votes
3answers
1k views

How to create an encrypted container (dynamically expandable) on OpenBSD

On OpenBSD, how/with what I can create an encrypted container that can later be dynamically expanded? Can I do it with GPG? (password protection is enough) So, if I open this container and put files ...
4
votes
2answers
817 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 ...
4
votes
3answers
1k views

How can I secure an OpenBSD-based Apache webserver?

I have an OpenBSD server that has a running webserver (the built-in apache web srv). How can I harden this setup? I want to only server static html files, no php, no sql.
1
vote
0answers
241 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 ? ...
3
votes
2answers
2k views

How to disable IPv6 on OpenBSD?

I'm sure that in my network I will not use IPv6 only IPv4. So according to the KISS principle I will need to disable it. How can I do it? OS is OpenBSD 5.1.
3
votes
1answer
896 views

How to check dependencies of a package under OpenBSD?

AFAIK this is the way that I can install for ex.: XYZ on OpenBSD: pkg_add -Uvi XYZ How can I get a list for all the dependencies regarding XYZ package? -> So I need a list about .tgz filenames ...
2
votes
2answers
774 views

How to get green/red terminals under OpenBSD?

For linux machines I can use: # vi ~/.bashrc # red/green terminal colors regarding exit code export PROMPT_COMMAND='PS1="` if [[ \$? = "0" ]]; then echo "\\[\\033[0;32m\\]"; else echo ...
3
votes
1answer
474 views

How to check downloaded package on OpenBSD 5.1?

Under linux there is a package called "ubuntu-keyring" - it's for checking that the downloaded packages (from the offical repositories) are the ones that are on the server. How can I do this under ...
2
votes
2answers
1k views

Flash drive in OpenBSD: “specified device does not match mounted device”

I'm a relative BSD newb. I have a small server running OpenBSD 4.4. I'm trying to plug in a 16GB USB flash drive to move some files. I followed the guidance of the Disk Setup documentation, and found ...
-1
votes
1answer
261 views

Are there any setuid/setguid bits in OpenBSD?

https://en.wikipedia.org/wiki/Setuid Are there anything like this under OpenBSD?
4
votes
2answers
466 views

How to mount an IronKey in OpenBSD?

Being that it's proprietary, maybe this isn't possible but I was wondering if anybody was successful at mounting one of these in OpenBSD. I mounted the two partitions the USB drive creates which are ...
3
votes
1answer
226 views

sandbox tcpdump under OpenBSD?

From FreeBSD 9.0 tcpdump is sandboxed with Capsicum. Are there any solutions for sandboxing tcpdump under OpenBSD? Just want to secure a running: tcpdump -w output.pcap because it can be only used ...
1
vote
1answer
676 views

BSD Books - Best books for OpenBSD and FreeBSD [closed]

I will begin a thorough study of the OpenBSD and FreeBSD, which are the most complete books? I found these, which are the best? Openbsd books Freebsd books
4
votes
2answers
2k views

OpenBSD performance tuning (desktop)

What are your ways of tuning a freshly installed OpenBSD operating system specifically for a desktop environment (faster UI interaction etc.)? What are the most important factors here to consider?
1
vote
1answer
262 views

Strange terminal behavior: 'j' key not working in urxvt

For some bizarre reason my 'j' key stopped working properly. Every time I hit the key, it prints "true". If I type 'jake', the terminal prints: >>trueake I don't know what lead to this. I ...
4
votes
4answers
5k views

How to apply updates on OpenBSD, NetBSD, and FreeBSD?

I'm using OpenBSD for quite a while now. All I do, however is go from one release to the next, always just doing an update. I configured the system so it works as my router and firewall, and it works ...
0
votes
1answer
140 views

What audited server programs are shipped in a default OpenBSD install?

OpenBSD has a process by which they audit programs by doing a "comprehensive file-by-file analysis of every critical software component". Which OpenBSD programs have been audited? Is there a list? I ...
7
votes
2answers
5k views

Why is sudo telling me my password is wrong?

I recently installed OpenBSD 4.9 in my computer, so I could learn a little bit about Unix-like operating systems. I added a new user to the system called bruno. Ok. When I use the 'sudo' command, it ...
2
votes
2answers
869 views

OpenBSD NFS server with Linux NFS clients — file size limit?

I've set up an NFS server on OpenBSD 4.9. The client is Arch Linux x86-64. The mount has no problems with small files but when trying to read large files (in the example, an 7.4G iso file) it will ...
3
votes
1answer
1k views

Framebuffer on OpenBSD?

I am migrating from Linux to OpenBSD, and one of the things I miss from my old OS is how even the consoles looked nice (so nice you could actually watch movies in there) under framebuffer using a ...
2
votes
1answer
1k views

Automatic internet connection on startup in OpenBSD?

I just installed the OpenBSD in my computer. I am completely new to Unix-like operating systems. I've learned how to connect to my wireless network using the following commands (even though I don't ...
7
votes
6answers
689 views

Can I use Unix to load-balance two Linux servers?

I'm trying to work out a solution in my head where two backend linux-servers run HTTP, SMTP, XMPP mirrored and should load balance connections between them. My current solution is an OpenBSD box ...
-1
votes
1answer
221 views

Are there any keepassx like solutions for OpenBSD?

Are there any password protecting solutions under OpenBSD, that is not from Ports?
0
votes
3answers
302 views

Are there any audited webbrowsers in OpenBSD?

I'm looking for an audited web browser on OpenBSD. As far as I can tell nothing in Ports is audited, so are there any browsers built-in on OpenBSD?
3
votes
2answers
3k views

Are there any virtualization solutions for OpenBSD that aren't from ports?

I'm searching for a virtualization solutions for an OpenBSD host and a CentOS guest. What are my options? I'm searching for one that doesn't use packages from ports. Are there any?
3
votes
1answer
289 views

Converting a line from a firewall on OpenBSD 4.9 to OpenBSD 4.7

What is the OpenBSD 4.7 equivalent of this line from OpenBSD 4.9 for use with pf? no nat on egress proto udp from 192.168.1.10 port 4672 to any
1
vote
2answers
322 views

How do I install BleachBit under OpenBSD?

How should I best go about installing BleachBit under OpenBSD?
1
vote
1answer
361 views

Are there any GPG checks in OpenBSD when installing an application?

Like under an average Linux distribution - are there any checkings that the downloaded packages are really the packages that are on the mirror server?
3
votes
1answer
292 views

Setting up the firewall for amule on OpenBSD 4.7 gateway

I'm trying to properly setup the firewall on my gateway (OpenBSD 4.7) using pf to allow amule (on 10.0.0.104) to operate properly as discussed here: Now I know pf has changed a bit from OpenBSD 4.7 ...
-4
votes
1answer
319 views

HTML5 on OpenBSD?

What do I need to install/configure to make an HTML5 such as Youtube's alternate player page work? Install a browser that's supporting it by default, or I have to do other things to?
1
vote
4answers
3k views

FlashPlayer on OpenBSD?

What are my choices in 2011? Or it's better to download the flash videos? (but there aren't any solutions to download every type of videos, only youtube..). Or are there any "linux-emulations" for ...
2
votes
2answers
1k views

Virtualization solutions under OpenBSD

I use "OpenBSD as my Desktop OS". What are my choices to run a Linux Distribution, or a Windows (XP/7) in a Virtual Machine? I know that the following apps are not available for OBSD: VirtualBox ...
7
votes
2answers
3k views

Dropbox on OpenBSD

Has anyone had any success getting dropbox installed with dropboxd running properly on OpenBSD (FreeBSD would work for me too..)? I have built from source and everything installs just fine but when I ...
2
votes
0answers
175 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
2answers
316 views

Security support time for OpenBSD?

If I install OpenBSD 4.9, when will I have to upgrade to 5.0? When will the 4.9 release no longer be supported by the OBSD teams?
0
votes
1answer
489 views

port redirection with PF under OpenBSD

i need to do a setting a bit unusual. I have 3 machines with public Ips. I want to use one of them as a load balancer for the 2 others. My machine >> machine1 who redirect the connection to machine ...
4
votes
1answer
256 views

General questions about OpenBSD source code and release dates

Looking into doing analysis of the lifespan of a line of code, and via another question on stackexchange I was pointed to a research paper on OpenBSD that I've got a few questions about. That being: ...