Commit Graph

8762 Commits

Author SHA1 Message Date
Dan Williams
f3057a6844 release: bump version to 0.8.0.997 (0.8.1-beta1) 2010-05-10 00:35:07 -07:00
Jorge González
9afd18f37c po: update Spanish translation (bgo #617357) 2010-05-08 09:59:34 -07:00
Sandeep Shedmake
47b7bc2871 po: update Marathi translation (bgo #615811) 2010-05-08 09:55:08 -07:00
Runa Bhattacharjee
eea261afe2 po: update Bengali translation (bgo #617985) 2010-05-08 09:52:41 -07:00
Kiyoto Hashida
3239f4af79 po: updated Japanese translation (bgo #618002) 2010-05-08 09:51:42 -07:00
Jiří Klimeš
2242788e98 examples: fix a prefix 2010-05-06 16:28:42 +02:00
Dan Williams
391fb0f0f2 ip6: set accept_ra to initial value for ignored connections (rh #588619) 2010-05-05 13:20:18 -07:00
Dan Williams
266e389cd3 bt: more debug logging 2010-05-05 13:09:12 -07:00
Dan Williams
57d9cc3c4a bt: increase DUN modem find timeout a bit 2010-05-05 12:53:20 -07:00
Dan Williams
e2f848c2d9 bt: ensure connect timeout is canceled on success (rh #586961) 2010-05-05 12:52:45 -07:00
Dan Williams
88e6f25b7e po: add translatable 2010-05-05 03:10:40 -07:00
Dan Williams
14bfae6802 cli: fix build on 32-bit platforms 2010-05-05 04:54:03 -07:00
Dan Williams
688de6d782 Merge remote branch 'origin/master' into cli-output 2010-05-05 00:38:51 -07:00
Dan Williams
17b49b957c ip6: don't flush link-local IPv6 routes (rh #587836)
Since a link-local address should pretty much always be
assigned to an active interface, avoid flushing the routes
that allow link-local communication to work.
2010-05-04 20:24:17 -07:00
Dan Williams
1c5236029c core: pass ifindex and address family when flushing routes
Use the interfaces kernel index when we can to avoid unecessary
iface->index lookups; and let callers figure out which address
family they really want to flush.
2010-05-04 20:23:09 -07:00
Dan Williams
ad1017974b core: treat missing IPv6 setting as "ignore" (rh #588814)
Caused IPv6 configuration to fail the device even if IPv6 was supposed
to be disabled/ignored.
2010-05-04 16:14:29 -07:00
Dan Williams
d9cca49784 logging: silence ignorable warning
Since the NMDevice's interface isn't always the same as a kernel
interface name, we won't always have an entry in /proc/sys/net for it.
2010-05-04 16:12:52 -07:00
Dan Williams
79df93ce33 logging: log PID with syslog messages 2010-05-04 15:03:59 -07:00
Dan Williams
46c5a48ff2 ip6: use IN6_ARE_ADDR_EQUAL not memcmp 2010-05-04 12:45:36 -07:00
Dan Williams
291211ac2b dbus: ensure only root can change debug levels 2010-05-04 12:07:57 -07:00
Dan Williams
defaee09e5 logging: correctly print new logging level and domains on changes
Previously the input would simply be printed, but if you're not
changing either the level or domains (ie sending "") then the
unchanged logging domains wouldn't be printed, only "".
2010-05-04 12:06:00 -07:00
Dan Williams
e99ad94411 api: fix SetLogging description typo 2010-05-04 10:04:55 -07:00
Dan Williams
e1eee77497 hostname: return NULL from failed hostname lookup, not zero-length string 2010-05-03 20:34:22 -07:00
Dan Williams
719738d133 keyfile: fix for IPv6 address gateways 2010-05-03 04:53:13 -07:00
Dan Williams
0ab71998ce ifcfg-rh: test implicit may-fail configuration 2010-05-03 04:12:18 -07:00
Dan Williams
7926b3ca95 ip6: turn RA acceptance off when RAs shouldn't be used (rh #588163)
Make sure we don't inadvertenly let the kernel assign an RA address
when connections that don't allow RA are used.
2010-05-03 03:42:43 -07:00
Dan Williams
10d6bc8d2e ip6: fail if the RA-provided address disappears or RDNSS expires 2010-05-03 03:02:57 -07:00
Dan Williams
c21416e956 ip6: don't prematurely remove RDNSS nameservers (rh #588192) 2010-05-03 02:48:18 -07:00
Dan Williams
670de9b5fb ip6: tune RDNSS parsing logging 2010-05-03 02:42:48 -07:00
Dan Williams
dd699c585f core: better logging for interface address syncing 2010-05-03 02:11:59 -07:00
Dan Williams
13e1aaa423 ifcfg-rh: add support for non-fatal IP configuration failure 2010-05-03 01:33:55 -07:00
Dan Williams
8aef7ef411 core: allow selective failure of IP configuration (rh #567978)
As long as at least one IP config method completes, and as long as
methods that the user required to complete do complete, allow the
connection to complete.
2010-05-03 01:19:54 -07:00
Dan Williams
3fb8cdb35f mesh: let parent class handle IP config timeout 2010-05-03 00:59:06 -07:00
Dan Williams
7025e054d9 libnm-util: clarify may-fail behavior 2010-05-03 00:08:02 -07:00
Dan Williams
806b74db34 libnm-util: add 'may-fail' for IPv4 and IPv6
When this property is TRUE, IP configuration can continue as long
as at least on IP configuration type succeeds.  This allows
connections to networks where the user does not necessarily know
whether the network supports IPv4 or IPv6 and does not require
that both complete succesfully.

Since most of the time the user doesn't really care what type
of connectivity they have, as long as they have *some* connectivity,
this allows better "Just Works" behavior as long as the system
settings plugins and connection editors/applets use the right
defaults.

Suggested defaults for may-fail are:

IPv4: no (ie, require IPv4 connectivity)
IPv6: yes (ie, do not require IPv6 connectivity)

Users who require a specific type of connectivity are probably
knowlegable enough to check the box as needed for their network.
2010-05-02 16:51:26 -07:00
Dan Williams
71c7ecba08 libnm-util: more IPv6 address gateway fixes 2010-05-02 13:22:29 -07:00
Dan Williams
5ca72c78a0 ip6: avoid autoconf routes where dest == gateway
These return errors when we try to add them via netlink (both internal
code and using /sbin/ip) so we'll ignore them for now.
2010-05-02 00:44:44 -07:00
Dan Williams
32b255e128 trivial: remove some debugging leftovers 2010-05-02 00:32:26 -07:00
Dan Williams
28d2c5592b dhcp: ensure getting DHCP IP config fails if the client died early
If the client never delivered any options to NM, make sure we don't
return a valid IP config object to callers when they request one.
2010-05-02 00:24:50 -07:00
Dan Williams
c34cc017ba dhcp: handle client early exit correctly
When the client	exits it may take a short amount of time for the
dhclient hook script to	deliver	the options to NetworkManager; so
we need	to keep	the client object around a bit (so we know what
NMDHCPClient the options getting delivered are for).  If we don't,
the DHCPManager will dispose of	the DHCPClient object and then
when the options come in, it can't match up the	PID from the
options with the PID of	an existing NMDHCPClient.  So put the
clients	on a removal timer that	keeps them around for a	bit before
we let the manager dispose of them.

Since we're keeping the	PID around too instead of zeroing it when
the client exits (for the reason above), track whether the client
is really dead yet so we don't indiscriminately	kill a random
process	that happens to re-use the PID.
2010-05-02 00:24:40 -07:00
Dan Williams
bec6147e9b dhcp6: track client mode better and handle info-only early-exit
Ignore early exits of the client in info-only mode; since there is
no address lease the client doesn't need to stick around after
getting DNS/etc options from the server.
2010-05-01 10:16:38 -07:00
Dan Williams
39c2797848 dhcp: don't reset pid on client exit
Clients in IPv6 info-only mode may exit after getting a response
from the server, since there are no leases involved in info-only
mode.  To ensure that the client's options are received when the
event comes in (which could be after we get the child watch
callback for the exit) we still need the client's PID.
2010-05-01 10:12:25 -07:00
Dan Williams
07de58bbeb dhcp: clean up client spawn return value 2010-05-01 09:53:49 -07:00
Dan Williams
8398ccba59 dhcp: simplify option iteration
Also removes the failure return when the lease isn't bound,
because nothing was respecting the return value anyway.
2010-05-01 09:48:31 -07:00
Dan Williams
41f3a67092 dhcp: fix client end state when it exits normally 2010-05-01 09:27:32 -07:00
Dan Williams
00bcc42a35 logging: log DHCP state changes 2010-05-01 09:26:57 -07:00
Dan Williams
0e546480fa dhcp6: fix merging of DHCPv6 config into interface config
If we're doing autoconf + DHCPv6 info-only, we need to combine the
DHCP and IPv6 configuration into the final device configuration.
2010-05-01 08:12:25 -07:00
Dan Williams
d1be3793a1 dhcp6: info-only requests don't require addresses
They aren't actual leases so an info-only request doesn't return
an address.
2010-05-01 08:10:49 -07:00
Dan Williams
e3de3b65ef logging: print DHCP client pid in warnings 2010-05-01 08:09:12 -07:00
Dan Williams
398b41a61d trivial: IP6Config object cleanups 2010-05-01 08:05:39 -07:00