summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2022-10-27Print the pid in some additional debug messages to be able to match themClaudio Jeker
with the fork messages. OK tb@
2022-10-25Fix LDADD and DPADD.Martijn van Duren
DPADD bit pointed out by deraadt@ "No kidding" deraadt@
2022-10-24remove unused references to httpd.sock; found by dante catalfamoJason McIntyre
ok florian
2022-10-24Make x509_init_oid() table basedTheo Buehler
Reduces the amount of copy-paste and makes things easier on the eye. ok claudio job
2022-10-22add some missing flags, as pointed out by deraadt; whileJason McIntyre
here rework the text so it reads a little better; ok deraadt
2022-10-20remove file no longer present in unbound 1.17.0Stuart Henderson
2022-10-20merge unbound 1.17.0Stuart Henderson
2022-10-20import unbound 1.17.0, ok florianStuart Henderson
2022-10-20Display the correct recipient in a Received: header with one recipient.Todd C. Miller
If multiple recipients are specified but only one is valid, use the first entry in the recipient list for the Received: header, not the value from the last "RCPT TO:" command (which could be invalid). From Chris Waddey
2022-10-19Replace "newfs/fsck_ext2fs" with "newfs/msdos -t ext2fs", constifyKlemens Nanni
OK miod
2022-10-18Copy port to proxyport since the sting may point into memory that isClaudio Jeker
freed. Should fix https://github.com/rpki-client/rpki-client-portable/issues/74 Reported by Ben Castricum OK tb@
2022-10-18Switch from up/down time to time of last change.Claudio Jeker
Having metrics depend on session state makes reporting more complex. This now reports the number of seconds a session was up or down. OK tb@
2022-10-18Initalize last_updown in init_peer() so that it is reported correctlyClaudio Jeker
for peers that never managed to establish a connection. OK tb@
2022-10-18Fix some spelling errorsJob Snijders
Thanks Marco D'Itri for spotting them OK claudio@
2022-10-17SHOW_METRICS for the actions enum. Just to match the rest.Claudio Jeker
2022-10-17Document /metrics endpoint and use bgpctl show metrics as command.Claudio Jeker
OK tb@
2022-10-17Use metrics as the command name and document show metrics.Claudio Jeker
OK tb@
2022-10-17Add /metrics endpoint which outputs stats in openmetrics format.Claudio Jeker
This uses `bgpctl show metric` to produce the payload. OK tb@
2022-10-17Implement openmetric output via bgpctl show metric commandClaudio Jeker
This adds most of the generic code to output the metrics with labels and implements some basic metrics. The code works but metrics may still change. OK tb@
2022-10-15.Oc -> .Op in previous;Jason McIntyre
2022-10-15Do not throw away errno.Florian Obser
Pointed out in the pref64 code, which was copied from here, by kn.
2022-10-15Implement RFC 8781 PREF64 router advertisement option.Florian Obser
With this clients can learn the presence and used prefix for Network Address and Protocol Translation between IPv6 and IPv4 (NAT64). Apparently there is support in mobile devices as well as in macOS. This option, together with the the dhcp "IPv6-only preferred" option (108) enables the Customer-side transLATor (CLAT) on macOS so IPv4 literals can be used in IPv6-only networks. Input & OK kn
2022-10-14some macro fixes, mostly Cm -> Ic;Jason McIntyre
from josiah frentsos
2022-10-13Add client certificate authentication and optional SASL EXTERNAL bind,Jonathan Matthew
which allows the client to bind as the subject of the certificate in cases where the directory doesn't implicitly do that. The client certificate is configured with 'certfile' and 'keyfile' directives, and SASL EXTERNAL bind is configured with the 'bindext' directive. ok tb@
2022-10-13All of ROA, MFT, ASPA, and RSC define their respective 'version' fieldJob Snijders
in ASN.1 as following: "version [0] INTEGER DEFAULT 0,". Each object profile preamble contains "DEFINITIONS EXPLICIT TAGS ::=". We didn't bump into any issue yet, because all Signed Objects are at version 0, which means the field is entirely omitted (including the tag, be it implicit or explicit). (From X.690 section 11.5: "The encoding of a set value or a sequence value shall not include an encoding for any component value which is equal to its default value.") OK tb@
2022-10-12avoid use after free in error pathsJonathan Gray
ok miod@ martijn@
2022-10-12use correct type with sizeofJonathan Gray
ok miod@ claudio@ tb@
2022-10-10consistently use IPv4/IPv6; from jmc@Jonathan Gray
2022-10-09Drop fattr promise unless file creation is allowedKlemens Nanni
This is only required for the single fchmod(2) ensuring default permissions which only happens in the -c code path. OK millert
2022-10-09allow newlines inside the `alternative names' block in acme-client.confOmar Polo
ok florian
2022-10-07Show the entry immutable bit in the various output formats.Theo de Raadt
2022-10-07Kill extra space in ext community ovs output.Claudio Jeker
Noticed by job@, OK tb@
2022-10-06accept iodevices as NACs as wellKlemens Nanni
Assignable PCIe devices have a root complex path and a more descriptive I/O slot path; example output from a T4-2: # ldomctl list-io | head -n2 PATH NAME /@400/@2/@0/@8 /SYS/MB/PCIE0 ldom.conf(5) `iodevice' currently accepts PATH values, which are cryptic and completely hardware specific, whereas NAME values are obvious (partially same across machines) and match physical slot labels ("0 PCIe2 x8") besides information from ILOM: /System/PCI_Devices/Add-on/Device_0 location = PCIE0 (PCIe Slot 0). Make ldom.conf `iodevice' accept either value; internally nothing changes. Rename struct iodev's path member to dev to clarify this further. OK kettenis
2022-10-06Remove a lot of old (dead) code that's either been superseded, or moved toMartijn van Duren
snmpd_metrics. OK benno@ sthen@
2022-10-05Skip softraid(4) keydisksKlemens Nanni
Keydisks appear as chunks internally (with special properties) and installboot(8) thus treated them like actual data chunks. Most users probably don't hit this as their keydisk is detached and thus appears "offline" and gets skipped. Installing to online keydisks may work but is neither expected nor intended to work, so properly skip them. Odd setups like keydisk and CRYPTO chunk on the same physical disk would end up installing getting bootblocks installed twice. Pointed out by Mikolaj Kucharski <mikolaj AT kucharski DOT name> who also provided the actual diff (minor wording tweaks by me) OK jsing
2022-10-05sort options list;Jason McIntyre
2022-10-04Remove REQUIRE_TFTPBOOT left-overKlemens Nanni
-t succeeded this macro in 2004.
2022-10-04Switch default to read-only, add -w for write access (previous default)Klemens Nanni
Write access seems less often required these days and other ways to ensure effective read-only access are mere workarounds; worst case malicious users can fill up the server's disk by writing to existing files. diskless(8) only ever needs to read and running with "stdio rpath dns inet" by default is much safer for a network daemon without any authentication. Initially proposed as a new -R flag for read-only mode new default suggestion dlg deraadt "looks great" millert OK sthen dlg
2022-10-04Drop cpath promise unless file creation is allowedKlemens Nanni
OK millert
2022-10-04Unveil /tftpboot only if neededKlemens Nanni
Unless -t is used, this directory is not accessed in any way. OK millert
2022-09-27complete bootparamd -> rpc.bootparamdKlemens Nanni
reminded by jmc
2022-09-27Zap .Nm bootparamdKlemens Nanni
Match rpc.{lock,stat}d(8) only having their proper name. OK deraadt
2022-09-27fix passing explicit stage filesKlemens Nanni
This fixes installboot regress on octeon; same diff as macppc_installboot.c r1.6, powerpc64_installboot r1.7 and octeon_installboot r1.8. loongson was the last architecture requiring this fix. I don't have a machine to test it myself (loongson isn't built anymore, anyway) but given the same diff works on four other architectures, this should just work.
2022-09-27fix passing explicit stage filesKlemens Nanni
This fixes installboot regress on octeon; same diff as macppc_installboot.c r1.6 and powerpc64_installboot r1.7.
2022-09-27fix passing explicit stage filesKlemens Nanni
This fixes installboot regress on powerpc64. The exact same diff already landed for macppc; efi also has the same fix for md_init() but without the string handling cleanup that entails. macppc_installboot.c r1.6 "Fix passing explicit stage files": Using `stage1' leads to a bit more cleanup since early MI installboot.c handles `-r', i.e. write_filesystem() no longer has needs to do the fileprefix() dance itself. OK gkoehler
2022-09-26Fix a use after free in case mta_tls_init fails.Martijn van Duren
Found the hard way by renaud <at> allard <dot> it OK eric@, gilles@, millert@
2022-09-24ascii_load_sockaddr: Remove old IPv6 address parsing for envelope files.Todd C. Miller
IPv6 addresses have been formatted as "[address]" in envelope files for years. This was supposed to be removed after the 6.6 release but got forgotten. Noticed by kn@, OK deraadt@ kn@
2022-09-24rpki-client 8.1Claudio Jeker
2022-09-24OpenBGPD 7.7Claudio Jeker
2022-09-24macro tweaks; from josiah frentsosJason McIntyre
ok deraadt