Commit Graph

1021 Commits

Author SHA1 Message Date
Dan Williams
4e9f388376 Merge commit 'origin/master' into cert-paths 2009-09-14 13:38:19 -07:00
Dan Williams
985ccfe7ad doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
Dan Williams
e5ed391f28 libnm-util: allow certificate/key paths
Overload the certificate and key properties to allow paths to the
certificates and keys using a special prefix for the property data.
Add API to libnm-util for easy certificate path handling, and
documentation for NMSetting8021x.
2009-09-04 09:07:00 -05:00
Dan Williams
ae6c370a7b libnm-util: OLPC mesh setting fixes 2009-08-30 23:58:23 -05:00
Dan Williams
74fbda9b85 doc: fixes 2009-08-30 23:31:07 -05:00
Dan Williams
0ea50e2a92 Merge commit 'origin/polkit1' 2009-08-26 12:18:30 -05:00
Dan Williams
0097628a7b libnm-util: add nm_setting_olpc_mesh_error_quark to symbol filter 2009-08-26 11:32:20 -05:00
Dan Williams
e2b13be3d9 Merge commit 'origin/master' into polkit1
Conflicts:
	libnm-glib/Makefile.am
	src/system-settings/nm-sysconfig-settings.c
	system-settings/plugins/ifcfg-rh/plugin.c
