diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | git2chg.awk | 2 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/getla.c | 2 | ||||
-rw-r--r-- | src/sleep.c | 2 | ||||
-rw-r--r-- | src/tbf.c | 2 | ||||
-rw-r--r-- | src/time.c | 2 | ||||
-rw-r--r-- | src/vmod-tbf.3 | 6 | ||||
-rw-r--r-- | src/vmod_tbf.vcc | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 16 | ||||
-rw-r--r-- | tests/test00.vti | 16 | ||||
-rw-r--r-- | tests/test01.vtc | 16 | ||||
-rw-r--r-- | tests/test02.vti | 16 | ||||
-rw-r--r-- | tests/test03.vtc | 16 | ||||
-rw-r--r-- | tests/time00.vtc | 16 |
17 files changed, 109 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index 7c1d758..5fd1bdc 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of vmod-tbf | 1 | # This file is part of vmod-tbf |
2 | # Copyright (C) 2013 Sergey Poznyakoff | 2 | # Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | 4 | # Vmod-tbf is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
@@ -1,5 +1,5 @@ | |||
1 | Vmod-tbf README | 1 | Vmod-tbf README |
2 | Copyright (C) 2013 Sergey Poznyakoff | 2 | Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | See the end of file for copying conditions. | 3 | See the end of file for copying conditions. |
4 | 4 | ||
5 | * Introduction | 5 | * Introduction |
diff --git a/configure.ac b/configure.ac index 70fd78d..b1a17e2 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of vmod-tbf -*- autoconf -*- | 1 | # This file is part of vmod-tbf -*- autoconf -*- |
2 | # Copyright (C) 2013 Sergey Poznyakoff | 2 | # Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | 4 | # Vmod-tbf is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
diff --git a/git2chg.awk b/git2chg.awk index 1e75254..6dad87e 100644 --- a/git2chg.awk +++ b/git2chg.awk | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of grecs | 1 | # This file is part of grecs |
2 | # Copyright (C) 2007, 2009-2012 Sergey Poznyakoff | 2 | # Copyright (C) 2007-2014 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # Grecs is free software; you can redistribute it and/or modify | 4 | # Grecs is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
diff --git a/src/Makefile.am b/src/Makefile.am index f4e3bec..214af8f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of vmod-tbf | 1 | # This file is part of vmod-tbf |
2 | # Copyright (C) 2013 Sergey Poznyakoff | 2 | # Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | 4 | # Vmod-tbf is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
diff --git a/src/getla.c b/src/getla.c index 51791c4..f80b213 100644 --- a/src/getla.c +++ b/src/getla.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of vmod-tbf | 1 | /* This file is part of vmod-tbf |
2 | Copyright (C) 2013 Sergey Poznyakoff | 2 | Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | 3 | ||
4 | Vmod-tbf is free software; you can redistribute it and/or modify | 4 | Vmod-tbf is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/src/sleep.c b/src/sleep.c index 9242475..167e6aa 100644 --- a/src/sleep.c +++ b/src/sleep.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of vmod-tbf | 1 | /* This file is part of vmod-tbf |
2 | Copyright (C) 2013 Sergey Poznyakoff | 2 | Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | 3 | ||
4 | Vmod-tbf is free software; you can redistribute it and/or modify | 4 | Vmod-tbf is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of vmod-tbf | 1 | /* This file is part of vmod-tbf |
2 | Copyright (C) 2013 Sergey Poznyakoff | 2 | Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | 3 | ||
4 | Vmod-tbf is free software; you can redistribute it and/or modify | 4 | Vmod-tbf is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of vmod-tbf | 1 | /* This file is part of vmod-tbf |
2 | Copyright (C) 2013 Sergey Poznyakoff | 2 | Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | 3 | ||
4 | Vmod-tbf is free software; you can redistribute it and/or modify | 4 | Vmod-tbf is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/src/vmod-tbf.3 b/src/vmod-tbf.3 index 6ba3d3a..6ab2f63 100644 --- a/src/vmod-tbf.3 +++ b/src/vmod-tbf.3 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" This file is part of Vmod-tbf -*- nroff -*- | 1 | .\" This file is part of Vmod-tbf -*- nroff -*- |
2 | .\" Copyright (C) 2013 Sergey Poznyakoff | 2 | .\" Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | .\" | 3 | .\" |
4 | .\" Vmod-tbf is free software; you can redistribute it and/or modify | 4 | .\" Vmod-tbf is free software; you can redistribute it and/or modify |
5 | .\" it under the terms of the GNU General Public License as published by | 5 | .\" it under the terms of the GNU General Public License as published by |
@@ -13,7 +13,7 @@ | |||
13 | .\" | 13 | .\" |
14 | .\" You should have received a copy of the GNU General Public License | 14 | .\" You should have received a copy of the GNU General Public License |
15 | .\" along with vmod-tbf. If not, see <http://www.gnu.org/licenses/>. | 15 | .\" along with vmod-tbf. If not, see <http://www.gnu.org/licenses/>. |
16 | .TH VMOD-TBF 1 "October 19, 2013" "VMOD-TBF" "User Reference" | 16 | .TH VMOD-TBF 1 "November 1, 2014" "VMOD-TBF" "User Reference" |
17 | .SH NAME | 17 | .SH NAME |
18 | vmod-tbf \- token bucket filtering for Varnish | 18 | vmod-tbf \- token bucket filtering for Varnish |
19 | .SH SYNOPSIS | 19 | .SH SYNOPSIS |
@@ -208,7 +208,7 @@ Sergey Poznyakoff | |||
208 | .SH "BUG REPORTS" | 208 | .SH "BUG REPORTS" |
209 | Report bugs to <gray@gnu.org>. | 209 | Report bugs to <gray@gnu.org>. |
210 | .SH COPYRIGHT | 210 | .SH COPYRIGHT |
211 | Copyright \(co 2013 Sergey Poznyakoff | 211 | Copyright \(co 2013-2014 Sergey Poznyakoff |
212 | .br | 212 | .br |
213 | .na | 213 | .na |
214 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | 214 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
diff --git a/src/vmod_tbf.vcc b/src/vmod_tbf.vcc index b27093b..bb03d44 100644 --- a/src/vmod_tbf.vcc +++ b/src/vmod_tbf.vcc | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of vmod-tbf | 1 | # This file is part of vmod-tbf |
2 | # Copyright (C) 2013 Sergey Poznyakoff | 2 | # Copyright (C) 2013-2014 Sergey Poznyakoff |
3 | # | 3 | # |
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | 4 | # Vmod-tbf is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published by | 5 | # it under the terms of the GNU General Public License as published by |
diff --git a/tests/Makefile.am b/tests/Makefile.am index 0f90aa7..c252b02 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
@@ -1,3 +1,19 @@ | |||
1 | # This file is part of vmod-tbf | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-tbf is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-tbf. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | VMOD_VTC = \ | 17 | VMOD_VTC = \ |
2 | test01.vtc\ | 18 | test01.vtc\ |
3 | test03.vtc\ | 19 | test03.vtc\ |
diff --git a/tests/test00.vti b/tests/test00.vti index 05084c7..53b9049 100644 --- a/tests/test00.vti +++ b/tests/test00.vti | |||
@@ -1,3 +1,19 @@ | |||
1 | # This file is part of vmod-tbf | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-tbf is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-tbf. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | varnishtest "Test tbf overlimit" | 17 | varnishtest "Test tbf overlimit" |
2 | 18 | ||
3 | server s1 { | 19 | server s1 { |
diff --git a/tests/test01.vtc b/tests/test01.vtc index 39eb4c3..da11d2b 100644 --- a/tests/test01.vtc +++ b/tests/test01.vtc | |||
@@ -1,3 +1,19 @@ | |||
1 | # This file is part of vmod-tbf | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Vmod-tbf is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with vmod-tbf. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
1 | varnishtest "Test tbf flow" | 17 | varnishtest "Test tbf flow" |
2 | 18 | ||
3 | server s1 { | 19 | server s1 { |
diff --git a/tests/test02.vti b/tests/test02.vti index 1b5e6b3..ef58fb8 100644 --- a/tests/test02.vti +++ b/tests/test02.vti | |||
@@ -1,3 +1,19 @@ | |||
1 | # This file is part of vmod-tbf | ||
2 | # Copyright (C) 2013-2014 Sergey Poznyakoff | ||
3 | # | ||
4 | # Vmod-tbf is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) |