[Kea-users] Deprecating libreload command

2023-01-19 Thread Tomek Mrugalski
to learn something that's about to go way, see: https://kea.readthedocs.io/en/kea-2.2.0/api.html#ref-libreload If you have any feedback on this, please post it ether here or in the Kea#2693 ticket (https://gitlab.isc.org/isc-projects/kea/-/issues/2693). Cheers, Tomek Mrugalski ISC -- ISC funds

Re: [Kea-users] KEA SUPPORT DHCPv4 OVER NETCONF

2021-05-11 Thread Tomek Mrugalski
On 06.05.2021 14:39, Tomek Mrugalski wrote: > On 06.05.2021 09:26, Onur GURSOY wrote: >> I saw this >> example: https://kb.isc.org/docs/building-a-kea-testbed-with-netconf >> <https://kb.isc.org/docs/building-a-kea-testbed-with-netconf>. >> >> I'm wondering

Re: [Kea-users] KEA SUPPORT DHCPv4 OVER NETCONF

2021-05-06 Thread Tomek Mrugalski
On 06.05.2021 09:26, Onur GURSOY wrote: > I saw this > example: https://kb.isc.org/docs/building-a-kea-testbed-with-netconf > . > > I'm wondering one thing: > Is it possible to use kea dhcpv4 server with sysrepo with netopeer for >

Re: [Kea-users] Hooks-libraries

2021-04-28 Thread Tomek Mrugalski
On 28.04.2021 18:29, Makhdoom Naeem wrote: > I am working from home lab to learn about kea-dhcp server. I have > configured kea-dhcp4 and mysql server. But I have faced some problems > regarding hooks-libraries. How do I install and configure them? Hi Makhdoom, Many of the problems you are

Re: [Kea-users] Dhcpv6 with mysql (revision_id)

2021-03-11 Thread Tomek Mrugalski
On 10.03.2021 15:48, João Butzke wrote: > Hi, im trying to insert a new dhcp6_subnet on the kea database, im > getting this error: ... > > The procedures and triggers are created on the mysql server, any ideias? The schema for config backend is complicated, because it was designed for Kea to be

Re: [Kea-users] Multiple mac-addresses for the same IP

2021-03-08 Thread Tomek Mrugalski
I was reviewing old posts and found this one. The original poster surely moved on, but perhaps the answers will be of use to some readers. On 24.06.2020 08:52, iztok Gregori wrote: > We are in the process to migrate our ISC DHCPD servers to KEA (using > mariadb as backend). Everything worked fine

Re: [Kea-users] Client class in host reservation

2021-02-25 Thread Tomek Mrugalski
Hi Maria, Hope you're doing well. Apologies for not responding earlier. We looked at the issue and it seems the code treated the client classes differently for options and fixed fields, such as boot-file-name. This problem manifested itself if a packet belonged to two classes and you had the

Re: [Kea-users] KEA instances with shared database

2020-12-14 Thread Tomek Mrugalski
On 12.12.2020 10:55, Emile Swarts wrote: > Thanks for getting back to me. My assumptions about the in-memory > state was largely based on this conversation: > https://lists.isc.org/pipermail/kea-users/2017-December/001528.html > > Also point 4 on this page states: >

Re: [Kea-users] KEA instances with shared database

2020-12-11 Thread Tomek Mrugalski
On 11.12.2020 18:12, Emile Swarts wrote: > I've looked at implementing multiple KEA instances with a shared database. > I realise that this current setup will hand out overlapping IPs because > the leases are stored in memory not in the database. Where did you get this impression from? This is

Re: [Kea-users] kea-packaging

2020-11-17 Thread Tomek Mrugalski
On 16.11.2020 22:18, Dirk Laurenz wrote: > i found the kea-packaging repo and especially the Debian files there. I > want to use them for building a kea dep package für Debian buster on > armhf (Raspbian). > > Is there any short tutorial how to use it? Not really. Vicky pointed out a KB article,

Re: [Kea-users] dynamic router options in reply

2020-07-17 Thread Tomek Mrugalski
You can use flex-option for that. See https://kea.readthedocs.io/en/kea-1.7.9/arm/hooks.html#flex-option-flexible-option-for-option-value-settings The expression you are looking for should be very simple: "pkt4.giaddr" if you want to use the giaddr field or "pkt.src" if you want to use source IP

Re: [Kea-users] KEA-ANTERIUS - WEB INTERFACE

2020-07-16 Thread Tomek Mrugalski
On 15.07.2020 15:41, José Luís wrote: I really took a look on "stork" and it's really powerful. But what I want is something simple, just to view, not monitor, like a simple localhost in the kea-machine. So you want to run everything locally? You can deploy stork agent and server on the same

[Kea-users] Looking for QA/Support engineer for Kea

