summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-09Implement reception of multiple paths per BGP session. This is oneClaudio Jeker
side of RFC7911 and the send portion will follow. The path-id is extracted from the NLRI encoding an put into struct prefix. To do this the prefix_by_peer() function gets a path-id argument. If a session is not path-id enabled this argument will be always 0. If a session is path-id enabled the value is taken from the NLRI and can be anything, including 0. The value has no meaning in itself. Still to make sure the decision process is able to break a tie the path-id is checked as the last step (this is not part of the RFC but required). OK benno@
2021-08-09Fix up flags passed to usbd_open_pipe_intr() - interrupt pipes are alwaysJonathan Matthew
opened exclusively, and the flags argument is passed to usbd_setup_xfer(). USBD_EXCLUSIVE_USE has the same value as USBD_NO_COPY, which means that data transferred would not be copied to the buffer where the driver expects it. None of these drivers actually used the interrupt data for anything, and in some the interrupt pipe code was #if 0'd out, so this doesn't change anything, but fixing this up prevents unwary developers like me from copying code that doesn't work. ok mglocker@
2021-08-09on fatal errors, make scp wait for ssh connection before exitingDamien Miller
avoids LogLevel=verbose (or greater) messages from ssh appearing after scp has returned exited and control has returned to the shell; ok markus@ (this was originally committed as r1.223 along with unrelated stuff that I rolled back in r1.224)
2021-08-09rever r1.223 - I accidentally committed unrelated changesDamien Miller
2021-08-09show only the final path component in the progress meter;Damien Miller
more useful with long paths (that may truncate) and better matches traditional scp behaviour; spotted by naddy@ ok deraadt@
2021-08-09on fatal errors, make scp wait for ssh connection before exitingDamien Miller
avoids LogLevel=verbose (or greater) messages from ssh appearing after scp has returned exited and control has returned to the shell; ok markus@
2021-08-08document the defaults for the locate.updatedb(8) command line optionsIngo Schwarze
and make it clear that the config file *modifies* the defaults rather than *control* them, and that having a config file is optional; tweak and OK jmc@, OK tim@
2021-08-08Use the correct address offset on OpRegion 2.1+ devices to be ableJoshua Stein
to find the VBT ok jsg
2021-08-08Rework examples/snmpd.conf; show more things that people are likely toStuart Henderson
actually need, and fewer things that they won't need. In particular don't rely on default auth/enc settings; SNMPv3 isn't algorithm-agile, it must be defined on both ends, so relying on a default is going to cause some problems if it ever does change.
2021-08-08Switch default snmpd and snmp auth back to hmac-sha1.Stuart Henderson
Practical experience on several machines after updates suggests the snmp world isn't really ready for hmac-sha2-256, and the HMAC construction doesn't require collision resistance (which is the weakness of MD5/SHA1; see e.g. "New proofs for NMAC and HMAC: Security without collision-resistance", Bellare 2014). Feedback from martijn@ (who would prefer to keep using the sha2 hmac), deraadt@, tb@.
2021-08-08mention that "system services" value is in decimal. ok martijn@Stuart Henderson
2021-08-08xstrdup environment variable used by ForwardAgent. bz#3328 fromDarren Tucker
goetze at dovetail.com, ok djm@ deraadt@
2021-08-08Although it's POSIX, not all shells used in Portable support theDarren Tucker
implicit 'in "$@"' after 'for i'.
2021-08-08Move setting of USER further down the startup In portable we have toDarren Tucker
change this and having it in the same hunk as the CVS Id string means applying changes fails every. single. time.
2021-08-08Drop -q in ssh-log-wrapper.sh to preserve logs.Darren Tucker
scp and sftp like to add -q to the command line passed to ssh which overrides the LogLevel we set in the config files and suppresses output to the debug logs so drop any "-q" from the invoked ssh. In the one case where we actually want to use -q in the banner test, call the ssh binary directly bypassing the logging wrapper.
2021-08-08syncTheo de Raadt
2021-08-07style(9) says sort getopt() options and the following switch {}Kenneth R Westerback
cases. Make it so. In passing nuke a single use 'error' variable and move an *errstr declaration nearer to its friends. No intentional functional change.
2021-08-07Nuke a few Capt. Obvious comments.Kenneth R Westerback
2021-08-07Nuke unneeded #include's, one param.h -> types.h.Kenneth R Westerback
2021-08-07Nuke 'p' that r1.97 snuck into getopt() invocation back in 2015.Kenneth R Westerback
2021-08-07Comment typo 'mmbr' -> 'mbr'.Kenneth R Westerback
2021-08-07Bugfix:Ingo Schwarze
Delete ugly and incorrect workaround for a Linux kernel bug. If a file is temporarily empty, that by no means implies it might be permanently non-seekable. Patch from seL4 at disroot dot org on tech@. OK both Theos: tb@ and deraadt@
2021-08-07fix the totally wrong markup in the SYNOPSISIngo Schwarze
and add the missing .Xr to weekly(8); no text change
2021-08-07document the configuration file - as usual, after the options list;Ingo Schwarze
i wrote this diff more than a year ago, then forgot it even though millert@ and jung@ OK'ed it back then
2021-08-07Remove another unused DMA allocation from iwx(4).Stefan Sperling
This driver does not need to allocate a DMA segment for the Tx scheduler. Instead this driver uses the scheduler byte count array which is allocated per Tx ring. Remove sc->sched_dma and related code inherited from iwm(4). Patch by zxystd from OpenIntelWireless.
2021-08-07Go to REBOOTING state when interface config changed on reload.Florian Obser
This tries to reaquire the current lease and if that failes will send a DHCPDISCOVER message to request any lease. OK benno
2021-08-07use taskq_del_barrier() instead of taskq_barrier() when flushing workJonathan Gray
prompted by jcs@ reporting a protection fault trap in drm_mode_rmfb_work_fn() while playing a youtube video in firefox on a kaby lake machine. He later saw the same trace on tiger lake. The arguments to drm_mode_rmfb_work_fn() are on the stack in drm_mode_rmfb() with flush_work() called before return. taskq_barrier() is only a barrier for running not queued tasks. I suspect the linux functions expect any previously queued work to complete not just any currently running work. I'm not sure if the difference matters in practice.
2021-08-07syncTheo de Raadt
2021-08-07Fix prototype mismatch for do_cmd. ok djm@Darren Tucker
2021-08-07sftp-client.c needs poll.hDamien Miller
remove unused variable
2021-08-07do_upload() used a near-identical structure for trackingDamien Miller
expected status replies from the server to what do_download() was using. Refactor it to use the same structure and factor out some common code into helper functions.
2021-08-07make scp(1) in SFTP mode follow symlinks like traditional scp(1)Damien Miller
ok markus@
2021-08-07fix incorrect directory permissions on scp -3 transfers;Damien Miller
ok markus@
2021-08-07a bit more debugging of file attributes being sent/receivedDamien Miller
over the wire
2021-08-07make scp(1) in SFTP mode output better match original scp(1) byDamien Miller
suppressing "Retrieving [path]" lines that were emitted to support the interactive sftp(1) client. ok markus@
2021-08-07factor out a structure duplicated between downloading andDamien Miller
crossloading; ok markus@
2021-08-07use sftp_client crossloading to implement scp -3Damien Miller
feedback/ok markus@
2021-08-07support for "cross"-loading files/directories, i.e. downloadingDamien Miller
from one SFTP server while simultaneously uploading to another. feedback & ok markus@
2021-08-07factor our SSH2_FXP_OPEN calls into their own function;Damien Miller
"looks fine" markus@
2021-08-07prepare for scp -3 implemented via sftpDamien Miller
2021-08-06link X509_STORE_get_by_subject(3) and X509_ocspid_print(3) to the build,Ingo Schwarze
forgotten in earlier commits
2021-08-06new manual page X509_ocspid_print(3)Ingo Schwarze
using input from tb@, and OK tb@ on an earlier version
2021-08-06s/updatedb(8)/locate.updatedb(8)/ in commentTim van der Molen
OK schwarze@
2021-08-06add a roff(7) comment marking the API function X509_get_default_private_dir()Ingo Schwarze
as intentionally undocumented because it is trivial and unused in the wild; OK tb@
2021-08-06Mark matching reportIDs as claimed.Aaron Bieber
This fixes a panic that was reported on misc@ and bugs@ by Mike <the.lists () mgm51 ! com> and Anindya Mukherjee <anindya49 () hotmail ! com> OK jcs@, thanks to mpi@/jcs@ for the pointers!
2021-08-06Cleanup, clarify and generally polish the MBR/GPT initializationKenneth R Westerback
code. '-g' is promoted to be independant of '-i'. This makes it clearer that there are four mutually exclusive initialization options. '-i' puts the default MBR on disk, '-g' puts the default GPT on disk, '-u' updates the MBR boot code on disk and '-A' puts a new set of GPT partitions on disk without overwriting 'protected' partitions. The last initialization option specified is the one executed, so existing '-i -g' finger memory, etc. continue to work as before. man page/usage feedback/tweaks from jmc@
2021-08-06Add basic support for zero width joiners, GitHub issues 1605 and 2784.Nicholas Marriott
2021-08-06Add client focus hooks.Nicholas Marriott
2021-08-06Make diff invocation more portable. POSIX does not require diff to have -N,Darren Tucker
so compare in both directions with just -r, which should catch missing files in either directory.
2021-08-06Another minor fix - do not draw positions that are under the popup withNicholas Marriott
spaces, from Anindya Mukherjee. Also a typo fix from Linus Arver.