Questions tagged [freebsd]

FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, and userland utilities such as shells.

Filter by
Sorted by
Tagged with
0 votes
1 answer
995 views

Putting all blocked ips into a table

I would like to block all the incoming traffic for a specific port and to put the source ips of these blocked packets into a table... I don't know about a pf.conf solution, I guess I would use another ...
Psyloh's user avatar
  • 11
0 votes
1 answer
92 views

SSH into a jail takes so long

I have only one ip address and so I get to my jail through NAT. SSH to the host is lightning-fast but SSH to the jail is awfully long... Like 20 seconds between ssh command and prompt for public key ...
Psyloh's user avatar
  • 11
1 vote
2 answers
2k views

syslog config for sftp logging

I'm on FreeBSD11. I changed syslog config file to log sftp actions in a file, but it doesn't work. /etc/ssh/sshd_config Subsystem sftp /usr/libexec/sftp-server -f LOCAL5 -l INFO /etc/...
F.M's user avatar
  • 111
11 votes
2 answers
30k views

nginx php-fpm child exited with code 0

Anyone had a similar problem with php-fpm 7 with 11.0-RELEASE-p8 or know how to debug it? Situation starts after few minutes and show only half pages to clients. Any pages show up about ~62kb of ...
busy's user avatar
  • 291
2 votes
1 answer
174 views

zfs on FreeBSD 10

I have encountered to be what I consider a very strange performance issue I have an application that processes some data and creates 100GB or so of files. This runs fine, and I can scp the files off ...
camelccc's user avatar
  • 255
2 votes
1 answer
1k views

Check headers of a sent e-mail (by sendmail)

When I send an e-mail in console, like: echo "Body of the message" | mail -s "Some clever subject" [email protected] I would like to check the headers of the e-mail once it is sent. They do not ...
zezollo's user avatar
  • 470
1 vote
1 answer
2k views

Trying to "zfs attach" a new disk, how to get correct specification for the disk I'm adding?

I'm migrating data from my old server to zfs on FreeBSD 10.x (I'm actually on FreeNAS 9.10.2-u1 but doing this activity in console so it's pure FreeBSD). My problem is that zpool attach needs a ...
Stilez's user avatar
  • 724
3 votes
2 answers
7k views

What is bottlenecking my SMB share?

I set up a SMB/CIFS share on my FreeNAS box (Xeon E3-1220v5, 8GB DDR4 RAM) and I noticed that transfer rates are limited to ~70 MB/s, while I can easily get around 110 MB/s via WebDAV and using iperf ...
comfreak's user avatar
  • 1,531
0 votes
2 answers
4k views

nss-pam-ldapd ldap group filtering

I'm attempting to setup authentication via ldap for OpenSSH connections on our FreeBSD servers in AWS. The actual ldap server is external to AWS and is accessed over the Internet. I've run into a ...
Lucas Holt's user avatar
4 votes
1 answer
3k views

FreeBSD 11 not showing RX,TX packets and counts

I am having a FreeBSD 11 system in which I get the following output for ifconfig command # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<...
Gagan93's user avatar
  • 153
1 vote
0 answers
315 views

pfSense quit - File system unknown - harddisk corrupt?

I have a pfSense router, and it stopped working. When I connect a monitor the display stays black. When I remove the internal disk and connect it to an Ubuntu laptop, I don't see it in the file ...
SPRBRN's user avatar
  • 581
2 votes
1 answer
330 views

What's included in the base image?

FreeBSD has some software included in the "base system", and optional software can be installed from pkg and the ports collection. What exactly is included in the base system? Is the list maintained ...
Ben Whaley's user avatar
  • 1,443
1 vote
1 answer
377 views

FreeBSD CARP doesn't work in VirtualBox with bridged adapter [closed]

I have two identical VirtualBox machines running FreeBSD. Their networking is set up using "Bridged Adapter" option. I've followed FreeBSD Handbook instructions step-to-step, but I still not able to ...
arrowd's user avatar
  • 319
