Hi,

On 01/07/15 13:19, j.witvl...@mindef.nl wrote:
> -----Original Message-----
> From: Jan Just Keijser [mailto:janj...@nikhef.nl]
> Sent: woensdag 1 juli 2015 12:52
> To: Gert Doering; Jason Haar
> Cc: openvpn-users@lists.sourceforge.net
> Subject: Re: [Openvpn-users] any way to add additional DHCP options?
>
> Hi,
>
> On 01/07/15 11:28, Gert Doering wrote:
>> Hi,
>>
>> On Wed, Jul 01, 2015 at 08:07:36PM +1200, Jason Haar wrote:
>>> Any reason it wasn't included in the formal source? ie what's the
>>> downside? Then we could add NTP, WPAD, etc
>> "before my time".. no idea.
>>
>> Downside typically is "lots of extra code that needs to be maintained"...
>>
> I can't find the original "add any kind of dhcp option" patch, but I wrote a 
> patch for WPAD support in 2008 (before v2.1 was released). Patch integration 
> was sketchy back then, so I am not surprised that it was never included.
>
> I can polish up my patch again and add NTP, TFTP and WPAD support, if there's 
> enough demand for it. The patch would not be very large anyway, so the "lots 
> of extra code" argument applies only a little ;)
>
> JJK
>    
> -----Original Message-----
> Adding ntp might ben ice:
> It would open the way to do Kerberos for road-warriors, which is rather picky 
> about synchronized time.
> (it seems you have to walk that three-headed dog very regularly :-)
actually, "regular" NTP support is already included for Win32 builds:

   "--dhcp-option type [parm] : Set extended TAP-Windows properties, must\n"
   "                    be used with --ip-win32 dynamic.  For options\n"
   "                    which allow multiple addresses,\n"
   "                    --dhcp-option must be repeated.\n"
   "                    DOMAIN name : Set DNS suffix\n"
   "                    DNS addr    : Set domain name server address(es)\n"
   "                    NTP         : Set NTP server address(es)\n"
   "                    NBDD        : Set NBDD server address(es)\n"
   "                    WINS addr   : Set WINS server address(es)\n"
   "                    NBT type    : Set NetBIOS over TCP/IP Node type\n"
   "                                  1: B, 2: P, 4: M, 8: H\n"
   "                    NBS id      : Set NetBIOS scope ID\n"
   "                    DISABLE-NBT : Disable Netbios-over-TCP/IP.\n"


(NTP is encoded as DHCP option 42)


JJK

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to