Handling of empty secrets

2011-03-20 Thread Andrey Borzenkov
I try to sanitize handling of secrets in knetworkmanager. The main issue I face - what to do with empty secrets and are they allowed at all? Random checking of upstream VPN plugins seems to indicate, that empty secret is treated as missing secret. OTOH empty secret - while probably insecure -

Re: ANN: One the road to 0.9 - release of 0.8.995 (0.9.0-beta1)

2011-03-09 Thread Andrey Borzenkov
On Sat, Mar 5, 2011 at 9:48 AM, Dan Williams d...@redhat.com wrote: I'm pleased to announce the release of the first beta of NetworkManager 0.9.  It's been a long road, starting last summer, and thanks to Daniel Gnoutcheff for getting us started with his rocking Google Summer of Code project.  

Re: WLAN disabled by state file

2011-03-08 Thread Andrey Borzenkov
On Mon, Mar 7, 2011 at 8:02 PM, Ozan Çağlayan o...@pardus.org.tr wrote: On 07.03.2011 19:01, Dan Williams wrote: That message can only come from a user applet property set request from D-Bus. Actually this came to my mind right after posting the e-mail. It is the new KDE4 applet. Should I

Re: QT DBus network manger for PPP connection

2011-03-04 Thread Andrey Borzenkov
On Fri, Mar 4, 2011 at 10:19 AM, Naveen reddy naveen@gmail.com wrote: Hi, I am writing a QT application for establishing PPP connection with the mobile via bluetooth link. I can do this by creating a connection in mobile broadband in network manger applet. Now i need to create my own app.

Re: Network-manager 0.8.992 and wpasupplicant

2011-03-03 Thread Andrey Borzenkov
On Thu, Mar 3, 2011 at 11:02 AM, Marco mpia...@gmail.com wrote: Hi everybody, I was trying to upgrade to network-manager from git (release 0.8.992). I installed all the dependency and started network manager to activate my wifi connection. I didn't expect to work out immediately and in fact

Re: [PATCH] system-connections: restore previous connection settings if update failed by plugin

2011-03-02 Thread Andrey Borzenkov
, 2010 at 9:44 PM, Andrey Borzenkov arvidj...@gmail.com wrote: Currently NM first updates in-memory connection and then requests plugin to store definition. If plugin failed to store for whatever reason we are left with new memory state and stale permanent copy. What makes is worse, nm-connection

Re: Yet another crash when D-Bus goes away

2011-02-26 Thread Andrey Borzenkov
On Sat, Feb 26, 2011 at 3:14 AM, Dan Williams d...@redhat.com wrote: On Sun, 2011-02-20 at 16:10 +0300, Andrey Borzenkov wrote: I get this every time on shutdown under systemd. NM debug stack trace attached. Version is 0.8.2 + 2ce6f2 + 975133. You also want

Re: Mysteries of NM

2011-02-26 Thread Andrey Borzenkov
On Sat, Feb 26, 2011 at 6:09 PM, Timothy Murphy gayle...@eircom.net wrote: I'm running NetworkManager on my Thinkpad T60 (Intel PRO/Wireless 3945ABG controller, iwl3945 driver) and it works fine under Fedora/KDE, but I find the user interface almost completely unintelligible. ... Are others

Yet another crash when D-Bus goes away

2011-02-20 Thread Andrey Borzenkov
I get this every time on shutdown under systemd. NM debug stack trace attached. Version is 0.8.2 + 2ce6f2 + 975133. NetworkManager[15010]: info NetworkManager (version 0.8.2) is starting... NetworkManager[15010]: info Read config file /etc/NetworkManager/nm-system-settings.conf

The correct way to disable/enable interface

2011-01-31 Thread Andrey Borzenkov
For integration of NetworkManager in existing Mandriva environment we are looking for the best way to interoperate with standard tools. In ideal case the fact that NM manages interfaces should be transparent, and ifup/ifdown should do the same both for interfaces managed natively as well as for

[PATCH] ModemManager: systemd support

2011-01-29 Thread Andrey Borzenkov
Signed-off-by: Andrey Borzenkov arvidj...@gmail.com --- .gitignore |2 ++ Makefile.am | 13 ++--- ModemManager.service.in |8 configure.ac| 10

Re: Strange error in NetworkManager 0.8.2

2011-01-14 Thread Andrey Borzenkov
On Sat, Jan 15, 2011 at 12:45 AM, Robert Gabriel rob...@linux-source.org wrote: On Fri, Jan 14, 2011 at 22:41, Dan Williams d...@redhat.com wrote: On Fri, 2011-01-14 at 20:21 +0100, Robert Gabriel wrote: Hello,  Im getting the below errors once in a while, mostly when shutting down the system

Re: GSM modem via Bluetooth?

2011-01-11 Thread Andrey Borzenkov
On Thu, Jan 6, 2011 at 10:16 PM, Dan Williams d...@redhat.com wrote: I spend some time on this over the holidays to figure out what it would take for manually started rfcomm ports to show up as Bluetooth modems and be configurable without the BT wizard.  The short answer is that yes, this is

Re: Trouble with openconnect plugin

2010-11-26 Thread Andrey Borzenkov
On Fri, Nov 26, 2010 at 3:45 PM, Guillaume Rousse guillomovi...@gmail.com wrote: Hello. For some unknown reason, the openconnect plugin for NM 0.8.2 doesn't allow me to select an authorization schema. I've seen some screenshots of the application with a selection list widget for this purpose,

Re: Trouble with openconnect plugin

2010-11-26 Thread Andrey Borzenkov
On Fri, Nov 26, 2010 at 3:45 PM, Guillaume Rousse guillomovi...@gmail.com wrote: Hello. For some unknown reason, the openconnect plugin for NM 0.8.2 doesn't allow me to select an authorization schema. I've seen some screenshots of the application with a selection list widget for this purpose,

Re: No error is returned to user if system settings plugin fails connection update

2010-11-24 Thread Andrey Borzenkov
On Wed, Nov 24, 2010 at 7:04 AM, Dan Williams d...@redhat.com wrote: On Sat, 2010-11-20 at 15:48 +0300, Andrey Borzenkov wrote: 1) if plugin fails to write connection to stable store (for whatever reasons) NM is left with old, cached, connection that was received fro client. It makes

[PATCH] system-connections: restore previous connection settings if update failed by plugin

2010-11-24 Thread Andrey Borzenkov
is unaware that all settings are lost after NM is restarted. Save connection copy before calling plugin and revert to it if plugin indicated failure. Signed-off-by: Andrey Borzenkov arvidj...@gmail.com --- src/system-settings/nm-sysconfig-connection.c | 15 +-- 1 files changed, 13

Re: GSM modem via Bluetooth?

2010-11-23 Thread Andrey Borzenkov
On Wed, Nov 24, 2010 at 6:55 AM, Dan Williams d...@redhat.com wrote: On Sat, 2010-11-20 at 23:28 +0300, Andrey Borzenkov wrote: On Sat, Nov 20, 2010 at 1:24 AM, Dan Williams d...@redhat.com wrote: On Thu, 2010-11-04 at 15:33 +0300, Andrey Borzenkov wrote: I have Nokia E51 and am using KDE

libnl-2 support?

2010-11-22 Thread Andrey Borzenkov
Am I right that currently NM supports only libnl-1? Is there any work in progress to add libnl-2 support? Thank you! ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: No error is returned to user if system settings plugin fails connection update

2010-11-20 Thread Andrey Borzenkov
On Tue, Mar 2, 2010 at 8:34 PM, Andrey Borzenkov arvidj...@gmail.com wrote: On Tuesday 02 of March 2010 10:14:09 Dan Williams wrote: On Sat, 2010-02-27 at 23:39 +0300, Andrey Borzenkov wrote: Using NM 0.8 + nm-applet 0.8 I hit the following situation - if -update plugin method fails

possibly ifcfg-rh: fix missing connections if unmanaged interface was present

2010-11-20 Thread Andrey Borzenkov
(). Signed-off-by: Andrey Borzenkov arvidj...@gmail.com --- system-settings/plugins/ifcfg-mdv/plugin.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system-settings/plugins/ifcfg-mdv/plugin.c b/system-settings/plugins/ifcfg-mdv/plugin.c index 4b4667b..68a2c72 100644

Re: 0.8.2: nm-connection-edit does not ask for authorization on system connections

2010-11-20 Thread Andrey Borzenkov
On Sat, Nov 20, 2010 at 2:01 AM, Dan Williams d...@redhat.com wrote: On Sun, 2010-11-14 at 10:49 +0300, Andrey Borzenkov wrote: Trying to use nm-connection-editor under KDE (it is SVN snapshot 4.5.76) to edit system connection results only in Insufficient privileges. I am not asked

Re: GSM modem via Bluetooth?

2010-11-20 Thread Andrey Borzenkov
On Sat, Nov 20, 2010 at 1:24 AM, Dan Williams d...@redhat.com wrote: On Thu, 2010-11-04 at 15:33 +0300, Andrey Borzenkov wrote: I have Nokia E51 and am using KDE with bluedevil; Modemmanager 0.4 and NM 0.8.2-rc1. I can browse phone and transfer files, but modemmanager does not display any

