Add icmp handling / replying
This commit is contained in:
parent
79a46f42c2
commit
d87b897069
5 changed files with 58 additions and 11 deletions
13
doc/plan.org
13
doc/plan.org
|
|
@ -173,6 +173,10 @@
|
|||
| 2019-04-02 | | |
|
||||
| | ARP egress support | |
|
||||
| | | |
|
||||
| 2019-04-03 | | |
|
||||
| | ARP corrections -- ARP working for the switch! | |
|
||||
| | | |
|
||||
| | | |
|
||||
| 2019-04-04 | NAT64 1:1 table ICMP, ICMPv6 working | |
|
||||
| | Will need some switch local ip addresses | |
|
||||
| | | |
|
||||
|
|
@ -681,16 +685,17 @@ INFO:main:unhandled reassambled=<Ether dst=00:00:0a:00:00:42 src=00:00:0a:00:00
|
|||
***** DONE egress is correct, comes out at h3
|
||||
***** DONE protocol 58 is wrong -> should be 1
|
||||
***** DONE figure out switch() syntax
|
||||
***** TODO transform protocol specific: icmp6 -> icmp
|
||||
***** DONE transform protocol specific: icmp6 -> icmp
|
||||
****** DONE Implement double table, as there are no if's in actions
|
||||
****** DONE Debug Ethernet frame check sequence error -> need to compute checksum
|
||||
https://en.wikipedia.org/wiki/Frame_check_sequence
|
||||
|
||||
According to Edgar this should not be seen anyway.
|
||||
****** TODO Calculate ICMP checksum
|
||||
****** TODO Check field lengths
|
||||
****** DONE Calculate ICMP checksum
|
||||
****** DONE Check field lengths
|
||||
***** TODO transform protocol specific: icmp -> icmp6
|
||||
**** TODO Make switch answer IPv4 icmp echo request for
|
||||
****** TODO Make switch answer IPv4 icmp echo request for
|
||||
******* DONE Make switch respond to ARP
|
||||
**** TODO Add / check default route for v4 hosts
|
||||
**** TODO Update p4c to avoid compiler bug
|
||||
***** TODO Updating p4c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue