]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4607] Applied fuzz.patch provided by Razvan
authorFrancis Dupont <fdupont@isc.org>
Thu, 6 Aug 2026 17:05:33 +0000 (19:05 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 6 Aug 2026 17:05:33 +0000 (19:05 +0200)
src/fuzz/corp/dhcp-4-sample1.json
src/fuzz/corp/dhcp-4-sample2.json

index 862205c056ab203a5d5c82996bbeb9485865d2b2..35ec46dbfb645395df34d2847ba820fa2d2d25f0 100644 (file)
                         // This is the configuration of this server instance.
                         {
                             "name": "server1",
-                            // This specifies the URL of our server instance. The
-                            // Control Agent must run along with our DHCPv4 server
-                            // instance and the "http-host" and "http-port" must be
-                            // set to the corresponding values.
-                            "url": "http://192.168.1.2:8000/",
+                            // This specifies the URL of this server instance.
+                            "url": "http://192.168.56.33:8005/",
                             // This server is primary. The other one must be
                             // secondary.
                             "role": "primary"
                         },
-                        // This is the configuration of our HA peer.
+                        // This is the configuration of the HA peer.
                         {
                             "name": "server2",
                             // Specifies the URL on which the partner's control
-                            // channel can be reached. The Control Agent is required
-                            // to run on the partner's machine with "http-host" and
-                            // "http-port" values set to the corresponding values.
-                            "url": "http://192.168.1.3:8000/",
-                            // The partner is a secondary. Our is primary.
-                            "role": "standby"
+                            // channel can be reached.
+                            "url": "http://192.168.56.66:8005/",
+                            // The partner is secondary. This server is primary.
+                            "role": "secondary"
                         }
                     ]
                 } ]
index 541a8f822d6fbdd739a2ea77270aa16b5c694263..f318bb9001d1466ebab27eb852f1400d58605ef7 100644 (file)
                     // further. The default value is 60000ms (60 seconds).
                     "sync-timeout": 60000,
                     "peers": [
-                        // This is the configuration of this server instance.
+                        // This is the configuration of the HA peer.
                         {
                             "name": "server1",
-                            // This specifies the URL of the partner's server instance. The
-                            // Control Agent must run along with partner DHCPv4 server
-                            // instance and the "http-host" and "http-port" must be
-                            // set to the corresponding values.
-                            "url": "http://192.168.1.2:8000/",
-                            // That server is primary. Our server must be
-                            // standby.
+                            // Specifies the URL on which the partner's control
+                            // channel can be reached.
+                            "url": "http://192.168.56.33:8005/",
+                            // The partner is primary. This server is secondary.
                             "role": "primary"
                         },
-                        // This is our (server2) configuration.
+                        // This is the configuration of this server instance.
                         {
                             "name": "server2",
-                            // Specifies the URL on which the control agent for this server
-                            // can be reached. The Control Agent is required
-                            // to run on this machine with "http-host" and
-                            // "http-port" values set to the corresponding values.
-                            "url": "http://192.168.1.3:8000/",
-                            // Our server is standby. The other server is primary.
-                            "role": "standby"
+                            // This specifies the URL of this server instance.
+                            "url": "http://192.168.56.66:8005/",
+                            // This server is secondary. The other one must be
+                            // primary.
+                            "role": "secondary"
                         }
                     ]
                 } ]