1 vote
1 answer
575 views

Where did load balancing using FreeBSD CARP go?

In some old manuals I see net.inet.carp.arpbalance sysctl, that turns on load balancing between CARP'ed interfaces. Recent manuals (FreeBSD 10+) say nothing about it. Where did that feature go and ...
arrowd's user avatar
  • 319
3 votes
1 answer
3k views

Slow read and write speeds on FreeBSD ZFS

my home storage server, which currently consists of 6 x 3 TB Seagate drives, 12 GB DDR3 RAM and a Core i3 540, has really poor performance when reading from or writing to the raidz2 I set up on. ...
Tobias Timpe's user avatar
1 vote
1 answer
126 views

How can destination addresses 132.148.77.28 and 132.148.77.28/32 be use different network interfaces for routing?

The output of netstat -rn on my FreeBSD virtual machine shows that: Internet: Destination Gateway Flags Netif Expire default 10.195.51.254 UGS vtnet0 10....
papiro's user avatar
  • 159
2 votes
1 answer
8k views

How do you expand /var in pfsense when you run it in memory?

I have a pfsense box running 32GBs of RAM. I enabled /var and other directories to be in RAM due to have so much space and wanted to improve performance. How do you alter and increase the size of /...
Jason's user avatar
  • 3,941
1 vote
1 answer
756 views

Why is there non-127.x.x.x traffic on my loopback device?

I've got an issue which caused me quite a bit of a headache and found the solution, but I cannot understand why the problem was happening in the first place. I've got an nginx reverse proxy which is ...
papiro's user avatar
  • 159
13 votes
3 answers
2k views

Bare metal or virtualize?

I am looking to upgrade servers and am trying to figure out a good plan. We currently have 4 servers: OpenBSD firewall/VPN server FreeNAS backup servers (local) that receives ZFS snapshots FreeNAS ...
Scott78's user avatar
  • 133
0 votes
0 answers
408 views

ipfw blocks IPs not in table

FreeBSD this_server 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016 IPFW seems to be full of ghosts for me. Here is an example. First the evidence of blocking with my IP ...
gariac's user avatar
  • 46
0 votes
1 answer
3k views

Tinc on OPNsense

Having this kind of network layout https://i.stack.imgur.com/NQXDl.jpg I can get it working using mode=switch in with tinc, but not using mode=routed Those are the network details On quantum those ...
Eugen Mayer's user avatar
2 votes
2 answers
3k views

FreeBSD shows high load, cannot find bottleneck

So we have set up a server(11.0-RELEASE-p2) that hosts around 150-200 jails. The server has 24 cores and 192gb of ram. When using top it shows no sign of stress - except the high load. All jails ...
larsemil's user avatar
  • 299
1 vote
1 answer
237 views

IPFW denies ssl connections

I'm having an issues loading https websites (google, facebook, amazon) through my PHP scripts using functions like fsockopen, file_get_contents. Operation is being timed out. So I started looking ...
Cyclone's user avatar
  • 260
3 votes
0 answers
188 views

Solaris fmadm equivalent for FreeBSD

I've been looking for the equivalent of fmadm, the fault management configuration tool of Solaris / illumos on FreeBSD. But I'm unable to find an equivalent or even a subset of tools that mimics the ...
Vinícius Ferrão's user avatar
0 votes
0 answers
84 views

Setting up remote console & poweron/off access for a single isolated physical machine

I have a server which will be sitting in a location without any smart hands (or any 'hands' at all) which is accessible but not easily. While I don't anticipate needing to power it off or on, or to ...
A__A__0's user avatar
  • 453
-2 votes
1 answer
1k views

Rescue fstab, invalid argument mounting my disk ext4

I have a problem, I think I wrong to edit /etc/fstab on centos7 and I cannot reboot my remote server. I'm in rescue mode with freebsd. I cannot mount my ada0s3 (on centos was sda3) to fix my fstab. ...
xZero's user avatar
  • 1
