summaryrefslogtreecommitdiffstats
path: root/source3/lib/addrchange.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-291-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3: Add more checks and better fallback to addrchangeVolker Lendecke2011-02-111-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
* s3:lib/addrchange: set ctx->sock to -1 after closeStefan Metzmacher2011-02-041-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
* s3:lib/addrchange: remove unused pointerStefan Metzmacher2011-02-041-1/+0
| | | | metze
* s3:lib/addrchange: let addrchange_done() retry and ignore unknown message typesStefan Metzmacher2011-02-041-5/+16
| | | | | | Messages like RTM_NEWLINK should be just ignored. metze
* s3: Fix the build on sles8Volker Lendecke2011-02-011-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
* s3: Add support for AF_NETLINK addr notificationsVolker Lendecke2011-02-011-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.