Re: [Kea-users] DHCPv4 - respond to option 108 without allocating leases

2024-05-22 Thread Francis Dupont
of the authors... Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org

Re: [Kea-users] DHCPv4 - respond to option 108 without allocating leases

2024-05-22 Thread Francis Dupont
I was wrong about the DHCPNAK: it can be sent only with a DHCPREQUEST, when a DHCPDISCOVER fails to offer an address it is simply dropped and no response is sent. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https

Re: [Kea-users] DHCPv4 - respond to option 108 without allocating leases

2024-05-22 Thread Francis Dupont
server is authoritative on the subnet. - the most current way to fail is to have the subnet selection to return nothing so I highly recommend to add an "interface": "ix0.301" to the subnet 3 configuration. Regards Francis Dupont -- ISC funds the development of this software with pai

Re: [Kea-users] Add multiple Sub-Options 193 to Option 125

2024-05-15 Thread Francis Dupont
At a few exceptions it is possible to add at most one option / sub-option with a given code-point. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https

Re: [Kea-users] DHCP6 host reservation

2024-04-02 Thread Francis Dupont
can find it in DHCPv6 messages, the problem is usually there are many ways which are not guaranted to return a value or the same value. See 'MAC/Hardware Addresses in DHCPv6' section in the ARM... Regards Francis Dupont -- ISC funds the development of this software with paid support subs

Re: [Kea-users] DHCP6 host reservation

2024-04-02 Thread Francis Dupont
s support it as it provides an easy way to get a stable DUID without storage. Regards Francis Dupont PS: 'dhclient -D LL' for the ISC DHCP client. -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To un

Re: [Kea-users] Using variables in lease reservation

2024-04-02 Thread Francis Dupont
It is not directly supported but you can use a (pre)processot to build the config file (or a part of it). There are many tools to do this from m4 (old Unix way) to script languages supporting the JSON syntax. Regards Francis Dupont -- ISC funds the development of this software with paid

Re: [Kea-users] unable to start Kea with HA - 'Invalid argument'

2024-03-25 Thread Francis Dupont
. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https

Re: [Kea-users] unable to start Kea with HA - 'Invalid argument'

2024-03-25 Thread Francis Dupont
Kea does not support names in URL for many reasons explained in tickets asking for this. Note that IPv6 addresses in URL follow a specific not so trivial syntax and I can't find an example in the doc... Creating a ticket for this. Thanks Francis Dupont PS: https://gitlab.isc.org/isc-projects

Re: [Kea-users] Custom standard option

2024-01-31 Thread Francis Dupont
First Kea has a pretty loose notion of what is a string i.e. it is more a C++ string than a C one. Second if you really want to set an option value without any check (other than not empty) you have the flex-option hook. Regards Francis Dupont -- ISC funds the development of this software

Re: [Kea-users] Multiple-Storage Extension

