F
F
Ferro's Gitbook
Github
Docker Hub
Search…
Introduction
Programming
Linux
Networking
Web
Docker
Virtualization
Storage(SW)
BSD
Mac
Windows
Cloud
BI
DB
DevOps
Multimedia
Hardware
Electronic
Android/iOS
Apps
Powered By
GitBook
BSD
TCP congestion control
relayd
PF
ipfw
ZFS
DTrace
CAM Target Layer(ctl)
HA cluster
TCP congestion control
1
sysctl net.inet.tcp.cc
2
net.inet.tcp.cc.available: newreno
3
net.inet.tcp.cc.algorithm: newreno
4
5
kldload cccubic
6
kldload ccvegas
7
kldload cccdg
Copied!
relayd
https://man.openbsd.org/relayd.conf.5
layer 3 and/or layer 7 load-balancer, application layer gateway, or transparent proxy
PF
https://man.openbsd.org/pf.conf
1
pass in all
2
pass in from any to any
3
pass in proto tcp from any port < 1024 to any
4
pass in proto tcp from any to any port 25
5
pass in proto tcp from 10.0.0.0/8 port >= 1024 \
6
to ! 10.1.2.3 port != ssh
7
pass in proto tcp from any os "OpenBSD"
8
pass in proto tcp from route "DTAG"
Copied!
ipfw
1
sudo ipfw add fwd 127.0.0.1,12345 tcp from not me to any 80 in via en1
2
sudo ipfw add fwd 127.0.0.1,12345 tcp from not me to any 443 in via en1
Copied!
ZFS
https://www.freebsd.org/cgi/man.cgi?query=zpool
1
zpool create pool_name da0p3 da1p3
2
zpool create pool_name \
3
mirror da0 da1 \
4
mirror da2 da3 \
5
log mirror da4 da5
6
zpool add pool cache da2 da3
7
8
zpool list
9
zpool get all pool_name
10
zpool status pool_name
11
zpool iostat -v pool_name 5
12
zpool list -v pool_name
Copied!
DTrace
https://wiki.freebsd.org/DTrace/Tutorial
CAM Target Layer(ctl)
The ctl subsystem provides SCSI target devices emulation
HA cluster
https://bsdmag.org/nearly-online-zpool-switching-two-freebsd-machines/
Previous
Storage(SW)
Next
Mac
Last modified
1yr ago
Copy link
Edit on GitHub
Contents
TCP congestion control
relayd
PF
ipfw
ZFS
DTrace
CAM Target Layer(ctl)
HA cluster