summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2017-04-21Repair AgentX support.Jeremie Courreges-Anglas
which I broke when adding support for multiple listen address. SNMP data should be sent to the client using the appropriate socket, which we now store when we receive the query. Reported & fix tested by Rivo Nurges.
2017-04-21Fix uninitialized variable that coult result in a crash.Jeremie Courreges-Anglas
Fix from Rivo Nurges.
2017-04-21Fail if vm.conf exists but cannot be opened, ignore if it doesn't exist.Reyk Floeter
This fixes 'vmd -nf /etv/vm.conf' if the file is not readable.
2017-04-21Add global configuration option "local prefix" to change prefix for -L.Reyk Floeter
The default prefix is 100.64.0.0/10 from RFC6598. Requested by sthen@ chris@ OK mlarkin@
2017-04-21vmd(8) pci emulation fix required for upcoming option rom support.Mike Larkin
This will be used in the future to support an sgabios option rom, to do VGA text mode console redirection. ok reyk
2017-04-19Add support for dynamic "NAT" interfaces (-L/local interface).Reyk Floeter
When a local interface is configured, vmd configures a /31 address on the tap(4) interface of the host and provides another IP in the same subnet via DHCP (BOOTP) to the VM. vmd runs an internal BOOTP server that replies with IP, gateway, and DNS addresses to the VM. The built-in server only ever responds to the VM on the inside and cannot leak its DHCP responses to the outside. Thanks to Uwe Werler, Josh Grosse, and some others for testing! OK deraadt@
2017-04-19better example; from hiltjo posthumaJason McIntyre
ok sthen
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka
2017-04-18recent perl have signal names we don't have, protect against that.Marc Espie
also, allow child_error to take a parameter so that this can be used to decode an arbitrary wait() result.
2017-04-18Tweak parameters to decode_*, add a check or two, and thus gain most of theKenneth R Westerback
sanity improvements reyk@ recently put into dhcrelay to ensure no more than the captured packet is processed.
2017-04-18After 11 years of pondering about it I think that brookdavis@freebsd.orgKenneth R Westerback
had it correct. Don't BPF_WORDALIGN() the value for the number of bytes read() into the buffer. This could theoretically cause the processing of 1 - 3 more bytes than were read.
2017-04-18removed unused function; from Edgar PettijohnTheo de Raadt
2017-04-18Warn if pipex(4) is disabled but the configuration uses it.YASUOKA Masahiko
2017-04-18Delete #include lines which are unnecessary.YASUOKA Masahiko
2017-04-18use freezero()Theo de Raadt
2017-04-17some freezero() callsTheo de Raadt
2017-04-17Use better types for checksum() parameters and local var fromKenneth R Westerback
dhclient. Eliminate extra prototypes for checksum() and wrapsum().
2017-04-17don't manipulate hdr.len, it's used internally by libutil now; ok florian@Otto Moerbeek
2017-04-17don't manipulate hdr.len, it's used internally by libutil now; ok florian@Otto Moerbeek
2017-04-17Add syslogd(8) option -r to suppress the summary line for pipe andAlexander Bluhm
remote loghost as they are most commonly used for automated log processing. With -rr the "last message repeated" feature can be disabled completely. OK sthen@ deraadt@ jmc@
2017-04-16Different compilers and versions of compilers have different warnings.Jonathan Gray
Remove -Werror to give code a greater chance of building. ok deraadt@ florian@
2017-04-16Remove -Werror to make dhcrelay6 on gcc3 architecture successfully.Kenji Aoyama
ok reyk
2017-04-15Take implementation for getsocket() from arp(8). This bringsAlexander Bluhm
routing table filter and pledge(2) to ndp(8) modes -s and -d. OK florian@
2017-04-15Name global variable for routing socket rtsock like in ndp(8).Alexander Bluhm
OK florian@
2017-04-15Let ndp(8) use the process's current routing table by default.Alexander Bluhm
from Pierre Emeriaud; OK jca@ claudio@ Sync code and man page with arp(8). OK florian@
2017-04-15regenFlorian Obser
2017-04-15update to 4.1.16rc1Florian Obser
tests & OK sthen (if there are more changes coming for 4.1.16 release we will just commit them on top)
2010-01-15NSD v3.2.4Jakob Schlyter
2017-04-14Update a man page example to reflect recent changes.Mike Larkin
Spotted by Ilya Kaliman, thanks.
2017-04-13moving some code into a switch meant that break no longer stopped the loop.Ted Unangst
try harder with a goto. diagnosis and original fix by tb.
2017-04-13Remove a bunch of obsolete, unused and irrelevant DHCP client types, fields,Kenneth R Westerback
and enums.
2017-04-13multi-statement CHECK_RANGE() macro isn't safe for all placements, andTheo de Raadt
needs to use "do {} while 0" idiom; all callers need repair also. Discovered by jsg
2017-04-12Inspired by recent dhcrelay changes, bring in stricter CFLAGS!Kenneth R Westerback
2017-04-12One 'foo' per function is enough. Rename one to eliminate shadowing.Kenneth R Westerback
2017-04-12Add missing function prototypes. Mark kw_cmp() as static like allKenneth R Westerback
its friends.
2017-04-10slaacdctl -> slaacctl;Jason McIntyre
2017-04-10The canonical name for ctl programs is without 'd'.Florian Obser
Pointed out by Brad. OK deraadt@
2017-04-10Check early if the mandatory carp "interface" was configured.Reyk Floeter
This allows the new -n config check to work correctly. OK jsg@ deraadt@
2017-04-09Remove unused #define's and struct.Martin Natano
2017-04-09image/svg+xml is a default inbuilt media type.Florian Obser
Pointed out by Anton Lindqvist (anton.lindqvist AT gmail), thanks!
2017-04-09Fix multiple cases of reading past the end of a buffer in the sasyncd(8)Jonathan Gray
config parser found with afl. feedback and ok millert@ ok deraadt@
2017-04-08use .Em for emphasis, not .PaIngo Schwarze
2017-04-08change a log message from "warn" to "debug" level, as the condition it isMike Larkin
reporting is not actually a warning.
2017-04-08implement nonspecific EOI mode for the legacy PICMike Larkin
ok deraadt
2017-04-08implement channels 1 and 2 of the legacy PIT.Mike Larkin
ok otto, deraadt
2017-04-07Incoming TCP connections from clients fill the files of a log server.Alexander Bluhm
A log client reconnects at every SIGHUP. Write these accept and close messages with debug priority, then they can be turned on in syslog.conf. Default is off. While there, move a debug message and set the priority of the exit message explicitly to error. OK mpf@ millert@
2017-04-06"kernel" got renamed to "boot" in vm.conf but I didn't commit the parse.y bits.Reyk Floeter
Found by Pontus Lundkvist OK deraadt
2017-04-06replace some long if/else chains with a switchTed Unangst
2017-04-06Remove the CD9660MAXPATH define. It was used to construct the path forMartin Natano
opening the file, so PATH_MAX makes more sense here. While there change the code to do two less allocations per file. ok deraadt
2017-04-06Do not expose vmm(4) VM IDs to the user, use vmd(8)'s IDs instead.Reyk Floeter
Each VM has two IDs: one from the kernel (vmm) and a different one from userland (vmd). The vmm ID is not consistent and incremented on every boot during runtimg of the host system. The vmd ID remains the same during the lifetime of a configured VM, even after reboots. Configured VMs will even get and keep their IDs when the configuration is loaded. This is more what users expect. Pointed out and tested by otto@ OK deraadt@