Commit Graph

8762 Commits

Author SHA1 Message Date
Dan Williams
73ddc1e307 core: move route creation to nm-netlink-utils.c 2011-07-22 18:10:28 -05:00
Dan Williams
11c2824ef1 core: remove dead libnl code 2011-07-22 18:09:37 -05:00
Dan Williams
abb89a7d2a core: move route iteration to nm-netlink-utils.c 2011-07-22 18:09:32 -05:00
Dan Williams
7461e33ce1 core: move route logging to nm-netlink-utils.c 2011-07-22 16:17:10 -05:00
Dan Williams
8b075fcdf2 core: move route deletion to nm-netlink-utils.c 2011-07-22 16:12:44 -05:00
Dan Williams
3a86b5ae34 core: move address checking functionality into separate file
Start to consolidate netlink stuff so we can eventually keep all
the API changes for libnl1 vs. libnl3 in fewer places.
2011-07-22 15:28:35 -05:00
Dan Williams
2fabdbff15 core: finish conversion of nm-system functions to ifindex not iface name 2011-07-22 14:24:18 -05:00
Dan Williams
efb5735ad1 core: more conversion to ifindex instead of iface 2011-07-22 14:09:16 -05:00
Dan Williams
c742cc83fd core: convert up/down check to netlink and use interface index not iface 2011-07-22 13:49:49 -05:00
Dan Williams
d2d1f2e9e0 core: use interface indexes more 2011-07-22 13:37:29 -05:00
Dan Williams
88cd34feef core: remove unused includes 2011-07-22 12:50:54 -05:00
Mathieu Trudel-Lapierre
36db194ae9 libnm-util: default to allowing IPv6 connections to fail
Allow IPv6 connections to fail by changing the default value of the may-fail
property for ipv6 settings to TRUE.

