<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Ok sure. I am trying to pass DHCP header option 161
<span>OPTION_MUD_URL_V4</span> to the dhcp-script. Doing so would allow for the use of dnsmasq to communicate a MUD url
<span>via DHCP </span>to a mud manager.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Daniel<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;">
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dnsmasq-discuss <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> on behalf of Geert Stappers <stappers@stappers.nl><br>
<b>Sent:</b> Saturday, August 11, 2018 8:13:11 AM<br>
<b>To:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b>Subject:</b> Re: [Dnsmasq-discuss] Set environment variable for dhcp-script</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Sat, Aug 11, 2018 at 01:09:53AM +0000, Daniel Weller wrote:<br>
> From: Geert Stappers Sent: Friday, August 10, 2018 7:20:50 AM<br>
> > On Fri, Aug 10, 2018 at 09:11:48AM +0000, Daniel Weller wrote:<br>
> > > I am trying to pass a DHCP header value that is read from the client<br>
> > > DHCP request- to the file being called by dhcp-script=<file>. The<br>
> > > easiest way to do that I think is to set an environment variable that<br>
> > > the dhcp-script=<file> has access to while executing.<br>
> > <br>
> > What is the original problem?<br>
> > <br>
> > So let us know which DNSMASQ_... you miss.<br>
> > <br>
> <br>
> That is the original problem. Just trying to pass a custom DHCP<br>
> header option to the dhcp-scrip=<file>. What do you mean by "So let<br>
> us know which DNSMASQ_... you miss" ? I understand there is a lot of<br>
> DNSMASQ_... options on the man page under dhcp-script. None let you<br>
> grab all of the DHCP headers passed from the client to the server.<br>
> <br>
<br>
mmmm, I was hoping for an answer like<br>
<br>
} I do mis DNSMASQ_FOO. FOO is a custom DHCP option, being option number ....<br>
} Having DNSMASQ_FOO in dhcp-script would solve the problem of ...<br>
<br>
<br>
Without knowing the original problem is not possible to provide<br>
an alternative solution.<br>
<br>
Without knowng the DHCP option number is not possible to advice<br>
which existing DHCP option to use as starting point for the currently<br>
missing source code for putting FOO into environment for dhcp-script. <br>
<br>
<br>
Groeten<br>
Geert Stappers<br>
-- <br>
Leven en laten leven<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
Dnsmasq-discuss@lists.thekelleys.org.uk<br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</div>
</span></font></div>
</body>
</html>