summaryrefslogtreecommitdiff
path: root/src/monitor/monitor_netlink.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-20Convert read and write operations to sss_atomic_readJakub Hrozek1-11/+9
https://fedorahosted.org/sssd/ticket/1209
2012-04-09netlink integration: ensure that interface name is NULL-terminatedJakub Hrozek1-1/+2
In the unlikely case that the interface name was IFNAMSIZ bytes long or longer, strncpy wouldn't NULL-terminate the buffer. Copy one byte less to ensure the buffer is NULL-terminated.
2012-02-23libnl: fix the path to phy80211 subdirectoryJakub Hrozek1-4/+20
2011-09-20Fix wrong buffer size in has_phy_80211_subdir()Jakub Hrozek1-2/+3
https://fedorahosted.org/sssd/ticket/1002
2011-09-06Subscribe to netlink route and addr messagesJakub Hrozek1-5/+244
https://fedorahosted.org/sssd/ticket/955 In addition to carrier up messages, also subscribe to any messages describing that an address has been added or removed or routing table changed.
2011-09-06Discard carrier messages from non-ethernet devicesJakub Hrozek1-3/+155
IFF_LOWER_UP has no meaning for wireless interfaces, it can mean that an association has been made with an access point, but it does not mean that an addressing has been completed. This patch discards "carrier up" messages from interfaces that do not look like ethernet devices.
2011-09-06Change libnl monitor callback to only signal going onlineJakub Hrozek1-3/+1
This feature was not used and would probably never be used, because it is much safer to rely on online actions to time out. Moreover, it would make implementing the new features more complex.
2011-01-17Remove support for pre-1.1 netlinkStephen Gallagher1-32/+0
Netlink 1.0 and older is buggy and unreliable, occasionally causing tight-loops. We're no longer going to try to support it. https://fedorahosted.org/sssd/ticket/755
2010-11-24Fix a typo on setup_netlink()Sumit Bose1-1/+1
2010-07-09Use netlink to detect going onlineJakub Hrozek1-0/+406
Integrates libnl to detect adding routes. When a route is added, the offline status of all back ends is reset. This patch adds no heuristics to detect whether back end went offline. Fixes: #456