tests: add some data that can be fed to fuzz-network-parser

This commit is contained in:
Evgeny Vereshchagin
2018-11-06 19:01:32 +01:00
parent a633d5b997
commit efc1a59af6
53 changed files with 384 additions and 0 deletions
@@ -0,0 +1,5 @@
[Match]
Name=test1
[Network]
VLAN=vlan99
@@ -0,0 +1,6 @@
[Match]
Name=dummy98
[Network]
Bond=bond199
ActiveSlave=true
@@ -0,0 +1,2 @@
[Match]
Name=bond199
@@ -0,0 +1,5 @@
[Match]
Name=veth-peer
[Network]
EmitLLDP=yes
@@ -0,0 +1,6 @@
[Match]
Name=dummy98
[Network]
Bond=bond199
PrimarySlave=true
@@ -0,0 +1,6 @@
[Match]
Name=test1
[Network]
Bond=bond199
PrimarySlave=true
@@ -0,0 +1,5 @@
[Match]
Name=veth99
[Network]
LLDP=yes
@@ -0,0 +1,7 @@
[Match]
Name=dummy98
[Network]
Address=192.168.42.100
DNS=192.168.42.1
Domains= one two three four five six seven eight nine ten
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Link]
MACAddress=00:01:02:aa:bb:cc
@@ -0,0 +1,10 @@
[Match]
Name=dummy98
[Address]
Address=10.2.3.4/16
PreferredLifetime=0
Scope=link
[Address]
Address=2001:0db8:0:f101::1/64
@@ -0,0 +1,11 @@
[Match]
Name=dummy98
[Address]
Address=10.2.3.4/16
Peer=10.2.3.5/16
Label=32
[Address]
Address=10.6.7.8/16
Label=33
@@ -0,0 +1,6 @@
[Match]
Name=dummy98
[IPv6AddressLabel]
Label=4444
Prefix=2004:da8:1:0::/64
@@ -0,0 +1,6 @@
[Match]
Name=dummy98
[Link]
MACAddress=00:01:02:aa:bb:cc
Unmanaged=true
@@ -0,0 +1,8 @@
[Match]
Name=dummy98
[Network]
Address=192.168.0.15/24
[Route]
Gateway=192.168.0.1
@@ -0,0 +1,10 @@
[Match]
Name=test1
[Route]
Destination=192.168.1.1
InitialCongestionWindow=20
[Route]
Destination=192.168.1.2
InitialAdvertisedReceiveWindow=30
@@ -0,0 +1,14 @@
[Match]
Name=dummy98
[Route]
Type=blackhole
Destination=202.54.1.2
[Route]
Type=unreachable
Destination=202.54.1.3
[Route]
Type=prohibit
Destination=202.54.1.4
@@ -0,0 +1,10 @@
[Match]
Name=dummy98
[Network]
IPForward=true
IPv6PrivacyExtensions=true
IPv6DuplicateAddressDetection=3
IPv6HopLimit=5
IPv4ProxyARP=true
IPv6ProxyNDP=true
@@ -0,0 +1,11 @@
[Match]
Name=dummy98
[Network]
Bridge=bridge99
[Bridge]
Cost=400
HairPin = true
FastLeave = true
UnicastFlood = true
@@ -0,0 +1,5 @@
[Match]
Name=test1
[Network]
Bridge=bridge99
@@ -0,0 +1,6 @@
[Match]
Name=bridge99
[Network]
Address=192.168.0.15/24
Gateway=192.168.0.1
@@ -0,0 +1,7 @@
[Match]
Name=test1
[Network]
Address=192.168.0.15/24
Gateway=192.168.0.1
ConfigureWithoutCarrier=true
@@ -0,0 +1,16 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
IPv6AcceptRA=false
[DHCP]
Anonymize=true
UseMTU=true
UseRoutes=true
SendHostname=true
UseHostname=true
Hostname=test-hostname
ClientIdentifier=mac
VendorClassIdentifier=SusantVendorTest
@@ -0,0 +1,9 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
IPv6AcceptRA=false
[DHCP]
CriticalConnection=true
@@ -0,0 +1,15 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
IPv6AcceptRA=false
[DHCP]
UseMTU=true
UseRoutes=true
SendHostname=true
UseHostname=true
Hostname=test-hostname
ClientIdentifier=mac
VendorClassIdentifier=SusantVendorTest
@@ -0,0 +1,6 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
IPv6AcceptRA=false
@@ -0,0 +1,5 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
@@ -0,0 +1,5 @@
[Match]
Name=veth99
[Network]
DHCP=ipv6
@@ -0,0 +1,8 @@
[Match]
Name=veth99
[Network]
DHCP=ipv6
[DHCP]
RapidCommit=false
@@ -0,0 +1,8 @@
[Match]
Name=veth99
[Network]
DHCP=yes
[DHCP]
ListenPort=5555
@@ -0,0 +1,10 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
IPv6AcceptRA=false
[DHCP]
UseRoutes=true
RouteMetric=24
@@ -0,0 +1,10 @@
[Match]
Name=veth99
[Network]
DHCP=ipv4
IPv6AcceptRA=false
[DHCP]
UseRoutes=true
RouteTable=12
@@ -0,0 +1,8 @@
[Match]
Name=veth99
[Network]
IPv6AcceptRA=false
DHCP=ipv4
UseRoutes=true
UseTimezone=true
@@ -0,0 +1,5 @@
[Match]
Name=veth99
[Network]
DHCP=yes
@@ -0,0 +1,13 @@
[Match]
Name=veth-peer
[Network]
IPv6AcceptRA=false
Address=192.168.5.1/24
DHCPServer=yes
[DHCPServer]
PoolOffset=10
PoolSize=50
EmitRouter=yes
Timezone=Europe/Berlin
@@ -0,0 +1,6 @@
[Match]
Name=veth-peer
[Network]
Address=2600::1
Address=192.168.5.1/24
@@ -0,0 +1,12 @@
[Match]
Name=veth-peer
[Network]
Address=192.168.5.1/24
DHCPServer=yes
[DHCPServer]
PoolOffset=10
PoolSize=50
DNS=192.168.5.1
NTP=192.168.5.1
@@ -0,0 +1,6 @@
[Match]
Name=veth-peer
[Network]
Address=192.168.0.1
Address=192.168.5.1
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=gretap99
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=gretun99
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=ip6gretap99
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=ip6tnl99
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=ipiptun99
@@ -0,0 +1,5 @@
[Match]
Name=veth99
[Network]
IPv6AcceptRA=true
@@ -0,0 +1,10 @@
[Match]
Name=veth-peer
[Network]
IPv6PrefixDelegation=yes
[IPv6Prefix]
Prefix=2002:da8:1:0::/64
PreferredLifetimeSec=1000s
ValidLifetimeSec=2100s
@@ -0,0 +1,5 @@
[Match]
Name=test1
[Network]
IPVLAN=ipvlan99
@@ -0,0 +1,5 @@
[Match]
Name=test1
[Network]
MACVLAN=macvlan99
@@ -0,0 +1,5 @@
[Match]
Name=test1
[Network]
MACVTAP=macvtap99
@@ -0,0 +1,10 @@
[Match]
Name=test1
[RoutingPolicyRule]
TypeOfService=0x08
Table=7
From= 192.168.100.18
Priority=111
IncomingInterface=test1
OutgoingInterface=test1
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=sittun99
@@ -0,0 +1,6 @@
[Match]
Name=dummy98
[Network]
Address=192.168.0.15/24
Gateway=192.168.0.1
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=vtitun99
@@ -0,0 +1,5 @@
[Match]
Name=dummy98
[Network]
Tunnel=vti6tun99
@@ -0,0 +1,5 @@
[Match]
Name=test1
[Network]
VXLAN=vxlan99