Commit graph

731 commits

Author SHA1 Message Date
Nico Schottelius
12097d0085 ++ unchecked checksums 2019-03-05 21:22:55 +01:00
Nico Schottelius
e4dd6eee93 Try v6 checksum instead of icmp6 2019-03-05 21:04:07 +01:00
Nico Schottelius
6f28013bb3 Change icmp6 (sub-)type 2019-03-05 20:15:55 +01:00
Nico Schottelius
3c215f6054 Unset router bit 2019-03-05 20:12:24 +01:00
Nico Schottelius
ec8d8abff4 Checksum in scapy: none = recalc 2019-03-05 19:56:11 +01:00
Nico Schottelius
23fa17d01d answer -> pkg 2019-03-05 17:09:17 +01:00
Nico Schottelius
253353daf5 Introduce more logging levels 2019-03-05 17:08:31 +01:00
Nico Schottelius
481675372d lladdr == src in this context 2019-03-05 17:01:21 +01:00
Nico Schottelius
a139ad6e83 Initial icmp6_na support in controller 2019-03-05 16:59:27 +01:00
Nico Schottelius
356f664019 ++doc
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-03-05 16:48:07 +01:00
Nico Schottelius
dd6986cf60 Disable multicast catchall by default 2019-03-05 16:19:43 +01:00
Nico Schottelius
69e483caf7 Use correct switch suffix 2019-03-05 16:15:54 +01:00
Nico Schottelius
3acbf88242 ++ todos 2019-03-05 16:14:36 +01:00
Nico Schottelius
29ff9e2333 Correct suffix to hex 2019-03-04 19:06:09 +01:00
Nico Schottelius
e51ed3ffcd Change action argument order
Fixing:

Invalid runtime data: Error while parsing 2001:db8::2a - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid runtime data: Error while parsing ff02::1:ff00:2a - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid runtime data: Error while parsing 2001:db8:0:1::2a - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid runtime data: Error while parsing ff02::1:ff00:2a - Invalid input, could not cast to integer, try in hex with 0x prefix
2019-03-04 19:02:28 +01:00
Nico Schottelius
cb67188780 Begin switching in controler based on task 2019-03-04 18:58:22 +01:00
Nico Schottelius
a274dcbcb8 commit correct stuff 2019-03-04 18:55:25 +01:00
Nico Schottelius
59655e0d32 Include correct offset AND debug info 2019-03-04 18:54:00 +01:00
Nico Schottelius
766dbba5c3 ++ 2019-03-04 18:41:10 +01:00
Nico Schottelius
7338580517 ++fix 2019-03-04 18:40:12 +01:00
Nico Schottelius
9771591a9d -bug 2019-03-04 18:39:09 +01:00
Nico Schottelius
6c1da54035 syntax 2019-03-04 18:38:08 +01:00
Nico Schottelius
816f11c864 Get shift from cpuheader def 2019-03-04 18:37:33 +01:00
Nico Schottelius
b465b366ea Adjust payload shift 2019-03-04 18:31:20 +01:00
Nico Schottelius
77b21207b9 Fix task width 2019-03-04 18:19:01 +01:00
Nico Schottelius
877359aaca Correct length of task field 2019-03-04 18:16:18 +01:00
Nico Schottelius
7ff09db32a Shift payload / ipv6 in cpu packet 2019-03-04 18:15:00 +01:00
Nico Schottelius
bc63f5edcf Bitwidth change / adjust 2019-03-04 18:13:34 +01:00
Nico Schottelius
8448e5121b Fix bitwidth 2019-03-04 18:11:08 +01:00
Nico Schottelius
1dd9542168 Also expose ingrees port to controller 2019-03-04 18:10:24 +01:00
Nico Schottelius
f9925ce4c2 Import XShortEnumField 2019-03-04 18:08:10 +01:00
Nico Schottelius
e2b382119a use header type from switch 2019-03-04 18:07:00 +01:00
Nico Schottelius
60a3c8d8c5 include ether type in cpu package 2019-03-04 18:05:56 +01:00
Nico Schottelius
440782c569 I am confused 2019-03-04 17:50:38 +01:00
Nico Schottelius
46b0f16f0d ++debug 2019-03-04 16:40:05 +01:00
Nico Schottelius
5bcf328509 refactor 2019-03-04 16:38:45 +01:00
Nico Schottelius
542b4ddd50 rename to v4networks 2019-03-04 16:38:06 +01:00
Nico Schottelius
d558537367 -typo 2019-03-04 16:26:03 +01:00
Nico Schottelius
91f2788778 re-import tcp_length 2019-03-04 16:25:21 +01:00
Nico Schottelius
cfa3e3ecbc refactor 2019-03-04 16:24:37 +01:00
Nico Schottelius
ea1873c14c Use types for signalling expected action 2019-03-04 16:23:28 +01:00
Nico Schottelius
da7fda57bf ++ 2019-03-04 15:38:42 +01:00
Nico Schottelius
c60b5f2d9e pass in prefix len 2019-03-04 15:38:16 +01:00
Nico Schottelius
cf844477a9 typo 2019-03-04 15:34:46 +01:00
Nico Schottelius
4b52b12846 + debug + stringify 2019-03-04 15:34:12 +01:00
Nico Schottelius
615e0f89ef Use int for masks 2019-03-04 15:32:27 +01:00
Nico Schottelius
77e92b12be Refactor code for ipaddress support 2019-03-04 15:30:38 +01:00
Nico Schottelius
3047750add use network_address for multicast base 2019-03-04 15:01:12 +01:00
Nico Schottelius
3dc56677a1 derive addr from addr not dict 2019-03-04 14:59:44 +01:00
Nico Schottelius
7c3cb5a368 +args fix 2019-03-04 14:57:27 +01:00