History log of /freebsd-10.2-release/share/man/man4/carp.4
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 267100 05-Jun-2014 marck

MFC r266859:

Change examples to have master skew above 0 to have ability to overwrite this
from the slave (for example, when master is failing on disk IO and could not be
logged into or execute cronjob).

Commented out examples changed too to simplify future merging.

Idea by: kaa@zvuki.ru
Discussed with: glebius


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 247102 21-Feb-2013 pluknet

In the EXAMPLES section: append the subsystem regular expression with a
typical interface name pattern as devd(8) uses full string match.

Discussed with: avg, glebius


# 244681 25-Dec-2012 glebius

Change net.inet.carp.demotion sysctl to add the supplied value
to the current demotion factor instead of assigning it.

This allows external scripts to control demotion factor together
with kernel in a raceless manner.


# 241045 29-Sep-2012 glebius

Give a clue how to force tcpdump(8) to interpret correctly CARP packets.


# 236294 30-May-2012 bjk

Catch up to the carp rewrite and refer to vhids instead of interfaces.

Pointy hat to: bjk
Submitted by: glebius
Approved by: hrs (mentor)


# 234953 03-May-2012 bjk

Grammar and markup fixes.

PR: docs/159854
Approved by: hrs (mentor)


# 234565 22-Apr-2012 delphij

Use 10.0 instead of 10 for FreeBSD version number. The latter undefined.


# 233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


# 230594 26-Jan-2012 glebius

- Rewrite paragraphs about preemption.
- Avoid word combination "carp interface".

Prodded by: az


# 229657 05-Jan-2012 uqs

Apply Typo-B-Gone 2000 [TM]


# 228736 20-Dec-2011 glebius

Restore a feature that was present in 5.x and 6.x, and was cleared in
7.x, 8.x and 9.x with pf(4) imports: pfsync(4) should suppress CARP
preemption, while it is running its bulk update.

However, reimplement the feature in more elegant manner, that is
partially inspired by newer OpenBSD:

- Rename term "suppression" to "demotion", to match with OpenBSD.
- Keep a global demotion factor, that can be raised by several
conditions, for now these are:
- interface goes down
- carp(4) has problems with ip_output() or ip6_output()
- pfsync performs bulk update
- Unlike in OpenBSD the demotion factor isn't a counter, but
is actual value added to advskew. The adjustment values for
particular error conditions are also configurable, and their
defaults are maximum advskew value, so a single failure bumps
demotion to maximum. This is for POLA compatibility, and should
satisfy most users.
- Demotion factor is a writable sysctl, so user can do
foot shooting, if he desires to.


# 228571 16-Dec-2011 glebius

A major overhaul of the CARP implementation. The ip_carp.c was started
from scratch, copying needed functionality from the old implemenation
on demand, with a thorough review of all code. The main change is that
interface layer has been removed from the CARP. Now redundant addresses
are configured exactly on the interfaces, they run on.

The CARP configuration itself is, as before, configured and read via
SIOCSVH/SIOCGVH ioctls. A new prefix created with SIOCAIFADDR or
SIOCAIFADDR_IN6 may now be configured to a particular virtual host id,
which makes the prefix redundant.

ifconfig(8) semantics has been changed too: now one doesn't need
to clone carpXX interface, he/she should directly configure a vhid
on a Ethernet interface.

To supply vhid data from the kernel to an application the getifaddrs(8)
function had been changed to pass ifam_data with each address. [1]

The new implementation definitely closes all PRs related to carp(4)
being an interface, and may close several others. It also allows
to run a single redundant IP per interface.

Big thanks to Bjoern Zeeb for his help with inet6 part of patch, for
idea on using ifam_data and for several rounds of reviewing!

PR: kern/117000, kern/126945, kern/126714, kern/120130, kern/117448
Reviewed by: bz
Submitted by: bz [1]


# 224883 15-Aug-2011 glebius

Fix a couple of issues in last commit.

Submitted by: maxim
Approved by: re (kib)


# 224879 15-Aug-2011 glebius

Describe how carp(4) status changes can be processed with
help of devd(8).

Submitted by: "Alexander V. Chernikov" <melifaro ipfw.ru>
Approved by: re (kib)


# 201801 08-Jan-2010 ru

Complete the swap of carp(4) log levels and document the change.

MFC after: 3 days


# 159368 07-Jun-2006 glebius

Add section describing how ARP load balancing works and its
limitations:
- Can't load balance behind router
- ARP balancing + pfsync probably won't work

PR: kern/93829
Wording by: scottl


# 149207 17-Aug-2005 keramida

Typo: s/adverisement/advertisement/.

Submitted by: Fredrik Lindberg <fli+freebsd@shapeshifter.se>
PR: docs/85050


# 147432 16-Jun-2005 ru

(Mostly) markup fixes.

Approved by: re (blanket)


# 146227 15-May-2005 glebius

- Document net.inet.carp.suppress_preempt MIB.
- Xref pfsync(4)


# 144746 07-Apr-2005 glebius

s/foobar/mekmitasdigoat/g

Requested by: ceri, des


# 144743 07-Apr-2005 glebius

- Be more informative about advbase and advskew. [1]
- Fix ifconfig commands. Replace 'mekmitasdigoat' with
'foobar'. While the former is more cool, the latter
makes example lines shorter.

Wording by: scottl
MFC after: 3 days


# 144010 23-Mar-2005 rse

1. Annotate the rc.conf reference with a hint to the "cloned_interfaces"
variable, because it might be not obvious how to configure carp(4)
devices in rc.conf.

2. Remove the sentence about the not implemented "carpdev" option (this
was not imported from OpenBSD according to our source code) to avoid
confusion.

Reviewed by: glebius@
MFC after: 3 days


# 142449 25-Feb-2005 glebius

Update description of net.inet.carp.log


# 142372 24-Feb-2005 glebius

mdoc(7) cleanup

Submitted by: ru


# 142293 23-Feb-2005 glebius

Manpage for CARP from .Ox, with minor modifications.

Obtained from: OpenBSD