2020-07-10 Thread Tomek Mrugalski
to detail, and a methodical approach are critical. The primary software of interest will be Kea, with some sporadic exposure to Stork, ISC DHCP and BIND 9. This is a x§remote job. Details: https://isc.recruitee.com/o/qasupport-engineer-for-dhcp Cheers, Tomek Mrugalski ISC

Re: [Kea-users] isc_kea: Reuse same IP for a host

2020-06-02 Thread Tomek Mrugalski
Hi, Kea does not allocate anything when processing SOLICIT. It only picks an address, does all the checks (checks if there's a reservation for this specific client, that the address is not used by anyone else, not reserved, etc) and sends it back in ADVERTISE. The client is supposed to send

Re: [Kea-users] Storing host reservation in custom database

2020-06-01 Thread Tomek Mrugalski
On 31.05.2020 13:06, Marcin Romanowski wrote: In my database I have that table name already so I can prepare view but this cannot be named 'hosts" but kea make SELECT on this table :( Kea expects the tables to match exactly with the provided schema. There is no way to tell Kea to use a

Re: [Kea-users] Kea radius

2020-06-01 Thread Tomek Mrugalski
On 30/05/2020 17:01, Dajka Tamás wrote: > Hi Marcin, > >   > > AFAIK, those are available after you purchase them: > >   > > https://www.isc.org/shop/ > Premium hooks (host_cmds, flex-id and forensic-logging) can be purchased as a package. However, several others (cb-cmds, RADIUS, subnet-cmds,

Re: [Kea-users] i do not understand the concept of shared networks

2020-03-11 Thread Tomek Mrugalski
On 11/03/2020 14:40, Giso Kegel wrote: > The most important sentence here is that > "...In all of the above, there is no mention of Host Reservations..." > for me it is exactly the use case that almost all the subnet definitions > are host reservations. I think you are confusing two things. Subnet

Re: [Kea-users] kea error code 1292

2020-03-08 Thread Tomek Mrugalski
On 07/03/2020 19:12, Satish Patel wrote: > We are running kea-1.3 with mysql backend Sorry, I've stopped reading just there. 1.3 is ancient. There has been 4715 commits since 1.3.0 went out. Lots and lots of changes, including many in MySQL and lease manager. Take a look at the changelog here:

Re: [Kea-users] Question about libdhcp_lease_cmds.so library

2020-01-22 Thread Tomek Mrugalski
On 22/01/2020 11:57, DIN Support TRIMBORN Alexandre wrote: > I have a question about premium libraries. > > In the documentation, the Kea Premium Hooks package also provides the > libdhcp_lease_cmds.so library. Huh? Can you point to specific place where it says that? The whole lease-cmds is open

Re: [Kea-users] About Stateless DHCPv6 settings.

2019-08-27 Thread Tomek Mrugalski
On 27.08.2019 14:16, Yoshihito Horigome wrote: > I am trying to configure stateless DHCPv6 with reference to the > documentation[1]. > > When set, "Sorry, no prefixes could be allocated." Is output, and a > message indicating that allocation is not possible is output. > 2019-08-26 20:40:39.271

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

2019-08-22 Thread Tomek Mrugalski
On 22.08.2019 13:16, Munroe Sollog wrote: > Just a bump to see if any progress has been made in allowing servers > to log the options a client requests. Thanks for bringing this up. That's interesting and a bit dangerous request, especially if misconfigured. What exactly would you like to see in

Re: [Kea-users] Extracting vendor-specific suboptions in hooks

2019-07-12 Thread Tomek Mrugalski
On 29/05/2019 22:32, Dave M wrote: > My problem is with the hook. I want to dynamically assign the boot-file > and server based on MAC address and model information (option 43, > suboption 9) and potentially software version (option 43, suboption 6). > > I will therefore need to extract these in

Re: [Kea-users] IP address conflict handling

2019-05-23 Thread Tomek Mrugalski
On 23.05.2019 17:27, Pavel Zhukov wrote: > Hello, Hey Pavel, > I'd like to raise this topic again. > There is old thread > https://lists.isc.org/pipermail/kea-users/2017-February/000850.html on > this topic. > > Looks like both server (kea) and client (NetworkManager [1] in my > case) rely on

Re: [Kea-users] use of option 82, relay4[1].hex

2019-05-23 Thread Tomek Mrugalski
On 23/05/2019 09:41, agiimaa.b wrote: > "test": "relay4.[1].hex == 485754435096C50A", 485754435096C50A is being interpreted as decimal number. Try this: relay4.[1].hex == 0x485754435096C50A Tomek ___ Kea-users mailing list Kea-users@lists.isc.org

Re: [Kea-users] Kea 1.5 Package Issues in Fedora Server 30

2019-04-26 Thread Tomek Mrugalski
On 26/04/2019 14:28, Brant Ian Stevens wrote: > I filed a bug report a few weeks ago, and forgot to cross-post to the list. > > I ran into a couple of problems that I hope someone from the development > team can take care of: > > https://bugzilla.redhat.com/show_bug.cgi?id=1699408 Hi, This

Re: [Kea-users] Duplicate Addresses, address pool exhaustion with DHCPDECLINE flood

2019-04-18 Thread Tomek Mrugalski
On 18/04/2019 15:16, Alberto Pollastro wrote: > I agree with Kari; it could be useful to have an option which permits to > ignore the DHCP DECLINE messages like the one present in ISC dhcpd > ("declines" keyword in config file: > https://www.isc.org/wp-content/uploads/2018/02/dhcp44.html). >

Re: [Kea-users] [GSoC 19] Leasequery Project

2019-04-01 Thread Tomek Mrugalski
Hi Athreya! Thanks for your interest in the project. Please see my earlier responses on kea-dev to another student interested in the same topic: https://lists.isc.org/pipermail/kea-dev/2019-March/000924.html https://lists.isc.org/pipermail/kea-dev/2019-March/000927.html Welcome to the Kea

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

2019-02-14 Thread Tomek Mrugalski
On 14.02.2019 15:37, ѽ҉ᶬḳ℠ wrote: > The current dnsmasq ipv/4/ leases (still in place) supposedly showing > client identifier, e.g. > ff:a9:13:fb:9b:00:02:00:00:ab:11:f0:18:bd:02:af:a5:19:a1. > Perusing online resources has not cleared up for me whether there is a > correlation between DUID and

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

2019-02-14 Thread Tomek Mrugalski
On 14.02.2019 12:20, ѽ҉ᶬḳ℠ wrote: > Though perhaps a bit off topic, please bear with me, I have been > wondering about DUID in ipv4 since thought that it would be only > applicable to ipv6? That was the original idea. But then the reality kicked in. The primary use case for DUIDs in ipv4 is to be

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

2019-02-14 Thread Tomek Mrugalski
On 14.02.2019 09:14, ѽ҉ᶬḳ℠ wrote: > being in the process of migrating from dnsmasq I have been looking for > an option in Kea to limit a particular subnet to static leases only, > something similar to dnsmasq's > dhcp-range=static <, but after having > perused the Kea admin documentation could not

Re: [Kea-users] Seffault Crash

2019-02-11 Thread Tomek Mrugalski
; libkea-dhcp++.so.8.0.0[7fabaad39000+fc000]* Sadly, this information is useless if we don't have extra information. Is there a core dump? If there is, please attach the core dump to the bug report. Thanks for reporting this issue, Tomek Mrugalski ISC ___ K

Re: [Kea-users] ddns fails with powerDNS (Failed PreRequisites check)

2019-02-06 Thread Tomek Mrugalski
On 06.02.2019 18:03, Jason Guy wrote: > records. It would be nice if there was a knob in kea-dhcp-ddns > configuration to turn off the creation of DHCID records. Can you submit a request for this? https://gitlab.isc.org/isc-projects/kea/issues I can't make any promises yet, but it is likely that

Re: [Kea-users] Raspberry PI 3B+ as DHCPv4 & DHCPv6 HA pair - auto start issue

2019-01-25 Thread Tomek Mrugalski
Hi Russell, One CA is able to interface with dhcp4 and dhcp6. Why do you want to run two of them? Is this about listening on v4 and v6 sockets? We could talk about some extension to control agent, so it would maintain two sockets. Would such a thing address your problem? Also, for the specific

Re: [Kea-users] DHCPv6 Reconfigure?

2018-12-18 Thread Tomek Mrugalski
On 17.12.2018 22:59, Templin (US), Fred L wrote: > Hi Tomek, > > Thanks for the response. It sounds like there are no technical issues that > would > prevent the implementation of Reconfigure in kea - rather, it is a > prioritization > and resource question which is always the case for any

Re: [Kea-users] DHCPv6 Reconfigure?

2018-12-17 Thread Tomek Mrugalski
On 17/12/2018 17:21, Templin (US), Fred L wrote: > Hi, does kea have support for DHCPv6 “Reconfigure” messaging? No. One of the GSOC projects in 2019 was to implement reconfigure. That project made significant progress and implemented major parts of the code, but there is still non-trivial part to

Re: [Kea-users] Can't connect to Cassandra

2018-12-14 Thread Tomek Mrugalski
On 14/12/2018 11:26, Hreiðar Jóelsson wrote: > Hi, has anyone seen this error before? I‘m trying to connect to > Cassandra. I did build KEA using the latest Datastax driver from github. The latest means 2.11? I haven't updated my cassandra setup in a while and I'm still on 2.8. Can you submit a

Re: [Kea-users] redis DB support

2018-12-07 Thread Tomek Mrugalski
On 07.12.2018 05:50, Chinnapaiyan, Nagamani wrote: > Is there any plan to support redis DB as backend for kea dhcp server? > Freeradius uses it to get more faster rate… Not at this time. Adding additional backend brings in a lot of initial integration work and then ongoing maintenance effort that

Re: [Kea-users] lease4 table additional connection to mysql

2018-12-04 Thread Tomek Mrugalski
On 04.12.2018 13:06, sven.roeh...@web.de wrote: > currently I'm working on a hook for kea dhcpv4 to differentiate between > privileged/unprivileged leases. > > I'm reading the hardware address and relay agent id (dhcp option 82) out in > the pkt4_send hook and save it for use in the pkt4_receive

Re: [Kea-users] KEA dhcp and BIND with ddns

2018-12-04 Thread Tomek Mrugalski
On 04.12.2018 11:31, Thomas Andersen wrote: > We are already live with kea DHCP and have always used BIND for dns. Great! > Is it possible to use DDNS to make client host names resolve in BIND dns? Sure. You need to do start dhcp-ddns daemon (often nicknamed d2) and tweak couple knobs in DHCP

Re: [Kea-users] Remote debugging in KEA

2018-11-02 Thread Tomek Mrugalski
On 02/11/2018 15:50, Hreiðar Jóelsson wrote: > thanks, I was not able to get gdb working remotely with Clion but I > managed to get some trace of the crash by running it locally on the > server. The problem is that I’m not sure what to make of it  See some tips below. > Thread 1 "kea-dhcp4"

[Kea-users] Kea hackathon in Gdansk

2018-09-04 Thread Tomek Mrugalski
over a month away. If you don't have anything more urgent planned, we'd be happy to talk, design, hack code and perhaps have some beer together. Thanks and hope to see you in October in Gdansk! Tomek Mrugalski ISC ___ Kea-users mailing list Kea-users

Re: [Kea-users] DHCP4_PACKET_NAK_0001 error for DHCPDISCOVER

2018-08-09 Thread Tomek Mrugalski
On 09.08.2018 15:50, McBride Lawrence wrote: > Suffice it to say I needn’t have asked the question if I had looked > closer at all of the error messages because it was obvious that the > subnet was not recognised by the server due to yet more f*%g config > file syntax errors with misplaced commas,

Re: [Kea-users] REST calls 'config-set'

2018-07-26 Thread Tomek Mrugalski
On 26.07.2018 01:35, Phoebe Lee wrote: > When issuing the 'config-set' rest API command to the CA to write new > configurations to our server, is there a method of retrieving the new > configurations (written by the rest-api)?  > > After issuing a 'config-set' we are not able to issue a

Re: [Kea-users] [Kea] subnet or shared network selected for multiple relays

2018-06-22 Thread Tomek Mrugalski
Reviving an old thread, hopefully with some good news. On 24/11/2017 17:46, Chaigneau, Nicolas wrote: > I would like to configure a subnet shared by multiple relays, i.e. that > would be chosen for several “giaddr” values. > > If I’m not mistaken, this was not possible with the basic “subnet4” >

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

2018-06-18 Thread Tomek Mrugalski
On 18/06/2018 01:07, Satish Patel wrote: > I have configured kea 1.3.0 with mysql and everything works but after > few hours found kea is dead and spotted following error in log, I have > check everything mysql running fine everything looks good in DB. > > 2018-06-15 11:48:55.798 INFO

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

2018-06-13 Thread Tomek Mrugalski
When talking to the Debian maintainer, you may also mention that 1.4.0 is around the corner. Unless we hit something very unexpected, it should be released this Friday. Tomek On 13/06/2018 16:32, Kevin Olbrich wrote: > Package version on debian is still 1.1.0 on all branches. > I sent an email

Re: [Kea-users] option 67

2018-04-24 Thread Tomek Mrugalski
On 24/04/2018 14:48, Bob Harold wrote: > If the client did not request it, then it probably won't understand it > even if you send it.  If it does understand it, then it should have > asked for it.  Or am I missing something? In a general case yes - you are correct. However, there are some buggy

Re: [Kea-users] option 67

2018-04-24 Thread Tomek Mrugalski
On 24/04/2018 14:19, itay cohen wrote: > greetings all > > can i send option 67 back to the client even if its not requesting it > (with option 55) ? Yes. See always-send flag. > 8.2.8. Standard DHCPv4 Options Did you read it? The answer is in that section you cited. Tomek

Re: [Kea-users] Option82

2018-03-16 Thread Tomek Mrugalski
.org/job/Kea_doc/guide/kea-guide.html#flex-id). Hope that helps. Tomek Mrugalski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Multi-tenancy in Kea

2018-03-08 Thread Tomek Mrugalski
On 07/03/2018 15:47, Jason Guy wrote: > Hi Tomek, > > Are you referring to VRF support when you say Multi-Tenancy? No. Long time ago one company approached us asking about support for many hotspots, each using the same overlapping address space. Kea would see the packets coming from different

Re: [Kea-users] Multi-tenancy in Kea

2018-03-07 Thread Tomek Mrugalski
Hi Rob, I did a little experiment. With a bit of code tweaking, I managed to force Kea to load two identical subnets that only differed in relay IP address. It started all fine and I was able to get leases in each subnet. There's one major caveat, though. Allocation engine, the core part of the

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

2018-02-27 Thread Tomek Mrugalski
socat - UNIX:/tmp/kea4-ctrl-socket Does the response to this lists the reservation-* commands? If not, we will continue investigating. If yes, great! No matter what the outcome is, I'd appreciate a lot if you let us know how did it go. On a related note, we need to describe the installation

Re: [Kea-users] What is the relation between Kea version and PostgreSQL schema version ?

2018-02-27 Thread Tomek Mrugalski
On 02/27/18 16:26, Stéphane Klein wrote: > Hi, > > I see schema version in PostgreSQL init file: > https://github.com/isc-projects/kea/blob/master/src/share/database/scripts/pgsql/dhcpdb_create.pgsql > > schema version 1.0, 2.0, 3.0 and 4.0. > > What is the relation between Kea version and

Re: [Kea-users] How to insert properly hosts in Kea PostgreSQL database?

2018-02-27 Thread Tomek Mrugalski
On 02/27/18 15:38, Stéphane Klein wrote: > Do you have example how to insert properly my host in Kea PostgreSQL > database? Have you read this http://kea.isc.org/wiki/HostReservationsHowTo? Tomek ___ Kea-users mailing list Kea-users@lists.isc.org

Re: [Kea-users] SQL host reservations (Kea 1.3.0)

2018-01-17 Thread Tomek Mrugalski
On 01/17/18 17:44, Tobias - wrote: > Great! How could I have missed that? That's exactly what I've been > looking for. I just didn't dig deep enough I guess. We should probably make this page a part of the user's guide. Would that be easier to spot? Also, there will be similar wiki page (or

Re: [Kea-users] Subnet Addresses via Kea API?

2018-01-03 Thread Tomek Mrugalski
W dniu 03.01.2018 o 20:16, Duane Wylie pisze: > I'm attempting to put together a process that would report DHCP pool > utilization.  Per-subnet numbers are easy via the API: > > > "command": "statistic-get-all" > > > I get data in this format: > > ... > >

Re: [Kea-users] Weird stats from a shared database

2017-12-13 Thread Tomek Mrugalski
W dniu 12.12.2017 o 15:48, Munroe Sollog pisze: > Let me know if this should be a bug, but I have noticed some weird stats > when running two kea-1.3 DHCP servers from the same mysql database > (using Galera). > > I have included a screen grab of the stats. > > Between noon and 2pm yesterday we

Re: [Kea-users] How is tsid generated

2017-12-12 Thread Tomek Mrugalski
W dniu 11.12.2017 o 22:38, Munroe Sollog pisze: > Can someone help me understand how the tsid field is generated?  What is > used to generate that hash?  I’m tracking DHCP performance based on the > tsid and I’m seeing a very small percentage of long transaction time > that may be explained by

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

2017-11-15 Thread Tomek Mrugalski
On 16/11/2017 04:19, John Ratliff wrote: > I would like to replace ISC DHCP with kea. Currently, we're using > classes to put a lease limit of 1 on each household. The class is > created based on remote-id or circuit-id (option 82 information). > > Is it possible to do something similar with kea?

Re: [Kea-users] subnet scope DHCPv4 options in database?

2017-11-10 Thread Tomek Mrugalski
W dniu 10.11.2017 o 16:27, Owen Dunn pisze: > However, it seems that subnet-scope options in the dhcp4_options table > are not processed. Not supported yet. This is currently planned for 1.5. Currently (1.3) you can store options associated with host reservations. > I have my subnet (with id 29)

Re: [Kea-users] Subclass and include files

2017-10-17 Thread Tomek Mrugalski
On 17/10/2017 19:58, Sten Carlsen wrote: I use subclass for keeping a list of devices that are allowed to be given an address and depending on the class they match, they will be given a gateway or not (I want some devices to NOT be able to communicate to the Internet). Devices that do not

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

2017-10-04 Thread Tomek Mrugalski
W dniu 04.10.2017 o 17:05, itay cohen pisze: > the global timers would be returned as you defined them <-- that would > be grate. Cool. > the subnets that had those global timers applied, would return their > values as well. Would that be ok? <-- maybe add an indication to know > that is from

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

2017-10-04 Thread Tomek Mrugalski
W dniu 04.10.2017 o 06:25, itay cohen pisze: > my concern is that some parameters are configured in the config file, > and when i'm pulling the configuration via api the parameters are not there, The short answer to this is: can you submit a bug report for this on kea.isc.org? The slightly longer

Re: [Kea-users] subnet_id - what values can you use?

2017-09-13 Thread Tomek Mrugalski
W dniu 13.09.2017 o 17:59, Neil Briscoe pisze: > What values can I put in there? I have tried integers from 1000-64000, > but still complains. A full range of unsigned 32 bits integer in principle should work, but I would avoid the extreme values: 0 and 4294967295. Everything else in between

Re: [Kea-users] Dynamic options generation.

2017-09-06 Thread Tomek Mrugalski
W dniu 06.09.2017 o 16:50, Francis Dupont pisze: > Marcin Jurczuk writes: >> I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some conf >> iguration options that I don't know how to convert to kea format. > > => we have a tool doing this (it works well even there are some deep

Re: [Kea-users] Dynamic options generation.

2017-09-06 Thread Tomek Mrugalski
W dniu 06.09.2017 o 15:29, Marcin Jurczuk pisze: > Hi, > > I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some > configuration options that I don't know how to convert to kea format. > Many options in my ISC dhcp are generated "on the fly" from data retrieved > from DHCP

Re: [Kea-users] Building Kea with C++11 compiler in Centos6

2017-09-01 Thread Tomek Mrugalski
W dniu 31.08.2017 o 20:15, Gokulakrishnan Gopalakrishnan pisze: > I'm building Kea in Centos6 box, where C++11 compiler doesn't come as > default with OS. So, I installed devtoolset as mentioned > in https://hiltmon.com/blog/2015/08/09/c-plus-plus-11-on-centos-6-dot-6/ > > As per the blog, after

Re: [Kea-users] Side-loading pool configuration information from a database

2017-08-31 Thread Tomek Mrugalski
W dniu 30.08.2017 o 09:33, Daniel Corbe pisze: > I want to stick my pool configuration in the database. I don't want to > maintain it in the config file. > > Is it possible today to do this? Not yet. The capability to store subnets (and pools) in a databases is likely to be implemented in 1.5.

Re: [Kea-users] New Kea hook to call external scripts: kea-hook-runscript

2017-08-29 Thread Tomek Mrugalski
W dniu 24.08.2017 o 12:21, Baptiste Jonglez pisze: > I have developed a generic hook that calls an external script at all hook > points provided by Kea. The goal is to simplify integration with Kea: for > many simple use-cases, it is overkill to have to write a full-blown Kea > hook, where a

Re: [Kea-users] [kea-dev] Raw socket input buffer

2017-07-31 Thread Tomek Mrugalski
W dniu 31.07.2017 o 12:36, Francis Dupont pisze: > k...@jack.fr.eu.org writes: >> I have a kea4 server, version 1.1.0, I added hooks that connect >> externally (the important information : that hook is "slow", it does TCP >> connect) >> That part works well >> >> However, when the server takes too

Re: [Kea-users] using sql expression in client classification

2017-07-18 Thread Tomek Mrugalski
On 18/07/17 13:57, Francis Dupont wrote: > => use client classification is usually the best way, now Kea classification > relies only on the query packet so if another parameter is needed > a hook is required (note it is a common case so there are already > some examples. Unfortunately the idea to

Re: [Kea-users] user_chk not installed

2017-06-28 Thread Tomek Mrugalski
y library could be lost and people would complain that Kea performs poorly. Regards, Tomek Mrugalski ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Forcing a DHCP realease in Kea.

2017-06-05 Thread Tomek Mrugalski
W dniu 05.06.2017 o 14:03, Joelson Vendramin pisze: > Hello all, > > Is there a way to force a DHCP_release from the command line in Kea? There isn't one in Kea 1.2, but there will be in 1.3. They will be called lease{4,6}-del. See here: http://kea.isc.org/wiki/Commands for a high level overview.

Re: [Kea-users] Migrating from ISC DHCP

2017-06-05 Thread Tomek Mrugalski
al client-classes are applied) 2. subnet selection is conducted (classes assigned in step 1 may affect this step) 3. lease is selected from the subnet. If a client has a reservation in this subnet, it is being used. If that reservation contains client-classes, the packet is being assigned to that class. 4

Re: [Kea-users] Bind service to loopback address

2017-04-19 Thread Tomek Mrugalski
W dniu 19.04.2017 o 16:35, Jason Guy pisze: > I would like to leverage my routing on the host setup, and bind the kea > service to the loopback address I have configured. This would ultimately > allow me to deploy multiple kea servers with an "anycast" reachability. > > ip addr show lo > ... >

Re: [Kea-users] Kea DHCP anf FreeRADIUS

2017-04-18 Thread Tomek Mrugalski
W dniu 18.04.2017 o 17:35, Marcin pisze: > Hello, > Question to developers. Are there any plans to add FreeRADIUS as > authenticator and accounter server? Not at this time. It could be done with hooks. It would require a fair bit of coding. IIRC this is the first time a radius integration was

Re: [Kea-users] DHCPv6 allocations (IA_NA and IA_PD) based on interface-id (relay Option 18) [update: solution provided]

2017-04-03 Thread Tomek Mrugalski
W dniu 31.03.2017 o 19:21, Joelson Vendramin pisze: > Just to update you that I found a (possible) solution for the > configuration I posted yesterday. Maybe it's not the "best" or most > "elegant" solution, but it worked as I expected. Basically I'm using > "/128 IPv6 subnets" and the

Re: [Kea-users] problem in custom option

2017-03-30 Thread Tomek Mrugalski
On 30/03/17 10:42, Francis Dupont wrote: > Known and fixed defect: > > 1213. [bug] fdupont > Option string values containing comma can now be specified > correctly by preceding comma with double backslashes (e.g. > "foo\\,bar"). > (Trac #5105, git

Re: [Kea-users] Saving additional information on the lease info

2017-03-27 Thread Tomek Mrugalski
On 27/03/17 08:27, Egi K wrote: > What I would like to achieve is storing also the interface-ID on the > lease entries when i am using prefix delegations. Because i can see the > lease information for the end client, but i cant find out a way to > relate this end-client to the device which is

Re: [Kea-users] from dhcpd to kea; classes and subclasses

2017-02-23 Thread Tomek Mrugalski
W dniu 23.02.2017 o 13:58, Philippe Maechler pisze: > > Hello Kea-Users > > > > We’re running two pairs of dhcpd in our cable and fibre network. The > setup or the config file gets more and more complex and hard to debug > or make new stuff. > > Since we want to use reserved leases and often

Re: [Kea-users] Multiple ipv6 addresses/prefix reservations

2017-02-23 Thread Tomek Mrugalski
W dniu 23.02.2017 o 11:35, Olivier Clavel pisze: > On http://kea.isc.org/wiki/KeaKnownIssues I see that /"/Static > reservation of multiple IPv6 addresses or multiple IPv6 prefixes is not > supported." was specified for versions up to 1.0.0 but as been removed > on 1.1.0. Does that mean I can

Re: [Kea-users] dhcpsrv folder missing in include dir

2017-02-23 Thread Tomek Mrugalski
W dniu 23.02.2017 o 12:47, Rui Pedro Caldeira pisze: > Hello guys, I come for assistance once again. I'm building kea 1.1.0 and > after the build process I'm missing the dhcpsrv folder inside the > include dir. Without that I cannot link with the lease4_select hook to > get the Lease4Ptr object.

Re: [Kea-users] leasequery and PD reservations

2017-02-15 Thread Tomek Mrugalski
W dniu 15.02.2017 o 15:37, Torbjörn Eklöv pisze: > Thanks. I get remote-id and client-id in the log now but there are more > issues that prevents me from using it in production. > I miss this now: Ahhh, new requirements. > - leasequery We don't have this planned. It's not a frequently requested

Re: [Kea-users] kea-dhcp6 option 18 and 37 logging

2017-02-10 Thread Tomek Mrugalski
W dniu 01.02.2017 o 09:49, Torbjörn Eklöv pisze: > I have tested to set debug level to 45 and up to 65 on ”*” , > ”kea-dhcp6” and ”kea-dhcp6.packets” but I can’t see the remote-id in > the log. In a tcpdump I can see both option 18 and 37 but I can’t see > them in the log. That issue

Re: [Kea-users] IP address conflict handling

2017-02-10 Thread Tomek Mrugalski
W dniu 09.02.2017 o 00:07, Klaus Steden pisze: > Thanks! That was a terrific explanation. Where does Kea store the record > for the "hijacked" address? Does it live in the existing lease table, or > somewhere else (we're using MySQL as the backend, so I don't know if it > will be visible in the

Re: [Kea-users] Select subnet based on reservation?

2017-02-08 Thread Tomek Mrugalski
W dniu 08.02.2017 o 16:18, Bryan Perry pisze: > Since getting this library functional in May I have had roughly 6 to 8 > instances where the Kea process just dies and goes away. I am not sure > why or if it is an issue with my library, kea itself or the CentOS > machine it's running on. After the

Re: [Kea-users] Combining config files

2017-02-06 Thread Tomek Mrugalski
On 06/02/17 22:02, Thomas Markwalder wrote: > On 2/6/17 3:38 PM, James Sumners wrote: > Kea 1.2, due out this April, will support an include directive. We have > refactored the configuration parsing and the directive was one of the > enhancements made. You will also be able to use C++ style

Re: [Kea-users] PostgreSQL lease management

2017-02-01 Thread Tomek Mrugalski
W dniu 01.02.2017 o 22:09, James Sumners pisze: > Is there a document that describes how the leases database is managed > when it is stored in PostgreSQL? In particular, I want to look at the > queries that are involved, so something like [1] would be great. > > I want to devise a trigger to

Re: [Kea-users] Need help defining custom options

2017-01-31 Thread Tomek Mrugalski
W dniu 31.01.2017 o 14:36, James Sumners pisze: > Documentation wouldn’t be too difficult: > > When the |data| field is a |string|, and that string contains the > comma (|,|; U+002C) character, the comma must be escaped with a two > reverse solidus characters (|\\|; U+005C). For

Re: [Kea-users] Need help defining custom options

2017-01-31 Thread Tomek Mrugalski
to run git version of the code? I can review the fix and it could be ready in couple days. If not, would a patch backported to 1.1.0 be ok? Tomek Mrugalski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Option-82-based reservation with remote-id

2017-01-31 Thread Tomek Mrugalski
W dniu 31.01.2017 o 18:28, Rui Pedro Caldeira pisze: > Hello, I'm using Kea 1.1.0 and i need to make reservations based in the > both option-82 parameters, circuit-id and remote-id. > I already know how to place the circuit id in the config file, but there > is no place to place the remote id.

Re: [Kea-users] Query regd access controls

2017-01-18 Thread Tomek Mrugalski
Ok, I suppose that's it. Does any of the above answer your question? On a related note, the page you referenced is 3 years old. It probably requires some refresh. Tomek Mrugalski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] mysql connection in hooks

2016-12-23 Thread Tomek Mrugalski
me situation... It's better than what we had when we started 1.0 milestone (I remember north of 450 tickets), but there's still a lot of outstanding things to do. Tomek Mrugalski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc

Re: [Kea-users] Meaning of "client-class" in subnet?

2016-11-21 Thread Tomek Mrugalski
lusive for that client class. To use a subnet with defined client-class, the incoming packet has to be both topologically correct for the subnet AND belong to the client class. > In other words, would other clients be able to obtain addresses in that > subn

Re: [Kea-users] Default configuration for kea-lfc

2016-11-21 Thread Tomek Mrugalski
http://kea.isc.org/ticket/5014). To wrap this up, if you open a ticket, I can have the configs updated in no time. Fixing the default value will take longer, but that's definitely something we will have fixed in 1.2. Tomek Mrugalski ISC ___ Kea-users mailin

Re: [Kea-users] Option 82 Remote-ID

2016-10-10 Thread Tomek Mrugalski
W dniu 10.10.2016 o 18:16, Sylvan Miles pisze: > Is it possible to get the Remote ID written to the database when a lease > is written? I presume you're asking about DHCPv4, right? It's not possible with the current code. You would need to write a hook for that. Depending on how flexible you want

Re: [Kea-users] Mozilla sponsorship of Kea

2016-10-07 Thread Tomek Mrugalski
W dniu 06.10.2016 o 16:33, Shane Kerr pisze: > Thanks to Mozilla, and congratulations to the Kea team! :) W dniu 07.10.2016 o 09:05, Chaigneau, Nicolas pisze: > That's great news. And well deserved! :) Thank you for your kind words. Yes, we're very excited about that. Personally I'm very happy

Re: [Kea-users] Host Reservations and Subnets

2016-10-04 Thread Tomek Mrugalski
vation subnet-specific. It's more efficient and seems more natural this way. If host X visits subnet Y, it should get this set of parameters and addresses. If you have mobile client, you can define independent set of parameters in each subnet it is expected to visit. Hope

Re: [Kea-users] Classless static routes?

2016-10-03 Thread Tomek Mrugalski
eed to use "uint8,uint8, ipv4-address". If you want to know more, this topic is discussed in detail in the Kea User's Guide, in section 7.2.9 "Custom option definitions". You probably want to take a look at the Table 7.3, too. If you need a full working example, I have uploaded one here: http://kea.isc.org/~tomek/cfg/stateless-class-routes.conf Hope that helps. Tomek Mrugalski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Get leases via hook

2016-09-20 Thread Tomek Mrugalski
W dniu 20.09.2016 o 18:55, Rui Pedro Caldeira pisze: > Hello guys, i have a question. Is there any way I can get all leases > from kea in a hook library code? No. We're not aware of any use case that would require getting all the leases at once, so this capability is not currently supported. Do

  1   2   >