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

Re: [Kea-users] reservations and classes

2019-01-08 Thread Francis Dupont
t;172.21.151.0/24", > "require-client-classes": [ "cl-test" ] => require-client-classes makes listed classes to be added when the subnet was selected. Obviously it is not what you want. IMHO you need a guard ("client-class" clause) but as the localization (aka subnet / shared-network selection) is done first you need to apply the guard to the pool. > }, Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] ddns questions

2019-01-07 Thread Francis Dupont
> 1. How can I specify a ddns-domainname per subnet => you can't (I am sure because it is in the top list of features we want to add to Kea). Thanks Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/m

Re: [Kea-users] Address reservation with IP address given by DNS

2019-01-04 Thread Francis Dupont
oyama writes: > I would like to assign IP address given by other domain name system (bind9) > in the address reservation mechanism, instead of writing IP address itself. => this feature is not supported by Kea and IMHO it will never be as there are too many ways to get it wrong. Regards

Re: [Kea-users] Client Class from MySQL

2019-01-01 Thread Francis Dupont
Note it uses a host cache to not do the host reservation lookup twice at some cost: shared subnets are not supported. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client Class from MySQL

2019-01-01 Thread Francis Dupont
A priori it is not possible because the host reservation lookup is done after the subnet selection. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-07 Thread Francis Dupont
lanned for a fea days) so the number of not translated items should go closer to 0. The references are for gitlab Kea issues so you can look at them (they are locked so if you have comments please send them to us, e.g. using this list). Regards Francis Dupont PS: if you'd like I can add the

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-06 Thread Francis Dupont
> pool { > allow members of "APPLE"; > allow members of "BELKIN"; > } => create a class with for instance name "APPLE-or-BELKIN" and with "test": "member('APPLE') or member('BELKIN')" Regards Fr

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-06 Thread Francis Dupont
order of classes: you can check class membership only in a class which is known i.e. in the general case is defined before. Regards Francis Dupont PS: note this can't be backported to ISC DHCP because it has a hard limit to 5 classes for a packet and of course if the Kea feature is IMHO eas

Re: [Kea-users] DHCP Classes Kea Configuration

2018-12-06 Thread Francis Dupont
"test": "substring(pkt4.mac,0,3) == 0xb019c6) or (substring(pkt4.mac,0,3) == 0xd8a25e)) or (substring(pkt4.mac,0,3) == 0xb8c75d)) or (substring(pkt4.mac,0,3) == 0x6c709f)) or (substring(pkt4.mac,0,3) == 0x8

Re: [Kea-users] KEA 1.4.0 with Anterius CA Error: unable to forward command to dhcp4

2018-11-23 Thread Francis Dupont
T i've get the following error: > > /Anterius Server> Bootup complete > CA Error: unable to forward command to the dhcp4 service: No such file or > directory. The server is likely to be offline => did you put a control-socket entry in the DHCP

Re: [Kea-users] Configuring two separate subnets with PD pool and address pool

2018-11-15 Thread Francis Dupont
quot;pool": "2001:db8:1:05::/80" } > ], > ... > } > ] > } => pools must be in the subnet. Here I believe there is a typo: the second pool is not in the subnet, perhaps it should be: "pool": "2001:db8:1:0:5::/80" Regards Fran

Re: [Kea-users] Kea 1.4 crash from time to time

2018-11-13 Thread Francis Dupont
you use a tool to launch Kea you should configure the tool to remove local domain socket files. About #262 it is a trivial typo in the example which will be fixed as soon as the Kea master branch code will be unfrozen. Regards Francis Dupont ___ Kea

Re: [Kea-users] Kea 1.4 crash from time to time

2018-11-12 Thread Francis Dupont
mend in the case the port is supposed to be free to find which process is bound to it with for instance lsof. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Multiple dns-server in kea-dhcp-ddns server