2023-12-26 Thread Francis Dupont
BTW the only supported case of multiple storage is the host cache as the first host backend followed by the RADIUS fake host backend. Merry Christmas Francis Dupont PS: the host cache was designed for caching values returned by an external host backend as RADIUS (which is currently the only

Re: [Kea-users] Reservations via hostnames

2023-12-26 Thread Francis Dupont
In fact I think that Kea provides a solution to your problem: I am discussing with Darren who should come back to you. The ISC DHCP config will help (and we have a tool to translate it to Kea...). Merry Christmas Francis Dupont -- ISC funds the development of this software with paid support

Re: [Kea-users] HA with TLS problems

2023-12-15 Thread Francis Dupont
. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https

Re: [Kea-users] HA with TLS problems

2023-12-15 Thread Francis Dupont
Can you provide more details: system, OpenSSL version and logs at the debug level? Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org

Re: [Kea-users] isc-dhcp-server end of live. Support kea dhcp server ldap backend?

2023-12-09 Thread Francis Dupont
s far as I know there was no demand (so no plan) to provide a LDAP backend to Kea. Regards Francis Dupont PS: LDAP for ISC DHCP seems to provide configuration and host reservations. Both are pretty different between ISC DHCP and Kea so there is no obvious migration way. -- ISC funds the development of this sof

Re: [Kea-users] Wg: Trouble implementing Option 158

2023-12-05 Thread Francis Dupont
in advance! Best regards => option 158 DHO_V4_PCP_SERVER is not supported by Kea (it is commented in src/lib/dhcp/dhcp4.h) so it is considered as a binary option. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://ww

Re: [Kea-users] Kea-muti threading

2023-10-19 Thread Francis Dupont
hrough a process list? => as config-get returns the runtime status it should be exactly what you are looking for. The number of threads is in the thread-pool-size entry. IMHO easier than parsing debug logs to get the last loaded config. Thanks Francis Dupont -- ISC funds the development of this

Re: [Kea-users] Kea-muti threading

2023-10-18 Thread Francis Dupont
Use the REST API "status-get" which should give MT setup details. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailma

Re: [Kea-users] able to DROP both Windows 8.x and Windows 7 clients?

2023-09-05 Thread Francis Dupont
You can't define a client class more than once. If you want to combine classes I recommend the member clause... Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information

Re: [Kea-users] Never send option 12 (host name) as a response even if the client sends it

2023-08-02 Thread Francis Dupont
In your particular case I recommend to use the flex-option hook which works on all options including options managed internally by Kea. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more

Re: [Kea-users] Use of include statement doesn't seem to work (OPEN)

2023-03-15 Thread Francis Dupont
lative paths start from it. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea

Re: [Kea-users] got unexpected keyword "valid-lifetime" in reservations map.

2023-02-22 Thread Francis Dupont
You can't specify the option 51 dhcp-lease-time because it is directly managed by Kea. BTW if you were allowed to change it (which still can be done by the flex-option hook) it would not change the valid lifetime in the lease database so would be very far from what you wanted... Regards Francis

Re: [Kea-users] lease4-get-all is giving stale data

2023-01-25 Thread Francis Dupont
eter was not set leases should have remained. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Ke

Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot

2023-01-19 Thread Francis Dupont
L (vs LLT) DUID i.e. to encapsulate the mac address into the DUID without (again vs LLT) adding a timestamp. I know that the ISC DHCP client can do this as I added this command line option many years ago in it... Thanks Francis Dupont -- ISC funds the development of this software with pai

Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot

2023-01-17 Thread Francis Dupont
is to replace on the wire the DUID by a fixed value... Thanks Francis Dupont PS: DHCPv4 clients have two identifiers: the client-id option and the mac address. If the client-id option has the precedence this can be disabled at the subnet level or higher. There is a RFC too explaining how to deal

Re: [Kea-users] Load-Balancing Network issue between Relay and Kea

2023-01-04 Thread Francis Dupont
suggest to use an active load-balancer i.e. a box between clients and servers which splits and monitors exchanges: not only it should solve the problem but it will avoid extra traffic. With other words you are outside what the Kea load-balancing can support... Thanks Francis Dupont -- ISC funds

Re: [Kea-users] subclass handling in kea-dhcp

2022-12-14 Thread Francis Dupont
The official (*) answer about ISC DHCP subclass mechanism is to use flex_id and host reservations if you want to keep the chain of compare vs table lookup speedup. Regards Francis Dupont PS (*): this means that to port this ISC DHCP feature to Kea is not planned. -- ISC funds the development

Re: [Kea-users] Hook Development - Rust

2022-12-09 Thread Francis Dupont
python programs are easy to write). I do not know for a "plain" language as rust or go: I am afraid you lost all benefits from using them, i.e. C++ seems to be the only real candidate. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions.

Re: [Kea-users] Manually Setting Option Code 1

2022-11-16 Thread Francis Dupont
there maybe any advice what options should be changed or modified? => if it can't be configured it still can be overwritten using the flex_option hook (I wonder if it is not the most changed option in DHCPv4? :-) so the response will have the value you want instead the value deduced from the config

Re: [Kea-users] yet another question about multiple subnets %)

2022-11-14 Thread Francis Dupont
Francis Dupont > sorry, guys, but i'm going to ask the most popular question again, to which t > here is still no working answer: how to set multiple subnets on a same interf > ace so that a client receives an address from each network? => if I understand well you have a phys

Re: [Kea-users] How to get kea to reassign same IP after an explicit release (client reboot) if it has not been reused

2022-10-08 Thread Francis Dupont
) a client releasing a lease and shortly after try to get one again should get the the same IP address. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit

Re: [Kea-users] Unset dhcp option from global scope in subnet

2022-10-03 Thread Francis Dupont
he response according to the evaluation of an expression. BTW as it seems to be something that some wants we are considering on a more direct way i.e. to add a never-send as a mirror of the always-send flag. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions.

Re: [Kea-users] role-based access control for the KEA Control Agent

2022-09-19 Thread Francis Dupont
Veronique Lefebure writes: > I wanted to ask if anyone would have an example of such an external library, > for adding role-based access control o the Control Agent ? => it was added in 2.1.6 as a premium library. Thanks Francis Dupont -- ISC funds the development of this software

Re: [Kea-users] KEA allocates an IP while it should not

2022-08-30 Thread Francis Dupont
used to behave ? => put reservations with an address in a subnet the address belongs to. Note you can still use global reservations for other things as KNOWN / UNKNOWN classification, option setting, etc. With last versions of KEA you have also optional early global reservation lookup to

Re: [Kea-users] Wildcard Includes in Kea configuration

2022-08-15 Thread Francis Dupont
produces an intermediate include file which includes these multiple files. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/

Re: [Kea-users] updates to existing leases

2022-07-13 Thread Francis Dupont
u want: when it is set to true (which is not the default) the client identifier in the query message is replaced by the flex-id value so the lease and the host reservation are identified by the same value. The initial client identifier is put in the response so this is not visible by the client.

Re: [Kea-users] create Custom DHCPv4 Option for option 121 classless routes

2022-07-12 Thread Francis Dupont
ISC DHCP. Note you can use keama to automatize this... Regards Francis Dupont PS: it is a bit more hairy when you use records: as in Kea the array flag is for the option there is an ambiguity between an array of records and a record where the last field is an array so not all ISC DHCP option def

Re: [Kea-users] naming inconsistency

2022-07-12 Thread Francis Dupont
'-') has no meaning at all. In all programming languages including the shell (so a command line) it can get a meaning so be misinterpreted. Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more in

Re: [Kea-users] shared-network "interface" and "relay" parameters

2022-06-17 Thread Francis Dupont
er of the shared network or use a group to factor them. In general the ISC DHCP configuration is far less structured than the Kea one... Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for mor

Re: [Kea-users] shared-network "interface" and "relay" parameters

2022-06-15 Thread Francis Dupont
re not exclusive but topologies with both are uncommon. Please note the localization process is the same for ISC DHCP and Kea: it follows the standard so selectors are used in the same order, and in both when shared networks are used the "selected subnet" is in fact the selected shared

Re: [Kea-users] Fixed Address definition with multiple MAC addresses

2022-05-14 Thread Francis Dupont
rameter to false. See the example in the 9.3.11 "Multiple Reservations for the Same IP" section in the ARM. Thanks Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe

Re: [Kea-users] JSON hiding user and password to dB...

2022-05-02 Thread Francis Dupont
se passwords in files as it was done for the basic HTTP authentication. IMHO (but I am not neutral) this is good trade-off between security (which can't be done at 100%) and usability (e.g. people understand well file access rights). Regards Francis Dupont -- ISC funds the development of this softw

Re: [Kea-users] [kea-dev] Vendor Specific Options (Code 17)

2022-04-02 Thread Francis Dupont
"data": "0x6774" > }, => note if it is allowed to specify more than once an option data of course only one will be applied. > The Relay -Reply that I got shows only one vendor (Cisco ) even though opti= > on-data has Cisco and xyz() => yes and it

Re: [Kea-users] Suppress DDNS for reservations

2022-03-09 Thread Francis Dupont
I can't use ddns-send-updates set to false in a reservation. It only works > in a subnet declaration or at global scope. > > What am I missing? => I suggest to try a shared network with two subnets covering the same range but with different textual representations (e.g. put ...1

Re: [Kea-users] TLS for the communication between Stork Agent and Kea Control Agent

2022-02-07 Thread Francis Dupont
ar for "new" crypto if the OpenSSL library version is old - dump the handshake messages on the wire: they are in clear text Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more infor

Re: [Kea-users] Client Class DROP