1 vote
1 answer
455 views

PF temporary reroute to different IP

I have a FreeBSD host that serves as an entry point to additional systems on an internal network. As such I have pf configured to redirect incoming traffic on certain ports (say, port 5000) to the ...
DCKing's user avatar
  • 113
0 votes
2 answers
3k views

Unable to connect to postgresql 9.6 server from 9.4 client

Specs Server Environment: FreeBSD (FreeNAS Jail) Postgresql version: 9.4 Listening_address: '*' Listening_port: 8096 pg_hba.conf entry: host all all 0.0.0.0/0 md5 Client Environment: Linux Ubuntu ...
Sirach Matthews's user avatar
2 votes
1 answer
787 views

ZFS corrupted directory, but zpool doesn't detect anything wrong

A directory on my FreeBSD 10.2 server somehow got hopelessly corrupted (wasn't ZFS supposed to prevent that?) ls or any other command against it leads to current session getting frozen on the kernel ...
panta82's user avatar
  • 248
3 votes
1 answer
2k views

How to change GELI passphrase on FreeBSD 11 Root-On-ZFS system with mirror RAID?

How to change GELI passphrase on FreeBSD 11 Root-On-ZFS system with mirror RAID? Swap devices are also mirrored and ancrypted. I have /dev/ada0p5.eli /dev/ada1p5.eli and /dev/mirror/swap.eli devices....
Norbert's user avatar
  • 31
2 votes
0 answers
1k views

How to use wildcards with pkg-upgrade?

As an example, when I want to list all installed packages of php70 I can just enter: pkg info php70\* But I cannot use the wildcard in this for pkg upgrade: pkg upgrade php70\* When I do get this ...
Lexib0y's user avatar
  • 227
5 votes
2 answers
1k views

Using bash shell when logging into FreeBSD ssh

I'm searching a way to be sure my commands are executed by bash on some FreeBSD 11 machines that use csh as default shell. The following is my code that works on Linux CentOS / Debian / MacOS X / ...
Orsiris de Jong's user avatar
5 votes
2 answers
770 views

How to tell if a FreeBSD host needs a reboot to activate the new kernel?

"uname" will tell me the version of the running kernel. How do I know if this is different from the installed kernel (i.e. the one that will be loaded on the next reboot)? Ideally I'd like to write a ...
TomOnTime's user avatar
  • 8,141
1 vote
1 answer
417 views

use provided gateway 2001:4ba0:fffd:1:beef::1 /128 instead of fe80::1.

I am trying to setup some IPV6 address on a FreeBSD 11 server, I was told to use as a gateway this IP: 2001:4ba0:fffd:1:beef::1 /128 My addresses are: 2001:4ba0:fffd:0063::0 /64 I tried this: ...
nbari's user avatar
  • 568
23 votes
6 answers
7k views

How bad is it to have multiple devices with the same SSH server keys?

I am working on an embedded device that runs FreeBSD and SSH. As you know, sshd likes to randomly generate a set of server keys when it first boots up. The problem is that we will be shipping the ...
rf_circ's user avatar
  • 381
1 vote
1 answer
2k views

Slow network fixed adding hw.vtnet.csum_disable=1 what are the posible side effects?

While using FreeBSD 11 on Google Compute engine creating a vpn with openvpn & l2tp (mpd), I notice that the network speed was extreamly slow, first I disable the TSO: ifconfig vtnet0 -tso But ...
nbari's user avatar
  • 568
0 votes
2 answers
2k views

Problems with static IP addressing on FreeBSD

Appreciate this is quite a basic question for serverfault but I'm quite stuck with a problem with static IP addressing on a FreeBSD server and I'm not greatly familiar with FreeBSD, but I've been ...
omega1's user avatar
  • 446
0 votes
2 answers
2k views

Why does nginx raise a 404 when it tries to acess static files on a FreeBSD server?

I've got nginx 1.8.1 on a server running FreeBSD 10.2. I'm trying to serve files from a subdirectory of /usr/local/www/ (which is default on FreeBSD), but for some reason, requests to the files I'm ...
Jules's user avatar
  • 201
1 vote
0 answers
3k views

Google Firebase Cloud Messaging not in ca_root_nss?

We are trying to migrate our push services to Google Firebase Cloud Messaging. On the development machines (that run linux) everything is fine, but in the integration system (which runs on FreeBSD ...
Mr.Gosh's user avatar
  • 323
0 votes
2 answers
326 views

How to create a salt stack manifest from an existing machine

We recently lost our system admin. and I have picked up the task of ensuring that if anything bad happens we can recreate our VM's. The systems are FreeBSD various versions. Is there any way i ...
MB.'s user avatar
  • 121
-1 votes
2 answers
2k views

System CPU use on freeBSD

I have a large number of small jobs that I need to run. If I run them on a 6core Xeon, Broadwell, it runs with at least 80-90% userland CPU If I run the same assignment on a box with 2X16 core CPU ...
camelccc's user avatar
  • 255
1 vote
1 answer
347 views

FreeBSD on AZURE

I am testing AZURE with FreeBSD 10.3. FreeBSD is up and running, configured, can connect remotely to it, but it has limited storage. I would like to attach another disk / mount point in order to have ~...
norbi771's user avatar
  • 151
-1 votes
1 answer
562 views

OpenVPN isn't found in FreeBSD 11 -- why?

I'm trying to install OpenVPN on Freebsd 11, but it says it's not found: # pkg install openvpn Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-...
Meji's user avatar
  • 107
0 votes
1 answer
202 views

jails in zfs space in freebsd 11, gives mount descfs error

Good Night, I am trying to deply a multijail environment using freebsd 11 on a OVH dedicated server. I created the cloned interfaces and created the jail , but as soon as I try to start it tells me ...
Eddy's user avatar
  • 7
0 votes
1 answer
205 views

What is the best way to build a port of a version that is only available in a newer version of FreeBSD?

I am currently supporting devices which are running FreeBSD 9.2, as well as 10. And I need to somehow install a newer version of archivers/libarchive than that which is available for these FreeBSD ...
Exander's user avatar
  • 101
21 votes
5 answers
45k views

How to check if RAM is running in ECC mode?

I updated this post since I replaced the processor, but the core of my question (and unfortunately the results as well) are the same. I built my first FreeNAS box and wanted to use ECC RAM since I ...
comfreak's user avatar
  • 1,531
6 votes
2 answers
915 views

Migrate FreeBSD Jails to Linux

we are running some jails in FreeBSD 10 and the decision has been made to decommission the FreeBSD server and migrate all the jails to Linux environment Red Hat 6 or 7. Is there a straight forward ...
sandeep.s85's user avatar
  • 2,149
2 votes
1 answer
2k views

FreeBSD jail as gateway

I am trying to set up a jail that will serve as a default gateway for some of my external clients. I have a VIMAGE jail that has a dedicated IP address in my local network which I want to use as a ...
Alexey Raga's user avatar
1 vote
1 answer
2k views

FreeBSD bandwidth throttling per IP

I have a public HTTP server running FreeBSD. Nginx allows me to limit throughput per connection, but I don't want to limit each IP to only 1 connection so I need a solution to limit per IP. Nginx ...
Martin Fjordvald's user avatar
8 votes
2 answers
3k views

Is there a way to set multiple ZFS filesystem properties at once?

My normal ZFS filesystem build process may look something like: zpool create vol1 -o autoexpand=on -o autoreplace=on mirror nvme0n1 nvme1n1 -f zfs set compression=lz4 vol1 zfs set atime=off vol1 zfs ...
ewwhite's user avatar
  • 198k

1
5 6
7
8 9
31