2018-11-04 Thread Francis Dupont
Tim Weippert writes: > Hi list, > > i configured two dns-servers within a forward-ddns domain in kea-dhcp-ddns: > > "forward-ddns" : { > "ddns-domains": [ > { > "name": ".", > "key-name": "DHCP-Update-Key", >

Re: [Kea-users] Updated plan for Kea 1.5 | EOL for Kea 1.3 in December 2018

2018-11-03 Thread Francis Dupont
to Kea. The last kind is for references in the ISC DHCP to Kea Migration Assistant (not publicly available as it is based on ISC DHCP). Regards Francis Dupont > On 10/25/18 12:10 PM, Victoria Risk wrote: > > Kea-users, > > > > We decided last week to reorganize the content

Re: [Kea-users] kea SubClass equivalent

2018-10-26 Thread Francis Dupont
; host-reservation for the corresponding CableModem. > > Since this is an essential feature for us it would be very very nice if > you could assist finding a working code for this. => I am afraid you need to write a hook as each time the expression feature is not enough to classify a recei

Re: [Kea-users] Problem with KEA crash

2018-10-25 Thread Francis Dupont
You defer a null shared pointer. The only way to understand what happens is to use a debugger (if you run from build directory add "libtool --mode=execute " before so Kea libraries can be found). Regards Francis Dupont ___ Kea-users mailin

Re: [Kea-users] Kea does not send option 161, 162, 184 and 185 information

2018-10-09 Thread Francis Dupont
Does the client request them? If it does not and you want Kea to send them anyway please set the always-send flag to true in option data. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo

Re: [Kea-users] Set independend DDNS TTL

2018-09-26 Thread Francis Dupont
d (the bug described in it was fixed) > As these reports are quite a bit old, is there anything new to know? If > not, is there any other way to set a TTL? Maybe through a hook? => the DHCP DDNS server does not support hooks and I am afraid it is more than hairy to do at the DHCP s

Re: [Kea-users] Cant "make" the master version with radius hook

2018-09-16 Thread Francis Dupont
Please contact support to get a version of the premium distrib which includes last changes (database code has been moved since 1.5 release and premium code updated but privately). Regards Francis Dupont ___ Kea-users mailing list Kea-users

Re: [Kea-users] subnet full - reselect

2018-09-10 Thread Francis Dupont
Radius hooks do not support shared networks. But it supports subnet re-select even it is a bit late when the allocation returns a pool full error. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman

Re: [Kea-users] subnet full - reselect

2018-09-10 Thread Francis Dupont
Are your two subnets in a shared network? (if there are not pools are not shared) Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Host reservation with pool dhcpv4

2018-08-17 Thread Francis Dupont
gramming. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Suggestions requested

2018-08-15 Thread Francis Dupont
To add a host reservation is not a silly idea: it is the way the RADIUS hook works: it adds a host cache entry at the select subnet hook point so when the host reservation is looked for the required information can be returned. Of course this requires to code a bit... Regards Francis Dupont PS

Re: [Kea-users] shared subnet advice

2018-08-14 Thread Francis Dupont
uld get a dynamic IP > from the public pool. > > I need to prevent known MACs from getting RFC 1918 IPs. => I think by "known" you mean have a host reservation. BTW it is required for a host reservation to provide at least an address or a hostname. If you want M

Re: [Kea-users] IP Reservation for Client-Class

2018-07-24 Thread Francis Dupont
Flex-id should be a better (easier to use and scales) than one member classes and associated pools. Regards Francis Dupont Phoebe Lee writes: > --65328a0571c58502 > Content-Type: text/plain; charset="UTF-8" > > Sorry for bad wording! > I'd like to have 1 IP

Re: [Kea-users] IP Reservation for Client-Class

2018-07-24 Thread Francis Dupont
the pool. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] custom DUID

2018-07-03 Thread Francis Dupont
k the number of your preferred enterprise (if it is no longer exist and was not in networking business it could help). - you get an official number for your enterprise (take time but is 100% safe forever)... Regards Francis Dupont PS: ISC uses its enterprise-number but as far as I know

Re: [Kea-users] client-classes for a particular MAC Address of a CPE

2018-07-02 Thread Francis Dupont
Remove the '' in: "test": "/substring(pkt4.mac, 0, 6) = '0x00d0550b6076'", so you should use: "test": "/substring(pkt4.mac, 0, 6) = 0x00d0550b6076", Regards Francis Dupont ___ Kea-users mailing list Kea-u

Re: [Kea-users] kea 1.3.0 dying with mysql error

2018-06-18 Thread Francis Dupont
won't solve the problem but just try in the case I am wrong) - Kea 1.4 reconnects databases so the error should be transient (vs fatal) in the new 1.4 release. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc

Re: [Kea-users] Newbie questions

2018-06-15 Thread Francis Dupont
You need either a PRL option (code 55) to list requested options in the discover or request, or to set always-send to true in option data entries of a recent enough Kea config. Regards Francis Dupont PS: always-send adds the option code to the PRL option which is BTW the way to do the same

Re: [Kea-users] Best practice recommendation for reserving/blocking out VIPs?

2018-06-15 Thread Francis Dupont
text in the doc). Note you do not need to use an existing MAC in a host reservation, the only constraint is to use a different MAC (or identifier in general) between host reservations. Regards Francis Dupont ___ Kea-users mailing list Kea-users

Re: [Kea-users] user-context

2018-06-14 Thread Francis Dupont
itay cohen writes: > i'm trying to get user-context from a selected subnet on lease4_select api > with a hook, => what are you trying to do? lease4_select is a REST API, hooks are linked DSO using a programming language (typically C++ but it is not required). Regards Franc

Re: [Kea-users] kea http uefi boot

2018-06-05 Thread Francis Dupont
I looked at for possible candidates fro client-architecture options. One is the option 93 (client-system in Kea which BTW does not allow to redefine options). The value 16 is not in RFC 4578 table but it is 11 year old... Regards Francis Dupont

Re: [Kea-users] map class with pool

2018-06-03 Thread Francis Dupont
u double check you are running Kea 1.4-beta? This feature was added after 1.3 release. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client Classification question

2018-06-03 Thread Francis Dupont
ion[].hex ... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Releasing or deleting a lease

2018-06-01 Thread Francis Dupont
lease_cmds hook (in Kea core code)? Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Option82 with different versions of KEA

2018-05-30 Thread Francis Dupont
ot for the long term... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] kea DHCPv6

