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, ...

learn more… | top users | synonyms

0
votes
1answer
845 views

FreeBSD guests running on ESX hang without panic log

We have three servers running on a same ESX host, all virtual disks are from a remote SAN storage controller. These tree servers hanged and restarted several days ago, and it happened to the DB server ...
4
votes
1answer
137 views

How do I securly update a *BSD system?

Security is a major concern. Every major Linux distribution uses signed packages. But the FreeBSD systems in the office downloading unsigned packages/ports via FTP. Is there a solution that would ...
0
votes
2answers
141 views

Both DC's able to connect to branch office, Branch DC can only connect to one local DC

I am stumped on this one, I appreciate any help with this scenario because this just seems odd. We have 3 domain controllers: DC1 - 192.168.1.2 - main office (LAN port of PFSense) DC2 - 192.168.1.4 ...
5
votes
3answers
3k views

PAM: Execute a command before pam_mkhomedir?

When a user logs into a system and there is no home directory, we would like to to create the user's home directory using pam_mkhomedir. This is a common practice. Here's a quick description of ...
4
votes
2answers
1k views

FreeBSD server - certified compatible hardware?

I am looking for recommendations for hardware that is "certified" with FreeBSD (8+) I suspect I am looking for a small server manufacturer that will build me a server that "just works". I have read ...
2
votes
1answer
824 views

rsync to remote server that does not have the same users setup as local server produces permission error

I'm setting up a backup of my linux-based webserver to a NAS running FreeBSD. I've created a backup user on the FreeBSD box and ran rsync as root on the local (web server) box using the following ...
1
vote
1answer
335 views

Why no one seems to use FreeBSD to host Rails app? [closed]

I'm moving this thread previous adressed to stackoverflow. (Original Thread) We use FreeBSD 8.2, Rails 3.0.7, postgresql 8.3, passenger and nginx for our production servers. (More Infos) We seems to ...
2
votes
1answer
1k views

Protecting against UDP flood

One of my servers is being flooded with udp packets on random ports. 12:11:54.190442 IP 182.48.38.227.60173 > localhost.51523: UDP, length 1 12:11:54.190447 IP 182.48.38.227.60173 > ...
0
votes
2answers
216 views

Rewrite sh script for freebsd

I have an sh script: #!/bin/bash fullpath="$1" filename="${fullpath##*/}" dir="${fullpath:0:${#fullpath} - ${#filename}}" base="${filename%.[^.]*}" ext="${filename:${#base} + 1}" if [ -f ...
0
votes
1answer
273 views

Portsnap error, doesn't work anymore FreeBSD 8.2

I can't seem to run portsnap anymore, there seems to be an error and /usr/ports/sysutils/portsnap doesn't exist for a reinstallation. The error I'm getting when running portsnap is: ...
0
votes
2answers
2k views

PF rules and configuration to allow a local IP alias to NAT on FreeBSD?

Here's exact details of my configuration: Firewall/DNS Server: 192.168.2.1 (local lan) which routes out to the internet. <-- NOT UNDER MY CONTROL My FreeBSD Server: 192.168.2.23 (LAN) "Inside" ...
0
votes
1answer
754 views

uWSGI touch-reload feature not working with 100% CPU

On my development box, I have configured uWSGI to reload every time a file gets touched (using the --touch-reload command line argument). When I specify a non-existent file, I get a warning in the ...
1
vote
1answer
231 views

Make: Permission Denied (until I `cd .`)

I have an account on a shared host running FreeBSD 5.5-STABLE. I was compiling my own version of Ruby today, and encountered this anomaly: If I tried to execute 'make', I get a "permission denied" ...
1
vote
2answers
127 views

Adding FreeBSD user upon first login

Is it possible, to achieve the proposed behavior on my FreeBSD 8.2 server: New user ssh's into my server. He supplies as 'Login:' his student index number and a new, locked account is created with ...
2
votes
1answer
426 views

I cannot use screen stuff command from cron, but I can from a shell script (same user)