2022-01-31 Thread Francis Dupont
> Is there a way to add lots of MAC addresses to a DROP class config... => not yet but the next version should provide an easy and fast way to do this! Regards Francis Dupont -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.i

Re: [Kea-users] HA setup in kubernetes, hostnames in the configuration fail to resolve

2022-01-03 Thread Francis Dupont
funny when the resolution returns more than one address I do not know if there is already a KB article about this (if not we should write one as you are far to be the first to ask) or if Stork provides this feature (it is interactive so these problems can be handled). Regards Francis Dupont

Re: [Kea-users] Forensic logging to syslog

2021-12-07 Thread Francis Dupont
Munroe Sollog writes: > Is it possible to configure the forensic logging hook to output to syslog? => no, forensic/legal logs are sent to a file or a SQL database (MySQL or PostgreSQL). Regards Francis Dupont ___ ISC funds the devel

Re: [Kea-users] HTTP_CONNECTION_HANDSHAKE_FAILED TLS handshake

2021-11-24 Thread Francis Dupont
The "wrong version number" error is returned by some crypto libraries when TLS is expected but clear text HTTP is received. Regards Francis Dupont PS: I say "some" because at least one has a dedicated code to detect this very common error and emits a more user friendly

Re: [Kea-users] KEA 2.1.0, dhcp6, netbooting via HTTPv6 in qemu

2021-11-22 Thread Francis Dupont
Erik Edwards writes: > { "name": "vendor-class", "data": "HTTPClient" }> => IMHO you mean vendor-class-identifier (option 60): there is no option named vendor-class in the DHCPv4 option space. Regards Francis Dupont

Re: [Kea-users] Example for ifelse in host reservation or class

2021-07-20 Thread Francis Dupont
sktop using the test part as its expression (i.e. substring(option[vendor-class-identifier].text, 0, 9) == 'PXEClient'. The expression grammar can return a boolean or a string so what you can do with an ifelse can be done with a class. Regards Francis Dupont ___ I

Re: [Kea-users] Radius hook in Dual-Stack

2021-07-16 Thread Francis Dupont
; easy: configure/load it in the kea-dhcp4 and the kea-dhcp6 servers. I do not believe it will share something between the two servers at the exception of course of the RADIUS server itself. Thanks Francis Dupont PS: some hook libraries explicitely check if they are loaded in the right server in t

Re: [Kea-users] Failed to secure DDNS updates with TSIG between Kea and Bind

2021-06-20 Thread Francis Dupont
it was reported in its logs? Thanks Francis Dupont PS: a secret mismatch gives BADSIG so IMHO this is around the key itself (name, algorithm, ...). PPS: looking the bind9 code for BADKEY you have: - key name mismatch - algorithm name mismatch (both logger as "key name and algorit

Re: [Kea-users] Ignore non-reserved hosts

2021-06-09 Thread Francis Dupont
as queries are dropped vs. no resource can be assigned). Regards Francis Dupont PS: Change 1898 included in Kea 1.9.8. ___ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more

Re: [Kea-users] symbol lookup error:, undefined symbol:

2021-05-01 Thread Francis Dupont
Can you demangle the C++ symbol? The tool doing this is c++filt and is not portable. Thanks Francis Dupont Makhdoom Naeem writes: > sudo /usr/sbin/kea-dhcp4 -t /etc/kea/kea-dhcp4.conf > /usr/sbin/kea-dhcp4: symbol lookup error: /usr/sbin/kea-dhcp4: undefined &g

Re: [Kea-users] IPv4 and IPv6 Kea-ctrl-agent bind

2021-04-26 Thread Francis Dupont
different address or port...) - if your system allows this you may use :: to match both :: and 0.0.0.0 Usually it is controled by the IPV6_V6ONLY flag which has a system dependent default value. I suppose you use Linux where the default is in /proc/sys/net/ipv6/bindv6only Regards Francis Du

Re: [Kea-users] How to define "code width" / "length width" on Vendor-Specific Information option (code 43)

2021-04-23 Thread Francis Dupont
not allow 2x2 widths. Now I saw enough options 43 with not compliant contents I am not surprised... Regards Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more

Re: [Kea-users] Configured but gateway is not being delivered by dhcp

2021-04-03 Thread Francis Dupont
the last entry value is taken) results. Strangely it does not seem to be illegal JSON (the spec aka ECMA 404 says nothing) but of course all JSON tools give either an error or only one value on duplicated entries of maps (Kea term) / objects (standard name). Thanks Francis Dupont

Re: [Kea-users] kea-dhcpv6 handing out prefix instead of IP address

2021-03-18 Thread Francis Dupont
Problem is that a client (Windows 7) gets ::::: as its IP > address. => it is the first address of the pool so it is not an error. Note the easiest way to remove an address from a pool is to reserve it to a nonexistent host. Thanks Francis Dupont

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

2021-03-02 Thread Francis Dupont
or /128: /64 is convenient but /128 is the real legal value... In conclusion this thread is about how to use Kea but not about Kea itself. Regards Francis Dupont PS: as DHCP does not provide the local prefix length the right protocol is the Neighbor Discovery or simply static config

Re: [Kea-users] Support for multiple flex options parameters?

2021-01-22 Thread Francis Dupont
t4.mac, ''), '= > .bin')),'')" => I do not think this will work because the hook implementation uses a per code std::map for the configuration so the second entry will overwrite the first one. Thanks Francis Dupont PS: it will silently overwrite the std::map entry. If you think it should w

Re: [Kea-users] Support for multiple flex options parameters?

2021-01-21 Thread Francis Dupont
Yes multiple actions are supported by the flex option hook. Thanks Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit

Re: [Kea-users] Possibility for group declaration?

2020-12-29 Thread Francis Dupont
-data for every shared subnet I have? => you should but it is one of the uses of client classes (possible but a but hairy to do with current Kea: it is one of the things I plan to make cleaner and easier). Thanks Francis Dupont ___ ISC fun

Re: [Kea-users] reading user-context from lease4_select hook

2020-12-18 Thread Francis Dupont
interface was designed for allocation so the type is Lease::TYPE_V4 and the anypool to false (critical as it defaults to true). Thanks Francis Dupont PS: the main reason pools are not saved in leases nor get their own statistics is a pool is a bit hard to identify. If you have an idea for a code and user

Re: [Kea-users] Duplicated option 17 on DHCP6

2020-11-25 Thread Francis Dupont
day so 1.9.3 is scheduled in four weeks but if you can't wait the fix is already available... Thanks Francis Dupont PS: the bug can give multiple options too but currently it was reported only the DHCPv6 option 17... ___ ISC funds the development of t

Re: [Kea-users] DHCPv4 lease reservation based on host name (option 12)

2020-11-19 Thread Francis Dupont
other client. > Can you confirm this is correct ? => yes reserved addresses are reserved. Thanks Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/cont

Re: [Kea-users] Debian Buster / armhf

2020-11-07 Thread Francis Dupont
There is a new section is the developer guide about how to cross compile Kea with an extended example for Debian Buster. Regards Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us at https

Re: [Kea-users] KEA DHCP multiple code options per subnet.

2020-10-28 Thread Francis Dupont
ic subnet. => option 51 (dhcp-lease-time) is set by the server code so you should not configure it. Option 150 is not a standard option so you have to define it (option-def at the global scope) before using it. Thanks Francis Dupont PS: if you go to https://www.iana.org/assignments/bootp-dhcp-para

Re: [Kea-users] Lease storage memfile disable

2020-09-26 Thread Francis Dupont
rage for Leases in the ARM (or 9.2.2.1 if you use DHCPv6, the ARM is the Kea Administrator Reference Manual at https://kea.readthedocs.io/en/latest/ and the persist flag is the first documented parameter). Regards Francis Dupont ___ ISC funds

Re: [Kea-users] IP reservation for multiple MAC addresses

2020-09-01 Thread Francis Dupont
subnet id. # This unique index guarantees that there is only one occurrence of the # particular IPv4 address for a given subnet. Regards Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us

Re: [Kea-users] kea-dhcp-ddns.conf log output format and %m

2020-08-02 Thread Francis Dupont
j-json, I found more but for log4j2). I can see 3 problems to do this in Kea: - there is no hook in Kea for logging i.e. no easy place to insert code - the JSON code is in another and later library (backward dependency) - it requires significant manpower to develop. Regards Francis Dupont

Re: [Kea-users] ddns and many zones

