Commit Graph

15047 Commits

Author SHA1 Message Date
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
Dan Williams
479bd2b12e libnm-util: update 802.1x setting documentation 2011-07-02 15:38:41 -05:00
Dan Williams
2943453bf8 libnm-util: update WiMAX setting documentation 2011-07-02 15:38:27 -05:00
Dan Williams
af55e25f14 libnm-glib: fix GObject introspection annotation 2011-07-02 14:49:02 -05:00
Dan Williams
5459d9db8c policy: don't auto-activate shared wifi if user is not authorized (CVE-2011-2176) (rh #715492)
If a shared wifi connection is restricted to a certain set of users
and none of those users have authorization to start shared wifi
connections, don't auto-start the connection.
2011-07-01 15:41:00 -05:00
Dan Williams
669de165ca core: request authorization for shared wifi connections (CVE-2011-2176) (rh #715492)
Ensure the user is authorized to start shared wifi connections.
2011-07-01 15:41:00 -05:00
Dan Williams
f9aa019ba8 settings: add function for validating connection's active user permissions
Returns TRUE if any user the connection is visible too is active and
has the given permission.
2011-07-01 15:41:00 -05:00
Dan Williams
5cf1addbdf core: add utility function to get a connection's shared wifi permission
If the connection is a shared wifi connection, return the appropriate
permission the user must obtain to use the connection.
2011-07-01 15:41:00 -05:00
Dan Williams
2420c37e24 agents: add nm_agent_manager_get_agent_by_user()
Return any registered agent for a given username.
2011-07-01 15:41:00 -05:00
Dan Williams
ded905ceb1 agents: track agent wifi permissions
When an agent registers, request wifi sharing permissions for that
agent's user and only register the agent when the permissions are
known.
2011-07-01 15:41:00 -05:00
Dan Williams
85708fa5d7 agents: store agent permissions for later
Let something else do the actual checking but provide an
interface to let that something else track the permissions
of the user that owns the agent.
2011-07-01 15:38:38 -05:00
Dan Williams
3b226980c7 agents: track agent username
Look up the username of the user whose session the agent is
part of andkeep that around for later.
2011-07-01 15:38:38 -05:00
Dan Williams
c08279dff4 core: add nm_auth_chain_steal_data()
New function for removing data from the auth chain without
destroying it.
2011-07-01 15:38:38 -05:00
Dan Williams
937970f60c core: allow multiple authority changed callbacks
We'll need this later; just keep all registered callbacks
in a list and track them by func/data.
2011-07-01 15:38:38 -05:00
Dan Williams
db6638623b core: don't schedule authentication requests twice
If an error occurred, or PolicyKit is disabled, we don't want to
schedule two idle handlers to return the result of an authentication
request.  We'll soon be queuing up multiple requests at the same
time so we don't want this to happen.
2011-07-01 15:38:38 -05:00
Dan Williams
220fb52621 api: update documentation about secret agents and SaveSecrets() 2011-07-01 15:38:38 -05:00