This makes sure connections created manually using nm-connection-editor
will default to having the "Require ..." checkbox unchecked; in other words,
IPv6 timing out will still allow the interface to be configured if
IPv4 succeeds.
2011-07-20 23:56:48 -05:00
Dan Williams
9cdc5021ab keyfile: fix integer list SSID parsing after 30c41a4b80
The regex was capturing integers larger than 3 digits, which aren't
valid SSID integer list items because each byte of the SSID cannot be
larger than 255.  Add an explicit testcase for intlist SSIDs too.
The previous regex was causing a testcase failure with an SSID of
'1337' which it was interpreting as a single element intlist, but
should have been interpreted as a string since it's clear > 255.
2011-07-20 17:44:14 -05:00
Dan Williams
5fb8efbb19 docs: another trivial doc fix 2011-07-19 12:27:44 -05:00
Dan Williams
809e791f02 docs: trivial doc fix 2011-07-19 12:22:08 -05:00
Dan Williams
50df7397a5 docs: document the VPN setting 2011-07-19 12:06:47 -05:00
Dan Williams
2a020de944 docs: document PPP setting 2011-07-19 11:34:11 -05:00
Dan Williams
86854167d6 libnm-util: add some missing GObject introspection annotations 2011-07-19 11:14:01 -05:00
Dan Williams
2c401887aa docs: document the PPPoE setting 2011-07-19 11:08:38 -05:00
Dan Williams
d45e9cb062 libnm-util: rename symbol to fix export check
The export check looks for symbols that begin with "nm_" (except
for GObject class stuff) which indicate that the symbol should be
exported.  If the symbols is 'l' (local) as reported by objdump
that probably means we forgot to add it to the .ver file and it
really should be exported.  nm_gvalue_dup() shouldn't be exported
though, so rename it such that it's obviously internal.
2011-07-19 09:56:46 -05:00
Dan Williams
ba390d2430 ifcfg-rh: add testcase for PEAP anonymous identity (rh #708436) 2011-07-18 22:40:45 -05:00
Jiří Klimeš
3c0bf572c4 ifcfg-rh: read IEEE_8021X_ANON_IDENTITY for PEAP too (rh #708436) 2011-07-15 11:28:27 +02:00
Dan Williams
70aba9a038 libnm-glib: VPN delete and save secrets operations are no longer used
They don't get called by anything since 0.9 reworked secrets handling
and added secret agents.  Make them nops but keep the functions.
2011-07-13 13:00:16 -05:00
Jiří Klimeš
c3893b5325 dns: append %interface to link-local IPv6 addresses in resolv.conf (rh #720001) 2011-07-12 16:09:01 +02:00
Jiří Klimeš
6272052f9d policy: fix setting hostname from DHCP options (rh #719100) 2011-07-12 14:47:33 +02:00
Dan Williams
530f2674d4 initscript: don't install Red Hat/Fedora sysv iniscript with systemd
We ship systemd native unit files when systemd is configured so we
don't need to install the sysvinit stuff.
2011-07-07 11:16:07 -05:00
Jiří Klimeš
30c41a4b80 keyfile: distinguish better between string x int list formats (bgo #649422)
This commit enhances get_uchar_array() to better differentiate between string
ad integer list formats. This allows using ';' character in SSIDs.
2011-07-07 15:25:11 +02:00
Jiří Klimeš
2f421bc779 keyfile: correct a warning message 2011-07-07 14:50:35 +02:00
Jiří Klimeš
730da1090e wifi: instead of asserting just return for NULL AP in update_seen_bssids_cache() 2011-07-07 13:18:59 +02:00
Jiří Klimeš
5b650f9ae3 settings: do not crash on GetSecrets() in case of missing secrets
When secrets are flagged as agent-owned in a connection configuration file, but
actually not available, we have to return an empty hash (nm_connection_to_hash()
returns NULL).
2011-07-07 12:51:22 +02:00
Dan Williams
8e929b1e1b ifcfg-rh: fix for three-digit prefixes
The regex only caught prefixes up to 99; anything over that was
truncated to two digits.
2011-07-05 23:27:50 -05:00
Dan Williams
50867cc461 ifcfg-rh: don't try to set a prefix of 0
It's not a valid prefix since NM determines the default routes
automatically, and thus routes and addresses with a prefix of
zero should not be used in config files.
2011-07-05 23:17:14 -05:00
Dan Williams
664204e56c docs: document the IP6Config setting 2011-07-05 19:27:46 -05:00
Dan Williams
39b2d78ee3 libnm-util: enforce IPv4 prefix range validity
Prefixes are between 1 and 32 inclusive so we might as well
enforce that.
2011-07-05 19:26:57 -05:00
Dan Williams
24855b02ec libnm-util: fix up another GObject introspection annotation 2011-07-05 18:23:37 -05:00
Dan Williams
55f55781a8 docs: update Serial setting documentation 2011-07-05 18:17:08 -05:00
Dan Williams
2de340ab7a docs: fix some Wireless Security setting documentation 2011-07-05 18:13:51 -05:00
Dan Williams
223532c385 docs: update CDMA setting documentation 2011-07-05 18:11:35 -05:00
Dan Williams
af1b556ee1 docs: update Wireless Security setting documentation 2011-07-05 18:09:14 -05:00
Dan Williams
ea3f60add4 libnm-util: fix up some GObject introspection annotations 2011-07-05 17:34:48 -05:00
Dan Williams
d0187fbbc6 docs: update Wireless setting documentation 2011-07-05 17:09:00 -05:00
Dan Williams
853b6f117f docs: update Wired setting documentation 2011-07-05 16:54:07 -05:00
Dan Williams
05336474d7 docs: document the IP4Config setting 2011-07-05 15:25:08 -05:00
Dan Williams
bf1d93153c docs: update Setting object documentation 2011-07-05 14:26:52 -05:00
Dan Williams
2da074db78 docs: update GSM setting documentation 2011-07-05 14:19:54 -05:00
Dan Williams
7568b78ce1 docs: document Bluetooth setting more fully 2011-07-05 14:18:55 -05:00
Yuri Kozlov
b10a94dfa9 po: updated Russian translation (rh #652904) 2011-07-04 12:08:37 +02:00
Dan Williams
77dba1c20b docs: update libnm-glib documentation 2011-07-02 15:52:57 -05:00
Dan Williams
16e64f071e docs: make sure WiMAX setting is documented 2011-07-02 15:47:43 -05:00
Dan Williams
8f48bc92e9 libnm-util: more 802.1x setting documentation updates 2011-07-02 15:47:15 -05:00