2020-07-26 Thread Francis Dupont
by Config Backend or Netconf. (Gitlab #35,!517, git 49ce6286f5d00f99c1c890f12cbc0fd633c9dbf6) which was added in 1.7.1 Regards Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us at https

Re: [Kea-users] CHECKING LIBRARIES

2020-07-09 Thread Francis Dupont
; at the end of configure a report is displayed, saved in config.report and compiled into servers and agents so can be recovered using the -W command line argument. There is a command too named build-report. Regards Francis Dupont PS: if you want the runtime library infos (can be different) us

Re: [Kea-users] Subnet name or description

2020-07-02 Thread Francis Dupont
s true for a lot of other objects. Thanks Francis Dupont ___ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listin

Re: [Kea-users] ignoring DHCP-Requests which have set the BROADCAST flag

2020-06-03 Thread Francis Dupont
e callout point and return DROP when the query4->getFlags() has FLAG_BROADCAST_MASK set). As the broadcast flag has a function in the protocol perhaps it is possible to tweak the configuration so they failed to be served (e.g. responses do not reach them) but a direct way is more reliable. Rega

Re: [Kea-users] Debian Buster / armhf

2020-06-02 Thread Francis Dupont
The Kea gitlab URL is in the ARM but as you ask I put it here again: https://gitlab.isc.org/isc-projects/kea If you do not know gitlab the # is for an issue and the ! for a merge request. Regards Francis Dupont PS: just received my Raspberry Pi 4 "starter kit" so now we are seve

Re: [Kea-users] PostgreSQL Logging

2020-06-02 Thread Francis Dupont
he system logging: they are sent to standard output or error, to a file or to syslog. According to its documentation rsyslogd is able to send logs to a database including a PostgreSQL one (I never used this but perhaps someone in the list did/does?) Thanks Franc

Re: [Kea-users] Debian Buster / armhf

2020-05-28 Thread Francis Dupont
Regards Francis Dupont PS: tickets are on Kea gitlab with numbers: - #1194 (initial request) - #1221 (cross compiling: it is mine and I am very interested to complete it) - #1223 (closed, i.e. included in 1.7.8 last release) ___ ISC funds the de

Re: [Kea-users] kea server not send custom dhcp options

2020-05-24 Thread Francis Dupont
The server sends an option only when it was required by the client (code in the PRL option of the discover) or when it has the always-send flag set to true in the option data. Regards Francis Dupont ___ ISC funds the development of this software

Re: [Kea-users] Preium hooks build

2020-03-30 Thread Francis Dupont
Please retry adding -f (or --force) to autoreconf? Thanks Francis Dupont Bill Schoolfield writes: > I've tried this. No luck. I'm stuck. Any help appreciated. > > > > > > > > > > It goes in the top level directory, i.e. one up from src. > > > > Che

Re: [Kea-users] kea error code 1292

2020-03-07 Thread Francis Dupont
client_id = ?, valid_lifetime = ?, expire = ?, subnet_id = > ?, > > fqdn_fwd = ?, fqdn_rev = ?, hostname = ?, state = ? WHERE address = > > ?>, reason: Incorrect datetime value: '2020-03-08 02:04:29' for column > > 'expire' at row 1 (error code 1292) => IMHO it looks like a

Re: [Kea-users] Add option 43 with allocated IPs to specific host

2019-11-13 Thread Francis Dupont
rally. For details, see new section "Flexible Option for Option value settings" in the Kea Administrator Reference Manual. (Gitlab #219,!523, git 2bf854c029b9b07ee6161bc1fcb4dfdc9846ee42) Regards Francis Dupont PS: BTW the hook source code

Re: [Kea-users] remote-global-parameter4-set host-reservation-identifiers

2019-11-06 Thread Francis Dupont
tifiers using it should work but if you have several shared networks or subnets I understand you prefer to change the global value. Unfortunately this requires to reload or reconfig the whole server configuration. Regards Francis Dupont ___ Kea-users mailing

Re: [Kea-users] Global host reservations - unexpected behavior

2019-10-15 Thread Francis Dupont
use an old Kea version which does not support them). Regards Francis Dupont PS: teh Kea Migration Assistant is available in the public repository and should be integrated into the distribution of the next ISC DHCP. You can get soem idea from it and of course if you can propose improvements

