summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly call "/etc/rc.d/vmd stop". This issues graceful shutdown commandssthen2018-07-111-1/+7
| | | | | | | | | | to running VMs (at least for OpenBSD ones), but the stop routine for system daemons is not usually called at shutdown. Earlier version with just "vmd stop" ok reyk@ kn@, ajacoutot@ reminded me to hide the contextless "vmd(ok)" text which looks bad, I did so and wrapped it with a "stopping VMs" message (it can take some time, especially when you have multiple VMs, so better to have some clear feedback).
* check string lengths in vm_startreyk2018-07-111-10/+21
|
* Disambiguate the source of panics in sys/net* by adding __func__nayden2018-07-116-26/+26
| | | | | magic constant to panic() calls. ok benno@ henning@ tb@
* The routing table bgpd runs in needs to be a routing domain.benno2018-07-111-1/+6
| | | | ok claudio henning
* Remove RTM_LOSING from the file, it is no longer used by OpenBSD andclaudio2018-07-111-4/+1
| | | | | route6d is not realy using it anyway. OK henning@
* some regression tests for lam(1) including width measurements;schwarze2018-07-119-0/+83
| | | | will be fixed soon and then linked to the build
* Introduce 'auto-join' to the wifi 802.11 stack.phessler2018-07-117-14/+576
| | | | | | | | | | | | | | | | | | | | | This allows a system to remember which ESSIDs it wants to connect to, any relevant security configuration, and switch to it when the network we are currently connected to is no longer available. Works when connecting and switching between WPA2/WPA1/WEP/clear encryptions. example hostname.if: join home wpakey password join work wpakey mekmitasdigoat join open-lounge join cafe wpakey cafe2018 join "wepnetwork" nwkey "12345" dhcp inet6 autoconf up OK stsp@ reyk@ and enthusiasm from every hackroom I've been in for the last 3 years
* Declare cpu_meltdown in <machine/cpu.h>guenther2018-07-113-6/+4
|
* regress to check nested subdirs and ..'sbeck2018-07-111-2/+36
|
* superfluous newlinehenning2018-07-111-2/+1
|
* If no thread can immediately handle a signal, which has been sentbluhm2018-07-112-10/+14
| | | | | | | | | to the process, it is made pending at the main thread. There it could hang forever. So also check the main thread for signal delivery. This workaround fixes hung tests in posixtestsuite. The proper solution would be to split pending signals for process and threads. input visa@; OK guenther@
* improve the path hash function (instead of just hashing the aspath putclaudio2018-07-113-28/+62
| | | | | | most other attrs into the hash as well). At the same time use the full 64 bit of SipHash in various places. Tested by and OK benno@ phessler@
* cleanly shutdown by sending advertisement with lifetime 0florian2018-07-114-5/+23
|
* treat ssh_packet_write_wait() errors as fatal; ok djm@markus2018-07-113-9/+9
|
* remove legacy key emulation layer; ok djm@markus2018-07-1120-445/+167
|
* Remove the i386 specific mention for pcvtfonts, they are also installedfcambus2018-07-111-3/+3
| | | | | | | | on alpha and amd64. No objection from jmc@. OK deraadt@, sthen@
* Detect vmm(4) in the bootloader and automatically switch to the serialmlarkin2018-07-114-8/+64
| | | | | | console at 115200 baud. ok deraadt
* Prevent invalid interface specifiers on queue ruleskn2018-07-111-4/+12
| | | | | | | | | | | | | | | | | | | | pf.conf(5) states that queues attach to actual interfaces only, yet the following parses: # echo queue eq on egress bandwidth 1G default | pfctl -f- # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor # echo queue rq on rdomain 0 bandwidth 1G default | pfctl -vf- queue rq bandwidth 1G default # pfctl -sq pfctl: DIOCGETQSTATS: Bad file descriptor On rdomains, ifa_exists() returns NULL. On interface groups, ifa_exists() returns non-NULL but af is never set to AF_LINK. OK henning sashan
* adding __func__ identifier to panic() calls in vmm.c for amd64 and i386nayden2018-07-112-15/+15
| | | | ok mlarkin@
* Prevent updating async option on softdep mountkn2018-07-111-1/+11
| | | | | | | `mount -uo async,nosoftdep /mnt' would set "async" but keep "softdep" untouched on a read/write mount. OK deraadt krw beck bluhm
* Bump some of the hash table size to more resonable numbers.claudio2018-07-111-3/+3
| | | | Still probably not optimal but less bad.
* Send a RA with router lifetime of 0 when an interface is removed fromflorian2018-07-113-14/+83
| | | | | | | | | the config. RFC 4861, 6.2.5: [...] the router SHOULD transmit one or more (but not more than MAX_FINAL_RTR_ADVERTISEMENTS) final multicast Router Advertisements on the interface with a Router Lifetime field of zero.
* remove useless macro;jmc2018-07-111-2/+1
|
* "running tags"espie2018-07-111-8/+16
|
* sort tokensreyk2018-07-111-4/+4
|
* do not pick up groff from /usr/local/bin in configure, noticed by benno@;naddy2018-07-111-1/+3
| | | | ok benno@ jca@
* style - indent each case statement in a switch.reyk2018-07-111-81/+86
|
* Print out the hash info sent by the RDE in bgpctl show rib memclaudio2018-07-111-2/+17
| | | | OK phessler@ benno@
* On IMSG_CTL_SHOW_RIB_MEM also send back information of some of theclaudio2018-07-116-6/+108
| | | | | | hash structures used in the RDE. Makes it fairly obvious that more is needed in that area. OK phessler@ benno@
* test changed stat lying semantics - we don't lie about filesbeck2018-07-111-3/+3
|
* Print the rdomain config option if present.remi2018-07-111-1/+4
| | | | ok kn@ tb@ deraadt@ sthen@ jca@
* Use AF_UNSPEC not 0kn2018-07-111-2/+2
|
* Some spaces have been removed from pfctl print. Adapt expectedbluhm2018-07-1110-43/+43
| | | | output in regress.
* retire the old cron socket path; ok jca millertderaadt2018-07-112-6/+2
|
* Detect vmm(4) in the bootloader and automatically switch to the serialmlarkin2018-07-114-8/+30
| | | | | | console at 115200 baud. tested by phessler and myself, ok deraadt
* Regress update to match changes for chromebeck2018-07-111-6/+24
|
* Fix comment about VLAN encapsulation and checksum offloadsf2018-07-111-7/+8
| | | | | | | | Document that some chips actually could do hardware checksum offload for encapsulated packets, though that would need special handling in those drivers. discussions and ok naddy@
* add option "network ... priority number" to announce prefixes from thebenno2018-07-115-8/+67
| | | | | | | kernel routing table selected by priority. For example to import all ospfd/ospf6d routes into bgp. tested by remi@ ok remi@ henning@ and maybe a little claudio@
* Detect when a router advertisement packet changes due to configflorian2018-07-113-21/+112
| | | | | | | | change and if it does send a new advertisement. The way this is implemented gives us various things for free: - periodic sending of router advertisements - send initial advertisement for every interface on startup
* no longer neededflorian2018-07-112-20/+4
|
* Sync commentkn2018-07-111-3/+5
| | | | | | Makes it a tad easier to read through and compare with BN_swap_ct(). OK tb
* Add -w option to vmctl stop to wait for completion of VM termination.reyk2018-07-1110-57/+87
| | | | | | Use it in /etc/rc.d/vmd accordingly. OK sthen@
* vmm(4): return proper cache topology for cpuid(0x4)mlarkin2018-07-112-4/+9
| | | | | | | Make the cache neighbor fields match the number of VCPUs present (currently 1) ok reyk
* Retire RTM_LOSING, it no longer makes sense and on busy servers theclaudio2018-07-111-18/+6
| | | | | | | route socket is flooded with those messages. Instead maek sure that the removal of the dynamic route that can happen is actually also sent to the routing socket. OK mpi@ henning@
* rtm_send() the cloned routes because of ICMP mtu changes. Until nowclaudio2018-07-112-2/+4
| | | | | | | these changes to the routing table have not been visible whereas the RTM_DELETE of those routes have been. Remove this inconsistency. Input and OK mpi@ OK henning@
* vmm(4): respect argument size when reading from undefined ports.mlarkin2018-07-111-8/+16
|
* vmm(4): small cleanup in vm_rwregs.mlarkin2018-07-111-6/+9
| | | | | Clarify error values and change a panic into a debug printf (which will in turn just kill the VM).
* Drop a const-bomb on regexec. It's probably not a good idea to remove amartijn2018-07-112-56/+63
| | | | | | const promise when processing it in the regex engine. Minor tweak and OK schwarze@
* When in incremental search handle ^M (a.k.a. <cr>) like ^[ (a.k.a.krw2018-07-111-5/+5
| | | | | | | <esc>). i.e. exit incremental search and set the mark. This is what emacs does. pointers, suggestions and ok florian@
* Change the control socket to ospfd.sock.<rdomain>.remi2018-07-112-6/+15
| | | | ok friehm@ jca@