0
votes
1answer
39 views

Allow user to bind only certain ports on Linux [on hold]

Welcome, I'm looking for equivalent of mac_portacl from FreeBSD. I want to assign to one user only certain ports. Filtering it by iptables isn't enough, because when process works, the port is blocked ...
1
vote
1answer
157 views

MySQL high CPU usage on small website

I have a small website hosted on a dedicated server (FreeBSD 9.2, MySQL 5.6.1 and php 5.5.5). The problem is that MySQL eats a lot of cpu resources even if the website have a few visitors. The ...
0
votes
1answer
35 views

Local file server needs root access to change permissions

The previous developers set up a local Linux file server (FreeNAS 8.1) and while we can log in through the username they provided we do not have root access so we can not change permissions or do ...
0
votes
1answer
38 views

Remotely automate optimization of mysql database

I am not a mysql or sql expert by any means, and not too savy on FreeBSD, either. We have a server that regularly needs one table to have data deleted < a time frame that leaves only 1 month of ...
-2
votes
2answers
236 views

Why does a failed ZFS disk still seem to work fine?

Two disks just failed in my zpool with read/write errors, so I took them out and inserted them in another host, created a zpool just with them, and filled the file system with dd if=/dev/zero ...
1
vote
1answer
349 views

Why Permission Denied with NFS after reboot?

I have Ubuntu and CentOS clients nfsv3 mounting to a FreeBSD box, which got rebooted while the nfs clients were connected. Now the clients get a permission denied when they try to access the mount ...
0
votes
1answer
99 views

rsync freebsd client, rsync linux server

Many hours to check this script but nothing of good... I've a linux rsync server and with linux client I use: rsync --password-file=/usr/home/user/.rsync.pass --log-file=/var/log/docs.log --progress ...
0
votes
1answer
60 views

Looking for VCS wrapper that tracks system files changing across the whole *nix OS and sends diffs through email

I need some software that looks after custom directories across the whole OS (i.e. /etc) and alerting me if someone edit something file inside. Additionally, this tool must automatically commit and ...
1
vote
1answer
271 views

What are main differences between Linux and FreeBSD system from sysadmin point of view? [closed]

