summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-11split ether_output into resolution, encapsulation, and output functionsDavid Gwynne
if if_output can be overridden on ethernet interfaces, it will allow things like vlan to do it's packet encapsulation during output before putting the packet directly on the underlying interface for output. this has two benefits. first, it can avoid having ether_output on pseudo interfaces recurse, which makes profiling of the network stack a lot clearer. secondly, and more importantly, it allows pseudo ethernet interface packet encapsulation to by run concurrently by the stack, rather than having packets unnecessarily serialied by an ifq. this diff just splits ether_output up, it doesnt have any interface take advantage of it yet. tweaks and ok claudio@
2018-12-10When forwarding IPv6 packets, generated ICMP6 packets used theAlexander Bluhm
interface address of the route as source address. To avoid using link-local addresses in ICMP6 packets sent into networks where they are out of scope, use the regular IPv6 source selection algorithm also in this icmp6_reflect() case. reported by sthen@; fix from Arnaud BRAND; OK claudio@
2018-12-10Implement the fw_cfg interface basics and use it to set the bootorderClaudio Jeker
if a bootdevice was forced. This implements both the pure IO port interface and also the new DMA interface, a few direct commands are implemented which are needed but in general the "file" interface should be used. There is no write support for the guest. Tested against the latest vmm-firmware port. This requires also a -current kernel to pass the IO ports to vmd(8). OK mlarkin@ ccardenas@
2018-12-10No need to \n in log_debug. Part of a larger diff.Claudio Jeker
OK mlarkin@ ccardenas@
2018-12-10Start passing the IO ports 0x510, 0x511, 0x514, and 0x518 to vmd(8).Claudio Jeker
These IO ports are used by qemu's fw_cfg interface and vmd(8) will start using it to pass options to SeaBIOS. OK mlarkin@
2018-12-10advance the progress meter while skipping remaning filesMarc Espie
this gets rid of the "hung" impression on updating texlive, since most files match, and the packages are so gigantisch the meter appears to stay at 0% forever.
2018-12-10correct inaccurate and misplaced information in CAVEATSIngo Schwarze
and move it in part to the DESCRIPTION, in part to STANDARDS; triggered by a loosely related bug report from Lars dot Nooden at gmail dot com; OK jmc@, and no opposition when shown on bugs@
2018-12-10Ensure that we close the file descriptor after loading microcode.Joel Sing
Otherwise we end up keeping file descriptor and inode related buffers around, that are unnecessarily consuming memory. ok deraadt@ patrick@
2018-12-10Remove useless macroskn
These are just unhelpful case conversion. OK sashan henning
2018-12-10Do not call free on a non-allocated pointer.Joel Sing
ok deraadt@
2018-12-10remove qname-minimisation from sample config, this was turned on byStuart Henderson
default upstream in 1.7.2 (picked up by us with the update to 1.7.3). ok florian@
2018-12-10Update to 4.1.26Florian Obser
OK sthen
2018-12-10Add a velocity sensor type (displayed as m/s)Landry Breuil
Change distance sensor type to be displayed as meters with 3 decimals instead of millimeters. ok mpi@ kettenis@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2018-12-10Improve speed for the multi-threaded case by reducing lock contention.Otto Moerbeek
tested by many; ok florian@
2018-12-10Clean up the mec(4) MII read/write routines a bit.Visa Hankala
The PHY register offsets are adjusted because the registers are accessed using 64-bit loads and stores. From miod@
2018-12-10Fix phy discovery on O2 systems.Visa Hankala
After a cold boot, the mii bus appears to take some time to initialize; the phy does not answer to address 8 but to a larger address (10 or 11), then, after being reset, to its correct address of 8. So the kernel would discover the phy at a wrong address, attach it, and after it gets reset, reading from the phy at the wrong address would return either all bits clear or all bits set, confusing the link speed logic without any way to recover. Work around the issue by resetting all phys found when the interface is reset for the first time. Thus, by the time mii_attach() runs and walks the bus again, the phy will answer at the right address. From miod@
2018-12-09no need to pass rdns and fcrdns info to helo/ehlo proc filter linesGilles Chehade
2018-12-09Zap duplicate signatureskn
Redundant under _KERNEL since introduction in r1.260 from 2006. OK jca
2018-12-09Keep usage in sync with logic if OPENSSL_NO_DES is set.Tobias Stoeckmann
ok jmc@, jsing@
2018-12-09allow check-rdns and check-fcrdns in connect, helo/ehlo, mail-from, rcpt-toGilles Chehade
hooks ok eric@
2018-12-09add check-fcrdns builtin filterGilles Chehade
ok eric@
2018-12-09no longer pass rdns in all filtering requests, they can be retrieved fromGilles Chehade
the filter session.
2018-12-09reverse bultin filters matching logic, to make it easier for human brainsGilles Chehade
to understand discussed with eric@
2018-12-09unbreak builtin filters after last simplification in smtp_sessionGilles Chehade
2018-12-09add client and listener address, as well as client rDNS and FCrDNS lookupGilles Chehade
result to the filter_session structure upon filter session allocation. it will allow me to simplify all filter hooks.
2018-12-09when doing the rDNS lookup, require getnameinfo to return a hostname not anGilles Chehade
address by passing the NI_NAMREQD flag ok eric@
2018-12-09add basic MPLS filtering supportdenis
OK claudio@ jca@
2018-12-09Make sure that the prefixlen returned by mask2prefixlen is never biggerremi
than 128. Initially proposed by claudio@ for bgpd. ok claudio@
2018-12-09When -B is used to specify a specific boot device also change the rebootClaudio Jeker
behaviour of vmd to stop / exit at guest reboot. OK ccardenas@
2018-12-09style; OK ottoFlorian Obser
2018-12-08revert previous, it breaks regress and the llvm, gtk+2, and gtk+3 portsIngo Schwarze
because it changes the behaviour for empty input files; revert requested by naddy@ and sthen@
2018-12-08ssize_t and unsigned int may be different sizes. Use ssize_t insteadKenneth R Westerback
of unsigned int for value being compared to the results of writev() and sendmsg() calls. Noticed by naddy@ on i386 compile.
2018-12-08Fix kill [-SIGNAME | -s SIGNAME] and simplifyJeremie Courreges-Anglas
While the code intended to support both -s NAME and -s SIGNAME, the tests performed were wrong. Replace convoluted code with less cryptic conditionals. ok anton@
2018-12-08Basic regress test for kill -s SIG[NAME] (now failing)Jeremie Courreges-Anglas
Prodded by anton@
2018-12-08Use correct RFC 3464 specified values for Action field in a DSN.Sunil Nimmagadda
error -> failed success -> delivered This fixes DSN parsing for Mailman. Issue reported by Cristiano Costa on misc@opensmtpd.org. While here, rename enums to reflect the intent and properly handle envelope ascii load/dump to understand change in the values. Suggestions and ok gilles@
2018-12-07format a pair of dashes as "\(em" rather than "--",Ingo Schwarze
and a normal hyphen as "-" rather than "\-"
2018-12-07zap trailing whitespaceanton
2018-12-07For shared interrupts we need to make sure that we registerPatrick Wildt
with the lowest IPL. Once we actually run the IRQ handler we raise to the highest IPL. Fixes a crash seen when having a network card in the PCIe slot of the MacchiatoBin. ok ccardenas@
2018-12-07"every" is in seconds; from ross l richardsonJason McIntyre
2018-12-07ReorderingDaniel Jakots
- Uppercase options come before lowercase ones - Sort alphabetically some parameters From Matthew Martin "if it's just reordering, you don't need my okay, go ahead" -- espie@
2018-12-07Make sure the TAP extension is only added to the vector when needed.Martin Pieuchot
Fix a problem reported by Mark Patruck and dhill@ ok markus@, dhill@
2018-12-07free(9) sizes for netcred.Martin Pieuchot
ok visa@
2018-12-07Stop passing `sc' when it isn't needed and use `ifp' where it's goodMartin Pieuchot
enough. ok sthen@, visa@
2018-12-07Remove useless spl protection.Martin Pieuchot
ok visa@
2018-12-07Test that "b" and "t" (branch) commands can be followed by a semicolonIngo Schwarze
and another command. Related to compile.c rev. 1.50. millert@ OK'ed this diff without seeing it before it even occurred to me that i might write it - but i guess below regress/, that's fair enough.
2018-12-07As an extension to POSIX, for consistency with our behaviour forIngo Schwarze
the "b" and "t" commands with a label, and for compatibility with GNU sed, also accept ";" followed by another command after "b" and "t" commands without a label: branch to the end of the script instead of erroring out. Parsing is unchanged. Missing feature reported by Lars dot Nooden at gmail dot com on bugs@. OK martijn@ millert@
2018-12-07properly handle EAI_NODATA and EAI_NONAME in fc-rdns lookupsGilles Chehade
ok eric@
2018-12-07I noticed the "pf table handler" process not going away on dhcpd restart,Henning Brauer
looked at the error handling here, and.... oh my. If opening /dev/pf on startup fails, don't just warn and move on, but bail. If chroot (or the chdir after) fail, don't just warn and move on, bail. If dropping privileges fails, the last thing we want to do is to just move on with root privs, having warned or not. If the pipe to the parent process is closed, that almost certainly means that the parent process went away, and it absolutely certainly means that the table handler process has no meaningful reason to exist any more, thus bail. ok florian ccardenas krw
2018-12-07Remove public resolver IP addresses, just provide a neutral "documentationStuart Henderson
prefix" address instead - there are so many available with varying policies that this isn't a good place to list them (and might imply some kind of recommendation which is not intended). Particularly prompted by several on the previous list (he.net and opendns) strip RRSIG from results which cause DNSSEC failures now that validation is enabled in the example config as noticed by solene@. While there, shrink qname-minimisation comment to match other nearby comments, and drop dns64 example which is quite a specialist use case and not really needed in this basic example.