Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- Disable explicit loading of Linux kernel modules via yvipagent

  (iptables will load the appropriate modules on start).
- Minor documentation updates
  • Loading branch information...
commit 6fd12e64a9e121d7c8c6eafa86506557c90a0861 1 parent 7bc90af
Ben Haga authored
4 yvipagent/CHANGES
... ... @@ -1,3 +1,7 @@
  1 +Version 1.3 (2012-11-05)
  2 + * Linux: Disable explicit loading of kernel modules via yvipagent. iptables
  3 + will load the appropriate modules as required.
  4 + * Minor documentation updates
1 5
2 6 Version 1.2 (2010-11-08)
3 7 * on FreeBSD, also explicitly set the dscp_rewrite.enabled
2  yvipagent/LICENSE
... ... @@ -1,4 +1,4 @@
1   -Copyright (c) 2009,2010,2011 Yahoo! Inc. All rights reserved.
  1 +Copyright (c) 2009,2010,2011,2012 Yahoo! Inc. All rights reserved.
2 2
3 3 Redistribution and use of this software in source and binary forms, with
4 4 or without modification, are permitted provided that the following
15 yvipagent/doc/yvip.conf.5
... ... @@ -1,6 +1,6 @@
1 1 .\" This manual page was originally written by Jan Schaumann
2 2 .\" <jschauma@yahoo-inc.com> in September 2009.
3   -.Dd January 20, 2011
  3 +.Dd November 5, 2012
4 4 .Dt YVIP 5
5 5 .Os
6 6 .Sh NAME
@@ -59,3 +59,16 @@ dscp=41
59 59 Note that the
60 60 .Ar key=value
61 61 pairs are unquoted.
  62 +.Sh HISTORY
  63 +The
  64 +.Nm
  65 +maintainer is
  66 +.An Ben Haga
  67 +.Aq bhaga@yahoo-inc.com .
  68 +.Pp
  69 +The
  70 +.Nm
  71 +utility was originally written by
  72 +.An Jan Schaumann
  73 +.Aq jschauma@yahoo-inc.com
  74 +in September 2009.
15 yvipagent/doc/yvipagent.8
... ... @@ -1,6 +1,6 @@
1 1 .\" This manual page was originally written by Jan Schaumann
2 2 .\" <jschauma@yahoo-inc.com> in September 2009.
3   -.Dd January 21, 2011
  3 +.Dd November 5, 2012
4 4 .Dt YVIPAGENT 8
5 5 .Os
6 6 .Sh NAME
@@ -20,7 +20,8 @@ It does this by parsing the VIP configuration files found in the directory
20 20 specified via the
21 21 .Fl d
22 22 flag and installing the necessary firewall rules, loopback aliases, kernel
23   -modules etc.
  23 +modules (FreeBSD-only), et cetera. Linux kernel module loading is handled
  24 +by iptables.
24 25 .Pp
25 26 .Nm
26 27 is normally run at system startup time (or manually) from
@@ -81,8 +82,8 @@ If invoked with the argument being
81 82 it will perform the following actions for each of the VIPs:
82 83 .Bl -bullet -compact -offset indent
83 84 .It
84   -ensure VIP-related kernel modules are loaded (ie load if not already
85   -loaded)
  85 +ensure VIP-related kernel modules are loaded (FreeBSD-only, ie load if not
  86 +already loaded)
86 87 .It
87 88 ensure needed firewall rules are installed (ie add if not present)
88 89 .It
@@ -108,6 +109,12 @@ besides syntax checking.
108 109 .Sh HISTORY
109 110 The
110 111 .Nm
  112 +maintainer is
  113 +.An Ben Haga
  114 +.Aq bhaga@yahoo-inc.com .
  115 +.Pp
  116 +The
  117 +.Nm
111 118 utility was originally written by
112 119 .An Jan Schaumann
113 120 .Aq jschauma@yahoo-inc.com
2  yvipagent/src/yvip.sh
... ... @@ -1,6 +1,6 @@
1 1 #! /bin/sh
2 2 #
3   -# Copyright (c) 2009,2010,2011 Yahoo! Inc.
  3 +# Copyright (c) 2009,2010,2011,2012 Yahoo! Inc.
4 4 #
5 5 # Originally written by Jan Schaumann <jschauma@yahoo-inc.com> in September
6 6 # 2009.
4 yvipagent/src/yvipagent.pl
... ... @@ -1,6 +1,6 @@
1 1 #! /usr/local/bin/perl -Tw
2 2 #
3   -# Copyright (c) 2009,2010,2011 Yahoo! Inc.
  3 +# Copyright (c) 2009,2010,2011,2012 Yahoo! Inc.
4 4 #
5 5 # Originally written by Jan Schaumann <jschauma@yahoo-inc.com> in September
6 6 # 2009.
@@ -91,7 +91,7 @@
91 91 "firewall_config_stop" => "/sbin/sysctl <rule>",
92 92 },
93 93 "linux" => {
94   - "kernel_modules" => "ipt_dscp ipt_DADDR ",
  94 + "kernel_modules" => "",
95 95 "kernel_module_test" => "/bin/grep -q ^<mod> /proc/modules",
96 96 "kernel_module_load" => "/sbin/modprobe <mod>",
97 97 "loopback_start" => "/sbin/ifconfig lo",

0 comments on commit 6fd12e6

Please sign in to comment.
Something went wrong with that request. Please try again.