2018-05-30 Thread Francis Dupont
ht place to ask for some examples. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Issue building Kea 1.4.0-beta - configure: error: Needs log4cplus library

2018-05-30 Thread Francis Dupont
"g++ --std=c++11" in the shell before calling autoreconf and ./configure. Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] next-server-address in hooks for UEFI config servers

2018-05-30 Thread Francis Dupont
Gokulakrishnan Gopalakrishnan writes: > Currently, I'm hardcoding 'next-server' in kea.conf. Is it possible to do > it via hook code? => yes of course. BTW the way to set the next server address field (aka siaddr) in BOOTP/DHCP packet is the Pkt4 setSiaddr() method. Regards Franc

Re: [Kea-users] next-server-address in hooks for UEFI config servers

2018-05-25 Thread Francis Dupont
server option to packet. > opt = response->getOption(DHO_HOME_AGENT_ADDRS); => This option gives a list (vs one) of addresses of the Mobile IP home agent. So it is something different (but if it makes the client happy...). Regards Francis Dupont <fdup...@isc.org> __

Re: [Kea-users] Host reservation with remote-id

2018-05-16 Thread Francis Dupont
Mathias Aichinger writes: > How can I realize this with KEA? => you'll get more detailed answer but at the first look you need flex-id. > Does it work with the Premium API? => yes. Regards Francis Dupont <fdup...@isc.org> ___ Kea-

Re: [Kea-users] Provide /32 network with DHCP

