summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2024-10-01In merge_peers also copy over the auth_conf from the new peer to the oldClaudio Jeker
since that one is kept. OK tb@
2024-10-01Fix typo in commentClaudio Jeker
OK tb@
2024-10-01Adjust to the pfkey changes in bgpd.Claudio Jeker
OK tb@
2024-10-01Rework the pfkey and tcp md5 API to not depend on struct peer.Claudio Jeker
Instead use struct auth_config and struct auth_state in the pfkey calls and those tcp_md5 calls where it matters. This is preparation work to allow RTR to use TCP MD5 as well. OK tb@
2024-09-30Improve some currently impossible error path in log_ext_subtype().Claudio Jeker
Mainly handle unknown ext-communities better and handle the special case of type == -1. OK tb@
2024-09-30In bgpd_rtr_connect() do the setsockopt dance for IP_TOS and TCP_NODELAYClaudio Jeker
before calling connect(). This way it happens for sure and on top the TOS is already set on the initial SYN. OK tb@
2024-09-29sync synopsis and usage, sort commands, fix their spacingKlemens Nanni
OK input lucas
2024-09-27rpki-client: free deltas in rrdp_session_parse() as in rrdp_repo_free()Theo Buehler
ok claudio
2024-09-27rpki-client: check for getline error when reading the skiplist fileTheo Buehler
ok claudio
2024-09-26remove unneeded includes; ok dv@ mlarkin@Jonathan Gray
2024-09-25Improve description of -f.Florian Obser
ok sthen, florian Committing on behalf of jmc as requested.
2024-09-25correct macro for -R entry;Jason McIntyre
2024-09-25When generating UPDATE handle the message size limit better.Claudio Jeker
First of all warn that a prefix was dropped. In the generate an update code handle possible overflows of attributes and NLRI and withdraw the affected prefix. This way the peer will not have stale data. OK tb@
2024-09-25sysupgrade: add -R #.# to try to use a specific release version ratherStuart Henderson
than the immediate +0.1. print an https://ftp.openbsd.org/... URL where the new signify pubkey can be found if not present. no guarantees: we only test +0.1, but jumping further does work quite often (and if tight on disk, can work better than multiple steps) - this avoids editing the script if you're going to do it anyway. "Only upgrades from one version to the next are tested. Skipping versions may work. Downgrading is unlikely to work." discussed with deraadt chris florian, ok deraadt
2024-09-25document why sys/param.h is usedTheo de Raadt
2024-09-24- VM(s) -> VMsJason McIntyre
- simpler tense - fix the -width parameter - add -nosplit to AUTHORS
2024-09-24vmd(8) manpage change for shutdown behaviourMike Larkin
Document the shutdown behaviour for vmd(8). Suggested via bugs@ via eric at mulh.net. ok jmc@, bluhm@
2024-09-24Remove -r toggle and generally be less smart.Florian Obser
The default is to install the next release. Snapshots are only installed when invoked with -s. The logic on what to do per default got out of hand and it was very difficult to reason about what sysupgrade(8) actually did. deraadt@ then suggested that we should dumb it all down, sysupgrade(8) is there to upgrade from one release to the next. More advance usage needs to be requested by the user. With all this simplification we can now be a bit more smart to work out what the next release is. With that, snapshots right before a release can be sysupgrade(8)'ed to the official release. OK sthen on a previous version that was much more complicated but allowed shortly-before-release -> release upgrade testing sthen on this version Guidance, prodding & OK deraadt
2024-09-21add route-to exampleaisha
ok benno@
2024-09-21vmm.h is a needed include nowMike Larkin
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
2024-09-19Shift 1U rather than 1 to avoid -Wsign-compare whiningTheo Buehler
claudio agress
2024-09-19Move rpki-client to 9.3Job Snijders
requested by tb@
2024-09-19Remove spaces before EOL.Claudio Jeker
2024-09-19document how to add a restricted socketDenis Fondras
OK claudio@
2024-09-18zic: cherrypick support for %z in time zone formatsTodd C. Miller
This extends the zic input format to add support for %z, which expands to a UTC offset in as-short-as-possible ISO 8601 format. It's intended to better support zones that do not have an established abbreviation already. tzdata2024b and higher require a version of zic that supports the %z format. From upstream tzcode. OK beck@
2024-09-16Mention psp(4) in vm.conf(5) man page.Alexander Bluhm
from hshoexer@; OK mlarkin@
2024-09-15__STDC_VERSION__ not __STDC_VERSION; ok miod@Jonathan Gray
2024-09-15Improve the log messages and white spaces.YASUOKA Masahiko
2024-09-15Keep the number of requests for a DAE server below 64 to avoidYASUOKA Masahiko
congestion.
2024-09-15Add "delete" command to "radiusctl ipcp". Also, send "stop" that wasYASUOKA Masahiko
missing when disconnecting all when acct-{on,off} received.
2024-09-15Handle EAGAIN properly and fix the log when disconnected.YASUOKA Masahiko
2024-09-12Reintroduce check that CRL Number is in rangeTheo Buehler
The CRL number draft clarified what ignoring means and it includes checking that the CRL number is well-formed again. So do this but continue to ignore the value for any other purpose. This refactors x509_convert_seqnum() into a couple of helpers. There's some duplication between crl_check_crl_number() and crl_parse_crl_number() which could be removed if anyone cares. tweaks/ok job
2024-09-11Implement AMD SEV support in vmd(8).Alexander Bluhm
To launch a guest with AMD SEV enabled, vmd needs to do a few things: - retrieve ASID used by guest on VM creation - provide ASID to psp(4) - let psp(4) encrypt memory used intially by guest - run guest - release resources held by psp(4) on guest shutdown To enable SEV for a guest use the parameter "sev" in the guest's vm section in vm.conf. from hshoexer@; OK mlarkin@
2024-09-10Use doc/html link for consistencyTheo Buehler
2024-09-10Add reference to the manifest numbers draftTheo Buehler
ok job
2024-09-10Be more careful with aspath that have 0 length (aka the empty AS_PATH).Claudio Jeker
Again malloc(0) is not portable and calling memcpy with a NULL pointer and a 0 length is not allowed by the C standard. OK tb@
2024-09-10community_copy needs to check if nentries is 0 and handle that specially.Claudio Jeker
Calling malloc / reallocarray with a 0 size is not portable and the memcpy with a possible NULL pointer as source and 0 len is seen as UB by newer C standards (grmbl). OK tb@
2024-09-10AID_VPN_IPv4 and AID_VPN_IPv6 require a labellen that is non-zero.Claudio Jeker
OK tb@
2024-09-10Enfroce proper encoding of ASPA announce/withdraw PDU.Claudio Jeker
An announce PDU requires at least one provider ASnum while a withdraw must not include any provider ASnums. The first is mandated by the ASPA profile and the 2nd by the 8210bis draft. Further cleanup some leftovers from the old per-AFI split of ASPA. OK tb@
2024-09-10Use reallocarray() instead of recallocarray(), this code does not need theClaudio Jeker
extra security measures of recallocarray() which adds a lot of overhead. OK tb@
2024-09-09Handle the CLUSTER_LIST attribute as described in RFC7606Claudio Jeker
Just drop the attribute if received from an external peer. Treat as withdraw if the len is 0 or not % 4. OK tb@
2024-09-09There is no need for an explicit size check for IMSG_RECONF_ASPA_TASClaudio Jeker
imsg_get_data() does the same and produces the same error. OK tb@
2024-09-09Use msgbuf_init() instead of hand initalizing the msgbuf.Claudio Jeker
OK tb@
2024-09-08rpki-client: fix typos in comments and one in a warning messageTheo Buehler
2024-09-06Interpret the argument of '%c' as an integer instead of a string.Martin Pieuchot
From Christian Ludwig.
2024-09-05Bump versionClaudio Jeker
2024-09-05have sysmerge and sysupgrade Xr each other;Jason McIntyre
diff originally from peter n. m. hansteen ok ajacoutot
2024-09-05note that "|" and ":include:" are disallowed for root;Jason McIntyre
prompted by mail from illya meyer ok gilles
2024-09-05remove note falsely claiming that :include: is disallowedJason McIntyre
(it is, but only for root, which i'll address in separate commit); ok mp gilles