| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
where the "wrong" #define was used.
ok dlg@
|
|
|
|
|
| |
cast to unsigned and test for > X to avoid warnings that comparing an
unsigned < 0 make no sense; ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
carp interfaces have this state for a while. ok mpi@ phessler@
|
|
|
|
|
|
|
| |
Fix signed vs unsigned and dup symbol shadow.
ok mikeb@
"looks good" deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new config option "control isakmpd|iked|all|none" in sasyncd.conf(5)
is used to set the mode; the default is to control isakmpd like
before. When controlling iked, sasyncd connects to the daemon using
the imsg socket and sends imsgs - this is easy because the imsg
framework has been imported into libutil. iked(8) already includes
the important bits to work with sasyncd(8) (the active/passive mode
option in ikectl).
manpage bits ok jsg@
ok jsg@
|
| |
|
|
|
|
|
|
| |
RTM_IFINFO to monitor the state of carp(4) interfaces; programme the
filter on the socket accordingly so it doesn't have to handle other
message types. ok henning@
|
|
|
|
|
|
|
|
| |
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be
called in the kernel without process context.
ok henning@, brad@
|
|
|
|
|
| |
memcpy the if_msghdr to avoid alignment problems.
OK hshoexer@, miod@, deraadt@
|
|
|
|
|
|
| |
to our current carp state.
Based on a diff by ho@.
OK ho@, hshoexer@, deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hold the carp demotion when booting, to prevent carp from preempting until
we've sync'd with our peers. This adds a new CTL_ENDSNAP message to the
exchange between the sasync daemons to indicate when the complete snapshot
has been sent. Undemote after 60 seconds, or when recieve a CTL_ENDSNAP from
all our peers.
Syntax is slightly changed, removing the 'carp' keyword (so do
"interface carp0" rather than "carp interface carp0". Adds 'group <ifgroup>',
defaults to the 'carp' group.
ok moritz@
|
|
|
|
|
|
|
|
| |
BACKUP, listen to the routing socket for link change messages.
Based on a diff from nathanael at polymorpheous dot com.
ok moritz@
|
|
|
|
| |
argument to a log_err() call. ok ho@
|
|
deraadt@ ok.
|