summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix popup mouse position.nicm2021-02-021-3/+3
|
* introduce support for sending the If-Modified-Since header whilerobert2021-02-026-16/+98
| | | | | | | | | | fetching over http(s) and use the timestamps from the remote server's Last-Modified header if available when saving local files this makes it possible to mirror files better with ftp(1) the new timestamp behaviour can be disabled with the new '-u' flag ok sthen@, input from sthen@ and gnezdo@
* Fix use-after-free in dev_abort()ratchov2021-02-021-5/+5
| | | | Fixes crash that can occur when an usb device is unplugged, found by edd@
* article fix; from eddie yousephjmc2021-02-021-3/+3
|
* article fixes; from eddie yousephjmc2021-02-024-12/+12
|
* Improve the last commentdanj2021-02-021-4/+4
| | | | | | | Remove a trailing white space, don't misspell misconfiguration and use https. ok jmc, claudio
* Document MODOCAML_RUNDEPjca2021-02-011-3/+9
| | | | | ok bket@ sthen@ (who initially suggested the if-not-native value under a similar name)
* in case we're not a tty, don't do anything elseespie2021-02-011-3/+6
| | | | this does fix the grep case
* ESP path MTU discovery over IPv6 tunnel has been fixed. Add test.bluhm2021-02-011-6/+76
|
* change "demote counter" / "demote count" to "demotion counter", ok deraadtsthen2021-02-012-8/+8
|
* describe pfsync(4)'s use of carpdemote, ok/tweak kn deraadtsthen2021-02-011-2/+10
|
* Take flows into consideration for policy lookup as initiator.tobhe2021-02-013-11/+15
| | | | | | | | Fixes a bug where policies that only differ in their flow configuration lead to a handshake error. Found by claudio@ ok patrick@
* dhclient(8): default_route_index(): poll(2) -> ppoll(2)cheloha2021-02-011-10/+15
| | | | | | | | | | | | | Use ppoll(2) instead of poll(2) in default_route_index(). Using ppoll(2) here forces us to use clock_gettime(2) to measure the timeout, which is less error-prone than using time(3). Part of a larger campaign in dhclient(8) to make "time stuff" more accurate and robust. Prompted by krw@. Based on a diff from krw@. ok krw@
* The code in mdstore.c should stand on its own, so rename the globalkettenis2021-02-011-13/+13
| | | | | | variables used here instead of using the ones from config.c. ok deraadt@, kn@
* Remove obsolete vnode operation vector declarations.visa2021-02-011-6/+1
| | | | OK bluhm@, claudio@, mpi@, semarie@
* Use "EC/RSA key setup failure" to align error with otherstb2021-02-011-3/+3
| | | | ok eric jsing
* Whitespacetobhe2021-02-011-2/+2
|
* handle #pinctrl-cells 2jsg2021-02-011-2/+7
| | | | | needed for >= linux 5.9 dtbs on bbb ok kettenis@
* Fix path MTU discovery for ESP tunneled in IPv6. We always wantbluhm2021-02-012-2/+12
| | | | | | | short TCP segments or fragments encapsulated in ESP instead of fragmented ESP packets. Pass the don't fragment flag down along the stack so that dynamic routes with MTU are created eventually. with and OK markus@; OK tobhe@
* Syntax of pf(4) route-to has changed. Adapt tests.bluhm2021-02-014-24/+24
|
* Fix white spaces and wrap long lines.bluhm2021-02-011-41/+38
|
* Start implementing conditionals for filters.mpi2021-02-013-36/+97
| | | | | | | | | | | | | | | | | Allows to check the existence of a variable in predicates, making it possible to trace syscall latency, as follow: syscall:select:entry { @start[pid] = nsecs; } syscall:select:return /@start[pid]/ { @usecs = hist((nsecs - @start[pid]) / 1000); delete(@start[pid]); }
* Align the mixed naming for the variables used to reference tomglocker2021-02-014-31/+31
| | | | | | | | | bInterfaceNumber and bAlternateSetting as following: ifaceidx -> ifaceno altidx -> altno Suggested and ok mpi@
* Add a no-detached choice to detach-on-destroy which detaches only ifnicm2021-02-013-10/+35
| | | | | there are no other detached sessions to switch to, from Sencer Selcuk in GitHub issue 2553.
* Netlock should be grabbed before pppx_if_find() call in pppxwrite().mvs2021-02-011-3/+5
| | | | | | | Otherwise this `pxi' can be killed by concurrent thread after context switch caused by following netlock. ok yasuoka@
* Remove dummy TUNSIFMODE ioctl(2) call from pppac(4) and npppd(8). Sincemvs2021-02-012-23/+3
| | | | | | OpenBSD 6.7 npppd(8) can't work over tun(4). ok yasuoka@
* ifunit() was fully replaced by if_unit(9) and should go away.mvs2021-02-012-20/+8
| | | | ok bluhm@ dlg@
* update the pathname for the control socket path; from daniel jakotsjmc2021-02-011-8/+12
| | | | | | clean up FILES while here ok claudio for the former
* update currency exchange rates;jmc2021-02-011-37/+37
|
* some article fixes; from eddie youseph and grepjmc2021-02-013-9/+9
|
* a regular function decl collides with an inline, due to C99 inline rules.deraadt2021-02-011-1/+2
| | | | | | | We are never updating this sub-tree. Knock out the collision in the simplest way. diff from mortimer. This is the last change required for -fno-common on all architectures, thanks to mortimer for starting the effort and encouraging others.
* syncderaadt2021-02-011-6/+0
|
* Switch dispatch loop to ppoll() and protocol timeouts to struct timespec.krw2021-02-012-24/+20
| | | | | | Reduces spurious packet transmissions in situations with short timings. Suggestions millert@, further suggestions & ok cheloha@
* change route-to so it sends packets to IPs instead of interfaces.dlg2021-02-016-324/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is a significant (and breaking) reworking of the policy based routing that pf can do. the intention is to make it as easy as nat/rdr to use, and more robust when it's operating. the main reasons for this change are: - route-to, reply-to, and dup-to do not work with pfsync this is because the information about where to route-to is stored in rules, and it is hard to have a ruleset synced between firewalls, and impossible to have them synced 100% of the time. - i can make my boxes panic in certain situations using route-to yeah... - the configuration and syntax for route-to rules are confusing. the argument to route-to and co is an interace name with an optional ip address. there are several problems with this. one is that people tend to think about routing as sending packets to peers by their address, not by the interface they're reachable on. another is that we currently have no way to synchronise interface topology information between firewalls, so using an interface to say where packets go means we can't do failover of these states with pfsync. another is that a change in routing topology means a host may become reachable over a different interface. tying routing policy to interfaces gets in the way of failover and load balancing. this change does the following: - stores the route info in the state instead of the pf rule this allows route-to to keep working when the ruleset changes, and allows route-to info to be sent over pfsync. there's enough spare bits in pfsync messages that the protocol doesnt break. the caveat is that route-to becomes tied to pass rules that create state, like rdr-to and nat-to. - the argument to route-to etc is a destination ip address it's not limited to a next-hop address (thought a next-hop can be a destination address). this allows for the failover and load balancing referred to above. - deprecates the address@interface host syntax in pfctl because routing is done entirely by IPs, the interface is derived from the route lookup, not pf. any attempt to use the @interface syntax will fail now in all contexts. there's enthusiasm from proctor@ jmatthew@ and others ok sashan@ bluhm@
* more strictly enforce KEX state-machine by banning packet typesdjm2021-01-315-9/+25
| | | | | | | | once they are received. Fixes memleak caused by duplicate SSH2_MSG_KEX_DH_GEX_REQUEST (spotted by portable OpenSSH kex_fuzz via oss-fuzz #30078). ok markus@
* Spacing.mglocker2021-01-311-2/+2
|
* Ignore addresses that are not 0/32 (dynamic) in ikev2_cp_fixaddr()tobhe2021-01-311-3/+3
| | | | | | | instead of throwing an error. Fixes a bug where flows without 'dynamic' were skipped when 'config/request address' is used. ok patrick@
* Don't leak flows if ikev2_cp_fixflow() fails.tobhe2021-01-311-3/+8
| | | | ok patrick@
* Make progress when stepping through rdns proposals even when skippingflorian2021-01-311-3/+3
| | | | localhost.
* turns out STDOUT may have been redirected, in which case tcgetpgrp willespie2021-01-311-2/+5
| | | | | | return -1, in which case we never need to suppress output. noticed by Mark Patruck
* replace fgetln(3) with getline(3) in fdisknaddy2021-01-311-11/+9
| | | | ok millert@
* replace fgetln(3) with getline(3) in sednaddy2021-01-311-16/+11
| | | | | Partly from Johann Oskarsson for Illumos/FreeBSD. ok millert@
* fix mistaken operator precedence in a pointer dereference in disklabelnaddy2021-01-311-3/+3
| | | | ok millert@
* Add basic support for BCM4378 as found on the Apple M1 SoCs. There's apatrick2021-01-313-3/+12
| | | | little bit more to do though before it can be enabled.
* regenpatrick2021-01-312-2/+7
|
* Add Broadcom BCM4378.patrick2021-01-311-1/+2
|
* Set linesize returned by getline to zero when freeing and NULLing thedtucker2021-01-311-1/+3
| | | | | returned string. OpenBSD's getline handles this just fine, but some implementations used by -portable do not. ok djm@
* last pieces of satisfying -fno-commonderaadt2021-01-312-4/+5
|
* Don't print an empty line at the end of `route sourceaddr`danj2021-01-301-2/+1
| | | | ok denis
* satisfy -fno-commonderaadt2021-01-302-4/+4
|