genode/repos/os
Martin Stein 8bc861ca71 nic_router: do not re-use ARP request as reply
So far, in order to create an ARP reply, the NIC router merely created a copy
of the corresponding ARP request and modified only those values that differ.
This approach has the disadvantage of re-using bad parameters from a broken
request. The specific use-case that made this visible was an early version of
the Pine board network driver that used to forward ARP requests with a greater
size than required. The ARP replies of the router re-used this size and
confused other network nodes with that. In general, the NIC router should
rely on the data of incoming packets the least possible. Therefore, with this
commit, the router creates a new ARP reply from scratch and uses only those
values required from the corresponding ARP request.

Fixes #4235
2021-07-28 11:27:04 +02:00
..
doc Remove <configfile> feature from init 2020-05-18 10:16:13 +02:00
include ipv4: get rid of C++ bitsets, add DF/MF flags 2021-07-28 11:27:04 +02:00
lib sandbox/init: parse config using 'List_model' 2021-04-20 12:03:04 +02:00
recipes os: introduce C-API to Genode services 2021-07-28 11:27:04 +02:00
run smbios_decoder: fix timer error message 2021-07-28 11:27:04 +02:00
src nic_router: do not re-use ARP request as reply 2021-07-28 11:27:04 +02:00
xsd nic drivers: provide optional Uplink-client mode 2021-01-25 13:58:09 +01:00
README API documentation refinements 2017-05-31 13:16:21 +02:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.