summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-23Make rcmdsh(3) not fail if it is passed a non resolvable hostname.Alexander Hall
Instead, silently ignore the fact and instead let the underlying ssh (or $RSH) command handle it. ok millert@
2015-03-23Return an error if getting the config descriptor failed.Jonathan Gray
Avoids a NULL dereference encountered with a device I have. ok mpi@
2015-03-23fix memory leaks in tempnam(3) error pathsJonathan Gray
ok miod@ millert@ krw@ guenther@
2015-03-23Add an helper routine if defined(DDB), which might help figuring out whyMiod Vallat
PIC sometimes loses isp^Wqlw interrupts.
2015-03-23Fix buglet in previous ofdev change causing NFS boot to fail; found the hardMiod Vallat
way by mpi@. Bump version. ok mpi@
2015-03-23be clear about MPLS spelling it out explicitly the first timeIgor Sobrado
we use this term. ok jmc@
2015-03-23DIFFTOOL has to be defined for mg to build. TCSASOFT is defined viaBrian Callahan
termios.h so we don't need the code for when it is not defined. ok reyk@
2015-03-23port src/sbin/ping/ping.c r1.118 to ping6:David Gwynne
> obfuscate the monotonic clock values we put on the wire by offsetting > them with a random value.
2015-03-23port src/sbin/ping/ping.c r1.116 to ping6:David Gwynne
> bump the size of the time types on the wire to 64bit, and use nsec > instead of usec so its easier to translate to/from timespecs instead > of timevals. this raises the size of the default ping payload from 16 to 24bytes, but claudio@ thinks we'll be fine with this.
2015-03-23obfuscate the monotonic clock values we put on the wire by offsettingDavid Gwynne
them with a random value. picking between ^ and +- as the operator for the obfuscation has turned out to be a great bikeshed. im picking + and - cos it prevents observers seeing high bits roll over which can indicate the magnitude of the current clock value. discussed with many.
2015-03-23Convert to if_input(), tested by jsg@, thanks!Martin Pieuchot
2015-03-23for ssh-keygen -A, don't try (and fail) to generateDamien Miller
ssh v.1 keys when compiled without SSH1 support RSA/DSA/ECDSA keys when compiled without OpenSSL based on patch by Mike Frysinger; bz#2369
2015-03-23Not all iwm hardware supports the 5GHz band. Make setting 11a ratesJonathan Gray
and scanning conditional on the 5GHz support bit in the nvm. Problem reported and fix tested by Mattieu Baptiste. ok stsp@ kettenis@
2015-03-22differentiate between a failed read, returning -1, and encounteringAlexander Hall
end-of-file, returning 0, in order not to print an unrelated strerror(errno) in the latter case ok millert@
2015-03-22Resolve a mandoc -Tlint warning about trailing whitespace.Stefan Sperling
2015-03-22More wide character string function man page improvements based on feedbackStefan Sperling
by Kaspars Bankovskis. ok jmc@
2015-03-22sys/sysctl.h includes linux/sysctl.h, remove the extra unchecked includeBrent Cook
2015-03-22Do the right thing in qec_fix_range() when connected to an sbus(4) withoutMiod Vallat
`ranges' property, i.e. sun4c, so that child devices can attach correctly. This makes be(4) work on sun4c.
2015-03-22Since Windows needs BIO_sock_init() before you can call any networkingBrent Cook
functions, and ocsp and s_time need networking enabled too, this just moves BIO_sock_init() up into main() as a catch-all for all of the commands. Of course, it is a no-op on any other platform. ok @guenther
2015-03-22from mk: add ENVIRONMENT (for NM)Jason McIntyre
2015-03-22Explain the state on syscall entryPhilip Guenther
2015-03-22Xstray* and Xhold* symbols vanished at some point; delete special handlingPhilip Guenther
2015-03-22rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.Philip Guenther
Adjust the conditions to correct that. ok millert@
2015-03-22Add sysconf() extensions PHYS_PAGES, AVPHYS_PAGES, NPROCESSORS_CONFTodd C. Miller
and NPROCESSORS_ONLN. OK guenther@
2015-03-22unmute rcmd hostname lookup failureAlexander Hall
ok millert@ jung@
2015-03-21according to javad kouhi, freebsd pr #198612, vfork appeared first in bsd 3.0;Jason McIntyre
thanks sobrado for verifying (and okaying this)
2015-03-21typo/grammar fixes;Jason McIntyre
2015-03-21sort options, and generally shuffle around; do not give "file operands" its ownJason McIntyre
section;
2015-03-21too late, alas, i found one more arc4random Fn that is better as Xr;Jason McIntyre
2015-03-21there is no real need to send readers to arc4random_buf(3) in SEE ALSO, butJason McIntyre
in the one place where it is mentioned, use an Xr rather than Fn;
2015-03-21sort ENVIRONMENT;Jason McIntyre
2015-03-21Fold the single command from update_firmware() into finish_up()Robert Peichaer
and remove the update_firmware() function all together. OK halex@ krw@
2015-03-21Add support for saving/restoring FPU state using the XSAVE/XRSTOR. LimitMark Kettenis
support to the X87, SSE and AVX state. This gives us (almost) full AVX support. The AVX state isn't saved by signal handlers yet, and ptrace(2) support is still missing. ok guenther@
2015-03-21When an IOMMU is not available, and an sbus board has register ranges notMiod Vallat
reachable with the default slot aperture (such as hme(4) devices, which have their registers at offset 0x08c00000 from the slot base), force the attachment of the device to fail. While hme would fail early due to being unable to talk on the mdio bus, hme+esp boards would have the esp part of the board get nuts and would spin during autoconf. Of course, you are not supposed to use such boards on sun4c, because (as mentioned above) they can't run without an iommu.
2015-03-21Remove unused variables and functions.Renato Westphal
2015-03-21Remove interface finite state machine.Renato Westphal
In the name of simplicity, remove the interface FSM that was inherited from ospfd. In ldpd interfaces are just up or down, so keeping a FSM for that is an overkill. Now instead of calling if_fsm(), just call if_update() whenever a relevant event occurs (status change, address addition/removal). Additional notes: 1 - s/if_act_/if_/ 2 - Remove the IMSG_IFUP and IMSG_IFDOWN events. Now whenever an interface changes its state a IMSG_IFSTATUS event will be generated with the new status. kroute.c ldpd.h ldpe.c ldpe.h CVS: ----------------------------------------------------------------------
2015-03-21Don't try to send address withdraws to neighbors that are unreachableRenato Westphal
after an address removal in the system.
2015-03-21Move code that gets executed when install.sub is sourcedRobert Peichaer
to the bottom of the file to make it easier to see what code is actually executed. OK krw@ halex@
2015-03-21ldpd: Remove attached adjacencies whenever an interface is disabledRenato Westphal
for whatever reason. If one interface is disabled, the holdtimer of the attached adjacencies will eventually timeout after a few seconds. But there's no need to wait when we know that the interface is disabled. In these cases, remove the attached adjacencies to speedup the convergence process.
2015-03-21ldpd: Don't assign labels for BGP routes.Renato Westphal
Although RFC 5036 is not explicit about this, LDP should not assign labels for BGP routes. Doing that would be very resource consuming in some scenarios and unnecessary. The goal is generally only to establish LSPs among all PEs in the AS since LDP is not used as an end in itself but as a means to implement advanced solutions like MPLS L2/L3 VPNs. Some implementations (e.g. JunOS) go further and only assign labels for /32 loopback routes advertised in the IGP. If Inter-AS LSPs are necessary, BGP itself should be used for distributing IPv4 labeled routes (e.g. option C. of section 10 in RFC 4364).
2015-03-21Make sure we reset all relevant state when resetting or stopping an interface.Mark Kettenis
Our reset function did not reset the ring and LDC map and our stop function did not reset the LDC channel state and the some of the ring state. Also make sure we clear IFF_OACTIVE whenever we re-establish a connection on the LDC channel. Finally, initialize the link state to LINK_STATE_DOWN such that interfaces that have not been configured yet, don't show up as active. This should improve the reliability of re-establishing network connections between domains after some sort of hickup considerably.
2015-03-21Only reconfigure LDC queues ipon reset instead of unconfiguring them first.Mark Kettenis
This makes sure the other side correctly sees the channel being reset.
2015-03-21Close extended discovery socket on exit.Renato Westphal
2015-03-21when there is no -m, no -M, no MANPATH and no /etc/man.conf,Ingo Schwarze
fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man
2015-03-21Bourne to Korn shellRobert Peichaer
OK krw@
2015-03-21free the server certificate in tls_connect_fds(); fixes a memory leak withStuart Henderson
repeated use of tls_connect. ok jsing
2015-03-21Update to tzdata2015b from ftp.iana.orgTodd C. Miller
2015-03-21Print speeds consistently.Martin Pieuchot
ok brynet@, miod@
2015-03-21Fix indentation that incorrectly implies a different control flow.Doug Hogan
The actual control flow is intentional while the indenting is incorrect. This is intended to be a cosmetic change. Verified that each of these was part of a KNF commit that wasn't intending to change behavior. Also, double checked against the history of changes in OpenSSL and BoringSSL. Addresses Coverity CIDs: 78842, 78859, 78863. ok tedu@
2015-03-20Use the hw.usermem sysctl to determine the amount user (non-kernel)Todd C. Miller
memory instead of sysconf(_SC_PHYS_PAGES) (which also counts pages wired by the kernel). Don't try to use a memory buffer larger than the datasize hard resource limit. Adapted from a diff by Andre Smagin.