I have a shell script on FreeBSD that sends a few screen stuff commands to a running screen session (which runs a Minecraft server). The commands work when I execute it manually. But if I put the ...
0
votes
1answer
314 views

Install MySQL on FreeBSD 8.2 without ports

I have downloaded and extracted the latest MySQL package from their website on my FreeBSD machine, I would like to install it. But I don't want to use the inbuilt ports, I want the latest version to ...
1
vote
4answers
1k views

Monitor Dell thermal sensors in FreeBSD?

I'm trying to remotely monitor temperature sensors within two Dell PowerEdge 6850's. I have a fear that the building we are in is turning off the air conditioning on the weekends to save power, which ...
0
votes
2answers
345 views

using “include” like statement in pf.conf to include some parts from other files

I want to be able to include some parts of my pf.conf from other set of files. For example I will include "set timeout" vs like statements in another file. Using anchors and "load anchor from ...
4
votes
4answers
967 views

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives ...
1
vote
1answer
1k views

Export NFS to multiple networks in FreeBSD (FreeNAS)

I'm trying to export a share to multiple networks using the following in the /etc/exports file: /mnt/tank/xen_nfs -alldirs -mapall=root:wheel -network 10.1.1.20 10.1.1.45 10.1.1.105 but whenever I ...
1
vote
2answers
3k views

How to monitor ZFS with SNMP in FreeBSD?

I'd like to monitor these with SNMP: zpool iostat -v 1 Per drive and sum. zpool status Scrubbing as 1 and not scrubbing as 0. zpool status -x Monitor $? (return value). Send trap when value ...
1
vote
1answer
1k views

FreeBSD: how to associate disk serial numbers to device names when using a 3ware SATA card

When using a 3ware SATA/RAID card is there a way to associate the disk serial # with the /dev/daN device? I can get serial numbers by using "smartctl -d 3ware,0 /dev/twa0 -i", but I don't know if ...
3
votes
1answer
100 views

blocking packets larger then specific size with pf

Is there a way with pf to block specific type of packets larger than specific size?
5
votes
5answers
3k views

ZFS on OpenSolaris or FreeBSD

I have no real experience with ZFS, and very limited experience with Solaris & FreeBSD. After reading numerous articles about ZFS, I'm pretty convinced ZFS is something I want to use for my home ...
4
votes
3answers
4k views

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, ...
2
votes
1answer
73 views

monitoring a network for spammers/webscripts gone bad

I am going to be setting aside some IP space so that someone can use it as co-lo space and dedicated hosting. The network will have its own cisco router and several L2 managed switches that I'll admin ...
3
votes
4answers
1k views

Automatically throttle network bandwidth for users causing bulk traffic

Is anybody aware of a FreeBSD, Linux, or Windows based product that can automatically lower the priority of network packets of users that have caused a high amount of network traffic during the last ...
3
votes
5answers
3k views

Apache DDoS Protection in router (pFsense) [duplicate]

I'm soon going to change my infrastructure when I buy a new server. I'm going to replace my D-Link DIR-655 router with an pFsense router (and probably use the 655 as an AP) using my old server ...
2
votes
1answer
157 views

Running script when FreeBSD boots, but changing cwd first

I want to run a script when FreeBSD boots. I tried symlinking to it from /usr/local/etc/rc.d, but the script itself (myscript.sh) uses paths such as ./init-site.sh. These don't resolve correctly when ...
2
votes
3answers
690 views

How can I set default versions of MySQL, Postgres, Apache, etc. prior to installing anything from ports in FreeBSD?

When I install software from ports on a FreeBSD system, sometimes rather outdated versions of Apache/MySQL/Perl/etc are installed as dependencies. Is there any way to set the versions of these ports ...
2
votes
7answers
976 views

Changed root's shell to non-existing path

I just made a bit of a mistake: Fresh install of FreeBSD 8.2 logged in as root installed bash from ports created users, setting bash as shell vipw (edit passwd file) changed root's shell from ...
0
votes
2answers
304 views

FreeBSD 4.7 missing IPFW - How do I install it?