2018-04-19 Thread Francis Dupont
I can't see any problem other than a /32 *network* is useless because it has no available address: the broadcast address is reserved. Regards Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.i

Re: [Kea-users] Circuit-ID

2018-04-18 Thread Francis Dupont
Oops, I messed the PS. Here is the corrected version. > PS: if you get a cryptic error message please signal it so we can > improve it. BTW the last ticket (5600) is a perfect example of that... ___ Kea-users mailing list Kea-users@lists.isc.org

Re: [Kea-users] DHCP4 Relay Information source

2018-04-17 Thread Francis Dupont
I don't fully understand your question but DHCPv4 messages have a field to carry the relay address (aka giaddr). Regards Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listin

Re: [Kea-users] Option 60 vendor class

2018-04-13 Thread Francis Dupont
Francis Dupont <fdup...@isc.org> PS: look at src/lib/dhcp/std_option_defs.h for definitions of standard options. getData works only on unknown options or options which are not defined to a specific content type (i.e, binary). ___ Kea-users mailin

Re: [Kea-users] DUID host reservations

2018-04-03 Thread Francis Dupont
Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Dynamic IP address assigned to client with MAC reservation

2018-03-27 Thread Francis Dupont
Using Client Identifier and Hardware Address BTW there is an explicit reference about PXE in this. Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Dynamic IP address assigned to client with MAC reservation

2018-03-27 Thread Francis Dupont
). If you find what did not work as you expected and how to solve it please post your conclusion here so we can aliment FAQs and knowledge bases... Of course this applies to anyone who got the same problem (it is the whole principle of this list :-). Thanks Francis Dupont <fdup...@isc.

Re: [Kea-users] MySQL DB does not work when "lease-database" is set

2018-03-19 Thread Francis Dupont
I am afraid MySQL does not work at all in your setup and its very long default timeout hides that. There were recent works to improve this (better timeouts, reconnect, etc) so I leave my colleagues who worked on it to give better answers. Regards Francis Dupont <fdup...@isc.org> __

Re: [Kea-users] [Kea Users] the renew-timer and rebind-timer problem

2018-03-06 Thread Francis Dupont
e they are not specified... Unfortunately I am afraid the only solution is to attach a piece of code on the pkt4_send hook point which simply removes these options (bool delOption(uint16_t type); which is a Pkt method is your friend) from the response4 parameter... Should take between 10 and 20

Re: [Kea-users] subnet and DHCP options for MySQL backend

2018-02-26 Thread Francis Dupont
A lease database backend is for the whole server. If you have specific subnet / options setting they go into the configuration inside subnet entries independently of backends. Regards Francis Dupont <fdup...@isc.org> PS: BTW there must be at least one subnet because incoming p

Re: [Kea-users] Problems adding the premium package hooks libraries

2018-02-21 Thread Francis Dupont
ist-commands (I know because I copied this code). Now it is not a system test... I'll check when I'll get some free time (tomorrow? surely before Monday if it is not solved before). Regards Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Problems adding the premium package hooks libraries

2018-02-20 Thread Francis Dupont
libdhcp_legal_log.la libdhcp_flex_id.so libdhcp_host_cache.so libdhcp_legal_log.so libdhcp_ha.alibdhcp_host_cmds.a libdhcp_subnet_cmds.a libdhcp_ha.la libdhcp_host_cmds.lalibdhcp_subnet_cmds.la libdhcp_ha.so libdhcp_host_cmds.solibdhcp_subnet_cmds.

Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Francis Dupont
l be updated it will be reconsidered and if still useless removed... BTW it has no impact as anything using the hook really requires the library so it is just an extra entry in a table. Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-u

Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Francis Dupont
Debian specific (and internal). IMHO this should be ignored. Thanks Francis Dupont <fdup...@isc.org> PS: I noted we should look at the Debian tool which detects useless dependencies. ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-23 Thread Francis Dupont
good reasons, and reading the DHCPv4 code I don't think it works. So I created a ticket to get DHCPv4 fixed and DHCPv6 code added. Unfortunately I have no idea about when the ticket will be addressed... Regards Francis Dupont <fdup...@isc.org> ___

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-22 Thread Francis Dupont
e table (use-routing). Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-21 Thread Francis Dupont
nks Francis Dupont <fdup...@isc.org> PS: of course when clients know their name and provide it things are simpler (:-)! ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-20 Thread Francis Dupont
ou should try a shared network as pools and host reservations in a shared network are for the whole shared network as soon as they are not under a subnet with a class guard. Pools with class could help too but they are not yet available. Thanks F

