In 2011 I've opened ISC-Bug #23069 (Memory leak in handling OMAPI messages OMAPI_OP_STATUS) and posted patch which solves OMAPI memory leak problem. Patch is attached.<br><br>Serghei Samsi<br><br><div class="gmail_quote">
2012/4/4 Randall C Grimshaw <span dir="ltr"><<a href="mailto:rgrimsha@syr.edu" target="_blank">rgrimsha@syr.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ditto, with the exception that we did use omapi in a captive portal implementation which required custom coded middleware to work around a memory leak in omapi.... thus I feel justified in avoiding omapi when possible.<br>
<br>
Randall Grimshaw <a href="mailto:rgrimsha@syr.edu" target="_blank">rgrimsha@syr.edu</a><br>
________________________________________<br>
From: dhcp-users-bounces+rgrimsha=<a href="mailto:syr.edu@lists.isc.org" target="_blank">syr.edu@lists.isc.org</a> [dhcp-users-bounces+rgrimsha=<a href="mailto:syr.edu@lists.isc.org" target="_blank">syr.edu@lists.isc.org</a>] on behalf of John Wobus [<a href="mailto:jw354@cornell.edu" target="_blank">jw354@cornell.edu</a>]<br>
Sent: Friday, March 25, 2011 10:34 AM<br>
To: Users of ISC DHCP<br>
Subject: Re: netreg Revisited<br>
<br>
We rolled our own system years ago that's pretty<br>
much as you describe netreg and we have never<br>
changed from restarting dhcpd to using OMAPI. I was<br>
influenced by an on-list dhcpd developer comment that<br>
they'd like to replace OMAPI, and also I was<br>
uncomfortable with host configs in the lease file<br>
rather than the config file. Also, by regenerating<br>
the entire config file, we easily eliminate the<br>
possibility of dhcpd and our database getting out<br>
of synch. But obviously OMAPI's worked very<br>
well for many sites, who probably laugh at the<br>
hoops we jump through to avoid using it.<br>
<br>
We run a redundant pair and we restart dhcpd every 2<br>
minutes when there are config changes awaiting<br>
deployment. I think we assist ISC by exercising<br>
dhcpd in a somewhat-extreme manner.<br>
<br>
John Wobus<br>
Cornell<br>
<br>
<br>
On Mar 22, 2011, at 12:27 PM, Martin McCormick wrote:<br>
<br>
> Some years ago, Carnegie Mellon University built a<br>
> clever use of dhcp and DNS called netreg to authenticate clients<br>
> who wanted to connect to their networks. It looks like nobody<br>
> has done much to it since about 2005 and there is no mention of<br>
> failover or omapi. All updates are done the old fashioned-way.<br>
> Modify dhcpd.conf. Stop the server. Say a prayer and restart<br>
> dhcpd.<br>
><br>
> We've been asked to investigate netreg so I am asking<br>
> whether there is a modernized version that exists and makes use<br>
> of omapi for dynamic updates.<br>
><br>
> The original idea was that each network had a small pool<br>
> of dynamic leases with very short lifetimes. A client is sent to<br>
> the authentication server and, if approved, he gets put in to<br>
> the known pool. By using omapi, he could also be given a bootP<br>
> entry if the magic between authentication and approval can do<br>
> that.<br>
> We are basically looking to make sure we don't re-envent<br>
> any good wheels that have already been proven to roll.<br>
><br>
> Thanks for all constructive ideas.<br>
><br>
> Martin McCormick WB5AGZ Stillwater, OK<br>
> Systems Engineer<br>
> OSU Information Technology Department Telecommunications Services<br>
> Group<br>
> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br>