I have two FreeBSD servers that are on 4.7. These are two older servers that were already configure and setup when I got here. Now that the original admins are gone, I've started looking a bit more at ...
1
vote
4answers
223 views

FreeBSD - 'cd ~' takes me to /root instead of home directory

I just created a new user (I was logged in as root to do so) with the adduser utility. I gave the new user his own home directory. If I check the /etc/passwd file, it shows the users home folder is ...
1
vote
1answer
3k views

nss_ldap: could not search LDAP server - Server is unavailable

I have an OpenLDAP server installed on FreeBSD 8.x. I am getting this error: Mar 25 16:11:45 ldap2 slapd[1268]: nss_ldap: could not search LDAP server - Server is unavailable I have included my LDAP ...
0
votes
1answer
584 views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
1
vote
1answer
1k views

IPsec isakmp_natt problem on racoon.conf

I have this weird problem where racoon complains of the following error: WARNING: NAT-T is enabled in at least one remote{} section, but no 'isakmp_natt' address was specified! I've already ...
3
votes
2answers
1k views

Run cgi-script on commandline as user www?

I'm running FreeBSD 7 and apache-2.2.13. I am trying to debug a cgi script at http://www.example.org/cgi-bin/printenv . This script is a simple script written in Bourne shell. I would like to run ...
1
vote
1answer
342 views

LDAP loginShell on platforms with different paths

I'm using LDAP to deal with users and authentication across my network. I'm now adding FreeBSD hosts and have hit a problem with login shells. on Linux, shells tend to be in /bin/$shellname, so ...
0
votes
2answers
283 views

hosts.deny file missing

On a freeBSD server, I have a hosts.allow and a hosts.equiv, but no hosts.deny file. Does freeBSD not use the deny file? If it does, can I make the file myself or does it have to be generated by ...
0
votes
1answer
2k views

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone?

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone? As I guess, the server should have ability to manage incoming connections, but I don't know ...
0
votes
2answers
2k views

Is it possible to mount NFS volume serving from FreeBSD server via SSH tunnel on Mac OS X?

I heard that NFS share via SSH tunnel is impossible on Mac OS X: http://biowiki.org/MountingNFSThroughSSHTunnel I have been trying 2 days to make it, but I failed. Is it really impossible? Or what ...
0
votes
1answer
302 views

How to restrict anonymous FTP access to downloads only?

I have a server running FreeBSD and have enabled anonymous FTP access, but wish to restrict the access to only being able to download files I have put on the server myself, because I don't want people ...
0
votes
1answer
55 views

setlock analog for FreeBSD

Is there something similar to setlock available or built into FreeBSD?
0
votes
1answer
81 views

How can I see dumps of wholе HTTP packets in FreeBSD?

I need to see whole HTTP packets sent and recieved by an application for debugging purposes. How can this be done in command-line?
4
votes
3answers
1k views

FreeBSD Hypervisor?

is there any possibility to have FreeBSD running virtual guests (Linux and Windows) apart from VirtualBox? Didn't find any recent information yet.
7
votes
1answer
378 views

FreeBSD `freebsd-update` automation?

freebsd-update command prints updating entries after it downloaded. But it shows them with more. So I have to press some spaces to continue. Is there a way to avoid this behavior? I want to execute ...
4
votes
2answers
3k views

ZFS: How can I stop a zpool replace that's currently in progress?

A few days ago, I noticed that the ZFS pool on my home server had started reslivering a disk by itself but was no longer making any progress. The disk had some SMART errors (but did not consider ...
0
votes
1answer
103 views

How can I check disk slices and part status on FreeBSD?

How can I check disk slices and part status on FreeBSD?
0
votes
2answers
397 views

How to make my FreeBSD machine visible automatically on Mac within same local network?

The Mac machines within a local network is visible automatically to the other Macs. They're visible on Finder and can be accessed with their names via console. As I know this is multicast-local-DNS. ...
0
votes
1answer
257 views

FreeBSD disk parts with no mounting. How does this work?

I'm using a VPS service. I installed FreeBSD 8.1, and now configuring. And today, I found really wired thing. This is my disklabel editor screen from sysinstall. FreeBSD ...