Home | History | Annotate | Download | only in icmp
History log of /src/tests/net/icmp/Makefile
RevisionDateAuthorComments
 1.12  01-Mar-2020  christos Centralize the base rump libraries into a variable used by all the other
Makefiles so that we can make changes to it centrally as needed and have
less mess. Fixes the sun2 build that needs rumpvfs after librump after
the latest changes.
 1.11  01-Jun-2019  kre Deal with fallout from the addition of
KERN_PROC_CWD in sysctl(3)
That is kern.proc.$$.KERN_PROC_CWD (I think - not that it matters here)

The effect is that -lrump now requires -lrumpvfs

This set of changes fixes (I believe) regular dynamic builds,
more might be required for static builds (will be verified soon).
 1.10  13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.9  24-Nov-2016  ozaki-r branches: 1.9.14;
Move get_lladdr to net_common.sh
 1.8  08-Aug-2016  pgoyette And this one also needs librumpvfs
 1.7  08-Aug-2016  pgoyette More need for librumpdev
 1.6  14-Sep-2015  ozaki-r branches: 1.6.2;
Add tests for IPv6 ICMP redirect

Note that tests for redirect timeout doesn't work for now due to
PR kern/50240.

From s-yamaguchi@IIJ (with some fixes and tweaks by ozaki-r)
 1.5  31-Aug-2015  ozaki-r Add tests for ICMP redirect timeout
 1.4  10-Jun-2014  he Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser. Fixes build for sun2.
 1.3  14-Dec-2010  pooka branches: 1.3.12; 1.3.22;
Add another version of the simple ping test, this time written as a
shell script and using rump_server, rump.ifconfig and rump.ping.

XXX: uses rump_allserver for now, though, since i noticed a problem
where the rump kernel syscall vector does not get updated for
dlopen()'d libraries (and hence if you dlopen librumpnet.so, socket()
still gives ENOSYS). Me be fixink it later.
 1.2  09-Aug-2010  pooka test that kernel reponds to ping
 1.1  04-Jul-2010  pooka Add test case for PR kern/43548

Due to the nature of the feature under test, this one is a little
different, so let me explain how it works.

The test program forks and bootstraps a rump kernel in both processes.
It then configures shared memory interfaces in both. shmif is nice
in that it uses a mmaped file as the bus and does not require root
privileges for communication between two (or more) processes. The
child process then proceeds to increase icmp.returndatabytes as
indicated by the PR, while the parent process sets the global TTL
of the rump kernel to 1 (note: both values only affect the respective
rump kernels, not each other or more importantly the host kernel).
The parent then sends the bad packet which is supposed to be routed
by the child. If ip_icmp.c was too old, *boom* + fail; otherwise
nothing bad happens and the test exists with success after one
second.

Eventually this test can be extended into a framework for automated
testing of any networking code which requires (arbitrarily complex)
routing setups.
 1.3.22.1  10-Aug-2014  tls Rebase.
 1.3.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.9.14.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.9.14.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed