[PATCH 3/5] ProxyConfig fields added to NMDevice and NMVpnConnection.

2016-06-23 Thread Atul Anand
Fields for storing ProxyConfig added to store proxy details for that Object. --- src/devices/nm-device.c | 51 + src/devices/nm-device.h | 3 +++ src/vpn-manager/nm-vpn-connection.c | 24 +

[PATCH] extracting CISCO_PROXY_PAC env variable

2016-06-23 Thread Atul Anand
--- src/nm-openconnect-service-openconnect-helper.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/nm-openconnect-service-openconnect-helper.c b/src/nm-openconnect-service-openconnect-helper.c index 5256d13..f0f9c17 100644 --- a/src/nm-openconnect-service-openconnect-helper.c +++

[PATCH 4/5] Fixes for Dispatcher to create env variables for Proxies.

2016-06-23 Thread Atul Anand
Dispatcher fixed for releasing variables like PROXIES, PROXY_PAC_URL, PROXY_PAC_SCRIPT and similarly with VPN_ prefix for VPN into environment. --- callouts/nm-dispatcher-utils.c| 52 callouts/nm-dispatcher-utils.h| 2 + callouts/nm-dispatcher.c

[PATCH 5/5] fixes in src/policy.c and other minor fixes.

2016-06-23 Thread Atul Anand
src/policy.c fixed to update pacrunner with connection activation and deactivation.Previous sent configs are destroyed before updating PacRunner with new cofigs. --- libnm-core/nm-vpn-dbus-interface.h | 3 ++ src/nm-logging.c | 3 +- src/nm-logging.h | 1 +

[PATCH 1/5] New GObject NMProxyConfig added to hold proxy details.

2016-06-23 Thread Atul Anand
A new Object NMProxyConfig added with properties for proxies, PAC Url and PAC Script. Getters are setters implemented for manipulating those fields. --- src/Makefile.am | 4 + src/nm-proxy-config.c | 243 ++ src/nm-proxy-config.h | 53

[PATCH 2/5] NMPacRunnerManager implemented to manage DBus talks with PacRunner.

2016-06-23 Thread Atul Anand
PacRunner is a daemon for handling proxies. It's features includes parsing PAC Script, downloading script with given PAC Url and answer proxy queries. NM will use it's both DBus methods : CreateProxyConfiguration and DestroyProxyConfiguration. NM configures PacRunner with domains (search domains,

Re: [PATCH 1/5] New GObject NMProxyConfig added to hold proxy details.

2016-06-24 Thread Atul Anand
NM_PROXY_CONFIG_METHOD_MANUAL and other unused fields get used in next and independent patch set where we implement NMSettingProxy and make a new Tab "Proxy" in nm-connection-editor. On 6/24/16, Atul Anand <atul...@gmail.com> wrote: > A new Object NMProxyConfig added with pro

Re: Proxy detection for IPv6 vs. Legacy IP

2016-04-28 Thread Atul Anand
my vote would be just adding a new object (ProxyConfig) to keep proxy-related information so just go for object, and then we can all argue about whether it should be object/interface/etc later :) I think the first issue for naming *object* has been solved . We'll implement a simple ( internal)

Re: Proxy detection for IPv6 vs. Legacy IP

2016-04-30 Thread Atul Anand
ork.no> wrote: > Atul Anand <atul...@gmail.com> writes: > >> So the mechanism should be like obtain pac_url from DHCP4 first ( for >> the obvious reasons ) >> if NM hasn't recieved go for pac_url from DHCP6 . > > Is there such a thing as a wpad URL option for

[PATCH] NMProxyConfig : Object for proxy handling

2016-05-15 Thread Atul Anand
We have agreed upon a generic mechanism for proxy configuration on which i have started working . The included patch is the first step towards achieving the goal in a step wise manner . It includes the implementation of our desired object along with Fixes in dhcp-manager for stuffing url into the

Re: [PATCH 3/3] nm-c-e: UI file for Proxy Tab