Re: [Kea-users] Specifying lease times at reservation or pool level

2019-10-13 Thread Francis Dupont
I do not believe it is possible directly but it should be indirectly using different subnets (with per subnet different lifetimes) in a shared network. Note you can also guard a pool (but not a subnet) using the UNKNOWN client class. Regards Francis Dupont Gibbins, John (IM, Black Mountain

Re: [Kea-users] Kea hook lease6_select callback not getting called at times

2019-09-27 Thread Francis Dupont
(it is called only by 2 internal methods). We'll revisit the definition of the callout point to see if it is a bug and if it is we'll fix it. Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea

Re: [Kea-users] split back end

2019-09-24 Thread Francis Dupont
ost reservations are read-only for servers and the new configuration backend was designed to support sharing: this constraint is only for leases). Thanks Francis Dupont > example: > Kea1 configured to multiple subnets and/or interfaces: > > Subnet 1 (with dynamic pool) + host reserva

Re: [Kea-users] Kea 1.5 HA

2019-09-17 Thread Francis Dupont
red database (available for host reservations for a long time, new in 1.6.0 for subnets) so edit once. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Subnet with Multi pool

2019-07-31 Thread Francis Dupont
> 192.168.2.176" } ], > "subnet": "192.168.0.1/24" ^ 2 > > } > ] Regards Francis Dupont PS: you should get an error message saying "does not match the prefix of a subnet"... ___

Re: [Kea-users] deny booting or ignore booting

2019-03-22 Thread Francis Dupont
rogue client no subnet is selected. For pools it makes only resources (i.e addresses) not available for the rogue client (of course I suppose it has no reservations). Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.i

Re: [Kea-users] deny booting or ignore booting

2019-03-22 Thread Francis Dupont
"Ambauen Daniel (ID NET)" writes: > From my point of view the network access control is definitely not a > task of the DHCP service. => I agree: it is clearly too late and DHCP is more than poor about security. Regards Francis Dupont __

Re: [Kea-users] deny booting or ignore booting

2019-03-22 Thread Francis Dupont
e to it. You can also write a hook to filter out messages but it requires to write some code (vs a config update). Regards Francis Dupont PS: I cited the hook because it is the standard way to plug an authentication/authorization service to Kea. _

Re: [Kea-users] deny booting or ignore booting

2019-03-21 Thread Francis Dupont
if you have no address (nor prefix in IPv6) you need a hostname. Note here a host reservation is perhaps not the best feature: what you want is some kind of access list and for a negative access list a client class is better. Host reservations and KNOWN/UN

Re: [Kea-users] how can I block clients based on hostname

2019-02-28 Thread Francis Dupont
nt) relay - old Sun boxes interpreted the loose IEEE spec as the mac address can be a box (vs a NIC) property so with some Sun servers you have multiple NICs sharing the same mac address... pretty find to find some bugs in interop testing, less in production. Regards Francis Dupont PS: in Kea

Re: [Kea-users] how can I block clients based on hostname

2019-02-28 Thread Francis Dupont
white and black lists are large it will be better to use a hook to do the same thing but with all the resources from a full programming language, e.g. C++ sets. List updates will be far easier too. Regards Francis Dupont ___ Kea-users mailing list Kea-user

Re: [Kea-users] 1.4 - limit subnet to static reservations/leases

2019-02-14 Thread Francis Dupont
My immediate idea is to simply not define a pool for such subnets? Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Set boot-file-name option based on DHCP client mac-address

2019-01-23 Thread Francis Dupont
> How can I achieve something similar using KEA? => not yet (this feature is on the TODO list) or only with a hook. Regards Francis Dupont PS: the missing feature is to compute an option value from an expression. ___ Kea-users mailing list Kea

Re: [Kea-users] Subnet/pool selection

2019-01-21 Thread Francis Dupont
of starting from the subnet which pools are not // exhausted. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Multiple classes match

2019-01-21 Thread Francis Dupont
e same without possible ambiguity. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] reservations and classes

2019-01-09 Thread Francis Dupont
Francis Dupont > First I tried to add the class to the host: > > "client-classes": [ > { > "name": "cl-test", > "test": "member('cl-test')" => note this does not make sense. If you need a

  1   2   3   >