Custom Query (4284 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 4284)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#5393 fixed flex-id expression is not evaluated in REQUEST messages in Kea4 marcin wlodekwencel
Description

Kea does not check flex-id expression in REQUEST message when assign reserved address Kea conf file

{
    "Dhcp4":
    {
        "renew-timer":1000,
        "rebind-timer":2000,
        "valid-lifetime":4000,
        "match-client-id": true,
        "interfaces-config":
        {
            "interfaces":["eth2"]
        }
        ,
        "subnet4":[
        {
            "subnet":"192.168.50.0/24",
            "interface":"eth2",
            "pools":[
            {
                "pool":"192.168.50.1-192.168.50.50"
            }
            ],
            "reservations":[
            {
                "flex-id":"'docsis3.0'",
                "ip-address":"192.168.50.10"
            }
            ]
        }
        ],
        "host-reservation-identifiers": [  "hw-address",  "flex-id" ],
        "hooks-libraries":[
        {
            "library":"/home/test/installed/git/lib/hooks/libdhcp_flex_id.so",
            "parameters": {
                        "identifier-expression": "option[60].hex"
                        }
        }],
        "lease-database":
        {
            "type":"memfile"
        }
    }
    ,
    "Logging":
    {
        "loggers":[
        {
            "name":"kea-dhcp4",
            "output_options":[
            {
                "output":"/home/test/installed/git/var/kea/kea.log"
            }
            ],
            "debuglevel":99,
            "severity":"DEBUG"
        }
        ]
    }

}

In DISCOVER message client sends: mac addr: ff:01:02:03:ff:04 client id: ff:01:02:03:ff:04:11:22 option 60 matching flex-id reservation: docsis3.0 (646F63736973332E30) Kea evaluate:

2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.eval/16486] EVAL_DEBUG_OPTION Pushing option 60 with value 0x646F63736973332E30
2017-10-19 12:58:15.833 INFO  [kea-dhcp4.flex-id/16486] FLEX_ID_EXPRESSION_EVALUATED Expression evaluated for packet to "docsis3.0" (size: 9)
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.flex-id/16486] FLEX_ID_EXPRESSION_HEX evaluated expression in hexadecimal form "64:6f:63:73:69:73:33:2e:30"
...
DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_HOST using subnet id 1 and identifier flex-id=646F63736973332E30, found host: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)

And then client sends REQUEST message without option 60 but with requested_addr that is matching reservation 192.168.50.10 (option 50)

DEBUG [kea-dhcp4.eval/16486] EVAL_DEBUG_OPTION Pushing option 60 with value 0x
INFO  [kea-dhcp4.flex-id/16486] FLEX_ID_EXPRESSION_EVALUATED Expression evaluated for packet to "" (size: 0)
 HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_HOST using subnet id 1 and address 192.168.50.10, found host: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)

...and gets lease for that reservation

Entire logs:

2017-10-19 12:58:15.633 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_ADD_HOST add the host for reservations: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)
2017-10-19 12:58:15.633 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.50.10
2017-10-19 12:58:15.633 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.50.10
2017-10-19 12:58:15.633 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.50.10, found 0 host(s)
2017-10-19 12:58:15.633 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1 and address 192.168.50.10
2017-10-19 12:58:15.633 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by flex-id=646F63736973332E30
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: flex-id=646F63736973332E30
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier flex-id=646F63736973332E30, found 0 host(s)
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 1 and identifier flex-id=646F63736973332E30
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CFGMGR_ADD_SUBNET4 adding subnet 192.168.50.0/24
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CFGMGR_CFG_DHCP_DDNS Setting DHCP-DDNS configuration to: DHCP-DDNS updates disabled
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hooks/16486] HOOKS_LIBRARY_UNLOADING unloading library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so
2017-10-19 12:58:15.634 INFO  [kea-dhcp4.flex-id/16486] FLEX_ID_UNLOAD Flex-id library has been unloaded.
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hooks/16486] HOOKS_UNLOAD_SUCCESS 'unload' function in hook library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so returned success
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.callouts/16486] HOOKS_ALL_CALLOUTS_DEREGISTERED hook library at index 1 removed all callouts on hook host4_identifier
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hooks/16486] HOOKS_CALLOUTS_REMOVED callouts removed from hook host4_identifier for library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.callouts/16486] HOOKS_ALL_CALLOUTS_DEREGISTERED hook library at index 1 removed all callouts on hook pkt4_receive
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hooks/16486] HOOKS_CALLOUTS_REMOVED callouts removed from hook pkt4_receive for library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.callouts/16486] HOOKS_ALL_CALLOUTS_DEREGISTERED hook library at index 1 removed all callouts on hook pkt4_send
2017-10-19 12:58:15.634 DEBUG [kea-dhcp4.hooks/16486] HOOKS_CALLOUTS_REMOVED callouts removed from hook pkt4_send for library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so
2017-10-19 12:58:15.635 INFO  [kea-dhcp4.hooks/16486] HOOKS_LIBRARY_UNLOADED hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so successfully unloaded
2017-10-19 12:58:15.635 DEBUG [kea-dhcp4.hooks/16486] HOOKS_LIBRARY_LOADING loading hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so
2017-10-19 12:58:15.636 DEBUG [kea-dhcp4.hooks/16486] HOOKS_LIBRARY_VERSION hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so reports its version as 4
2017-10-19 12:58:15.636 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_REGISTRATION hooks library with index 1 registering callout for hook 'host4_identifier'
2017-10-19 12:58:15.636 DEBUG [kea-dhcp4.hooks/16486] HOOKS_STD_CALLOUT_REGISTERED hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so registered standard callout for hook host4_identifier at address 0x7f2e2746c3e0
2017-10-19 12:58:15.636 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_REGISTRATION hooks library with index 1 registering callout for hook 'pkt4_receive'
2017-10-19 12:58:15.637 DEBUG [kea-dhcp4.hooks/16486] HOOKS_STD_CALLOUT_REGISTERED hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so registered standard callout for hook pkt4_receive at address 0x7f2e2746c810
2017-10-19 12:58:15.637 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_REGISTRATION hooks library with index 1 registering callout for hook 'pkt4_send'
2017-10-19 12:58:15.637 DEBUG [kea-dhcp4.hooks/16486] HOOKS_STD_CALLOUT_REGISTERED hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so registered standard callout for hook pkt4_send at address 0x7f2e2746cd60
2017-10-19 12:58:15.637 DEBUG [kea-dhcp4.hooks/16486] HOOKS_LOAD_SUCCESS 'load' function in hook library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so returned success
2017-10-19 12:58:15.637 INFO  [kea-dhcp4.hooks/16486] HOOKS_LIBRARY_LOADED hooks library /home/test/installed/git/lib/hooks/libdhcp_flex_id.so successfully loaded
2017-10-19 12:58:15.637 INFO  [kea-dhcp4.dhcp4/16486] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 1; DDNS: disabled
2017-10-19 12:58:15.637 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CLOSE_DB closing currently open memfile database
2017-10-19 12:58:15.637 INFO  [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_DB opening memory file lease database: type=memfile universe=4
2017-10-19 12:58:15.637 INFO  [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /home/test/installed/git/var/kea/kea-leases4.csv
2017-10-19 12:58:15.644 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer: reclaim-expired-leases, using interval: 10000 ms
2017-10-19 12:58:15.645 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_TIMERMGR_START_TIMER starting timer: reclaim-expired-leases
2017-10-19 12:58:15.645 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_TIMERMGR_REGISTER_TIMER registering timer: flush-reclaimed-leases, using interval: 25000 ms
2017-10-19 12:58:15.645 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_TIMERMGR_START_TIMER starting timer: flush-reclaimed-leases
2017-10-19 12:58:15.830 DEBUG [kea-dhcp4.packets/16486] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface eth2
2017-10-19 12:58:15.830 DEBUG [kea-dhcp4.options/16486] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface eth2
2017-10-19 12:58:15.831 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CFGMGR_SUBNET4_IFACE selected subnet 192.168.50.0/24 for packet received over interface eth2
2017-10-19 12:58:15.831 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_SELECTED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: the subnet with ID 1 was selected for client assignments
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: the selected subnet details: 192.168.50.0/24
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.packets/16486] DHCP4_PACKET_RECEIVED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: DHCPDISCOVER (type 1) received from 0.0.0.0 to 255.255.255.255 on interface eth2
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.packets/16486] DHCP4_QUERY_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad, packet details: local_address=255.255.255.255:67, remote_address=0.0.0.0:68, msg_type=DHCPDISCOVER (1), transid=0xf43fad,
options:
  type=053, len=001: 1 (uint8)
  type=060, len=009: "docsis3.0" (string)
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_BEGIN begin all callouts for hook pkt4_receive
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_CALLED hooks library with index 1 has called a callout on hook pkt4_receive that has address 0x7f2e2746c810 (callout duration: 0.065 ms)
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_COMPLETE completed callouts for hook pkt4_receive (total callouts duration: 0.065 ms)
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CFGMGR_SUBNET4_IFACE selected subnet 192.168.50.0/24 for packet received over interface eth2
2017-10-19 12:58:15.832 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_SELECTED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: the subnet with ID 1 was selected for client assignments
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: the selected subnet details: 192.168.50.0/24
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_BEGIN begin all callouts for hook host4_identifier
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.eval/16486] EVAL_DEBUG_OPTION Pushing option 60 with value 0x646F63736973332E30
2017-10-19 12:58:15.833 INFO  [kea-dhcp4.flex-id/16486] FLEX_ID_EXPRESSION_EVALUATED Expression evaluated for packet to "docsis3.0" (size: 9)
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.flex-id/16486] FLEX_ID_EXPRESSION_HEX evaluated expression in hexadecimal form "64:6f:63:73:69:73:33:2e:30"
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_CALLED hooks library with index 1 has called a callout on hook host4_identifier that has address 0x7f2e2746c3e0 (callout duration: 0.582 ms)
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_COMPLETE completed callouts for hook host4_identifier (total callouts duration: 0.582 ms)
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.packets/16486] DHCP4_FLEX_ID flexible identifier generated for incoming packet: flex-id=646F63736973332E30
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by hwaddr=FF010203FF04
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=FF010203FF04
2017-10-19 12:58:15.833 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=FF010203FF04, found 0 host(s)
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 1 and identifier hwaddr=FF010203FF04
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by flex-id=646F63736973332E30
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: flex-id=646F63736973332E30
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER_HOST using identifier: flex-id=646F63736973332E30, found host: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier flex-id=646F63736973332E30, found 1 host(s)
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_HOST using subnet id 1 and identifier flex-id=646F63736973332E30, found host: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.dhcp4/16486] DHCP4_CLASS_ASSIGNED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: client packet has been assigned to the following class(es): VENDOR_CLASS_docsis3.0
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.ddns/16486] DHCP4_CLIENT_HOSTNAME_PROCESS [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: processing client's Hostname option
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_HWADDR obtaining IPv4 leases for hardware address hwtype=1 ff:01:02:03:ff:04
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.alloc-engine/16486] ALLOC_ENGINE_V4_DISCOVER_HR client [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad sending DHCPDISCOVER has reservation for the address 192.168.50.10
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.50.10
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.50.10
2017-10-19 12:58:15.834 INFO  [kea-dhcp4.leases/16486] DHCP4_LEASE_ADVERT [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: lease 192.168.50.10 will be advertised
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_BEGIN begin all callouts for hook pkt4_send
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_CALLED hooks library with index 1 has called a callout on hook pkt4_send that has address 0x7f2e2746cd60 (callout duration: 0.064 ms)
2017-10-19 12:58:15.834 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_COMPLETE completed callouts for hook pkt4_send (total callouts duration: 0.064 ms)
2017-10-19 12:58:15.835 DEBUG [kea-dhcp4.options/16486] DHCP4_PACKET_PACK [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: preparing on-wire format of the packet to be sent
2017-10-19 12:58:15.835 DEBUG [kea-dhcp4.packets/16486] DHCP4_PACKET_SEND [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: trying to send packet DHCPOFFER (type 2) from 192.168.50.253:67 to 192.168.50.10:68 on interface eth2
2017-10-19 12:58:15.835 DEBUG [kea-dhcp4.packets/16486] DHCP4_RESPONSE_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0xf43fad: responding with packet DHCPOFFER (type 2), packet details: local_address=192.168.50.253:67, remote_address=192.168.50.10:68, msg_type=DHCPOFFER (2), transid=0xf43fad,
options:
  type=001, len=004: 4294967040 (uint32)
  type=051, len=004: 4000 (uint32)
  type=053, len=001: 2 (uint8)
  type=054, len=004: 192.168.50.253
  type=058, len=004: 1000 (uint32)
  type=059, len=004: 2000 (uint32)
2017-10-19 12:58:17.078 DEBUG [kea-dhcp4.packets/16486] DHCP4_BUFFER_RECEIVED received buffer from 0.0.0.0:68 to 255.255.255.255:67 over interface eth2
2017-10-19 12:58:17.078 DEBUG [kea-dhcp4.options/16486] DHCP4_BUFFER_UNPACK parsing buffer received from 0.0.0.0 to 255.255.255.255 over interface eth2
2017-10-19 12:58:17.078 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CFGMGR_SUBNET4_IFACE selected subnet 192.168.50.0/24 for packet received over interface eth2
2017-10-19 12:58:17.078 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_SELECTED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: the subnet with ID 1 was selected for client assignments
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: the selected subnet details: 192.168.50.0/24
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.packets/16486] DHCP4_PACKET_RECEIVED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: DHCPREQUEST (type 3) received from 0.0.0.0 to 255.255.255.255 on interface eth2
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.packets/16486] DHCP4_QUERY_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06, packet details: local_address=255.255.255.255:67, remote_address=0.0.0.0:68, msg_type=DHCPREQUEST (3), transid=0x8bec06,
options:
  type=050, len=004: 192.168.50.10 (ipv4-address)
  type=053, len=001: 3 (uint8)
  type=054, len=004: 192.168.50.253 (ipv4-address)
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_BEGIN begin all callouts for hook pkt4_receive
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_CALLED hooks library with index 1 has called a callout on hook pkt4_receive that has address 0x7f2e2746c810 (callout duration: 0.072 ms)
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_COMPLETE completed callouts for hook pkt4_receive (total callouts duration: 0.072 ms)
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_CFGMGR_SUBNET4_IFACE selected subnet 192.168.50.0/24 for packet received over interface eth2
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_SELECTED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: the subnet with ID 1 was selected for client assignments
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.packets/16486] DHCP4_SUBNET_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: the selected subnet details: 192.168.50.0/24
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_BEGIN begin all callouts for hook host4_identifier
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.eval/16486] EVAL_DEBUG_OPTION Pushing option 60 with value 0x
2017-10-19 12:58:17.079 INFO  [kea-dhcp4.flex-id/16486] FLEX_ID_EXPRESSION_EVALUATED Expression evaluated for packet to "" (size: 0)
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_CALLED hooks library with index 1 has called a callout on hook host4_identifier that has address 0x7f2e2746c3e0 (callout duration: 0.196 ms)
2017-10-19 12:58:17.079 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_COMPLETE completed callouts for hook host4_identifier (total callouts duration: 0.196 ms)
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by hwaddr=FF010203FF04
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=FF010203FF04
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=FF010203FF04, found 0 host(s)
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 1 and identifier hwaddr=FF010203FF04
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.ddns/16486] DHCP4_CLIENT_HOSTNAME_PROCESS [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: processing client's Hostname option
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_HWADDR obtaining IPv4 leases for hardware address hwtype=1 ff:01:02:03:ff:04
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.50.10
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.50.10
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_ADDRESS4_HOST using address 192.168.50.10 found host: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.50.10, found 1 host(s)
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.hosts/16486] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_HOST using subnet id 1 and address 192.168.50.10, found host: flex-id=646F63736973332E30 ipv4_subnet_id=1 hostname=(empty) ipv4_reservation=192.168.50.10 siaddr=(no) sname=(empty) file=(empty) ipv6_reservations=(none)
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.50.10
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.alloc-engine/16486] ALLOC_ENGINE_V4_REQUEST_ALLOC_REQUESTED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: trying to allocate requested address 192.168.50.10
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.50.10
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_ADD_ADDR4 adding IPv4 lease with address 192.168.50.10
2017-10-19 12:58:17.080 DEBUG [kea-dhcp4.dhcpsrv/16486] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.50.10
2017-10-19 12:58:17.081 INFO  [kea-dhcp4.leases/16486] DHCP4_LEASE_ALLOC [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: lease 192.168.50.10 has been allocated
2017-10-19 12:58:17.081 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_BEGIN begin all callouts for hook pkt4_send
2017-10-19 12:58:17.081 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUT_CALLED hooks library with index 1 has called a callout on hook pkt4_send that has address 0x7f2e2746cd60 (callout duration: 0.046 ms)
2017-10-19 12:58:17.081 DEBUG [kea-dhcp4.callouts/16486] HOOKS_CALLOUTS_COMPLETE completed callouts for hook pkt4_send (total callouts duration: 0.046 ms)
2017-10-19 12:58:17.081 DEBUG [kea-dhcp4.options/16486] DHCP4_PACKET_PACK [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: preparing on-wire format of the packet to be sent
2017-10-19 12:58:17.081 DEBUG [kea-dhcp4.packets/16486] DHCP4_PACKET_SEND [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: trying to send packet DHCPACK (type 5) from 192.168.50.253:67 to 192.168.50.10:68 on interface eth2
2017-10-19 12:58:17.081 DEBUG [kea-dhcp4.packets/16486] DHCP4_RESPONSE_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x8bec06: responding with packet DHCPACK (type 5), packet details: local_address=192.168.50.253:67, remote_address=192.168.50.10:68, msg_type=DHCPACK (5), transid=0x8bec06,
options:
  type=001, len=004: 4294967040 (uint32)
  type=051, len=004: 4000 (uint32)
  type=053, len=001: 5 (uint8)
  type=054, len=004: 192.168.50.253
  type=058, len=004: 1000 (uint32)
  type=059, len=004: 2000 (uint32)

#5392 fixed remove database stored reservation howto link from users guide wlodekwencel wlodekwencel
Description

Remove http://kea.isc.org/wiki/HostReservationsHowTo from User's Guide and update reservation section

#5391 fixed revert #3576 minimal length change fdupont fdupont
Description

Cf PR 57 on GitHub.

1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.