FreeBSD

265

Solutions

412

Contributors

FreeBSD is a free Unix-like operating system that is a direct descendant of BSD. FreeBSD contains a significant collection of server-related software in the base system and the ports collection, it is possible to configure and use FreeBSD as a mail server, web server, Firewall, FTP server, DNS server and a router, among other applications. Although FreeBSD does not install the X Window System by default, it is available in the FreeBSD ports collection. A number of Desktop environments such as GNOME, KDE and Xfce, and lightweight window managers such as Openbox, Fluxbox and dwm are also available to FreeBSD.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello,
I use FreeBSD ipfw, I want to measure current speed in bytes per second and packets per second for monitoring.
If I have a pipe and two queues in it, ipfw doesn't give current speed when executing 'show'. If I try to measure speed by counters (ipfw rules), I don't get real speed because counters measure queue input, some packets can be dropped in queue or pipe.
Please, help.
0
Concerto Cloud for Software Providers & ISVs
LVL 5
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Hello ,

We are building an IDS/IPS/Waf system that reads the packets from PF_Ring and apply rules to IPTables / Netfilter / Ntuple .
That software needs to access to userspace for iptables and kernelspace for netfilter. So we already pipe the both side.
But our main concern is about the performace issue. Time is our biggest enemy and need to solve the problem in mikro / mili seconds.
So where is the best place working area for our  main core of software for performance ? kernel area or user area ? and why .

Thanks for information
0
Hello ,

We need to install eth-tool on freebsd. As far as i searched on the net it is not possible but i am very suprised to see this on free bsd man's page

https://www.freebsd.org/cgi/man.cgi?query=ethtool&apropos=0&sektion=0&manpath=Red+Hat+Linux%2Fi386+9&format=html


I try to install from the given link below but i am facing with an issue .
Does any body know how to over come this issue ?





root@fw:~/Driver/rng-tools-5 # ./config
./config: Command not found.
root@fw:~/Driver/rng-tools-5 # ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run 

Open in new window

0
Hello ,


I have 2 interfaces on my free bsd

1. 10.10.10.2/30 ip assigned
2. 10.10.10.6/30 ip assigned

i want to route 192.168.0.0/21 traffic to 10.10.10.5 ip (second interface's gateway) that comes from the router to first interface

router ---- (1st interface) FreeBSD (2nd interface) ---- router


thanks
0
Hello ,

I am using intel X550 fiber interface but it has unsupported SFP+ modules so i need to apply this command on freebsd   :
modprobe ixgbe allow_unsupported_sfp=1,1


Thank you
0
I want to activate ntuple support on my interface but i do not know how to do it on freebsd actually it is easy with eth-tool

ethtool -K p6p2 tso off
ethtool -K p6p1 tso off
ethtool -K p6p2 gso off
ethtool -K p6p1 gso off
ethtool -N p6p2 rx-flow-hash udp4 sdfn  
ethtool -N p6p1 rx-flow-hash udp4 sdfn 
ethtool -K p6p2 ntuple on
/sbin/ifconfig p6p2 txqueuelen 10000
ethtool -G p6p1 rx 2048 tx 2048
ethtool -G p6p2 rx 2048 tx 2048

Open in new window


but i could not find how to do it
0
I am sorry , i am very new on freebsd but i need help to convert this rules to pf rules. Should some one help me ?

iptables -t raw -D PREROUTING -p tcp   -m tcpmss --mss 1460  -m ttl --ttl-eq=118 -m length --length 48  -d 178.20.227.138   -m u32 --u32 '32&0x0000FFFF=0x2000'  -j DROP 

iptables -I FORWARD 1 -i p4p2 -m ttl --ttl-eq=252 -m length --length 1048 -d 185.9.157.211 --match string --algo kmp --hex-string |000000000000000000000000000000000000000000000000000000000000| -j DROP

Open in new window



Also is there any command like on centos to watch pf dropped / rule hitted packets like watch iptables -nvL

Thanks
0
I am testing a free bsd nic performance. But i could not activate the irq balancer . Any body know how ?


Screen-Shot-2017-08-04-at-15.09.35.png
0
I have a mail server on a FreeBSD box. Can you tell me how to tell what kind of email server is running on this FreeBSD?
0
Hi
I am trying to make Squid working on FreeBSD 11
I have two NIC's internal INT_IF and external EXT_IF.

My NAT is working but I am not sure if this is redirection issue or squid.conf

--- /etc/pf.conf
nat on $EXT_IF from !($EXT_IF)->($EXT_IF:0)
rdr on $INT_IF inet proto tcp from any to any port www -> 127.0.0.1 port 3128

pass in  on $INT_IF inet proto tcp from any to 127.0.0.1 port 3128 keep state
pass out on $EXT_IF inet proto tcp from any to any port www keep state


pass in quick on { lo0 $INT_IF } all
pass out quick on $EXT_IF inet proto {tcp,udp} from any to any keep state

pass out quick on $EXT_IF inet proto { tcp,udp,icmp} all

Open in new window



-- squid.conf---
maximum_object_size 30000 KB
maximum_object_size_in_memory 40 KB

acl localnet src 10.1.0.0/24
acl localnet src 172.16.15.0/24

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT


http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow localhost manager
http_access deny manager


http_access allow localnet
http_access allow localhost

Open in new window

0
What does it mean to be "Always On"?
LVL 5
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

I'm trying to configure my server firewall to only accept connections that are coming from an Xfinity user.  I don't have a static IP, but was wondering if Xfinity owned a block, or something like that.

I'm setting this up on a FreeBSD server.
0
Just got word that there has been "suspicious activity" on my server.  It has something to do with the file mysite.com/.mail

Can someone help me lock things up?

I've changed my root password so far.

System is FreeBSD
0
I'm wondering if a NUC of type DCCP847DYE would be easily expandable for storage (NAS) purposes. 'Unboxing' shows a SATA socket (see attached)
nuc.pdf
0

FreeBSD

265

Solutions

412

Contributors

FreeBSD is a free Unix-like operating system that is a direct descendant of BSD. FreeBSD contains a significant collection of server-related software in the base system and the ports collection, it is possible to configure and use FreeBSD as a mail server, web server, Firewall, FTP server, DNS server and a router, among other applications. Although FreeBSD does not install the X Window System by default, it is available in the FreeBSD ports collection. A number of Desktop environments such as GNOME, KDE and Xfce, and lightweight window managers such as Openbox, Fluxbox and dwm are also available to FreeBSD.

Top Experts In
FreeBSD
<
Monthly
>