Age | Commit message (Collapse) | Author |
|
bundles together. Extend the kernel interface to export the bundle
information to userland. Then ipsecctl -ss -v can show the internal
relations. Unfortunately the header SADB_X_EXT_PROTOCOL was reused
by SADB_X_GRPSPIS, so it cannot be used to transfer the second sa
type with sysctl. Introduce a new SADB_X_EXT_SATYPE2 and use it
consistently.
OK hshoexer@ markus@
|
|
instead pull in <netinet/in.h> or <arpa/inet.h> when those are needed.
ok florian@ beck@ millert@
|
|
Brought up by doug@, ok reyk, djm, doug
|
|
if they precede the noun and omit hyphens otherwise.
ok tj
|
|
# If you have ElectricFence available, you can spot abuses of the heap."
Or, uhm you can simply use our malloc.
|
|
ok beck
|
|
ok deraadt@
|
|
Diff from Yuuichi Someya.
ok reyk markus
|
|
is when sanitising standard fd's before calling daemon().
Use a tweaked version of the ssh(1) function in all three places
found using fcntl() this way.
ok jca@ beck@
|
|
Feedback millert@ kettenis@
|
|
Base on diff from Yuuichi Someya
ok markus reyk mikeb
|
|
issue reported by igor.kos
(temporary) fix entirely provided by sthen
|
|
|
|
|
|
|
|
|
|
DES is insecure since brute force attacks are practical due to its
short key length.
This removes support for DES-CBC encryption in ESP and in IKE main
and quick mode from the kernel, isakmpd(8), ipsecctl(8), and iked(8).
ok mikeb@
|
|
ok deraadt@
|
|
|
|
Like really, who does??!
|
|
malloc, calloc, realloc*
ok krw millert
|
|
is non-portable. Also add missing asprintf() return value checks.
OK deraadt@ guenther@ doug@
|
|
a fstat() call.
ok mikeb@ markus@
|
|
to the same policy is already active. OK markus, hshoexer
|
|
|
|
This code is largely unfinished and is not used for anything. The change
leaves identities as only objects referenced by ipsec_ref structure and
their handling requires some changes to support more advanced matching of
IPsec connections.
No objections from reyk and hshoexer, with and OK markus.
|
|
ok markus, hshoexer
|
|
ok doug millert miod
|
|
ok tedu miod
|
|
The .Ar macro already causes distinctive formatting in a standard way,
so there is no need for additional braces.
This also fixes the only mandoc warning in src/sbin.
|
|
of the preceding macro line; no output change with mandoc, fixes output
with groff. Also, if you want spacing back after .Sm off, do not add
an argument containing a blank character, simply rely on .Sm on.
|
|
- Fix mandoc warnings ("WARNING: skipping empty macro: No")
- Mark up arguments with Ar, not Aq Ic
- Mark up pathnames with Pa
ok jmc@
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
-#ifndef NI_MAXHOST
-#define NI_MAXHOST 1025
-#endif
Disappointing.
|
|
|
|
ok deraadt@
|
|
ok doug
|
|
ok millert@
|
|
|
|
Avoid assigning the size unless reallocarray() succeeds to avoid overflow.
ok deraadt@
|
|
handled by testing the result with a negation.
Ralf Horstmann discovered iked would segfault
when connecting from Strongswan on Android because
of this and supplied the patch to fix the problem.
ok reyk@
|
|
|
|
either iked or isakmpd should be synced to the other daemon. The
previous changes from iked include: plug two memory leaks, verify EC
points and add the Brainpool curves. All tests in
regress/sbin/isakmpd/dh passed OKAY.
ok markus@ mikeb@
|
|
The latter close is from a sweep of the tree looking for fdopen problems.
While reviewing the patch, gerhard@ fixed another leak.
ok gerhard@
|
|
ok jca@
|
|
ok gerhard@ (also corrected first version)
|
|
|
|
an unsupported time type when passing data to keynote.
Problem introduced by angelos in 1.41 though the code
has been reformatted a few times since then.
ok otto@ miod@
|
|
then self-sign it rather than using the "openssl req" shortcut. This allows
us to specify -extfile and thus set the correct certificate extensions so
that stricter SSL implementations will trust this as a CA cert, and matches
how things are done in ssl(8). This is basically a partial revert of r1.77.
Researched by chrisz@, tweak/ok jmc@ ok beck@
|
|
ok millert@
|