2016-07-27 Thread Atul Anand
On 7/26/16, Lubomir Rintel <lkund...@v3.sk> wrote: > On Tue, 2016-07-12 at 18:00 +0530, Atul Anand wrote: >> UI file for 'Proxy' tab contain entries/widgets for the three mode c-e >> is offering. On setting mode 'none' nothing is pushed inside PacRunner >> (only ex

Re: [PATCH 2/3] nm-c-e: Proxy Page Implementation.

2016-07-27 Thread Atul Anand
On 7/26/16, Lubomir Rintel <lkund...@v3.sk> wrote: > On Tue, 2016-07-12 at 18:00 +0530, Atul Anand wrote: >> This Patch implements the Proxy page GUI. Conventional GUI has been >> implemented which people generally see in Browsers. Exception being >> there

Re: [PATCH v2 1/5] A new object 'NMProxyConfig' with fields for proxy.

2016-07-27 Thread Atul Anand
On 7/27/16, Beniamino Galvani <bgalv...@redhat.com> wrote: > On Tue, Jul 12, 2016 at 05:57:16PM +0530, Atul Anand wrote: >> A new object NMProxyConfig has been implemented which contain fields >> for proxy related stuff. > > Could you please prefix each commit subject

Re: [PATCH v2 3/5] NMSettingProxy added to libnm-core

2016-07-27 Thread Atul Anand
On 7/27/16, Beniamino Galvani <bgalv...@redhat.com> wrote: > On Tue, Jul 12, 2016 at 05:57:18PM +0530, Atul Anand wrote: >> libnm-core has been expanded to include proxy settings which clients >> like nm-connection-editor use to configure proxy in PacRunner. It >> o

[PATCH v3 2/7] src:(proxy): A new Object NMProxyConfig with Proxy Parameters

2016-08-01 Thread Atul Anand
+ * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * (C) Copyright 2016 Atul Anand <atul...@gmail.com>. + */ + +#include "nm-default.h" + +#include + +#include "nm-proxy-config.

[PATCH v3 3/7] src:(pacrunner-manager): Object for interaction with PacRunner

2016-08-01 Thread Atul Anand
Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * (C) Copyright 2016 Atul Anand <atul...@gmail.com>. + */ + +#include "nm-default.h" + +#include "nm-utils.h" +#include "nm-platform.h" +#include "nm-pacrunner-manager.h" +#include "nm-proxy-conf

[PATCH v3 4/7] src: Fixes to add Proxy Feature

2016-08-01 Thread Atul Anand
src: Fixes in nm-device.c and nm-vpn-connection.c to update PacRunner at the right place and moment. When a device goes up PacRunner is configured with the Device IPxConfigs and Proxy Config. When it goes down the same configuration is removed from PacRunner. ifcfg-rh: Fixed to read and write

[PATCH v2 3/5] NMSettingProxy added to libnm-core

2016-07-12 Thread Atul Anand
ave received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + * Atul Anand <atul...@gmail.com> + */ + +#include "nm-default.h" +

[PATCH v2 4/5] Fixes in Dispatcher to release Proxy env variables.

2016-07-12 Thread Atul Anand
callouts/: Fixed to release env variables for proxy stuff. For VPNs proxy variables have prefix "VPN_" as usual. --- callouts/nm-dispatcher-utils.c| 52 ++ callouts/nm-dispatcher-utils.h| 2 ++ callouts/nm-dispatcher.c | 6

[PATCH v2 5/5] Fixes to update PacRunner at the right moment.

2016-07-12 Thread Atul Anand
src/: Fixes in core to update PacRunner at the right place and moment. When a device goes up PacRunner is configured with the Device IPxConfigs and Proxy Config. When it goes down the same configuration is removed from PacRunner. ifcfg-rh: Fixed to read and write proxy settings to the ifcfg

[PATCH v2 1/5] A new object 'NMProxyConfig' with fields for proxy.

2016-07-12 Thread Atul Anand
+ * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Atul Anand <atul...@gmail.com> + */ + +#include "nm-default.h" + +#include + +#include "nm-proxy-config.h" +#include "

[PATCH v2 2/5] NMPacRunnerManager implemented to interact with PacRunner

2016-07-12 Thread Atul Anand
Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Atul Anand <atul...@gmail.com> + */ + +#include "nm-default.h" + +#include "nm-utils.h" +#include "nm-platform.h" +#include "nm-pacrunner-manager.h" +#include "nm-proxy-config.h"

[PATCH 1/3] nm-c-e: Fixes for including a new page "Proxy"

2016-07-12 Thread Atul Anand
A new GUI page "Proxy" has been added which appears next to IP Settings when configuring a connection in nm-connection-editor. Proxy settings can be kept in same queue with IP settings wherever the later appears. Easy note: Proxy setting depends on them. --- src/connection-editor/Makefile.am

[PATCH 2/3] nm-c-e: Proxy Page Implementation.

2016-07-12 Thread Atul Anand
Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Atul Anand <atul...@gmail.com> + */ + +#include "nm-default.h" + +#include +#include +#include + +#include "page-proxy.h" +#include "nm-connection-editor.h" + +G_DEF

[PATCH 3/3] nm-c-e: UI file for Proxy Tab

2016-07-12 Thread Atul Anand
UI file for 'Proxy' tab contain entries/widgets for the three mode c-e is offering. On setting mode 'none' nothing is pushed inside PacRunner (only exception being Domains which is sent for all modes). In mode 'auto' Pac Url or/and Pac Script can be inserted which PacRunner handles in an order.

Re: [PATCH 1/5] New GObject NMProxyConfig added to hold proxy details.

2016-06-28 Thread Atul Anand
t; On Fri, 2016-06-24 at 00:42 +0530, Atul Anand wrote: >> A new Object NMProxyConfig added with properties for proxies, >> PAC Url and PAC Script. Getters are setters implemented for >> manipulating those fields. >> > > I couldn't find anywhere in the code that

Re: [PATCH 5/5] fixes in src/policy.c and other minor fixes.

2016-06-28 Thread Atul Anand
ctly from nm-device.c & nm-vpn-connection.c. On 6/29/16, Dan Williams <d...@redhat.com> wrote: > On Fri, 2016-06-24 at 00:42 +0530, Atul Anand wrote: >> src/policy.c fixed to update pacrunner with connection activation >> and deactivation.Previous sent configs are destroyed

[PATCH v3 1/7] libnm: API for Proxy Feature

2016-08-01 Thread Atul Anand
ils. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + * (C) Copyright 2016 Atul Anand <atul...@gmail.com>. +

[PATCH v3 6/7] nmcli: Add Proxy support to nmcli

2016-08-01 Thread Atul Anand
nmcli fixed to allow users edit proxy properties. --- clients/cli/connections.c | 31 - clients/cli/devices.c | 5 + clients/cli/settings.c| 319 +- clients/cli/settings.h| 1 + 4 files changed, 354 insertions(+), 2 deletions(-)

[PATCH v3 7/7] TODO: Remove Proxies from the list of TODO

2016-08-01 Thread Atul Anand
Remove Proxies from the list once proxy patches are successfully merged. --- TODO | 59 po/POTFILES.skip | 1 + 2 files changed, 1 insertion(+), 59 deletions(-) diff --git a/TODO b/TODO index 96dc81b..86fef82 100644 --- a/TODO

[PATCH v3 5/7] callouts: Fixes in Dispatcher to release Proxy env variables

2016-08-01 Thread Atul Anand
Dispatcher Fixed to release env variables for proxy stuff. For VPNs proxy variables have prefix "VPN_" as usual. --- callouts/nm-dispatcher-utils.c| 52 +++ callouts/nm-dispatcher-utils.h| 2 + callouts/nm-dispatcher.c | 6 +++

[PATCH v2 3/3] nm-connection-editor: Fixes for including Proxy page

2016-08-01 Thread Atul Anand
A new GUI page Proxy has been added which appears next to IP Settings when configuring a connection in nm-connection-editor. Proxy settings can be kept in same queue with IP settings wherever the later appears. Easy note: Proxy setting depends on them. --- src/connection-editor/Makefile.am

[PATCH v2 2/3] nm-connection-editor: Proxy Page Implementation

2016-08-01 Thread Atul Anand
Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * (C) Copyright 2016 Atul Anand <atul...@gmail.com>. + */ + +#include "nm-default.h" + +#include +#include +#include + +#include "page-proxy.h" +#include "nm-connec

Re: [PATCH v2 3/5] NMSettingProxy added to libnm-core

2016-08-01 Thread Atul Anand
On 7/26/16, Lubomir Rintel <lrin...@redhat.com> wrote: > On Tue, 2016-07-12 at 17:57 +0530, Atul Anand wrote: >> libnm-core has been expanded to include proxy settings which clients >> like nm-connection-editor use to configure proxy in PacRunner. It >> offers th

[PATCH v2 1/3] nm-connection-editor: UI file for Proxy Tab

2016-08-01 Thread Atul Anand
UI file for 'Proxy' tab contain entries/widgets for the three mode nm-c-e is offering. On setting mode 'None' nothing is pushed inside PacRunner (exception being IFname & Domains sent for all modes). In mode 'Automatic' Pac Url or/and Pac Script can be provided (override DHCP obtained value) which

Re: [PATCH v4 1/7] libnm: API for Proxy Feature

2016-08-16 Thread Atul Anand
Follow-up fixes looks great so far. Thanks, Atul On 8/17/16, Thomas Haller <thal...@redhat.com> wrote: > On Tue, 2016-08-16 at 05:55 +0530, Atul Anand wrote: >> libnm-core has been expanded to include proxy settings which clients >> like nmcli, nm-connection-editor u

[PATCH v4 1/7] libnm: API for Proxy Feature

2016-08-15 Thread Atul Anand
esser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + * (C) Copyrig

[PATCH v4 3/7] src:(pacrunner-manager): Object for interaction with PacRunner

2016-08-15 Thread Atul Anand
Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * (C) Copyright 2016 Atul Anand <atul...@gmail.com>. + */ + +#include "nm-default.h" + +#include "nm-utils.h" +#include "nm-platform.h" +#include "nm-pacrunner-manager.h" +#include "nm-proxy-conf

[PATCH v4 6/7] nmcli: Add Proxy support to nmcli

2016-08-15 Thread Atul Anand
nmcli fixed to allow users edit proxy properties. --- clients/cli/connections.c | 31 - clients/cli/devices.c | 5 + clients/cli/settings.c| 330 +- clients/cli/settings.h| 2 + 4 files changed, 366 insertions(+), 2 deletions(-)

[PATCH v4 5/7] callouts: Fixes in Dispatcher to release Proxy env variables

2016-08-15 Thread Atul Anand
Dispatcher Fixed to release env variables for proxy stuff. For VPNs proxy variables have prefix "VPN_" as usual. --- callouts/nm-dispatcher-utils.c| 52 callouts/nm-dispatcher-utils.h| 2 ++ callouts/nm-dispatcher.c | 6

[PATCH v4 4/7] src: Fixes to add Proxy Feature

2016-08-15 Thread Atul Anand
src: Fixes in nm-device.c and nm-vpn-connection.c to update PacRunner at the right place and moment. When a device goes up PacRunner is configured with the Device IPxConfigs and Proxy Config. When it goes down the same configuration is removed from PacRunner. ifcfg-rh: Fixed to read and write

[PATCH v4 7/7] TODO: Remove Proxies from the list of TODO

2016-08-15 Thread Atul Anand
Remove Proxies from the list once proxy patches are successfully merged. --- TODO | 59 po/POTFILES.skip | 1 + 2 files changed, 1 insertion(+), 59 deletions(-) diff --git a/TODO b/TODO index 96dc81b..86fef82 100644 --- a/TODO

[PATCH v3 2/3] nm-connection-editor: Proxy Page Implementation

2016-08-15 Thread Atul Anand
Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * (C) Copyright 2016 Atul Anand <atul...@gmail.com>. + */ + +#include "nm-default.h" + +#include +#include +#include + +#include "page-proxy.h" +#include "nm-connec

[PATCH v3 1/3] nm-connection-editor: UI file for Proxy Tab

2016-08-15 Thread Atul Anand
UI file for 'Proxy' tab contain entries/widgets for the three mode nm-c-e is offering. On setting mode 'None' nothing is pushed inside PacRunner (exception being IFname & Domains sent for all modes). In mode 'Automatic' Pac Url or/and Pac Script can be provided (override DHCP obtained value) which

[PATCH v3 3/3] nm-connection-editor: Fixes for including Proxy page

2016-08-15 Thread Atul Anand
A new GUI page Proxy has been added which appears next to IP Settings when configuring a connection in nm-connection-editor. Proxy settings can be kept in same queue with IP settings wherever the later appears. Easy note: Proxy setting depends on them. --- src/connection-editor/Makefile.am

Re: [PATCH v3 1/3] nm-connection-editor: UI file for Proxy Tab

2016-11-26 Thread Atul Anand
Hi, I'll start working on it within one week or so. :) Thanks, Atul On 11/26/16, Thomas Haller <thal...@redhat.com> wrote: > On Tue, 2016-08-16 at 05:58 +0530, Atul Anand wrote: > > Hi, > > to bring this patchset full-circle, it's now tracked by open bug > https://bugzill

Re: autoproxy configuration in 1.6

2017-03-04 Thread Atul Anand
.01.org/pipermail/connman/2017-February/021585.html Thanks, Atul Anand On 3/5/17, Brian J. Murrell <br...@interlinx.bc.ca> wrote: > Hi, > > I read with great interest about the autoproxy configuration that is > supposed to be available in 1.6, so I installed 1.6.1. > >

Re: autoproxy configuration in 1.6

2020-03-15 Thread Atul Anand via networkmanager-list
Hi Bill, Sorry for the late turnaround and thank you for raising this. On Mon, Feb 24, 2020 at 8:39 PM buffalobill via networkmanager-list < networkmanager-list@gnome.org> wrote: > Dear Brian, > I know that I'm 3 years late, but I'm facing your same error. I configured > pacrunner and libproxy,