lib/libepoxy: fix epoxy micro version in build plumbing/config.h
will fix Version field in /usr/X11R6/lib/pkgconfig/epoxy.pc
forgotten when updating epoxy to 1.5.10 in may.
ok matthieu@
pf(4): fix missing pf_state_key_unref()
Reported by Acts1631.
from jan@; OK henning@ sashan@
pf(4): pf_state_insert() should update stack side key
pf_state_insert() should treat stack side state key (sks) in the same way
as it treats wire side state key (skw). The call to pf_state_key_attach()
may replace the sks with key which is present already in state tree.
Issue noticed and reported by Acts-1631
from sashan@; OK henning@ bluhm@
this is errata/8.0/031_pfkeyunref.patch.sig
pf(4): fix missing pf_state_key_unref()
Reported by Acts1631.
from jan@; OK henning@ sashan@
pf(4): pf_state_insert() should update stack side key
pf_state_insert() should treat stack side state key (sks) in the same way
as it treats wire side state key (skw). The call to pf_state_key_attach()
may replace the sks with key which is present already in state tree.
Issue noticed and reported by Acts-1631
from sashan@; OK henning@ bluhm@
this is errata/7.9/065_pfkeyunref.patch.sig
Use ulmin(9) instead min(9) to prevent integer truncation with potential
bad consequences. From Acts1631.
from kettenis@; OK miod@ mvs@
this is errata/8.0/030_uvmiomin.patch.sig
Use ulmin(9) instead min(9) to prevent integer truncation with potential
bad consequences. From Acts1631.
from kettenis@; OK miod@ mvs@
this is errata/7.9/064_uvmiomin.patch.sig
Fix FIN_WAIT_2 timeout of closed TCP sockets.
During keep alive timer refactoring at 2025-01-16 I messed up
tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
timer. As a consequence connections in FIN_WAIT_2 without socket
stay for 16 hours instead of 10 minutes. A peer that never sends
its FIN can exhaust kernel resources this way. Restore the old
behaviour.
from Acts1631
from bluhm@; OK mvs@
this is errata/8.0/029_tcpfinwait.patch.sig
Fix FIN_WAIT_2 timeout of closed TCP sockets.
During keep alive timer refactoring at 2025-01-16 I messed up
tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
timer. As a consequence connections in FIN_WAIT_2 without socket
stay for 16 hours instead of 10 minutes. A peer that never sends
its FIN can exhaust kernel resources this way. Restore the old
behaviour.
from Acts1631
from bluhm@; OK mvs@
this is errata/7.9/063_tcpfinwait.patch.sig
Limit TCP reassembly list walks.
To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
queue length. The segment at rcv_nxt is still accepted, so the
missing data can drain a full queue. Large windows on a high
bandwidth connection may hit a strict 100 segment maximum in
legitimate cases, so also make the limit depend on the socket buffer
size.
from Acts1631
from bluhm@; OK claudio@
this is errata/8.0/028_tcpqlen.patch.sig
Recalulate the TCP SACK list after memory exhaustion.
Acts1631 found that tcp(4) can advertise SACK blocks for data that
it has discarded when the global TCP reassembly pool is exhausted.
This can make a sender omit missing data from fast recovery and
wait for its retransmission timer.
This commit clears the receiver SACK report whenever the reassembly
allocation fails, before either path can discard queued data. It
also returns -1 when the new input segment itself is discarded.
The caller maps that value back to zero TCP flags but does not add
the discarded range to the SACK report. On the reuse path, the
accepted current segment is still passed to tcp_update_sack_list(),
after the stale report has been cleared.
from Acts1631
from bluhm@; discussed with claudio@ tb@
Limit TCP reassembly list walks.
To prevent CPU exhaustion by a remote TCP peer, limit the t_segq
queue length. The segment at rcv_nxt is still accepted, so the
missing data can drain a full queue. Large windows on a high
[7 lines not shown]
Fix NULL dereferences in sppp authentication.
From acts1631
from yasuoka@; OK mvs@ bket@
Comply with 6.2 of RFC 1661 in sppp(4)
The option length field is p[1] and is required to be >= 4.
from gnezdo@; OK jsg@ yasuoka@
this is errata/8.0/027_sppp.patch.sig
sppp_pap_input(): do not compare credentials if the lengths of received
ones is not the same of configured.
from mvs@; OK renaud@ bluhm@
Fix NULL dereferences in sppp authentication.
From acts1631
from yasuoka@; OK mvs@ bket@
Comply with 6.2 of RFC 1661 in sppp(4)
The option length field is p[1] and is required to be >= 4.
from gnezdo@; OK jsg@ yasuoka@
this is errata/7.9/061_sppp.patch.sig
Initialize username if retrieving the username attribute fails. Also,
check the attribute length, this should have been included in the previous
commit (revision 1.15).
Reject the Access-Request instead of stopping the module when neither
the request nor the response has a usable User-Name. Also initialize
local variables in ipcp_reject().
rpki-client: simplify roa_ip_cmp()
Instead of two memcmp we can use the same approach as in ccr_vrp_cmp()
and compare struct ip_addr() and the prefix length to obtain the ordering
sort-of but not quite rquired by RFC 9582, section 4.3.3. Right now only
three amazon CAs don't follow this ordering, so maybe we can get them to
fix that soon and start requiring the order, which avoids some algorithmic
complexity issues.
ok claudio
Use the Request Authenticator as the CHAP challenge when the
Access-Request has no CHAP-Challenge attribute, as specified in RFC
2865 section 5.3. Previously such requests were never answered, so
they stayed pending in radiusd forever.
Reported and diff from Acts1631
rpki-client: fix roa_ip_cmp() for differing AFIs
Presumably a copy-paste error. It does not matter in practice since the
function is only called for addresses of the same AF.
ok claudio