summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2018-07-05further tweak the introductory text; ok gillesJason McIntyre
2018-07-05Simplify rde_softreconfig_in(). There is no need to run the prefix throughClaudio Jeker
the previous filter. path_update() and prefix_remove() are both smart enough to handle the various cases correctly. Should reduce reload time with large rulesets. OK phessler@
2018-07-04More whitespace.rob
2018-07-04Cleanup some whitespace.rob
2018-07-04Relocate the update of br_offs from ber_read() to ber_readbuf() so ber_getc()rob
can call ber_readbuf() in all cases. This resolves a problem previously encountered with SNMPv3 authentication, simplifies the code, and completes a full synchronization of all ber instances. Proposed by claudio@. Problematic use case in snmpd tested by sthen@ and me. ldap(s) appear happy as well. looks good to claudio@
2018-07-04Avoid possible vfprintf NULL errors in ldap_unbind().rob
Ok benno@
2018-07-04"proto" is optional; from matthew martinJason McIntyre
ok gilles
2018-07-04When a VM stop request fails, set errno prior to calling warn() in order toanton
display the correct error message. This is a pattern found elsewhere in vmctl. With input from deraadt@ and encouraged by mlarkin@
2018-07-03some style fixes, no functional change.David Gwynne
ok claudio@ mpi@ benno@ bluhm@ deraadt@
2018-07-03installboot: adapt fileprefix() to future realpath(3) behaviorJoshua Stein
This was relying on realpath(3) working for paths that don't exist yet, which will be changing soon. Use a combination of dirname(3), realpath(3), and basename(3) to construct a sane path while still ensuring that the target directory exists. with martijn ok martijn, deraadt
2018-07-03Synchronize ber changes from the snmpd instance to ldap, ldapd, and ypldap.rob
See usr.sbin/snmpd/ber.c revision 1.24 commit log for a summary of these changes (e.g. SNMPv2 traps, User-based Security Model, callback for USM HMAC calculations). There is one final ber piece to copy from the snmpd instance related to ber_getc() which will be done in a separate diff. "looks good to me" deraadt@
2018-07-03hostctl: Don't crash if key is empty stringStefan Fritsch
ok reyk@
2018-07-03Improve output.Martin Pieuchot
- Display Vendor:Device IDs by default - Put extended informations on a second line - Separate Hub port and subdevices ok kettenis@, sthen@
2018-07-03Tighten up description of echo-client-id statementKenneth R Westerback
to make it clearer. Explicitly mention that older printers may require it to be set to false, as this has come up on the mailing lists a few times. Original diff from sthen@. ok jmc@
2018-07-03add "superseded" scaffold.Marc Espie
fix logic of at-end tags, only execute the base tag when removing and not replacing
2018-07-03handle gre-in-udp trafficDavid Gwynne
ok deraadt@
2018-07-03unbreak newaliases.mortimer
ok millert@
2018-07-02remove useless Pp;Jason McIntyre
2018-07-02explicitly document some common pkg_add features that also make senseMarc Espie
for pkg_info, and are automatically pulled in
2018-07-01s/constructive/constructed in DPRINTF output.rob
2018-07-01more RTM_LOCK removalsTheo de Raadt
2018-07-01Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.Martin Pieuchot
ok tb@, sthen@
2018-07-01Tweak output to behave more like pcidump(8):Martin Pieuchot
- Display port info with -vv or more - Always print the corresponding USB controller ok sthen@, deraadt@
2018-07-01ahah. complex tag changes show I need to use the same algorithm as for libsMarc Espie
2018-06-30Use 64-bit DSDT pointer instead of the 32-bit one if it is zero.Mark Kettenis
ok deraadt@
2018-06-30revert ber.c r1.34, this break SNMPv3 authenticationStuart Henderson
2018-06-30over-eager refactor means fw_update goes thru delete_handle, so teachMarc Espie
it about firmwares. problem noticed by aja@
2018-06-29tweak previous;Jason McIntyre
2018-06-29Add ber_free_element() to snmpd instance, reducing the diff with ldap, ldapd,rob
and ypldap. This function is not called by snmpd. This is the penultimate commit prior to full sync between these four consumers of ber.
2018-06-29Consistent use of copyright notices.rob
Ok reyk@
2018-06-29Synchronize ber.c and ber.h across ldap, ldapd, and ypldap, and reduce diffrob
with snmpd. More tweaks to come once things are fully synchronized. Feedback from claudio and Robert Klein. Ok claudio@
2018-06-29Prepare the ground for allowing temporary aspath object living on the stack.Claudio Jeker
To do this path_copy() gets a second argument (dst, src) and a new function path_prep() is introduced to initialize an aspath object. The current path_copy() usage is replaced with path_copy(path_get(), asp) which does the same. Additionally some const where added to the *_copy functions to make it more obvious which is the source and target. Also the pftable_ref() and rtlabel_ref() functions return now the id instead of void. OK sthen@
2018-06-28fix tag external representation, avoids weird space at end of plistMarc Espie
regeneration
2018-06-28Don't ignore -n; OK gilles@Tim van der Molen
2018-06-28Remove rde_aspath pointer from rde_filter since that argument can be fetchedClaudio Jeker
from the prefix instead. While there also switch to prefix_peer from asp->peer in rde_dump_rib_as(). Makes the code easier overall.
2018-06-28Instead of passing the rde_aspath to nexthop_modify() pass pointers toClaudio Jeker
the nexthop and the flags.
2018-06-28Pass a struct prefix to rde_filter and remove some of the arguments whichClaudio Jeker
are now fetched from struct prefix. Currently some trickery is needed for export default-route but this will get better once Adj-RIB-Out comes. OK benno@
2018-06-28avoid passing NULL to asprintf(3) when there's no parent dn entryGleydson Soares
OK jca@
2018-06-28calling memset() after calloc() is redudant, sinceGleydson Soares
calloc() already filled all the memory block to 0. OK deraadt@ cheloha@ millert@
2018-06-28sync DPADD with LDADD adding missing ${LIBPTHREAD} to ensureGleydson Soares
that binary is rebuilt in case of pthread library changes. OK deraadt@ reyk@
2018-06-27Synchronize some comments.rob
2018-06-27Consistent use of calloc in ber.c.rob
Ok claudio@, "looks right" gsoares@
2018-06-27Synchronize correct processing of BER_TYPE_EOC. Fixes support for empty LDAProb
passwords. A similar fix was applied to snmpd in 2010 (rev 1.23). Pointers from Reyk. Ok claudio@
2018-06-27Just put the aspath and the peer directly into the prefix struct.Claudio Jeker
Needed for upcoming changes.
2018-06-27Move rde_test_prefix() to a place where it makes more sense. No functionalClaudio Jeker
change.
2018-06-26tags are cutting their first teeth, but it can be a normal debug flagMarc Espie
no need to show it to everyone
2018-06-26Wrong function name in error message.Claudio Jeker
2018-06-26space between macro args and punctuation;Jason McIntyre
2018-06-26Add "socket owner" to allow changing the owner of the vmd control socket.Reyk Floeter
This allows to open vmctl control or console access to other users that are not in group wheel. Access for non-root users still defaults to read-only actions unless you change the owner (user/group) of each individual VM. Requested by Mischa Peters OK mlarkin@
2018-06-26kill the solve_tags part of pkg_create for now, as it doesn't work at allMarc Espie