<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A DHCP Server in PHP, why not?</title>
	<atom:link href="http://angelo.dinardi.name/2009/09/09/a-dhcp-server-in-php-why-not/feed/" rel="self" type="application/rss+xml" />
	<link>http://angelo.dinardi.name/2009/09/09/a-dhcp-server-in-php-why-not/</link>
	<description></description>
	<lastBuildDate>Tue, 09 Mar 2010 02:56:08 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: osearth</title>
		<link>http://angelo.dinardi.name/2009/09/09/a-dhcp-server-in-php-why-not/comment-page-1/#comment-1990</link>
		<dc:creator>osearth</dc:creator>
		<pubDate>Tue, 16 Feb 2010 08:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://angelo.dinardi.name/?p=131#comment-1990</guid>
		<description>Great work. I love PHP and having everything written in it is terrific. I need a DHCP server sometimes like when i plug my network drive directly into my Gigabit NIC This little script could be quite handy.

You definately have a solid start. I&#039;ve always wondered about DHCP and now i can learn lots about with the language I have 12 years exp with. 


**If people or the original authoer want to put feature requests in comments here or http://github.com/adinardi/phpdhcp/issues and i&#039;ll do my best to try help implement them. I never heard of git:// or a phpdhcp server s you helped learn 2 new things today :D Now i just need to download the actual package...</description>
		<content:encoded><![CDATA[<p>Great work. I love PHP and having everything written in it is terrific. I need a DHCP server sometimes like when i plug my network drive directly into my Gigabit NIC This little script could be quite handy.</p>
<p>You definately have a solid start. I&#8217;ve always wondered about DHCP and now i can learn lots about with the language I have 12 years exp with. </p>
<p>**If people or the original authoer want to put feature requests in comments here or <a href="http://github.com/adinardi/phpdhcp/issues" rel="nofollow">http://github.com/adinardi/phpdhcp/issues</a> and i&#8217;ll do my best to try help implement them. I never heard of git:// or a phpdhcp server s you helped learn 2 new things today <img src='http://angelo.dinardi.name/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Now i just need to download the actual package&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveRandom</title>
		<link>http://angelo.dinardi.name/2009/09/09/a-dhcp-server-in-php-why-not/comment-page-1/#comment-1094</link>
		<dc:creator>DaveRandom</dc:creator>
		<pubDate>Mon, 02 Nov 2009 15:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://angelo.dinardi.name/?p=131#comment-1094</guid>
		<description>This is brilliant - exactly what I was looking for! I must admit I haven&#039;t tested it yet, but it sound like exactly the thing I need - a basic framework for allowing PHP to &quot;parse&quot; DHCP requests.

And here&#039;s the (potential) use it can be put too... I have written a (very much work in progress) provisioning server, designed to be used with IP telephone handsets but i suppose it could really be used with anything that requests a configuration file. The body of this server is written in PHP - orginally running under an Apache server.

Then I was asked to make this work with a phone that only supports FTP/TFTP for provisioning purposes. After much hunting on the internet, I was unable to find an FTP server that could adequately create files dynamically on the server side as they are requested, so I did a similar thing to the process described above, and spent a weekend building a rudimentary FTP server in PHP, so I could use the same routines I had written to be used over HTTP. The next weekend I got bored, and did the same thing, only this time building an HTTP server that is pure PHP, and does not require Apache/IIS... Slightly pointless I know, but I want the application to be as standalone as possible. Also, this removes the added complication of having to write some very complex mod_rewrite rules to distinguish between devices (and reorganise Polycom&#039;s bloody stupid directory layout for the provisioning data).

Then I realised the majority of such devices will use DHCP option 66 to determine where the boot server can be found, but how do you only respond with option 66, not a full configuration? And how do you only respond to the devices in the database, and not every DHCP request you recieve?

Using this, thats how...

:-)</description>
		<content:encoded><![CDATA[<p>This is brilliant &#8211; exactly what I was looking for! I must admit I haven&#8217;t tested it yet, but it sound like exactly the thing I need &#8211; a basic framework for allowing PHP to &#8220;parse&#8221; DHCP requests.</p>
<p>And here&#8217;s the (potential) use it can be put too&#8230; I have written a (very much work in progress) provisioning server, designed to be used with IP telephone handsets but i suppose it could really be used with anything that requests a configuration file. The body of this server is written in PHP &#8211; orginally running under an Apache server.</p>
<p>Then I was asked to make this work with a phone that only supports FTP/TFTP for provisioning purposes. After much hunting on the internet, I was unable to find an FTP server that could adequately create files dynamically on the server side as they are requested, so I did a similar thing to the process described above, and spent a weekend building a rudimentary FTP server in PHP, so I could use the same routines I had written to be used over HTTP. The next weekend I got bored, and did the same thing, only this time building an HTTP server that is pure PHP, and does not require Apache/IIS&#8230; Slightly pointless I know, but I want the application to be as standalone as possible. Also, this removes the added complication of having to write some very complex mod_rewrite rules to distinguish between devices (and reorganise Polycom&#8217;s bloody stupid directory layout for the provisioning data).</p>
<p>Then I realised the majority of such devices will use DHCP option 66 to determine where the boot server can be found, but how do you only respond with option 66, not a full configuration? And how do you only respond to the devices in the database, and not every DHCP request you recieve?</p>
<p>Using this, thats how&#8230;</p>
<p> <img src='http://angelo.dinardi.name/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Parise</title>
		<link>http://angelo.dinardi.name/2009/09/09/a-dhcp-server-in-php-why-not/comment-page-1/#comment-1005</link>
		<dc:creator>Jon Parise</dc:creator>
		<pubDate>Thu, 10 Sep 2009 05:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://angelo.dinardi.name/?p=131#comment-1005</guid>
		<description>This is much less retarded than the caching DNS/WINS server that I wrote in Visual Basic for my network programming class.

http://www.csh.rit.edu/~jon/projects/caching_dns/</description>
		<content:encoded><![CDATA[<p>This is much less retarded than the caching DNS/WINS server that I wrote in Visual Basic for my network programming class.</p>
<p><a href="http://www.csh.rit.edu/~jon/projects/caching_dns/" rel="nofollow">http://www.csh.rit.edu/~jon/projects/caching_dns/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