0.8.2: nm-connection-edit does not ask for authorization on system connections

2010-11-13 Thread Andrey Borzenkov
Trying to use nm-connection-editor under KDE (it is SVN snapshot 4.5.76) to edit system connection results only in Insufficient privileges. I am not asked for authentication. The only output from n-c-e is {pts/0}% nm-connection-editor (nm-connection-editor:23585): Gtk-WARNING **: GtkSpinButton:

Re: support for dyndns.org (or similar)?

2010-11-07 Thread Andrey Borzenkov
On Mon, Nov 8, 2010 at 1:09 AM, Neal Becker ndbeck...@gmail.com wrote: Does NM have support for registering IP with dynamic dns service? This should be easy to solve using script in /etc/NetworkManager/dispatcher.d that is called on interface up event. See 'man NetworkManager' for description

NM 0.8.2-rc1: nm_dispatcher_action: Invalid connection: '(null)' / 'connection setting not found' invalid: 1

2010-11-05 Thread Andrey Borzenkov
I get the above error after every device (de-)activation. The connection itself is correctly activated (respectively deactivated). Device activation log below. Anything I can do to collect more information? Thank you! -Andrey Nov 5 22:03:47 cooker NetworkManager[2383]: info (wlan0): now managed

GSM modem via Bluetooth?

2010-11-04 Thread Andrey Borzenkov
I have Nokia E51 and am using KDE with bluedevil; Modemmanager 0.4 and NM 0.8.2-rc1. I can browse phone and transfer files, but modemmanager does not display any available device when BT is activated. Is it supposed to work at all and if yes, what is requires to get it working? Pointers to

Re: Is it possible that a command line interface to the network-manager functionality could be added?

2010-11-03 Thread Andrey Borzenkov
On Tue, Oct 19, 2010 at 8:11 PM, Tassilo Horn tass...@member.fsf.org wrote: Darren Albers dalb...@gmail.com writes: Hi Darren, nmcli might be what you are looking for: I once looked at nmcli, but I couldn't figure out how to use it.  To be more specific, how do I tell it to connect to the

Re: How to monitor NM progress?

2010-09-14 Thread Andrey Borzenkov
On Tuesday 14 of September 2010 16:48:45 Rafal Wojtczuk wrote: Alternatively, is there a way to retrieve all interfaces names that NM is supposed to manage ? For a start {pts/1}% LC_ALL=C nmcli dev DEVICE TYPE STATE wlan0 802-11-wireless connected eth0

Re: Intel 4965AGN not working with NM

2010-09-09 Thread Andrey Borzenkov
On Thursday 09 of September 2010 12:21:12 Janek S. wrote: Now the weird thing - KNetworkManager works (sort of). I mentioned, that I had problems with nm-applet remebering the wireless passwords. To fix this, in the directory /etc/polkit-1/localauthority/50-local.d I added the file

Re: Modem gone after suspend/resume

2010-08-06 Thread Andrey Borzenkov
On Friday 06 of August 2010 18:30:48 Torsten Spindler wrote: Hello, a 3G modem is no longer recognized by modem-manager when the system resumes. It seems the USB identification changes upon resume, from usb6/6-1 to usb6/6-2. This might be caused by udev rules? Nope, it did not change.

Re: vpnc does not indicate failed authentication

2010-07-17 Thread Andrey Borzenkov
Sorry for delay ... On Thursday 25 of February 2010 02:52:23 Dan Williams wrote: On Sat, 2010-02-20 at 20:59 +0300, Andrey Borzenkov wrote: vpnc plugin expects return code 2 from vpnc to indicate failed authentication.: case 2: /* Couldn't log in due to bad

[PATCH] test-ifcfg-rh.c: fix gcc -Werror=format-security failure

2010-07-15 Thread Andrey Borzenkov
Attached patch fixes ifcfg-rh plugin tests compilation with GCC strict format security (which is default e.g. for Mandriva builds) ---BeginMessage--- Fix compilation with strict format security option. Signed-off-by: Andrey Borzenkov arvidj...@mail.ru --- .../plugins/ifcfg-rh/tests/test-ifcfg

[PATCH] test-ifcfg-rh.c: fix gcc -Werror=format-security failure

2010-07-15 Thread Andrey Borzenkov
Fix compilation with strict format security option. Signed-off-by: Andrey Borzenkov arvidj...@mail.ru --- .../plugins/ifcfg-rh/tests/test-ifcfg-rh.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/system-settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c b

Re: nm can't recognize my devices anymore after 2.6.34 zen kernel

2010-07-11 Thread Andrey Borzenkov
On Monday 12 of July 2010 04:33:18 Gary Trakhman wrote: Trying to hunt this down, nm can't figure out my devices, but I can use them manually just fine. What should I look for or what's wrong? there are lots of files in /sys/class/net/... Jul 11 19:48:20 gary-laptop NetworkManager[13622]:

Re: The logic behind user/system settings

2010-03-18 Thread Andrey Borzenkov
On Thursday 18 of March 2010 03:43:36 Dan Williams wrote: The connection editor only shows connections that *soemthing* has defined. To close this thread - yes, it turned out I did have these two connections defined as my user connections. I have no idea where did they come from - probably

Re: v0.7.998: doesn't see ra0

2010-03-15 Thread Andrey Borzenkov
On Tuesday 16 of March 2010 02:05:27 Dan Williams wrote: On Sun, 2010-03-14 at 15:59 -0700, Colin Brace wrote: Hi all, First, I'd like to report that NM works really well with my mobile broadband USB stick (a Huawei, from Vodafone). Second, I have Fedora 12 installed on an Asus Eee

Re: The logic behind user/system settings

2010-03-15 Thread Andrey Borzenkov
On Tuesday 16 of March 2010 02:10:25 Dan Williams wrote: On Sat, 2010-03-13 at 08:17 +0300, Andrey Borzenkov wrote: On Friday 12 of March 2010 02:51:33 Dan Williams wrote: On Wed, 2010-03-10 at 07:04 +0300, Andrey Borzenkov wrote: On Wednesday 10 of March 2010 04:12:19 Dan Williams wrote

Re: The logic behind user/system settings

2010-03-12 Thread Andrey Borzenkov
On Friday 12 of March 2010 02:51:33 Dan Williams wrote: On Wed, 2010-03-10 at 07:04 +0300, Andrey Borzenkov wrote: On Wednesday 10 of March 2010 04:12:19 Dan Williams wrote: As you've discovered, there are user-specific settings (which are only available when that user is logged

NM starts disabled after system crash (hard power off)

2010-03-10 Thread Andrey Borzenkov
Unfortunately, I still experience occasional lockups which require me to press power off button. What I find annoying - NM consistently comes up disabled after this. Simple cnetworkmanager -o yes is enough, but I am curious - why? Is it intentional design decision or should it be considered a

Re: user settings service and fast user switching

2010-03-09 Thread Andrey Borzenkov
On Wednesday 10 of March 2010 04:00:44 Dan Williams wrote: On Mon, 2010-03-08 at 16:43 -0500, Pat Suwalski wrote: On 08/03/10 04:24 PM, Andrey Borzenkov wrote: As far as I understand, there can be single user settings service which is registered on system bus. How is it expected to work

Re: The logic behind user/system settings

2010-03-09 Thread Andrey Borzenkov
On Wednesday 10 of March 2010 04:12:19 Dan Williams wrote: As you've discovered, there are user-specific settings (which are only available when that user is logged in) and system-wide settings (which are available to all users *and* before any user has logged in). The problem you're hitting

user settings service and fast user switching

2010-03-08 Thread Andrey Borzenkov
As far as I understand, there can be single user settings service which is registered on system bus. How is it expected to work together with fast user switching? E.g. I had to check something under clean user account, so I started second X session and got warning from knetworkmanager that one

Re: NetworkManager 0.8 and WiFi on slackware: device not ready

2010-03-05 Thread Andrey Borzenkov
On Saturday 06 of March 2010 00:20:55 27/249 wrote: Hi! I'm trying to adapt NetworkManager for MOPSLinux (russian slackware-based distro). Everything works fine, except WiFi - nm-applet tells me that Device not ready. Actually, device works perfectly if configured manually thru iwconfig or

Re: nm-applet crash

2010-03-02 Thread Andrey Borzenkov
On Tuesday 02 of March 2010 10:21:51 Dan Williams wrote: On Sun, 2010-02-28 at 17:22 +0300, Andrey Borzenkov wrote: {pts/4}% rpm -q networkmanager-applet networkmanager-applet-0.8-1mdv2010.1 (no patches, stock upstream sources) I was playing with EAP WiFi settings and at some moment

Re: No error is returned to user if system settings plugin fails connection update

2010-03-02 Thread Andrey Borzenkov
On Tuesday 02 of March 2010 10:14:09 Dan Williams wrote: On Sat, 2010-02-27 at 23:39 +0300, Andrey Borzenkov wrote: Using NM 0.8 + nm-applet 0.8 I hit the following situation - if -update plugin method fails (for whatever reason - e.g. plugin is not able to create necessary file) - no error

Re: D-bus devices cannot produced by NetworkManager when Huawei EM660 Module already is in

2010-03-01 Thread Andrey Borzenkov
On Tuesday 02 of March 2010 05:12:35 Wei Ye wrote: One questions: When the HuaWei EM660 CDMA card is already inserted into PC, that is $ls /dev/ttyUSB* /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3 /dev/ttyUSB4 the /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3 /dev/ttyUSB4 for CDMA

nm-applet crash

2010-02-28 Thread Andrey Borzenkov
{pts/4}% rpm -q networkmanager-applet networkmanager-applet-0.8-1mdv2010.1 (no patches, stock upstream sources) I was playing with EAP WiFi settings and at some moment got: (gdb) bt #0 0x7f3444107955 in raise (sig=value optimized out) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1

No error is returned to user if system settings plugin fails connection update

2010-02-27 Thread Andrey Borzenkov
Using NM 0.8 + nm-applet 0.8 I hit the following situation - if -update plugin method fails (for whatever reason - e.g. plugin is not able to create necessary file) - no error is returned to user. Error is correctly returned if creation of new system connection fails. I start

Re: dhcp client support broken on karmic with latest NM build

2010-02-26 Thread Andrey Borzenkov
On Thursday 25 of February 2010 22:53:59 Dan Williams wrote: 3) Set the 'dhcp' property in the [main] section of nm-system-settings.conf to either dhclient or dhcpcd I must be completely stupid but I cannot find it in current sources (upstream GIT, tree corresponds to 0.8 tag). Is it in some

Re: dhcp client support broken on karmic with latest NM build

2010-02-26 Thread Andrey Borzenkov
On Saturday 27 of February 2010 02:23:10 Dan Williams wrote: On Fri, 2010-02-26 at 14:30 +0300, Andrey Borzenkov wrote: On Thursday 25 of February 2010 22:53:59 Dan Williams wrote: 3) Set the 'dhcp' property in the [main] section of nm-system-settings.conf to either dhclient or dhcpcd

vpnc does not indicate failed authentication

2010-02-24 Thread Andrey Borzenkov
vpnc plugin expects return code 2 from vpnc to indicate failed authentication.: case 2: /* Couldn't log in due to bad user/pass */ nm_vpn_plugin_failure (NM_VPN_PLUGIN (plugin), NM_VPN_PLUGIN_FAILURE_LOGIN_FAILED); break; At least in my

