Commit Graph

44 Commits

Author SHA1 Message Date
Jérémy Lecour 9f813eadc9 ignore build files 2017-11-30 23:34:36 +01:00
Jérémy Lecour 6f86e6d3d4 remove useless line break 2017-11-30 23:31:07 +01:00
Jérémy Lecour 3b65e1f4c2 Improve readability of README 2017-11-30 23:30:48 +01:00
Arnaud Andre 080965fe0e vrrp_switch.sh: Move sysctl call to init state and install hook in vrrp_state.c. Close #1948 and close #1949. 2016-08-20 14:13:40 +02:00
Arnaud Andre 4860d50b5f Fix unused-result 2016-01-29 00:06:20 +01:00
Arnaud ANDRE 2a87fd96b4 Check for IPv6 multicast support in autoconf 2016-01-26 11:21:58 +01:00
Arnaud ANDRE 466e7355e1 Add configure option to disable IPv6 at compile time. By default, autodetect and enable if supported (HAVE_IP6) 2016-01-25 21:38:29 +01:00
Arnaud ANDRE 53c9a57116 Set SCHED_RR 2016-01-24 21:45:18 +01:00
Arnaud ANDRE 96a61cbac3 Prevent swapping by locking procress's virtual address space into RAM 2016-01-22 21:20:51 +01:00
Arnaud ANDRE 9f3e6f8659 vrrp_ctrl.c: Fix bad cleaning of ctrl buffers 2016-01-19 16:31:18 +01:00
Arnaud ANDRE 549cc03712 Rework README.md and usage() 2016-01-18 19:05:59 +01:00
Arnaud ANDRE 211f699794 Add --start-delay option 2016-01-18 18:44:39 +01:00
Arnaud ANDRE d13433f743 Add priority in status dump 2016-01-18 16:12:23 +01:00
Arnaud ANDRE 47d932d282 Merge branch 'master' of ssh://git.evolix.org/uvrrpd 2016-01-18 16:09:21 +01:00
Arnaud ANDRE 1ec5039edb Update README.md and usage() 2016-01-18 16:03:02 +01:00
Arnaud ANDRE 2887d74a01 Move vrrp_net_listen() to vrrp.c:vrrp_listen() and listen control fifo fd. Add CTRL_FIFO event. Close #1715. 2016-01-18 15:33:41 +01:00
Arnaud ANDRE 0d1cb3552e Move vrrp_net_listen() to vrrp.c:vrrp_listen() and listen control fifo fd. Add CTRL_FIFO event 2016-01-18 15:25:16 +01:00
Arnaud ANDRE 2d1ea0dc75 Init and cleanup ctrl fifo 2016-01-18 15:22:46 +01:00
Arnaud ANDRE 336868339d Add vrrp_ctrl.c/.h module 2016-01-18 15:22:40 +01:00
Arnaud ANDRE f4d0329180 Creation of control fifo, introducing struct vrrp_ctrl 2016-01-18 11:45:38 +01:00
Arnaud ANDRE e3e40a868c Remove \n in log_*() 2016-01-18 11:26:34 +01:00
Arnaud ANDRE ded9e81a45 Add max() macro 2015-12-31 16:17:04 +01:00
Arnaud ANDRE b58c758b39 Add PATHRUN. Use PATH and PATHRUN instead of absolute path for some files (pidfile, script) 2015-12-31 14:46:39 +01:00
Arnaud Andre 4e083b7392 Fix typo in README.md 2015-12-22 12:53:57 +01:00
Arnaud Andre e4225f1438 Amend the build procedure (https://github.com/gilles-chanteperdrix/uvrrpd/commit/6ae32bc) (close #1653) 2015-12-22 12:42:04 +01:00
Arnaud Andre 095796a318 Autoconfiscate, thanks to gilles-chanteperdrix (https://github.com/gilles-chanteperdrix/uvrrpd/commit/ae45e71) 2015-12-22 12:40:29 +01:00
Arnaud Andre 4737ff78cc Fix use of uninitialized values, as gilles-chanteperdrix mentionned in https://github.com/gilles-chanteperdrix/uvrrpd/commit/adf9352 2015-12-22 12:39:54 +01:00
Arnaud ANDRE f62f405f58 Ignore silently VRRP packet with a different VRID. Thanks to Samuel Melrose (https://github.com/iamacarpet/) 2015-11-06 13:03:26 +01:00
Arnaud Andre c83dbd0618 Update README.md 2015-09-16 18:53:13 +02:00
Arnaud Andre 424324b52f vrrp_switch.sh: shorten VRRP interface name. Replace dot separator by / in sysctl cmd to be compatible with vlan interface. 2015-09-16 13:21:37 +02:00
Arnaud Andre de6f874d5e Add pidfile support (closes: #1651) 2015-09-16 01:21:42 +02:00
Arnaud Andre 4d632694e6 Standardize log_* format 2015-09-16 01:03:04 +02:00
Arnaud Andre 31d69ceef9 Move some #define from vrrp_ipx.h to vrrp_net.h and comments 2015-09-15 18:35:07 +02:00
Arnaud Andre cd28e3892e Some cleaning and comments 2015-09-15 18:34:08 +02:00
Arnaud Andre af6b5177fa add .gitignore 2015-09-15 18:30:41 +02:00
Arnaud Andre 8444458d89 Clean NA pkt buffer on exit 2015-09-15 14:56:12 +02:00
Arnaud Andre 38bbbf1ed1 log_open() after parsing options 2015-09-13 16:35:11 +02:00
Arnaud Andre 660098e4f9 Add README.md 2015-09-12 15:32:03 +02:00
Arnaud Andre 7ccf2f1a85 vrrp_exec.c : use vrrp_adv_addr_to_str() 2015-09-12 13:32:05 +02:00
Arnaud Andre 7a26ce75c0 vrrp_state.c : Fix IPv4 only behaviour when priority is the same(use vrrp_adv_addr_cmp()), and cleanup code. 2015-09-12 13:28:58 +02:00
Arnaud Andre 23db4552c8 vrrp_adv.h: Replace deprecated and IPv4 only vrrp_adv_get_ntoa_addr() and vrrp_adv_get_ntohl_addr() by vrrp_adv_addr_to_str() and vrrp_adv_addr_cmp() 2015-09-12 13:25:47 +02:00
Arnaud Andre 822ec3a568 vrrp_ipx.h : Rename *cmp to *viplist_cmp (compare virtual IPs list in advertisement).
Add *cmp (compare ipx addr), *ipx_ntop/pton (ipx to str/str to ipx) helpers
Implement them in vrrp_ip4.c and vrrp_ip6.c
2015-09-12 02:11:03 +02:00
Arnaud Andre 51ced7748c Fix IPv4 header checksum 2015-09-12 01:35:00 +02:00
Arnaud Andre 338f9a9659 Initializing uvrrpd repository 2015-09-10 00:45:29 +02:00