| History log of /src/tests/net/Makefile |
| Revision | | Date | Author | Comments |
| 1.42 |
| 20-Aug-2024 |
ozaki-r | tests: add tests for shmif
The test file is placed under tests/net, not tests/rump/rumpnet, to leverage utility functions provided for tests in there.
|
| 1.41 |
| 17-Nov-2022 |
ozaki-r | branches: 1.41.2; tests: build and install added test files
|
| 1.40 |
| 02-Nov-2022 |
ozaki-r | tests: add tests for TCP with nc
|
| 1.39 |
| 14-Jul-2021 |
ozaki-r | tests: add tests for ALTQ CBQ
|
| 1.38 |
| 17-May-2021 |
yamaguchi | Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation - MP-safe and MP-scalable
|
| 1.37 |
| 29-Sep-2020 |
roy | branches: 1.37.2; vether(4): Add ATF tests based on the tap(4) tests.
|
| 1.36 |
| 26-Aug-2020 |
riastradh | Clarify wg(4)'s relation to WireGuard, pending further discussion.
Still planning to replace wgconfig(8) and wg-keygen(8) by one wg(8) tool compatible with wireguard-tools; update wg(4) for the minor changes from the 2018-06-30 spec to the 2020-06-01 spec; &c. This just clarifies the current state of affairs as it exists in the development tree for now.
Mark the man page EXPERIMENTAL for extra clarity.
|
| 1.35 |
| 20-Aug-2020 |
riastradh | [ozaki-r] Changes to the kernel core for wireguard
|
| 1.34 |
| 10-Jan-2018 |
knakahara | add ipsec(4) interface ATF.
|
| 1.33 |
| 27-May-2017 |
bouyer | branches: 1.33.2; merge the bouyer-socketcan branch to HEAD.
CAN stands for Controller Area Network, a broadcast network used in automation and automotive fields. For example, the NMEA2000 standard developped for marine devices uses a CAN network as the link layer.
This is an implementation of the linux socketcan API: https://www.kernel.org/doc/Documentation/networking/can.txt you can also see can(4).
This adds a new socket family (AF_CAN) and protocol (PF_CAN), as well as the canconfig(8) utility, used to set timing parameter of CAN hardware. Also inclued is a driver for the CAN controller found in the allwinner A20 SoC (I tested it with an Olimex lime2 board, connected with PIC18-based CAN devices).
There is also the canloop(4) pseudo-device, which allows to use the socketcan API without CAN hardware.
At this time the CANFD part of the linux socketcan API is not implemented. Error frames are not implemented either. But I could get the cansend and canreceive utilities from the canutils package to build and run with minimal changes. tcpudmp(8) can also be used to record frames, which can be decoded with etherreal.
|
| 1.32 |
| 14-Apr-2017 |
ozaki-r | Add tests for ipsec
- Check if setkey correctly handles algorithms for AH/ESP - Check IPsec of transport mode with AH/ESP over IPv4/IPv6 - Check IPsec of tunnel mode with AH/ESP over IPv4/IPv6
|
| 1.31 |
| 16-Feb-2017 |
knakahara | add l2tp(4) basic test.
|
| 1.30 |
| 26-Nov-2016 |
ozaki-r | branches: 1.30.2; Add basic tests for vlan(4)
|
| 1.29 |
| 05-Sep-2016 |
ozaki-r | Add very basic tests for tun devices
|
| 1.28 |
| 15-Apr-2016 |
ozaki-r | branches: 1.28.2; Add a new test case for PPPoE using PAP
From s-yamaguchi@IIJ (with some tweaks by me)
|
| 1.27 |
| 04-Mar-2016 |
ozaki-r | Add tests for tap(4)
|
| 1.26 |
| 05-Nov-2015 |
knakahara | add basic if_gif tests to ATF.
|
| 1.25 |
| 03-Aug-2015 |
ozaki-r | Add tests for NDP
|
| 1.24 |
| 29-Jul-2015 |
ozaki-r | Add tests for ARP
Forgot to commit this. Should fix the build.
|
| 1.23 |
| 22-Jun-2015 |
matt | Don't build tests that depend on RUMP if BSD_MK_COMPAT_FILE is defined.
|
| 1.22 |
| 26-May-2015 |
ozaki-r | Run mcast tests on rump kernels
The tests on anita qemus failed due to that the host network environment didn't meet the tests.
The change makes the tests independent from host environments and the tests will pass on any environments including anita qemus.
Discussed on tech-kern and tech-net.
|
| 1.21 |
| 20-May-2015 |
christos | MKRUMP=no fixes (Robert Swindells)
|
| 1.20 |
| 05-Jan-2015 |
christos | Port the in_cksum test from regress.
|
| 1.19 |
| 11-Oct-2014 |
christos | add a multicast test (what to do with v6?)
|
| 1.18 |
| 18-Sep-2014 |
ozaki-r | Add net/if_bridge test
|
| 1.17 |
| 30-Jun-2014 |
alnsn | Add bpfjit kernel tests for loading from mbuf chain.
|
| 1.16 |
| 18-Mar-2014 |
riastradh | branches: 1.16.2; Merge riastradh-drm2 to HEAD.
|
| 1.15 |
| 19-Jul-2013 |
kefren | Add a couple of basic IP/MPLS forwarding tests
|
| 1.14 |
| 03-Jul-2013 |
nakayama | branches: 1.14.2; Enable tests which does not require rump if MKRUMP=no. Pointed out by christos on source-changes-d.
|
| 1.13 |
| 12-Sep-2012 |
martin | ATF wrapping of the npf tests
|
| 1.12 |
| 14-Aug-2012 |
alnsn | branches: 1.12.2; Build and install t_bpfilter.
|
| 1.11 |
| 13-Aug-2012 |
christos | add fdpass tests
|
| 1.10 |
| 08-Aug-2012 |
christos | Exclude tests that use rump
|
| 1.9 |
| 08-Feb-2011 |
pooka | branches: 1.9.4; Time to start adding tests for the routing code to make that part of the kernel more approachable.
Begin the task with an xfail test for PR kern/40455.
|
| 1.8 |
| 11-Jan-2011 |
pooka | branches: 1.8.2; add test for PR kern/44369
|
| 1.7 |
| 07-Nov-2010 |
pooka | convert program in PR kern/44054 to an atf test case
|
| 1.6 |
| 10-Aug-2010 |
pooka | Add a most elementary carp test: it forks off two processes, configures carp in each of them, and after verifying that the shared address responds to ping it brutally kills the master like a proper carnivore (none of that ifconfig down sissy vegan nonsense). Then the test checks if the backup got its act together by pinging the shared address and passes verdict.
|
| 1.5 |
| 25-Jul-2010 |
pooka | Add xfail test for kernel diagnostic panic described in PR kern/43664
|
| 1.4 |
| 13-Jul-2010 |
jmmv | Get rid of static Atffiles and let bsd.test.mk generate them on the fly.
|
| 1.3 |
| 04-Jul-2010 |
pooka | descend into icmp
|
| 1.2 |
| 21-Apr-2010 |
pooka | Check that bpf doesn't accept programs with divide-by-zero in them. Example filter from Guy Harris via PR kern/43185.
|
| 1.1 |
| 23-Dec-2007 |
jmmv | branches: 1.1.2; Add regression tests for low-port allocation in connect and listen, which was broken and fixed recently in: http://mail-index.netbsd.org/source-changes/2007/12/16/0011.html
Test-case code provided by elad@.
|
| 1.1.2.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.1.2.1 |
| 23-Dec-2007 |
matt | file Makefile was added on branch matt-armv6 on 2008-01-09 01:59:28 +0000
|
| 1.8.2.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
| 1.9.4.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.9.4.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.12.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.12.2.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.14.2.1 |
| 23-Jul-2013 |
riastradh | sync with HEAD
|
| 1.16.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.28.2.3 |
| 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.28.2.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.28.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.30.2.2 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.30.2.1 |
| 15-Jan-2017 |
bouyer | Basic tests for our SocketCAN implementation (using rump)
|
| 1.33.2.1 |
| 11-Feb-2018 |
snj | Pull up following revision(s) (requested by ozaki-r in ticket #536): distrib/sets/lists/base/shl.mi: 1.825 distrib/sets/lists/comp/mi: 1.2168-1.2169 distrib/sets/lists/comp/shl.mi: 1.310 distrib/sets/lists/debug/mi: 1.234 distrib/sets/lists/debug/shl.mi: 1.188 distrib/sets/lists/man/mi: 1.1570 distrib/sets/lists/tests/mi: 1.772 etc/mtree/NetBSD.dist.tests: 1.150 share/man/man4/Makefile: 1.650 share/man/man4/ipsec.4: 1.42-1.43 share/man/man4/ipsecif.4: 1.1-1.5 sys/arch/amd64/conf/ALL: 1.77 sys/arch/amd64/conf/GENERIC: 1.480 sys/conf/files: 1.1191 sys/net/Makefile: 1.34 sys/net/files.net: 1.14 sys/net/if.c: 1.404 sys/net/if.h: 1.248 sys/net/if_gif.c: 1.135 sys/net/if_ipsec.c: 1.1-1.3 sys/net/if_ipsec.h: 1.1 sys/net/if_l2tp.c: 1.16 sys/net/if_types.h: 1.28 sys/netinet/in.c: 1.214 sys/netinet/in.h: 1.103 sys/netinet/in_gif.c: 1.92 sys/netinet/ip_var.h: 1.122 sys/netinet6/in6.c: 1.257 sys/netinet6/in6.h: 1.88 sys/netinet6/in6_gif.c: 1.90 sys/netinet6/ip6_var.h: 1.75 sys/netipsec/Makefile: 1.6 sys/netipsec/files.netipsec: 1.13 sys/netipsec/ipsec.h: 1.62 sys/netipsec/ipsecif.c: 1.1 sys/netipsec/ipsecif.h: 1.1 sys/netipsec/key.c: 1.246-1.247 sys/netipsec/key.h: 1.34 sys/rump/net/Makefile.rumpnetcomp: 1.20 sys/rump/net/lib/libipsec/IPSEC.ioconf: 1.1 sys/rump/net/lib/libipsec/Makefile: 1.1 sys/rump/net/lib/libipsec/ipsec_component.c: 1.1 tests/net/Makefile: 1.34 tests/net/if_ipsec/Makefile: 1.1 tests/net/if_ipsec/t_ipsec.sh: 1.1-1.2 Don't touch an SP without a reference to it unify processing to check nesting count for some tunnel protocols. add ipsec(4) interface, which is used for route-based VPN. man and ATF are added later, please see man for details. reviewed by christos@n.o, joerg@n.o and ozaki-r@n.o, thanks. https://mail-index.netbsd.org/tech-net/2017/12/18/msg006557.html ipsec(4) interface supports rump now. add ipsec(4) interface ATF. add ipsec(4) interface man as ipsecif.4. add ipsec(4) interface to amd64/GENERIC and amd64/ALL configs. apply in{,6}_tunnel_validate() to gif(4). Spell IPsec that way. Simplify macro usage. Sort SEE ALSO. Bump date for previous. Improve wording and macro use. Some parts are not clear to me, so someone with knowledge of ipsecif(4) should improve this some more. Improve ipsecif.4. Default port ipsec(4) NAT-T is tested now. pointed out by wiz@n.o and suggested by ozaki-r@n.o, thanks. Change the prefix of test names to ipsecif_ to distinguish from tests for ipsec(4) New sentence, new line. Remove empty macro. Fix PR kern/52920. Pointed out by David Binderman, thanks. Improve wording, and put a new drawing, from me and Kengo Nakahara. apply a little more #ifdef INET/INET6. fixes !INET6 builds.
|
| 1.37.2.1 |
| 31-May-2021 |
cjep | sync with head
|
| 1.41.2.1 |
| 24-Aug-2024 |
martin | Pull up following revision(s) (requested by ozaki-r in ticket #811):
tests/net/if_shmif/t_shmif.sh: revision 1.1 sbin/ifconfig/ifconfig.c: revision 1.251 sbin/ifconfig/ifconfig.8: revision 1.130 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.85 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.86 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.87 etc/mtree/NetBSD.dist.tests: revision 1.206 distrib/sets/lists/tests/mi: revision 1.1333 tests/net/if_shmif/Makefile: revision 1.1 tests/net/Makefile: revision 1.42
shmif: change behaviors about link states
- Change the link state to UP on ifconfig linkstr - This behavior emulates physical devices - Change the link state to UNKNOWN on ifconfig -linkstr just in case - Reject sending/receiving packets if the link state is DOWN - Permit to send/receive packets on UNKNOWN, which is required to unbreak some ATF tests written in C
shmif: support media
It enables to link-down shmif by ifconfig media none and link-up again by media auto.
ifconfig: show link state on -v
We could guess it through "media" or "status" output, however, we sometimes want to know it directly for debugging or testing.
It is shown only if the -v option is specified. tests: add tests for shmif
The test file is placed under tests/net, not tests/rump/rumpnet, to leverage utility functions provided for tests in there. shmem(4): Fix typo in comment: AFT -> ATF.
Also fix grammar (if I understood correctly what this meant: rump servers written in C, rather than set up via shell scripts around rump_server invoking ifconfig).
No functional change intended.
|