What are main differences between Linux and FreeBSD system from sysadmin point of view ? What specifically and significantly differs Linux from BSD (memory/resources/users management, other ...
0
votes
1answer
42 views

New rule to .htaccess file don't work on live site

I had to add a rule to the .htaccess file of existing site, which redirect some old images urls to the new ones. So, directly after the RewriteEngine On I added my new rule: RewriteRule ...
2
votes
3answers
517 views

Snort Based Firewall

I have not worked with SNORT much or done too much research on this but it sounds possible. If I setup a server and run snort on it. Would it then be possible to route ALL my traffic through it like ...
1
vote
1answer
127 views

Rsync Backup from XFS to ZFS

I currently have a backup solution in place that uses rsync to backup all out Linux servers from remote sites, to an XFS drive in our HQ. I am now trying to rsync the folder from the XFS drive in our ...
0
votes
1answer
98 views

Web Server Processes sticking at Sending Reply

I have a web server that has a lot of processes getting stuck at sending reply. This occurs on numerous pages that are created from different CMS systems in use so a single php script issue seems to ...
-6
votes
1answer
123 views

FreeBSD = What of Linux Dists [closed]

The main original standard version for general-purposes BSD Unix-like system is FreeBSD which is by default doesn't have installed GUI and can be installed directly in single board computer . I would ...
6
votes
1answer
205 views

How to start netcat in listening mode from another host?

I have a script where I would like to start nc in listening mode on 10.10.10.11, but I would like to do it from 10.10.10.10, where I have this script ssh -n 10.10.10.11 nc -l 8023 | mbuffer -s 128k ...
1
vote
3answers
263 views

Possible to kill command after a timeout if not success?

I would like to use mbuffer to do ZFS replication with, but in order to do that, I have to start it in listening mode on the target host. That I would do from the master host by ssh 10.10.10.11 ...
0
votes
1answer
142 views

WebDAV on server exposing ZFS data from another server

Is it even possible to have WebDAV server hosted on one computer and its pulling the "data" (folders and files and all) from another server? Something like so: CentOS Proxy ...
2
votes
1answer
294 views

Managing multiple linux\freebsd server? [closed]

I currently have 5 FreeBSD servers that I'm handling on my own. I just bought 10 more servers and I want to start using some centralized configuration system like Puppet. I was wondering if there ...
4
votes
1answer
2k views

How to NFSv4 share a ZFS file system on FreeBSD?

Using FreeBSD 9, and created a ZFS file system like so zfs create tank/project1 zfs set sharenfs=on tank/project1 There are many howto's on setting up NFSv3 on FreeBSD on the net, but I can't find ...
3
votes
1answer
437 views

Does NFSv3 respect ZFS ACL's?

NFSv3 of course doesn't support ZFS ACL's, but what will happen if I have the following setup?: +-----------------------------------------+ +-------------+ | FreeBSD ZFS serv1 ...
1
vote
1answer
148 views

Bacula backup on Linux, restore on FreeBSD

I'd like to migrate my storage server from Linux (Debian) to FreeBSD. Biggest part of this is restoring backups saved on Linux to tape volumes on the newly installed FreeBSD. Unfortunately I don't ...
1
vote
4answers
141 views

solution for an offline server

I'm trying to setup a development server at work that will ideally be able to test drive a couple of projects in PHP, Rails, or Django (not always running at the same time). I develop the apps locally ...
3
votes
2answers
994 views

linux : netstat listeting queue length

Is there a way to view queue length on listening socket under linux, the same way as netstat -L outputs for freebsd? I.e. you can see X/Y/Z in netstat -L output, but netstat under linux doesn't ...
0
votes
1answer
170 views

Provide Internet access for different VLAN

I have several managed switches at work that connect all computer within our office to the ADSL modem. However I would like enforce a VLAN policy to isolate traffic within the network. Through my ...
0
votes
1answer
40 views

Any high-level and cross-platform wrappers for security event auditing

There exists some high-level wrappers for system file events, for here it is an example of usage of Listen ruby gem: Listen.to('some/path', 'some/another/path', :filter => [/\.tmp$/]) do ...
2
votes
3answers
930 views

SSHing with the nobody user

I am on FreeBSD. Essentially, I am trying to have a php script (run by apache) ssh into another machine. I am running into the problem that nobody does not have a .ssh configuration file and so am ...
3
votes
2answers
277 views

Join multiple filesystems (on multiple computers) into one big volume

Scenario: Have 10 computers, each have 12x2TB HDDs (currently) in raidZ2 (10+2) configuration, so, in the each computer i have one approx. 20TB volume. Now, need those 10 separate computers ...
3
votes
1answer
435 views

Should pam_mkhomedir go in /etc/pam.d/login , sshd or system-auth?

I want to enable pam_mkhomedir.so for users who authenticate to our system. I want a user's home directory to be created when they SSH into the box. One common convention seems to be to put ...
4
votes
3answers
174 views

Moving files off volume and then back on while preserving all attributes?

I have a situation where I'm testing a new filesystem that has an issue with some metadata. All of the files are intact, however I ultimately have to effectively move every single file off to another ...
1
vote
2answers
137 views

Odd rsync issue - duplicating and uncompressing files

I have two servers: our production web server(freebsd) and a backup server(centos). The production server does mysql database dumps every 3 hours and compresses the dump file using bzip2. So we have a ...
4
votes
3answers
3k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
2
votes
2answers
1k views

UPS monitoring software for Linux, FreeBSD and Solaris

Looking to configure auto shutdown for my servers once the UPS battery reaches a certain state. We have MGE / EATON Pulsar M3000 UPS units, and a heap of servers running Ubuntu, FreeBSD and Solaris - ...
2
votes
2answers
433 views

How much does FreeBSD differ from Linux?

I was trying to setup a NAS box for my ESXi server using linux, I was going to install ZFS and iSCSI and I thought everything was going to be awesome. I was wrong... ZFS on Linux is not the most ...
4
votes
1answer
623 views

How can I make bash to log shell commands to syslog?

Bash 4.1 is able to log the history to syslog. However I can't seem to make it work under FreeBSD 8. I've tried re-compiling bash from ports with -DWITH_SYSLOG= but to no avail. Has anyone managed to ...
1
vote
1answer
494 views

How to share multicast traffic to many vlans

I have linux computer , this computer connected with entire my network via zyxel gs-2200. In this zyxel also connected router with 500 vlans, one by client. On linux computer i have vlc program ...
2
votes
1answer
789 views

Is it possible to restart a supermicro kvm with ipmitool? (the kvm not the server)

The KVM on my supermicro motherboard seems to have crashed or is otherwise not answering network requests on it's assigned IP address. I need to try to restart the KVM (not the server). Is this ...
5
votes
2answers
233 views

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 ...
0
votes
1answer
375 views

how to view history command for user root

On FreeBSD 8.1 how to view history command for user root. Detail many sesion , because user root use by 3 people system admin. Thank all
0
votes
1answer
149 views

choise option when install syscp on freebsd

I install syscp on freeport (install from port). Guide me install syscp with choise option (ex: remover ftp or apache on syscp because I intalled ftp server)
0
votes
3answers
544 views

FreeBSD and Linux VLAN

I have a LAN and i need to create a LAB with three VLAN on my boxes, Linux and FreeBSD. Well i create a VLAN 1 on the linux box as follow: sudo vconfig add eth0 1 sudo ifconfig eth0.1 inet6 add ...
1
vote
1answer
522 views

How to get the CentOS 5.6 alsa drivers which will really work with one shot, without any internet

I have one chance to install this in my server on site. Server that i am running is CentOS 5.6 (Dell R310, RAID1) where i need to install alsa-sound driver so that anything related to audio recording ...
25
votes
6answers
31k views

FreeBSD vs Linux performance? [closed]

I know that FreeBSD is famous for being highly stable, secure and of course open source. So I am going to try it on one of my servers. However, I am wondering what are the pros and cons of Using ...
2
votes
1answer
793 views

pipe multiple files, single ssh connection, remote commands

I'd like to pipe several files to a remote server, piped as input to commands run on the remote server, over ssh, but only one ssh connection/command is permitted. (In the remote authorized_keys file, ...
2
votes
1answer
629 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 ...
0
votes
2answers
199 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 ...
2
votes
1answer
72 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
3answers
948 views

What's the difference between BSD-style and Unix-style command line options?

I tried to google it but to no avail. Can anybody help me with this?
1
vote
1answer
239 views

suggestions for firewall/router project using *BSD or Linux [closed]

I have a project in mind and I'd love to hear some ideas on some open source solutions with COTS hardware. I have a few 24 and/or 48 port managed layer2 switches with customers potentially on each ...
0
votes
2answers
80 views

freebsd server access remotely

I want to install freeBSD on a used dell server that I just bought. Can I put that box in a room and manage it remotely (no keyboard, monitor attached to it) from my linux laptop?