Re: [Kea-users] Client classification based on MAC vendor prefix + multi-subnet DDNS

2018-01-19 Thread Francis Dupont
unable to find anything that works so= > I'm still stuck only having DDNS for the first subnet. => Unfortunately it is not yet supported (it was recognized as an useful feature to add but no milestone was selected for this work and current one (1.4) is alread

Re: [Kea-users] Lease time per scope / subnet

2018-01-16 Thread Francis Dupont
applied per subnet. Regards Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Kea implementation planning

2018-01-15 Thread Francis Dupont
ances (Raspberry Pi 3) that are running > DNS (Bind), how many servers, or whether I should split them to dedicated > servers (likely also Raspberry Pi 3). => you have another choice: use a file or a database for leases and in the second case where to put the database server (same box t

Re: [Kea-users] (no subject)

2018-01-12 Thread Francis Dupont
ame: i.e. the string as it next_server: or NULL (same than the ip-address) dhcp4_server_hostname and dhcp4_boot_file_name: strings You have some constraints in length so I recommend to read the schema (SQL is supposed to be user friendly and you have "shells" to play with). Regards

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
SCII even it is just an opaque vector of bytes... > I am running Kea 1.2.0 still, is this by any chance a known bug > I can fix by upgrading? (been waiting for FreeBSD port to get > refreshed). => I am afraid that upgrading Kea won't help. Regards Francis Dupont <fdup...@isc.o

Re: [Kea-users] (no subject)

2018-01-11 Thread Francis Dupont
rement to define classes but it does not make sense to not define them... Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
> Now I'm back to needing different subnets for each subscriber > again whereas they can share the same vlan with v4. => no, a vlan should map to a subnet (link in IPv6 terms). Thanks Francis Dupont <fdup...@isc.org> PS: the interfaces-config global clause specifies inte

Re: [Kea-users] classless in-addr.arpa

2018-01-11 Thread Francis Dupont
ddns-rev-domainname is marked as not translatable in the migration assistant... In the Kea code (d2_cfg_mgr.*) the constant has a @todo saying it should be configurable so you should ask for this. Now we have a lot of things to do for the current release and limited man-power... Regards Francis

Re: [Kea-users] DHCP6 subnet select fails. Basic config

2018-01-11 Thread Francis Dupont
se in your subnet6 (I assume clients are directly connected as you didn't mention relays). Without it no subnet is selected or with other words the server has no idea about where is the client... Regards Francis Dupont <fdup...@isc.org> PS: a /80 pool is not a problem. _

Re: [Kea-users] allow only the IP specified by circuit-id?

2018-01-08 Thread Francis Dupont
ay "No, ONLY > assign this IP given this circuit ID"? => you can try to set match-client-id to false but if the hardware address is different IMHO only you first idea will work: to get back the same lease the lease must have expired... Thanks Fra

Re: [Kea-users] allow only the IP specified by circuit-id?

2018-01-08 Thread Francis Dupont
the expected behavior. > How do I make Kea only ever hand out that IP for the > circuit-id? Something with lease expiration maybe? => the simplest is to make a host reservation using the circuit-id as the identifier and specifying what IP address is (statically) assigned. Thanks

Re: [Kea-users] circuit-id?

2018-01-05 Thread Francis Dupont
=> 332F322F312F is 3/2/1/ i.e. there is not the trailing vlan 800. > What do I not understand? => IMHO there is not in packets what you expected. I recommend to check the real content with another tool (tcpdump, wireshark, tshark, etc) which ca

Re: [Kea-users] VIVSO and use with client classification

2017-12-31 Thread Francis Dupont
0, > > > > => if it does not bug it should! > > > > Hmm...the configuration was accepted. I can look in the logs, hopefully it > was gracefully handled and ignored. => I have to see how code 0 is handled. It is forbiden in most of spaces but not in VIVSO suboptions according to the standard. Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client classification substring match

2017-12-30 Thread Francis Dupont
there a sample "hello world" hook to start from? ;) => src/hooks/dhcp/user_chk (which was designed in this purpose) and src/hooks/dhcp/lease_cmds (more about lease management). Thanks Francis Dupont <fdup...@isc.org> ___ Kea-u

Re: [Kea-users] execute scripts and kea

2017-12-30 Thread Francis Dupont
ent/mac address or the current transaction id => you hoped DHCP would be different... (:-) > Is there a way around this limitation? => an easy one: run a server per shared network (or subnetwork if you have no shared networks). Note this allows too to reuse the same (private) address space too.

Re: [Kea-users] VIVSO and use with client classification

2017-12-20 Thread Francis Dupont
uot;type": "string" >}, > { >"code": 42623, => it will bug. In fact you don't need this definition. >"encapsulate": "onie", >"name": "vivso-onie", >"space": "dhcp4", >"type": "empty" >}, >{ >"code": 0, => if it does not bug it should! >"name": "vivso-iana", >"space": "dhcp4", >"type": "string" >} Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client classification substring match

2017-12-20 Thread Francis Dupont
;). Is there a documentation saying "end"? > Thoughts? => I am afraid you did read the right documentation... Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] log the dhcp options the client requests

