mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
fa64aae7f8
WARNING: BREAKS CONFIG COMPATIBILITY! This commit changes the configuration interface of the NIC router in a way that may break systems that use the component without proper adjustment! How to adjust: At each occurrence of the 'dns_server_from' attribute in a NIC router configuration replace the attribute name with 'dns_config_from'. The attribute value remains unaltered. DETAILED DESCRIPTION The new attribute name 'dns_config_from' reflects that also other aspects of the DNS configuration of the denominated domain are used by the DHCP server that holds the attribute. This commit is a preparation for forwarding also the domain name (DHCP option 15) with the mechanism behind the attribute. Ref #4246
31 lines
809 B
Plaintext
Executable File
31 lines
809 B
Plaintext
Executable File
<runtime ram="10M" caps="300" binary="nic_router">
|
|
|
|
<requires> <nic/> </requires>
|
|
<provides> <nic/> </provides>
|
|
|
|
<config verbose_domain_state="yes">
|
|
<default-policy domain="default" />
|
|
<nic-client domain="uplink" />
|
|
<domain name="uplink">
|
|
<nat domain="default"
|
|
tcp-ports="1000"
|
|
udp-ports="1000"
|
|
icmp-ids="1000"/>
|
|
</domain>
|
|
<domain name="default" interface="10.0.1.1/24">
|
|
<dhcp-server ip_first="10.0.1.2"
|
|
ip_last="10.0.1.200"
|
|
dns_config_from="uplink"/>
|
|
<tcp dst="0.0.0.0/0"><permit-any domain="uplink"/></tcp>
|
|
<udp dst="0.0.0.0/0"><permit-any domain="uplink"/></udp>
|
|
<icmp dst="0.0.0.0/0" domain="uplink"/>
|
|
</domain>
|
|
</config>
|
|
|
|
<content>
|
|
<rom label="ld.lib.so"/>
|
|
<rom label="nic_router"/>
|
|
</content>
|
|
|
|
</runtime>
|