2009-08-21 14:12:31 -05:00
Dan Williams
537c2f1f86 build: always link locally-built libraries first (bgo #580131) 2009-08-20 12:31:17 -05:00
Dan Winship
fc8661a24c libnm-util: fix verifying METHOD_IGNORE in NMSettingIP6Config 2009-08-12 10:33:21 -04:00
Dan Williams
ce7ebaa7f9 libnm-util: ensure NMConnection scope & path can be set on construction 2009-08-11 00:02:05 -05:00
Dan Williams
0993ea3989 libnm-util: fix DEFAULT_MAP_SIZE; broken by ff88cf12c2 2009-08-10 15:21:16 -05:00
Daniel Drake
ff88cf12c2 olpc: add mesh device logic and config setting 2009-08-05 16:34:02 -04:00
Dan Winship
90bd1ad5cd Install and fix up libnm-util IPv6 config stuff 2009-07-29 21:34:19 -04:00
Dan Williams
e5347169f6 peap: add GTC as a recognized phase2 method (bgo #565065) (rh #451027) (lp #284211) 2009-07-29 14:08:54 -04:00
Dan Williams
b582b4e384 docs: clarify UUID property, document NMSettingCdma 2009-07-12 10:27:10 -04:00
Torgny Johansson
a736385127 gsm: fix GSM network mode max value
So that you can actually prefer GSM/EDGE.
2009-07-10 07:58:55 -04:00
Pablo Martí
6029288ffb libnm-util:keyfile: typo fixes 2009-06-03 09:27:44 -04:00
Dan Williams
d74ab39671 libnm-util: register settings hash in nm_connection_lookup_setting_type()
If not already registered by something else...
2009-06-01 10:45:11 -04:00
Dan Williams
f43fdd9e15 bluetooth: DUN + no CDMA/GSM means invalid connection, really it does 2009-05-21 17:51:11 -04:00
Dan Williams
c065ebdbfb bluetooth: fix my stupid commit mistake of 7be36a7319
Not Bastien's fault but mine.
2009-05-18 12:18:20 -04:00
Bastien Nocera
7be36a7319 bluetooth: actually set the NMSettingBluetooth name property on init 2009-05-18 11:25:04 -04:00
Dan Williams
3af7068a87 bluetooth: fix confusion about NAP and PAN
NMSettingBluetooth represents the local connection, and thus should
use "PANU" not NAP, because the local adapter will be in PANU mode.
For now, NAP is only relevant when talking about the *remote* device
in NMDeviceBt or NMBluezDevice.
2009-05-14 13:00:22 -04:00
Dan Williams
7d88a87214 bluetooth: NMDeviceBt and associated fixes 2009-05-14 11:01:56 -04:00
Dan Williams
4ab96e8eb6 bluetooth: add NMSettingBluetooth 2009-05-13 12:34:45 -04:00
Dan Williams
07cc26d5fc wifi: handle WEP & WPA passphrases (bgo #513820) (rh #441070)
Instead of requiring applets to hash passphrases, just do it in NM instead.
This should fix confusion where people don't understand that they are seeing
their hashed passphrase.
2009-05-09 23:09:42 -04:00
Dan Williams
eee3c4ceb2 libnm-util: validate connection uuid 2009-05-03 01:09:34 -04:00
Michael Biebl
1c3c6c2a66 Remove DBUS_API_SUBJECT_TO_CHANGE
We require dbus 1.1 anyway
2009-05-02 18:00:22 -04:00
Dan Williams
b87c5495ea core: don't shadow basename (2) 2009-04-21 18:29:44 -04:00
Dan Williams
ba5a7024bd core: use _GNU_SOURCE consistently 2009-04-21 18:29:25 -04:00
Dan Williams
2c4919ae84 libnm-util: allocate correct size for uuid 2009-04-14 09:09:48 -04:00
Dan Williams
f3f1ee18d4 libnm-util: fix array transforms when arrays are NULL 2009-04-14 09:09:07 -04:00
Dan Williams
fa72dc27e0 libnm-util: add transform for byte arrays; fix IP4 address transform for prefix 2009-04-14 09:08:33 -04:00
Tobias Mueller
ba9a0ad232 core: update FSF address (bgo #577949) 2009-04-07 07:49:49 -04:00
Dan Williams
ccb84b15d5 libnm-util: fix use-after-free when updating setting secrets 2009-03-31 13:08:07 -04:00
Dan Williams
583427ee36 libnm-util: fix client certificate values after setting private key
The client certificate should only match the private key for PKCS#12.
2009-03-31 08:37:37 -04:00
Dan Williams
c4a1c49539 libnm-util: don't lowercase LEAP username 2009-03-26 16:58:33 -04:00
Tambet Ingo
41bc6e167b Implement sending current host name to DHCP server. 2009-03-20 14:44:49 +02:00
Dan Williams
d5bbd6dd49 libnm-util: fix WPA Ad-Hoc capability matching
Drivers won't necessarily add the "PSK" flag to the beacon for Ad-Hoc
APs, which is fine because PSK is the only type of security that Ad-Hoc
can do.
2009-03-04 17:18:24 -05:00
Dan Williams
73659e724c makefile cleanups
0.7 requires dbus 1.1 or greater (for system bus activation), so make that
explicit, and remove compat code for D-Bus 0.6 and earlier.  Consolidate
the various glib pkgconfig checks into one, since most anything will require
gthread, glib, and gobject anyway.  Fixup the docs makefile to be more
automake-compatible and let 'make clean' actually work correctly when
docs are built.
2009-02-15 11:20:25 -05:00
Dan Williams
a734c836a5 libnm-util: ignore Privacy for APs broadcasting WPA & RSN IEs (rh #445369)
While broadcasting WPA and RSN IEs with the Privacy bit set to 0 is
technically illegal, some networks using older Cisco equipment do it
(I'm looking at you, Eduroam) and there's no reason not to support
it.  Since the AP is broadcasting WPA/RSN IEs, assume that means
WPA and RSN is supported (duh).
2009-02-06 17:32:56 -05:00
Dan Williams
203cff4d83 libnm-util: move crypto tests to libnm-util/tests/
Add testing certs and keys; run crypto tests on 'make check'
2009-02-02 01:03:15 -05:00
Dan Williams
b61b199776 libnm-util: flag properties with G_PARAM_CONSTRUCT so default values get set
This caused the 'autoconnect' property of NMSettingConnection to not
get updated in some cases (as when a system setting plugin noticed a
change to autoconnect=true and emitted the Updated signal, which wouldn't
contain the new value).  Add a testcase for setting default values too.
2009-02-01 20:18:21 -05:00
Dan Williams
0e6c557bce ppp: fix interpretation of 'noauth' and default to TRUE
MPPE has nothing to do with noauth, since auth/noauth is for asking
the remote server to authenticate itself to the local pppd, which is
pointless.  Default 'noauth' to true.
2009-01-28 11:53:16 -05:00
Dan Williams
154f2f4534 libnm-util: default 'autoconnect' to true
Like the NetworkManagerConfigurationSpecification wiki page has stated for
quite a long time.
2009-01-27 11:31:21 -05:00
Przemysław Grzegorczyk
bac45aa0d5 clean up glib includes (bgo #564376)
Only <glib.h> and <gtk/gtk.h> need to be included.
2009-01-19 00:16:40 -05:00
Dan Williams
6bd0fce1c9 libnm-util: validate PSK and LEAP passwords
If they exist, they shouldn't be zero-length.
2009-01-12 10:31:00 -05:00
Michael Biebl
c733dbf6d0 Remove .cvsignore file, they are obsolete 2008-12-19 21:23:08 -05:00
Dan Williams
948ee274da 2008-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/libnm-util.ver
	  libnm-util/nm-setting-ip4-config.c
	  libnm-util/nm-setting-ip4-config.h
		- Add 'never-default' property, which when true indicates that a
			connection should never be the default connection

	* src/nm-ip4-config.c
	  src/nm-ip4-config.h
		- (nm_ip4_config_get_never_default, nm_ip4_config_set_never_default):
			Add never-default helpers

	* src/NetworkManagerUtils.c
		- (nm_utils_merge_ip4_config): update never-default when merging the
			IP4 setting to the IP4 config

	* src/NetworkManagerSystem.c
		- (nm_system_apply_ip4_config): if the connection is never-default,
			don't add routes without a gateway

	* src/NetworkManagerPolicy.c
		- (get_best_device): don't let never-default connections be the best
		- (update_routing_and_dns): handle never-default for VPN connections

	* system-settings/plugins/ifcfg-rh/reader.c
		- (make_ip4_setting): handle never-default by checking GATEWAYDEV



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/branches/NETWORKMANAGER_0_7@4378 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-12-09 20:01:49 +00:00
Dan Williams
ffdd6e2948 2008-12-05 Dan Williams <dcbw@redhat.com>
Patch from Michael Biebl  <mbiebl@gmail.com>

	* libnm-glib/Makefile.am
		- Bump libnm-glib revision to indicate new API
		- Give libnm-util version info

	* libnm-util/Makefile.am
		- Bump libnm-util soname to indicate API/ABI break with 0.6



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/branches/NETWORKMANAGER_0_7@4365 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-12-05 21:46:40 +00:00