2017-12-18 Thread Francis Dupont
ourse you can log the request details (but not only PRL / ORO) or write a hook doing this (it is possible the log statement will be implemented as a hook). Note you can post a feature request (or wrote the hook code and make a pull request for it on github). Regards Francis Dupont <fdup...@isc

Re: [Kea-users] bind kea to non-local IP

2017-12-14 Thread Francis Dupont
t come time to renew its IP address, it contacts its > last DHCP server and if that server doesn't respond, it gives up. => it is a clear (but common) violation of the protocol both at the letter and in the spirit. Perhaps it is the reason DHCPv6 requires the use of multicast?

Re: [Kea-users] bind kea to non-local IP

2017-12-14 Thread Francis Dupont
Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] bind kea to non-local IP

2017-12-14 Thread Francis Dupont
Kea is like 99.99% of network servers I know: it binds only to local addresses as required by the standard socket API. Regards Francis Dupont <fdup...@isc.org> PS: I am sure you'll get the same problem with bind9 for instance. ___ Kea-users m

Re: [Kea-users] Kea LFC not executed anymore after some time (Kea 1.2.0) + other timers

2017-12-04 Thread Francis Dupont
I have to verify in the code but it seems to be the result of a lost signal... BTW there is a known race in signal handling with at least a ticket (#4068), if we are lucky it could be enough to address it. Regards Francis Dupont <fdup...@isc.org> PS: strace (Linux), ktrace (BSD),

Re: [Kea-users] Equivalent to ISC dhcpd "not authoritative"?

2017-11-24 Thread Francis Dupont
the subnet4_select point, and drop the NAK at pkt4_send. If there is enough interest we can develop a premium hook code. Regards Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Does anybody use Debian stretch as OS?

2017-11-22 Thread Francis Dupont
Can you fill an entry in "Install Kea from sources" in the wiki (http://kea.isc.org/wiki/Install)? Thanks Francis Dupont <fdup...@isc.org> PS: we should keep these more up to date (:-)... ___ Kea-users mailing list Kea-users@lis

Re: [Kea-users] limiting how many leases someone can get

2017-11-15 Thread Francis Dupont
you can add with a hook). Regards Francis Dupont <fdup...@isc.org> PS: I create a new ticket #5433 and added a reference to it in the migration assistant (which of course translate it into a comment so it does not help you). ___ Kea-users mailing list

Re: [Kea-users] lease time

2017-11-15 Thread Francis Dupont
ned :-) it is possible but IMHO it is simpler to ask a new feature making timers settable per client classes. Regards Francis Dupont <fdup...@isc.org> PS: I have a good idea you'd like to do this but it will be even better if you can describe a real worl

