summaryrefslogtreecommitdiff
path: root/source3/lib/addrchange.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-11s3: Add more checks and better fallback to addrchangeVolker Lendecke1-16/+29
From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I learned a bit more about netlink... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104
2011-02-04s3:lib/addrchange: set ctx->sock to -1 after closeStefan Metzmacher1-1/+1
The makes the code more consistent with similar destructors. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 4 15:52:55 CET 2011 on sn-devel-104
2011-02-04s3:lib/addrchange: remove unused pointerStefan Metzmacher1-1/+0
metze
2011-02-04s3:lib/addrchange: let addrchange_done() retry and ignore unknown message typesStefan Metzmacher1-5/+16
Messages like RTM_NEWLINK should be just ignored. metze
2011-02-01s3: Fix the build on sles8Volker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
2011-02-01s3: Add support for AF_NETLINK addr notificationsVolker Lendecke1-0/+271
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are added or dropped. This will first be used in winbind, it was triggered by clustering with ctdb. When winbind is connected to a domain controller and ctdb decides to move away the IP address that winbind used locally for the connection to the DC, the next request will run into a timeout. winbind sends out its request, but the response will never arrive: The IP is gone. It will also be interesting for more reliable online/offline detection, but this is something for future winbind refactoring.