Improve rde_apply_set() performance by changing filter_sets in the RDE.
Switch away from a linked list of filter_set elements and instead use
an array of stripped down rde_filter_set_elm elements. As a result
rde_apply_set() becomes more efficent since the CPU is no longer waiting
all the time for memory accesses.
Introduce a new way to send and recv the imsgs for IMSG_FILTER_SET.
There is a send and receive function in the new bgpd_imsg.c file that
is also used by bgpctl. The receive function is a lot more strict
and on top of this add imsg_check_filterset() which validates messages
sent on the control socket before passing them on.
OK tb@
the advice about using sysconf(_SC_PAGESIZE) is nuts, noone should
actively go about changing existing code in such a pointless way.
also, remove the archaic reference to sbrk.
discussion with enh @ google
Use correct bit mask for mcu command field.
Both the vendor and Linux drivers store the mcu command in the cmd
field of the mcu tx descriptor, which is 7 bits wide.
ok hastings@
Export divert sockets from kernel to sysctl.
To show divert-packet sockets in netstat(1), the kernel has to
include the information about the divert and divert6 tables in
sysctl KERN_FILE_BYFILE.
reported by William B. OK mvs@ sthen@
import devel/py-stdlib-list
This package includes lists of all of the standard libraries for Python
2.6 through 3.14.
it's a new dependency for security/py-fickling
feedback and OK sthen@
import devel/py-stdlib-list
This package includes lists of all of the standard libraries for Python
2.6 through 3.14.
it's a new dependency needed by security/py-fickling
feedback and OK sthen@
rpki-client: rename cert_parse() into cert_parse_filemode()
Now that we added more specialized parsing functions, cert_parse() should
only be used in filemode. Make this more explicit by adjusting its name.
Keep the magic der == NUL check for now for consistency with the other API
parsing a cert from its DER.
ok claudio