Re: [Kea-users] ignore the broadcast flag in a discover and response with unicast

2017-11-13 Thread Francis Dupont
It requires to write code but it does not strictly require C++ code even it this case it will be simpler than to master interfaces between C++ and "external" languages as Python, OCaml, Lua or V8 cf. the fdxhook branch available on github where I describe such experiment. Regards Fran

Re: [Kea-users] one interface, multiple subnets

2017-10-27 Thread Francis Dupont
I am afraid we have not yet a lot of feedback on shared networks (and 1.3 release is not yet out even it should be very very soon). Thanks Francis Dupont <fdup...@isc.org> PS: I'll be able to say more about the ISC DHCP to Kea Migration Assistant but I didn't yet update the shared n

Re: [Kea-users] DDNS update for win10 clients

2017-10-22 Thread Francis Dupont
Thomas Markwalder writes: > However this will override the flags for all clients. => note there is a ticket about making dhcp-ddns setting local from a similar feature in ISC DHCP (e.g. in a client class matching MSFT vendor class). Regards Francis Dupont <fdup...@isc.org> PS:

Re: [Kea-users] DDNS update for win10 clients

2017-10-21 Thread Francis Dupont
understand what is different so perhaps wrong. Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Subdividing a subnet based on class

2017-10-20 Thread Francis Dupont
the subnet into two subnets with their own pools and a match for one of the classes. Note the user/admin guide has a section about this with the same kind of problem to solve. Thanks Francis Dupont <fdup...@isc.org> PS: there is not yet a magic way to combine client classes even I think a

Re: [Kea-users] Kea vivso-suboption

2017-10-20 Thread Francis Dupont
t;vendor-encapsulated-options", > "csv-format": false > } > ] > => vendor-encapsulated-options space is (in fact now was in 1.3) the space for the option 43. Option 125 is managed with the vendor-4491 space. Look at

Re: [Kea-users] lease4_select - hook

2017-10-18 Thread Francis Dupont
t manager. Thanks Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] one interface, multiple subnets

2017-10-16 Thread Francis Dupont
t;10.1.2.0/24", "option-data": { { ... } ], "pools": [ ], "reservations": [ { "hw-address": "1a:1b:1c:1d:1e:1f", "ip-address": "10.1.2.1" }, ... Look at the devel version of the user/admin's guide section 8.4.3. Regards Francis Dupont <fdup...@isc.org> ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] static routes

2017-10-04 Thread Francis Dupont
array of IPv4 addresses. BTW the Kea definition does not catch the fact addresses come by destination+gateway pairs but this should not be a problem... Regards Francis Dupont <fdup...@isc.org> PS: this is no easy when to express this kind of constraints and BTW it i

Re: [Kea-users] timers defined on gloval scope are not exported with the get-config command

2017-10-03 Thread Francis Dupont
timer values are configured and a default value copied from the global scope is not configured? Regards Francis Dupont <fdup...@isc.org> PS: if the action of deriveParams (src/lib/cc/simple_parser.h) is misleading we have somewhere the code of a factorParams doing the opposite. It was

Re: [Kea-users] DHCPv6 Relay listens on multicast and link-local only

2017-10-02 Thread Francis Dupont
I gave the ticket #4539 "kea-dhcp6 must join All_DHCP_Servers too" another chance... Regards Francis Dupont <fdup...@isc.org> PS: I put it on the kea-proposed milestone so it will be put in Kea 1.3 final (i.e., addressed before 1.3 release), Kea 1.4 or back in Out

<    1   2   3   >