Re: Prompt the user for login credentials?

2010-02-24 Thread Andrey Borzenkov
On Thursday 25 of February 2010 03:13:20 Dan Williams wrote: 0.8.1 will have some support for One-Time-Pad tokens (like RSA SecureID) to make the OTP password entry easier Is the code available in some branch? Because I spent some time implementing OTP support for vpnc service in

vpnc does not indicate failed authentication

2010-02-20 Thread Andrey Borzenkov
vpnc plugin expects return code 2 from vpnc to indicate failed authentication.: case 2: /* Couldn't log in due to bad user/pass */ nm_vpn_plugin_failure (NM_VPN_PLUGIN (plugin), NM_VPN_PLUGIN_FAILURE_LOGIN_FAILED); break; At least in my

Re: OpenVPN config problem

2010-02-19 Thread Andrey Borzenkov
On Friday 19 of February 2010 11:09:37 Karel Kozlik wrote: Hi, Dan Williams napsal(a): On Thu, 2010-02-18 at 11:24 +0100, Karel Kozlik wrote: Hi Dan, Dan Williams napsal(a): On Wed, 2010-02-17 at 10:36 +0100, Karel Kozlik wrote: Hi, could someone help me vith openVPN

Re: knetworkmanager does not request vpnc user password

2010-02-18 Thread Andrey Borzenkov
On Thursday 18 of February 2010 02:17:45 Dan Williams wrote: On Wed, 2010-02-17 at 21:12 +0300, Andrey Borzenkov wrote: I try to setup VPN connection using vpnc. Versions are: {pts/1}% rpm -qa \*networkmanager\* knetworkmanager-debug-0.9-0.r1084746.1mdv2010.1 networkmanager-vpnc-debug

knetworkmanager does not request vpnc user password

2010-02-17 Thread Andrey Borzenkov
I try to setup VPN connection using vpnc. Versions are: {pts/1}% rpm -qa \*networkmanager\* knetworkmanager-debug-0.9-0.r1084746.1mdv2010.1 networkmanager-vpnc-debug-0.7.999-1mdv2010.1 networkmanager-applet-0.7.999-1.git20100122.2mdv2010.1 networkmanager-debug-0.7.999-3mdv2010.1