From 566da5cc6e2a3b132ac8c0fbeefcd9b098dd4a9b Mon Sep 17 00:00:00 2001 From: lystor Date: Thu, 29 Apr 2010 16:03:40 +0000 Subject: [PATCH 01/33] Initial import (#566404). --- import.log | 1 + lbd | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++ lbd.spec | 55 +++++++++++++++++++ 3 files changed, 209 insertions(+) create mode 100644 import.log create mode 100644 lbd create mode 100644 lbd.spec diff --git a/import.log b/import.log new file mode 100644 index 0000000..c435d46 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +lbd-0_2-2_fc12:HEAD:lbd-0.2-2.fc12.src.rpm:1272556873 diff --git a/lbd b/lbd new file mode 100644 index 0000000..ceebe33 --- /dev/null +++ b/lbd @@ -0,0 +1,153 @@ +#!/bin/bash +# lbd (load balancing detector) detects if a given domain uses +# DNS and/or HTTP Load-Balancing (via Server: and Date: header and diffs between server answers) +# Copyright (C) 2010 Stefan Behte +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# License: GNU General Public License, version 2 +# http://www.gnu.org/licenses/gpl-2.0.html +# +# Contact me, if you have any new ideas, bugs/bugfixes, recommondations or questions! +# Please also contact me, if you just like the tool. :) +# +# Stefan dot Behte at gmx dot net +# +# 0.1: - initial release +# 0.2: - fix license for fedora +# - fix indenting +# + +QUERIES=50 +DOMAIN=$1 +METHODS="" + +echo +echo "lbd - load balancing detector 0.2 - Checks if a given domain uses load-balancing." +echo " Written by Stefan Behte (http://ge.mine.nu)" +echo " Proof-of-concept! Might give false positives." + +if [ "$1" = "" ] +then + echo "usage: $0 [domain]" + echo + exit -1 +fi + +echo -e -n "\nChecking for DNS-Loadbalancing:" +NR=`host $DOMAIN | grep -c "has add"` + +if [ $NR -gt 1 ] +then + METHODS="DNS" + echo " FOUND" + host $DOMAIN | grep "has add" + echo +else + echo " NOT FOUND" +fi + +echo -e "Checking for HTTP-Loadbalancing ["Server"]: " +for ((i=0 ; i< $QUERIES ; i++)) +do + printf "HEAD / HTTP/1.0\r\n\r\n" | nc $DOMAIN 80 > .nlog + S=`grep -i "Server:" .nlog | awk -F: '{print $2}'` + + if ! grep "`echo ${S}| cut -b2-`" .log &>/dev/null + then + echo "${S}" + fi + cat .nlog >> .log +done + +NR=`sort .log | uniq | grep -c "Server:"` + +if [ $NR -gt 1 ] +then + echo " FOUND" + METHODS="$METHODS HTTP[Server]" +else + echo " NOT FOUND" +fi +echo +rm .nlog .log + + +echo -e -n "Checking for HTTP-Loadbalancing ["Date"]: " +D4= + +for ((i=0 ; i<$QUERIES ; i++)) +do + D=`printf "HEAD / HTTP/1.0\r\n\r\n" | nc $DOMAIN 80 | grep "Date:" | awk '{print $6}'` + printf "$D, " + + Df=$(echo " $D" | sed -e 's/:0/:/g' -e 's/ 0/ /g') + D1=$(echo ${Df} | awk -F: '{print $1}') + D2=$(echo ${Df} | awk -F: '{print $2}') + D3=$(echo ${Df} | awk -F: '{print $3}') + + if [ "$D4" = "" ]; then D4=0; fi + + if [ $[ $D1 * 3600 + $D2 * 60 + $D3 ] -lt $D4 ] + then + echo "FOUND" + METHODS="$METHODS HTTP[Date]" + break; + fi + + D4="$[ $D1 * 3600 + $D2 * 60 + $D3 ]" + + if [ $i -eq $[$QUERIES - 1] ] + then + echo "NOT FOUND" + fi +done + + +echo -e -n "\nChecking for HTTP-Loadbalancing ["Diff"]: " +for ((i=0 ; i<$QUERIES ; i++)) +do + printf "HEAD / HTTP/1.0\r\n\r\n" | nc $DOMAIN 80 | grep -v -e "Date:" -e "Set-Cookie" > .nlog + + if ! cmp .log .nlog &>/dev/null && [ -e .log ] + then + echo "FOUND" + diff .log .nlog | grep -e ">" -e "<" + METHODS="$METHODS HTTP[Diff]" + break; + fi + + cp .nlog .log + + if [ $i -eq $[$QUERIES - 1] ] + then + echo "NOT FOUND" + fi +done + +rm .nlog .log + + +if [ "$METHODS" != "" ] +then + echo + echo $DOMAIN does Load-balancing. Found via Methods: $METHODS + echo +else + echo + echo $DOMAIN does NOT use Load-balancing. + echo +fi + diff --git a/lbd.spec b/lbd.spec new file mode 100644 index 0000000..1d0f234 --- /dev/null +++ b/lbd.spec @@ -0,0 +1,55 @@ +Name: lbd +Version: 0.2 +Release: 2%{?dist} +Summary: DNS/HTTP load balancing detector + +Group: Applications/Internet +License: GPLv2+ +URL: http://ge.mine.nu/lbd.html +Source0: http://ge.mine.nu/code/lbd +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: bind-utils +Requires: nc + + +%description +lbd (load balancing detector) detects if a given domain uses DNS and/or HTTP +Load-Balancing (via Server: and Date: header and diffs between server answers) + + +%prep + + +%build + + +%install +rm -rf %{buildroot} +install -d %{buildroot}%{_bindir} +install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_bindir}/lbd + + +%changelog +* Sun Apr 18 2010 Nikolay Ulyanitsky - 0.2-2 +- Fix the license + +* Sat Apr 17 2010 Nikolay Ulyanitsky - 0.2-1 +- Update to 0.2 + +* Sat Mar 13 2010 Nikolay Ulyanitsky - 0.1-2 +- Replace generally useful macros by regular commands + +* Tue Feb 02 2010 Nikolay Ulyanitsky - 0.1-1 +- Initial package build + From f09c07d170c8290d4fa72b1b0c70966a1207b6dc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 20:33:51 +0000 Subject: [PATCH 02/33] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 3a80be4..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: lbd -# $Id$ -NAME := lbd -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index c435d46..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -lbd-0_2-2_fc12:HEAD:lbd-0.2-2.fc12.src.rpm:1272556873 From 86756260e7cc752569c9a7bee7009f0fcfbb87e1 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 21:50:16 -0600 Subject: [PATCH 03/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 1d0f234..d0e1ff5 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -41,6 +41,9 @@ rm -rf %{buildroot} %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sun Apr 18 2010 Nikolay Ulyanitsky - 0.2-2 - Fix the license From 1da6e5bd4d3ec3f40e3fae40dcce190f102c3768 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 01:08:11 -0600 Subject: [PATCH 04/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index d0e1ff5..b740c1b 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -41,6 +41,9 @@ rm -rf %{buildroot} %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Feb 07 2011 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 73f22b4144e23c83c9afbc82420934df06c4a8aa Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 13:50:01 -0500 Subject: [PATCH 05/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index b740c1b..1b775f4 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -41,6 +41,9 @@ rm -rf %{buildroot} %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Fri Jan 13 2012 Fedora Release Engineering - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From 122e97166c10a6342ca2e2d38f6da3ddf4858aac Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 21:45:06 -0600 Subject: [PATCH 06/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 1b775f4..9e2eadf 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -41,6 +41,9 @@ rm -rf %{buildroot} %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Thu Jul 19 2012 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 1bb5493b15dc8f51535a5ae254e2ee3844d96d7e Mon Sep 17 00:00:00 2001 From: lystor Date: Tue, 26 Mar 2013 23:04:15 +0200 Subject: [PATCH 07/33] fix url --- lbd.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lbd.spec b/lbd.spec index 9e2eadf..8ceb58a 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,13 +1,12 @@ Name: lbd Version: 0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet License: GPLv2+ -URL: http://ge.mine.nu/lbd.html +URL: http://ge.mine.nu/ Source0: http://ge.mine.nu/code/lbd -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: bind-utils @@ -41,6 +40,9 @@ rm -rf %{buildroot} %changelog +* Tue Mar 26 2013 Nikolay Ulyanitsky - 0.2-7 +- fix url + * Thu Feb 14 2013 Fedora Release Engineering - 0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From f05c783f5bb42fe484b601073a52193664f96a35 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 2 Aug 2013 23:17:29 -0500 Subject: [PATCH 08/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 8ceb58a..77fff66 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -40,6 +40,9 @@ rm -rf %{buildroot} %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Tue Mar 26 2013 Nikolay Ulyanitsky - 0.2-7 - fix url From d2af95ecd845005cfb055d1dbaf1b748ceb3f1a6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 6 Jun 2014 21:02:29 -0500 Subject: [PATCH 09/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 77fff66..7260a04 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -40,6 +40,9 @@ rm -rf %{buildroot} %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 0.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From eae668884965d672812659dd329ac2290a5e9ece Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 13:58:40 +0000 Subject: [PATCH 10/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 7260a04..6912ff6 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -40,6 +40,9 @@ rm -rf %{buildroot} %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From b9a8f0edb3c26a2d02cd20fc9b785569e77d2ee7 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 4 Feb 2016 02:41:39 +0000 Subject: [PATCH 11/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 6912ff6..4abcf8a 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: DNS/HTTP load balancing detector Group: Applications/Internet @@ -40,6 +40,9 @@ rm -rf %{buildroot} %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 85b25ad6166946a28fc4786fc9356e0526e37e49 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2016 16:29:17 +0200 Subject: [PATCH 12/33] * Wed May 11 2016 Fabian Affolter - 0.4-1 - Update to latest upstream release 0.4 --- .gitignore | 1 + lbd | 61 +++++++++++++++++++++++++++++++++++++++++------------- lbd.spec | 28 +++++++++---------------- sources | 1 + 4 files changed, 59 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index e69de29..45f15a2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/lbd diff --git a/lbd b/lbd index ceebe33..dd18ce7 100644 --- a/lbd +++ b/lbd @@ -1,7 +1,7 @@ #!/bin/bash # lbd (load balancing detector) detects if a given domain uses # DNS and/or HTTP Load-Balancing (via Server: and Date: header and diffs between server answers) -# Copyright (C) 2010 Stefan Behte +# Copyright (C) 2010-2014 Stefan Behte # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -23,46 +23,64 @@ # Contact me, if you have any new ideas, bugs/bugfixes, recommondations or questions! # Please also contact me, if you just like the tool. :) # -# Stefan dot Behte at gmx dot net +# craig at haquarter dot de # # 0.1: - initial release # 0.2: - fix license for fedora # - fix indenting -# +# 0.3: - fix bug if dns server returns same IP multiple times +# (fix by bit bori, thanks!) +# - fix bug if there is no date header +# (fix by Paul Rib, thanks!) +# 0.4: - support HTTPs, support different ports +# (thanks Bharadwaj Machiraju) QUERIES=50 DOMAIN=$1 +PORT=${2-80} # Use default port 80, if not given +if [ "$3" = "https" ] +then + HTTPS=true +else + HTTPS=false +fi METHODS="" echo -echo "lbd - load balancing detector 0.2 - Checks if a given domain uses load-balancing." +echo "lbd - load balancing detector 0.4 - Checks if a given domain uses load-balancing." echo " Written by Stefan Behte (http://ge.mine.nu)" echo " Proof-of-concept! Might give false positives." if [ "$1" = "" ] then - echo "usage: $0 [domain]" + echo "usage: $0 domain [port] {https}" echo exit -1 fi echo -e -n "\nChecking for DNS-Loadbalancing:" -NR=`host $DOMAIN | grep -c "has add"` +NR=`host $DOMAIN | grep "has add" | uniq | wc -l` if [ $NR -gt 1 ] then METHODS="DNS" echo " FOUND" - host $DOMAIN | grep "has add" + host $DOMAIN | grep "has add" | uniq echo else echo " NOT FOUND" fi -echo -e "Checking for HTTP-Loadbalancing ["Server"]: " +echo -e "Checking for HTTP-Loadbalancing [Server]: " for ((i=0 ; i< $QUERIES ; i++)) do - printf "HEAD / HTTP/1.0\r\n\r\n" | nc $DOMAIN 80 > .nlog + if [ $HTTPS = true ] + then + printf "HEAD / HTTP/1.1\r\nhost: $DOMAIN\r\nConnection: close\r\n\r\n" | openssl s_client -host $DOMAIN -port $PORT -quiet > .nlog 2> /dev/null + else + printf "HEAD / HTTP/1.1\r\nhost: $DOMAIN\r\nConnection: close\r\n\r\n" | nc $DOMAIN $PORT > .nlog 2>/dev/null + fi + S=`grep -i "Server:" .nlog | awk -F: '{print $2}'` if ! grep "`echo ${S}| cut -b2-`" .log &>/dev/null @@ -85,13 +103,24 @@ echo rm .nlog .log -echo -e -n "Checking for HTTP-Loadbalancing ["Date"]: " +echo -e -n "Checking for HTTP-Loadbalancing [Date]: " D4= for ((i=0 ; i<$QUERIES ; i++)) do - D=`printf "HEAD / HTTP/1.0\r\n\r\n" | nc $DOMAIN 80 | grep "Date:" | awk '{print $6}'` + if [ $HTTPS = true ] + then + D=`printf "HEAD / HTTP/1.1\r\nhost: $DOMAIN\r\nConnection: close\r\n\r\n" | openssl s_client -host $DOMAIN -port $PORT -quiet 2> /dev/null | grep "Date:" | awk '{print $6}'` + else + D=`printf "HEAD / HTTP/1.1\r\nhost: $DOMAIN\r\nConnection: close\r\n\r\n" | nc $DOMAIN $PORT 2>/dev/null | grep "Date:" | awk '{print $6}'` + fi printf "$D, " + + if [ "$D" == "" ] + then + echo "No date header found, skipping." + break + fi Df=$(echo " $D" | sed -e 's/:0/:/g' -e 's/ 0/ /g') D1=$(echo ${Df} | awk -F: '{print $1}') @@ -115,11 +144,15 @@ do fi done - -echo -e -n "\nChecking for HTTP-Loadbalancing ["Diff"]: " +echo -e -n "\nChecking for HTTP-Loadbalancing [Diff]: " for ((i=0 ; i<$QUERIES ; i++)) do - printf "HEAD / HTTP/1.0\r\n\r\n" | nc $DOMAIN 80 | grep -v -e "Date:" -e "Set-Cookie" > .nlog + if [ $HTTPS = true ] + then + printf "HEAD / HTTP/1.1\r\nhost: $DOMAIN\r\nConnection: close\r\n\r\n" | openssl s_client -host $DOMAIN -port $PORT -quiet 2> /dev/null | grep -v -e "Date:" -e "Set-Cookie" > .nlog + else + printf "HEAD / HTTP/1.1\r\nhost: $DOMAIN\r\nConnection: close\r\n\r\n" | nc $DOMAIN $PORT 2>/dev/null | grep -v -e "Date:" -e "Set-Cookie" > .nlog + fi if ! cmp .log .nlog &>/dev/null && [ -e .log ] then diff --git a/lbd.spec b/lbd.spec index 7260a04..4579fa8 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,45 +1,37 @@ Name: lbd -Version: 0.2 -Release: 9%{?dist} -Summary: DNS/HTTP load balancing detector +Version: 0.4 +Release: 1%{?dist} +Summary: A DNS/HTTP load balancing detector -Group: Applications/Internet License: GPLv2+ -URL: http://ge.mine.nu/ -Source0: http://ge.mine.nu/code/lbd +URL: https://github.com/craig/ge.mine.nu/tree/master/lbd +Source0: https://raw.githubusercontent.com/craig/ge.mine.nu/master/lbd/%{name}.sh#/%{name} BuildArch: noarch Requires: bind-utils Requires: nc - %description lbd (load balancing detector) detects if a given domain uses DNS and/or HTTP Load-Balancing (via Server: and Date: header and diffs between server answers) - %prep - +# Nothing to prep %build - +# Nothing to build %install -rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ - -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{_bindir}/lbd - %changelog +* Wed May 11 2016 Fabian Affolter - 0.4-1 +- Update to latest upstream release 0.4 + * Sat Jun 07 2014 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index e69de29..5c76edd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +41e1f86a71b75f9cea7a98e38be3844a lbd From c440978a3b2b40aaa076e4f5758e599807753c27 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2016 16:31:12 +0200 Subject: [PATCH 13/33] Add period --- lbd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index b22b54c..14e2b1e 100644 --- a/lbd.spec +++ b/lbd.spec @@ -13,7 +13,7 @@ Requires: nc %description lbd (load balancing detector) detects if a given domain uses DNS and/or HTTP -Load-Balancing (via Server: and Date: header and diffs between server answers) +Load-Balancing (via Server: and Date: header and diffs between server answers). %prep # Nothing to prep From a50fa4571b9ac257a1be97e83a749369ecd8cc80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 18:10:08 +0000 Subject: [PATCH 14/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 14e2b1e..3007bf7 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed May 11 2016 Fabian Affolter - 0.4-1 - Update to latest upstream release 0.4 From 09d49e79f53449aa75b0922e2b182821020e2cb6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 18:18:05 +0000 Subject: [PATCH 15/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 3007bf7..8ac08a2 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From df88a2dd840b06143228a4c5c48b02501b5af1f5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 20:53:56 +0000 Subject: [PATCH 16/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 8ac08a2..9650d83 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From ca98766ddc0b3c0092e001f3df87e38a9a9369eb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 07:36:54 +0000 Subject: [PATCH 17/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 9650d83..cc6ba83 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 522d6414fce8c8f7ef7dd7b46a83ad7abdddce6b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 06:23:44 +0000 Subject: [PATCH 18/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index cc6ba83..7a58ec7 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 64f97fc2c99c4999621b64b7fd985933cc612030 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 12:30:22 +0000 Subject: [PATCH 19/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 7a58ec7..0d20910 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 7b0b43aff89ba3e2d81b5528ad5d37ad21f7e05f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 08:16:23 +0000 Subject: [PATCH 20/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 0d20910..1632239 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 0.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From d5a9ff1867d6c95864373c023a83c637fffa0ef0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 03:59:21 +0000 Subject: [PATCH 21/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 1632239..c44ec68 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 0b8b065a25e8a1e1fc83e1123405f2f32621ba89 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 16:25:12 +0000 Subject: [PATCH 22/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index c44ec68..cd89777 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 65d8436d0809d126afbb5ec15674054f943544e4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 10:42:53 +0000 Subject: [PATCH 23/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index cd89777..52ca698 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From f1559ab749a09d933578f1b2c9d679762aaf4d5f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 15:30:06 +0000 Subject: [PATCH 24/33] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 52ca698..eddc3de 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 23bdf3013206f599f0be2d0d0df53eeeb4c9124a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 17:01:50 +0000 Subject: [PATCH 25/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index eddc3de..c4cff82 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 0.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 0.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 803cf8fb699fbc50728e8c13418ee4d8c6ff1971 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 15:32:46 +0000 Subject: [PATCH 26/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index c4cff82..200aed8 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 0.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 0.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 4a1b5f37106b5c6cceea058701607d3ed9b9b062 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 09:58:54 +0000 Subject: [PATCH 27/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 200aed8..9c8a1bf 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 0.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jan 19 2023 Fedora Release Engineering - 0.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From c5404a2331d0ab554931bedcc671f823a6ff5712 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 03:18:03 +0000 Subject: [PATCH 28/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 9c8a1bf..768f64f 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 0.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 0.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 2ae98ffdc70a0fe3f7d0e98baf2dfb325e88fc53 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 01:15:58 +0000 Subject: [PATCH 29/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 768f64f..52ab250 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 16%{?dist} +Release: 17%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 0.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 0.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e84dacdd9efae84427d557e01dcd460d7014c478 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 13:02:14 +0000 Subject: [PATCH 30/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 52ab250..a5f7242 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 17%{?dist} +Release: 18%{?dist} Summary: A DNS/HTTP load balancing detector License: GPLv2+ @@ -29,6 +29,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 0.4-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 0.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 48f19907d3cf2f86c736aa40347677396d44c9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 26 Jul 2024 00:49:29 +0200 Subject: [PATCH 31/33] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- lbd.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lbd.spec b/lbd.spec index a5f7242..d5a5e57 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,9 +1,10 @@ Name: lbd Version: 0.4 -Release: 18%{?dist} +Release: 19%{?dist} Summary: A DNS/HTTP load balancing detector -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: https://github.com/craig/ge.mine.nu/tree/master/lbd Source0: https://raw.githubusercontent.com/craig/ge.mine.nu/master/lbd/%{name}.sh#/%{name} BuildArch: noarch @@ -29,6 +30,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Fri Jul 26 2024 Miroslav Suchý - 0.4-19 +- convert license to SPDX + * Thu Jul 18 2024 Fedora Release Engineering - 0.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From eddfc20b383a64a675cf1d0f928e5e7e43dcaa07 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 10:15:26 +0000 Subject: [PATCH 32/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index d5a5e57..99b53a9 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 19%{?dist} +Release: 20%{?dist} Summary: A DNS/HTTP load balancing detector # Automatically converted from old format: GPLv2+ - review is highly recommended. @@ -30,6 +30,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 0.4-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 26 2024 Miroslav Suchý - 0.4-19 - convert license to SPDX From 4015a444107efad7c4b9205c0624298f0033aab0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 19:11:01 +0000 Subject: [PATCH 33/33] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- lbd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lbd.spec b/lbd.spec index 99b53a9..c035beb 100644 --- a/lbd.spec +++ b/lbd.spec @@ -1,6 +1,6 @@ Name: lbd Version: 0.4 -Release: 20%{?dist} +Release: 21%{?dist} Summary: A DNS/HTTP load balancing detector # Automatically converted from old format: GPLv2+ - review is highly recommended. @@ -30,6 +30,9 @@ install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir}/ %{_bindir}/lbd %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 0.4-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 0.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild