CVS log for src/tests/net/arp/t_dad.sh
Up to [cvs.NetBSD.org] / src / tests / net / arp
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.15.14.1: download - view: text, markup, annotated - select for diffs
Sat Aug 24 16:46:35 2024 UTC (4 months, 3 weeks ago) by martin
Branches: netbsd-9
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +91 -1
lines
Pull up following revision(s) (requested by ozaki-r in ticket #1883):
tests/net/arp/t_dad.sh: revision 1.16
sys/netinet/in.c: revision 1.248
tests/net/arp/t_arp.sh: revision 1.46
sys/netinet/if_arp.c: revision 1.314
arp: fix the behavior on detecting an address duplication without IPv4 DAD
On receiving an ARP request that has the same source protocol address as
the own address, i.e., address duplication, the original behavior of
a kernel prior to supporing IPv4 DAD is to send an ARP reply. It is
the same with a latest kernel with DAD enabled. However, a latest
kernel without DAD sends back an GARP packet. Restore the original
behavior.
inet: send GARP on link up if DAD is disabled
This behavior was accidentally removed at rev 1.233.
tests, arp: add tests of address duplications without DAD
tests, arp: add tests for GARP on link up
Revision 1.15.22.1: download - view: text, markup, annotated - select for diffs
Sat Aug 24 16:45:04 2024 UTC (4 months, 3 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +91 -1
lines
Pull up following revision(s) (requested by ozaki-r in ticket #812):
tests/net/arp/t_dad.sh: revision 1.16
sys/netinet/in.c: revision 1.248
tests/net/arp/t_arp.sh: revision 1.46
sys/netinet/if_arp.c: revision 1.314
arp: fix the behavior on detecting an address duplication without IPv4 DAD
On receiving an ARP request that has the same source protocol address as
the own address, i.e., address duplication, the original behavior of
a kernel prior to supporing IPv4 DAD is to send an ARP reply. It is
the same with a latest kernel with DAD enabled. However, a latest
kernel without DAD sends back an GARP packet. Restore the original
behavior.
inet: send GARP on link up if DAD is disabled
This behavior was accidentally removed at rev 1.233.
tests, arp: add tests of address duplications without DAD
tests, arp: add tests for GARP on link up
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Aug 20 08:21:48 2024 UTC (4 months, 4 weeks ago) by ozaki-r
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +91 -1
lines
tests, arp: add tests of address duplications without DAD
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:12 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +29 -21
lines
Sync with HEAD
Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:58:00 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.2: +29 -21
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Mar 11 02:01:10 2017 UTC (7 years, 10 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1
Branch point for: netbsd-9,
netbsd-10
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -6
lines
Improve test stability and output messages on failure
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 8 05:30:56 2017 UTC (7 years, 10 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +21 -16
lines
Improve test stability and output messages on failure
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:55 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +18 -65
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Nov 25 08:51:16 2016 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -45
lines
Share rump_server start/stop and interface creation/destruction functions
The common functions store socks of rump_servers, interfaces of rump_servers
and buses that intefaces connect and allow to destroy them with common
functions without specifying which socks, interfaces and buses we should
destroy.
This change reduces lots of similar setup/cleanup codes.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Nov 24 11:34:51 2016 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5
lines
Add missing bus argument for extract_new_packets
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Nov 24 09:03:53 2016 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2
lines
Move HIJACKING definition to net_common.sh
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 24 08:52:19 2016 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -16
lines
Reduce duplicate codes
Introduce net_common.sh that is to share common functions used in tests
for networking. This commit commonizes extract_new_packets. Other duplicate
codes will be moved to the file in further commits.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Nov 7 05:25:36 2016 UTC (8 years, 2 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
Accept DEBUG environment variable
By doing so, we can easily turn DEBUG on/off without modifying
the ATF scripts.
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:23 2016 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -9
lines
Sync with HEAD
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 14 16:00:10 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -9
lines
adjust for new ifconfig output.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Aug 10 22:05:07 2016 UTC (8 years, 5 months ago) by kre
Branches: MAIN
CVS tags: localcount-20160914
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
+ -lrumpdev
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 25 02:24:34 2015 UTC (9 years, 4 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -1
lines
Give a chance to send a DAD announce packet
ifconfig -w ensures IP addresses have left tentative state, however,
it doesn't guarantee that a DAD announce packet is sent. The kernel
clears tentative flag and then sends the packet so that ifconfig -w
can return before the kernel sends the packet.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Aug 24 02:02:25 2015 UTC (9 years, 4 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2
lines
Disable another tentative state check
It's too ephemeral to check robustly.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 17 07:06:58 2015 UTC (9 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +36 -15
lines
Improve test stability
- Take a diff between packet dumps and use it for packet checking
- it's resistant against packet reorder
- Seep 2 sec to make sure a NS message is sent
- Disable tentative state check for now
- it's too ephemeral to check robustly
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 31 00:23:54 2015 UTC (9 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -3
lines
Remove remaining debug code
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jul 31 00:22:44 2015 UTC (9 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Fix cleanup; halt all running rump_servers
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 02:52:53 2015 UTC (9 years, 5 months ago) by ozaki-r
Branches: MAIN
Add tests for IPv4 DAD
CVSweb <webmaster@jp.NetBSD.org>