Questions tagged [netbsd]

NetBSD is an open-source Unix-like operating system. It is descended from Berkeley Software Distribution (BSD) and one of the three most popular BSD operating systems.

enter image description here

NetBSD is an open-source Unix-like operating system. It is descended from Berkeley Software Distribution (BSD) and one of the three most popular BSD operating systems next to and . It is popular due to its portability and ability to run on a wide range of platforms.

Website: http://www.netbsd.org

Distrowatch: http://distrowatch.com/table.php?distribution=netbsd

Wikipedia: http://en.wikipedia.org/wiki/NetBSD

19 questions
99
votes
15 answers

ssh tunnel refusing connections with "channel 2: open failed"

All of a sudden (read: without changing any parameters) my netbsd virtualmachine started acting oddly. The symptoms concern ssh tunneling. From my laptop I launch: $ ssh -L 7000:localhost:7000 user@host -N -v Then, in another shell: $ irssi -c…
lorenzog
  • 2,719
  • 1
  • 18
  • 24
6
votes
2 answers

Which BSD best suited to run as VMware guest?

I want to deploy a VM to serve DNS and files (via NFS) to other *nix systems in my infrastructure. Due to reasons beyond my control, I need a very light OS, so I naturally choose the *BSD family. Can you recommend which *BSD is the best VMware…
pepoluan
  • 4,918
  • 3
  • 43
  • 71
5
votes
3 answers

How to log ssh client connection/command?

I would like to know how i could log SSH command lines a user is using on a server. For exemple, if the user Alex on my server is doing the following set of commands : $ cd /tmp $ touch myfile $ ssh staff@10.0.0.1 $ ssh staff@10.0.0.2 $ vim…
Kevin Merigot
  • 53
  • 1
  • 1
  • 4
5
votes
2 answers

Portable firewall rules for Linux and Free/Net/Open/DragonFlyBSD

I need apply the same rules (lists of IPs with allow and drop rules) in firewalls of Linux and *BSD. Do you know some application (CLI) for to convert a list of rules in the specific format of each firewall?. The application for to convert the rules…
Rufo El Magufo
  • 321
  • 2
  • 12
5
votes
3 answers

What are some specific changes you make when hardening a new NetBSD install?

I know most of the general advice: "turn off unnecessary services", "no really, turn off unnecessary services", "least privilege", etc. I've also seen a few guides and/or tools, e.g., Bastille, for hardening Linux boxes, but nothing that seems…
Hank Gay
  • 365
  • 3
  • 11
3
votes
1 answer

NetBSD web server performance

I am interesting in the difference web server performance between Linux, FreeBSD and NetBSD since I have heard that NetBSD and FreeBSD have the good TCP/IP implementation. As the result, I setup VMs with same hardware capability (2 CPU, RAM:2G,…
Ray Shih
  • 33
  • 4
3
votes
1 answer

Poor IPsec over GRE performances

I have set up an IPsec over GRE connection with a remote host, both are NetBSD 6.1 based. The "client" is connected to the Internet through a 400Mbps fiber connection. The "server" is located on a 10Gbps network. Both machines have 1Gbps NICs which…
iMil
  • 251
  • 1
  • 9
2
votes
1 answer

Archive & analyse network logs from NetBSD on another machine

I want to use the the new NetBSD's NPF firewall on a gateway that also has the legal obligation to log the traffic for 1 year. To offload the gateway, I though to put the logging stuff (and IDS, quota management, ..) on another machine (probably on…
u91317
  • 152
  • 1
  • 1
  • 7
2
votes
3 answers

Password Change With Command Line On NetBSD

How can I change root password with one line command on NetBSD? On FreeBSD, it's something like this echo "password" | pw mod user root -h 0 ;
Julio Fong
  • 201
  • 1
  • 2
  • 7
2
votes
1 answer

NetBSD syslog timestamp format

Syslog uses a timestamps like the following: Sep 19 13:36:56 Is there a way to adjust the format (to add the year for example) without touching the source code? I am some what shocked to find that the answer to this appears to be so obscure, unless…
Terminal
  • 43
  • 1
  • 5
2
votes
4 answers

ZFS or hardware RAID5

I got couple servers not long time ago with pre-installed hardware RAID5. I plan to use those servers as a dedicated NAS (with some VMs) on my LAN. Currently I see these options: disconnect HDDs from RAID controller and let ZFS do the…
user53704
1
vote
1 answer

netbsd: How to read cdrom labels

I'm trying to create a NetBSD image to be used on my opennebula cloud, and for its contextualization I need to look for a disk labeled "CONTEXT", in fact it is a cdrom, usually on debian I would look for it on /dev/disk/by-label, but in NetBSD the…
1
vote
2 answers

Best OS for a web server hosting dynamic content in Apache?

I have the freedom to pick an OS for a server, so I want to dedicate my time and effort in learning one platform. My main objective is to start with something that would be as efficient as possible when load gets heavy. By efficiency I mean…
anonymous
  • 113
  • 1
  • 4
1
vote
1 answer

How to configure NetBSD to accept vlan tagged packets

I am trying to set up a NetBSD install with a static ip that is on a vlan. The router is set up to only allow other vlans to access this vlan, but not the other way around. So the NetBSD install should be able to ping the outside world and respond…
Yetoo
  • 11
  • 6
1
vote
1 answer

chroot not able to start service - not found. What is missing?

I would like to run a service inside a chroot in a NetBSD 9.1 amd64 system. The service runs if invoked from OS. The service in question is dendrite-monolith-server. I just copied the file for ease of use to start sitting inside the chroot in…
Luis
  • 273
  • 5
  • 9
1
2