Provide pac (proxy auto configuration) via isc-dhcpd

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Provide pac (proxy auto configuration) via isc-dhcpd

Marco Dickert
Hi all,

this [1] wiki article mentions a option called "local-proxy-config". However,
this option is neither documented in the manpage nor in the documentation. I
even cannot use it in Ubuntu 16.04 (isc-dhcp-server version is 4.3.3). Is it
something gentoo-specific?

However, how can I provide a proxy configuration file via isc-dhcpd?

Thanks in advance!

[1] https://wiki.gentoo.org/wiki/ProxyAutoConfig#DHCP_Server_configuration

--
Marco Dickert
[hidden email]
https://misterunknown.de

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Provide pac (proxy auto configuration) via isc-dhcpd

glenn.satchell
"local-proxy-config" is a user defined label for the dhcp option number
252. This number is in the user defined range, but Microsoft chose to use
it for this function in Internet Explorer, other browsers followed this.

There are two parts to that setting and they are given in the article. The
first one defines the option and says that dhcp option number 252 is to be
encoded as a text string:

option local-proxy-config code 252 = text;

and the second one where a value is assigned:

option local-proxy-config "http://www.example.org/proxy.pac";

For this to work you need to select the "automatically detect the proxy"
setting in your browser. The exact name varies with the different
browsers.

regards,
-glenn

On Thu, September 8, 2016 10:37 pm, Marco Dickert wrote:

> Hi all,
>
> this [1] wiki article mentions a option called "local-proxy-config".
> However,
> this option is neither documented in the manpage nor in the documentation.
> I
> even cannot use it in Ubuntu 16.04 (isc-dhcp-server version is 4.3.3). Is
> it
> something gentoo-specific?
>
> However, how can I provide a proxy configuration file via isc-dhcpd?
>
> Thanks in advance!
>
> [1] https://wiki.gentoo.org/wiki/ProxyAutoConfig#DHCP_Server_configuration
>
> --
> Marco Dickert
> [hidden email]
> https://misterunknown.de
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Provide pac (proxy auto configuration) via isc-dhcpd

José Queiroz

Not all browsers use prox auto detection via dhcp.
In example, Mozilla Firefox uses only DNS to detect proxy settings.


Em 08/09/2016 10:08, "Glenn Satchell" <[hidden email]> escreveu:
"local-proxy-config" is a user defined label for the dhcp option number
252. This number is in the user defined range, but Microsoft chose to use
it for this function in Internet Explorer, other browsers followed this.

There are two parts to that setting and they are given in the article. The
first one defines the option and says that dhcp option number 252 is to be
encoded as a text string:

option local-proxy-config code 252 = text;

and the second one where a value is assigned:

option local-proxy-config "http://www.example.org/proxy.pac";

For this to work you need to select the "automatically detect the proxy"
setting in your browser. The exact name varies with the different
browsers.

regards,
-glenn

On Thu, September 8, 2016 10:37 pm, Marco Dickert wrote:
> Hi all,
>
> this [1] wiki article mentions a option called "local-proxy-config".
> However,
> this option is neither documented in the manpage nor in the documentation.
> I
> even cannot use it in Ubuntu 16.04 (isc-dhcp-server version is 4.3.3). Is
> it
> something gentoo-specific?
>
> However, how can I provide a proxy configuration file via isc-dhcpd?
>
> Thanks in advance!
>
> [1] https://wiki.gentoo.org/wiki/ProxyAutoConfig#DHCP_Server_configuration
>
> --
> Marco Dickert
> [hidden email]
> https://misterunknown.de
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Provide pac (proxy auto configuration) via isc-dhcpd

Marco Dickert
Thank you both, for the clarification!


On 2016-09-08 10:31:09, José Queiroz wrote:

> Not all browsers use prox auto detection via dhcp.
> In example, Mozilla Firefox uses only DNS to detect proxy settings.
>
> Em 08/09/2016 10:08, "Glenn Satchell" <[hidden email]> escreveu:
>
> > "local-proxy-config" is a user defined label for the dhcp option number
> > 252. This number is in the user defined range, but Microsoft chose to use
> > it for this function in Internet Explorer, other browsers followed this.
> >
> > There are two parts to that setting and they are given in the article. The
> > first one defines the option and says that dhcp option number 252 is to be
> > encoded as a text string:
> >
> > option local-proxy-config code 252 = text;
> >
> > and the second one where a value is assigned:
> >
> > option local-proxy-config "http://www.example.org/proxy.pac";
> >
> > For this to work you need to select the "automatically detect the proxy"
> > setting in your browser. The exact name varies with the different
> > browsers.
> >
> > regards,
> > -glenn
> >
> > On Thu, September 8, 2016 10:37 pm, Marco Dickert wrote:
> > > Hi all,
> > >
> > > this [1] wiki article mentions a option called "local-proxy-config".
> > > However,
> > > this option is neither documented in the manpage nor in the
> > documentation.
> > > I
> > > even cannot use it in Ubuntu 16.04 (isc-dhcp-server version is 4.3.3). Is
> > > it
> > > something gentoo-specific?
> > >
> > > However, how can I provide a proxy configuration file via isc-dhcpd?
> > >
> > > Thanks in advance!
> > >
> > > [1] https://wiki.gentoo.org/wiki/ProxyAutoConfig#DHCP_Server_
> > configuration
> > >
> > > --
> > > Marco Dickert
> > > [hidden email]
> > > https://misterunknown.de
> > > _______________________________________________
> > > dhcp-users mailing list
> > > [hidden email]
> > > https://lists.isc.org/mailman/listinfo/dhcp-users
> >
> >
> > _______________________________________________
> > dhcp-users mailing list
> > [hidden email]
> > https://lists.isc.org/mailman/listinfo/dhcp-users
> >

> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users


--
Marco Dickert
[hidden email]
https://misterunknown.de

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

signature.asc (836 bytes) Download Attachment