History log of /src/tests/sys/netgraph/ksocket.c (Results 1 – 10 of 10)
Revision Date Author Comments
# 32c3723f 02-Feb-2026 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netgraph: fix tests that depended on connect(in6addr_any)

Fixes: 627e126dbb07b167b028380ef61bb45f10493938


# d86c5811 25-Jun-2025 Seyed Pouria Mousavizadeh Tehrani <info@spmzt.net>

ng_ksocket: Add tests for IPv6

Add udp6_connect and udp6_bind for ng_ksocket

Differential Revision: https://reviews.freebsd.org/D50111


# 2fcbd5a7 20-Jun-2025 Mark Johnston <markj@FreeBSD.org>

netgraph/ksocket tests: Bind to a specific address

Otherwise we rely on connect(INADDR_ANY) connecting to a socket bound to
an arbitrary host address, but as of commit cd240957d7ba this is
disallowe

netgraph/ksocket tests: Bind to a specific address

Otherwise we rely on connect(INADDR_ANY) connecting to a socket bound to
an arbitrary host address, but as of commit cd240957d7ba this is
disallowed by default.

Reported by: Siva Mahadevan <me@svmhdvn.name>
Fixes: cd240957d7ba ("netinet: Disallow connections to INADDR_ANY")

show more ...


# a8edc9f1 23-Mar-2024 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netgraph: start ng_ksocket(4) tests

The ng_ksocket(4) functionality is very fragile as it interfaces with
kernel socket code in unusual way. It definitely needs a test suite.
Start one with a

tests/netgraph: start ng_ksocket(4) tests

The ng_ksocket(4) functionality is very fragile as it interfaces with
kernel socket code in unusual way. It definitely needs a test suite.
Start one with a test that tests UDP over IPv4.

show more ...


# d86c5811 25-Jun-2025 Seyed Pouria Mousavizadeh Tehrani <info@spmzt.net>

ng_ksocket: Add tests for IPv6

Add udp6_connect and udp6_bind for ng_ksocket

Differential Revision: https://reviews.freebsd.org/D50111


# 2fcbd5a7 20-Jun-2025 Mark Johnston <markj@FreeBSD.org>

netgraph/ksocket tests: Bind to a specific address

Otherwise we rely on connect(INADDR_ANY) connecting to a socket bound to
an arbitrary host address, but as of commit cd240957d7ba this is
disallowe

netgraph/ksocket tests: Bind to a specific address

Otherwise we rely on connect(INADDR_ANY) connecting to a socket bound to
an arbitrary host address, but as of commit cd240957d7ba this is
disallowed by default.

Reported by: Siva Mahadevan <me@svmhdvn.name>
Fixes: cd240957d7ba ("netinet: Disallow connections to INADDR_ANY")

show more ...


# a8edc9f1 23-Mar-2024 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netgraph: start ng_ksocket(4) tests

The ng_ksocket(4) functionality is very fragile as it interfaces with
kernel socket code in unusual way. It definitely needs a test suite.
Start one with a

tests/netgraph: start ng_ksocket(4) tests

The ng_ksocket(4) functionality is very fragile as it interfaces with
kernel socket code in unusual way. It definitely needs a test suite.
Start one with a test that tests UDP over IPv4.

show more ...


# d86c5811 25-Jun-2025 Seyed Pouria Mousavizadeh Tehrani <info@spmzt.net>

ng_ksocket: Add tests for IPv6

Add udp6_connect and udp6_bind for ng_ksocket

Differential Revision: https://reviews.freebsd.org/D50111


# 2fcbd5a7 20-Jun-2025 Mark Johnston <markj@FreeBSD.org>

netgraph/ksocket tests: Bind to a specific address

Otherwise we rely on connect(INADDR_ANY) connecting to a socket bound to
an arbitrary host address, but as of commit cd240957d7ba this is
disallowe

netgraph/ksocket tests: Bind to a specific address

Otherwise we rely on connect(INADDR_ANY) connecting to a socket bound to
an arbitrary host address, but as of commit cd240957d7ba this is
disallowed by default.

Reported by: Siva Mahadevan <me@svmhdvn.name>
Fixes: cd240957d7ba ("netinet: Disallow connections to INADDR_ANY")

show more ...


# a8edc9f1 23-Mar-2024 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netgraph: start ng_ksocket(4) tests

The ng_ksocket(4) functionality is very fragile as it interfaces with
kernel socket code in unusual way. It definitely needs a test suite.
Start one with a

tests/netgraph: start ng_ksocket(4) tests

The ng_ksocket(4) functionality is very fragile as it interfaces with
kernel socket code in unusual way. It definitely needs a test suite.
Start one with a test that tests UDP over IPv4.

show more ...