aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-07-27 00:54:44 -0700
committerGuy Harris <guy@alum.mit.edu>2019-07-27 07:55:36 +0000
commit5cf3fd03f1538b37704d83b6c38b8223f9036108 (patch)
treeb598688b412615a89cae270c883a21bf7da2e612 /tools
parent3a53b8643b8b2f9eba24fef4bfea794f37615a88 (diff)
HTTPS In More Places, update some URLs.
Change-Id: Ice2e1e2e4d94f6c9da7c651866cfa1a8ac4a31d8 Reviewed-on: https://code.wireshark.org/review/34096 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools')
-rw-r--r--tools/Get-HardenFlags.ps12
-rwxr-xr-xtools/asn2deb2
-rwxr-xr-xtools/asn2wrs.py4
-rwxr-xr-xtools/checkAPIs.pl6
-rwxr-xr-xtools/checkhf.pl2
-rwxr-xr-xtools/fix-encoding-args.pl2
-rwxr-xr-xtools/generate_authors.pl2
-rwxr-xr-xtools/licensecheck.pl4
-rwxr-xr-xtools/make-packet-dcm.py2
-rwxr-xr-xtools/ncp2222.py11
-rwxr-xr-xtools/parse_xml2skinny_dissector.py4
-rw-r--r--tools/pidl/idl.yp2
-rwxr-xr-xtools/test-common.sh4
-rw-r--r--tools/yacc.py4
14 files changed, 27 insertions, 24 deletions
diff --git a/tools/Get-HardenFlags.ps1 b/tools/Get-HardenFlags.ps1
index 0f1a028e59..c078565900 100644
--- a/tools/Get-HardenFlags.ps1
+++ b/tools/Get-HardenFlags.ps1
@@ -28,7 +28,7 @@
# As a result, none of the distributions that produce Windows applications
# and libraries have any sort of hardening flags enabled:
#
-# http://mingw-w64.org/doku.php/download
+# https://mingw-w64.org/doku.php/download
#
<#
diff --git a/tools/asn2deb b/tools/asn2deb
index 826e1c5dcf..72d9e4a8a7 100755
--- a/tools/asn2deb
+++ b/tools/asn2deb
@@ -84,7 +84,7 @@ Description: ASN.1/BER dissector for %s
"""This package has been created automatically be asn2deb on
%s for Debian GNU/Linux.
-Wireshark: http://www.wireshark.com/
+Wireshark: https://www.wireshark.com/
Copyright:
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py
index b886cdebe0..2be62b533c 100755
--- a/tools/asn2wrs.py
+++ b/tools/asn2wrs.py
@@ -14,11 +14,11 @@
# Compiler from ASN.1 specification to the Wireshark dissector
#
# Based on ASN.1 to Python compiler from Aaron S. Lav's PyZ3950 package licensed under the X Consortium license
-# http://www.pobox.com/~asl2/software/PyZ3950/
+# https://www.pobox.com/~asl2/software/PyZ3950/
# (ASN.1 to Python compiler functionality is broken but not removed, it could be revived if necessary)
#
# It requires Dave Beazley's PLY parsing package licensed under the LGPL (tested with version 2.3)
-# http://www.dabeaz.com/ply/
+# https://www.dabeaz.com/ply/
#
#
# ITU-T Recommendation X.680 (07/2002),
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index f6a20eb1ec..333d85940c 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -43,9 +43,9 @@ my %APIs = (
# Microsoft provides lists of unsafe functions and their
# recommended replacements in "Security Development Lifecycle
# (SDL) Banned Function Calls"
- # https://msdn.microsoft.com/en-us/library/bb288454.aspx
+ # https://docs.microsoft.com/en-us/previous-versions/bb288454(v=msdn.10)
# and "Deprecated CRT Functions"
- # https://msdn.microsoft.com/en-us/library/ms235384.aspx
+ # https://docs.microsoft.com/en-us/previous-versions/ms235384(v=vs.100)
#
'atoi', # use wsutil/strtoi.h functions
'gets',
@@ -1018,7 +1018,7 @@ my $debug = 0;
} # block end
# The below Regexp are based on those from:
-# http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/59811
+# https://web.archive.org/web/20080614012925/http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/59811
# They are in the public domain.
# 2. A regex which matches double-quoted strings.
diff --git a/tools/checkhf.pl b/tools/checkhf.pl
index 45f01bb57d..7e01c7e582 100755
--- a/tools/checkhf.pl
+++ b/tools/checkhf.pl
@@ -244,7 +244,7 @@ sub remove_comments {
my ($code_ref, $filename) = @_;
# The below Regexp is based on one from:
- # http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/59811
+ # https://web.archive.org/web/20080614012925/http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/59811
# It is in the public domain.
# A complicated regex which matches C-style comments.
my $c_comment_regex = qr{ / [*] [^*]* [*]+ (?: [^/*] [^*]* [*]+ )* / }xmso;
diff --git a/tools/fix-encoding-args.pl b/tools/fix-encoding-args.pl
index f05163ce97..e9f5186660 100755
--- a/tools/fix-encoding-args.pl
+++ b/tools/fix-encoding-args.pl
@@ -352,7 +352,7 @@ sub find_hf_array_entries {
my ($fileContentsRef, $fileName) = @_;
# The below Regexp is based on one from:
- # http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/59811
+ # https://web.archive.org/web/20080614012925/http://aspn.activestate.com/ASPN/Cookbook/Rx/Recipe/59811
# It is in the public domain.
# A complicated regex which matches C-style comments.
my $CCommentRegEx = qr{ / [*] [^*]* [*]+ (?: [^/*] [^*]* [*]+ )* / }xo;
diff --git a/tools/generate_authors.pl b/tools/generate_authors.pl
index 49ca94b5f6..92db3d8195 100755
--- a/tools/generate_authors.pl
+++ b/tools/generate_authors.pl
@@ -50,7 +50,7 @@ http://www.kylheku.com/~kaz/kazlib.html
We use Lua BitOp, written by Mike Pall, for bitwise operations
on numbers in Lua. The Lua BitOp home page can be found at
-http://bitop.luajit.org/
+https://bitop.luajit.org
snax <snax[AT]shmoo.com> gave permission to use his(?) weak key
detection code from Airsnort.
diff --git a/tools/licensecheck.pl b/tools/licensecheck.pl
index ba6dc3e24d..64f8ca2ff5 100755
--- a/tools/licensecheck.pl
+++ b/tools/licensecheck.pl
@@ -159,7 +159,7 @@ Adam D. Barratt <adam@adam-barratt.org.uk>
=cut
-# see http://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default/6163129#6163129
+# see https://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default/6163129#6163129
use v5.14;
use utf8;
@@ -781,7 +781,7 @@ sub parselicense {
}
if ($licensetext =~ /distributed under the terms of the FreeType project/i) {
- $license = "FreeType $license"; # aka FTL see http://www.freetype.org/license.html
+ $license = "FreeType $license"; # aka FTL see https://www.freetype.org/license.html
}
if ($licensetext =~ /This source file is subject to version ([^ ]+) of the PHP license/) {
diff --git a/tools/make-packet-dcm.py b/tools/make-packet-dcm.py
index 5ab2b08aa6..e3cced376e 100755
--- a/tools/make-packet-dcm.py
+++ b/tools/make-packet-dcm.py
@@ -143,7 +143,7 @@ packet_dcm_h = """/* packet-dcm.h
* Copyright 2003, Rich Coe <richcoe2@gmail.com>
* Copyright 2008-2018, David Aggeler <david_aggeler@hispeed.ch>
*
- * DICOM communication protocol: http://www.dicomstandard.org/current/
+ * DICOM communication protocol: https://www.dicomstandard.org/current/
*
* Generated automatically by """ + os.path.basename(sys.argv[0]) + """ from the following sources:
*
diff --git a/tools/ncp2222.py b/tools/ncp2222.py
index 13c9395fb5..7acddac4ef 100755
--- a/tools/ncp2222.py
+++ b/tools/ncp2222.py
@@ -13,9 +13,9 @@ Many thanks to Novell for letting him work on this.
Additional data sources:
"Programmer's Guide to the NetWare Core Protocol" by Steve Conner and Dianne Conner.
-Novell provides info at:
+At one time, Novell provided a list of NCPs by number at:
-http://developer.novell.com/ndk/ncp.htm (where you can download an
+http://developer.novell.com/ndk/ncp.htm (where you could download an
*.exe file which installs a PDF, although you may have to create a login
to do this)
@@ -24,6 +24,9 @@ or
http://developer.novell.com/ndk/doc/ncp/
for a badly-formatted HTML version of the same PDF.
+Currently, a list of NCPs by number can be found at
+
+https://www.microfocus.com/documentation/open-enterprise-server-developer-documentation/ncp/ncpdocs/main.htm
Portions Copyright (c) 2000-2002 by Gilbert Ramirez <gram@alumni.rice.edu>.
Portions Copyright (c) Novell, Inc. 2000-2003.
@@ -6857,7 +6860,7 @@ proto_register_ncp2222(void)
/*
* XXX - the page at
*
- * http://www.odyssea.com/whats_new/tcpipnet/tcpipnet.html
+ * https://web.archive.org/web/20030629082113/http://www.odyssea.com/whats_new/tcpipnet/tcpipnet.html
*
* says of the connection status "The Connection Code field may
* contain values that indicate the status of the client host to
@@ -6867,7 +6870,7 @@ proto_register_ncp2222(void)
*
* The page at
*
- * http://www.unm.edu/~network/presentations/course/appendix/appendix_f/tsld088.htm
+ * https://web.archive.org/web/20090809191415/http://www.unm.edu/~network/presentations/course/appendix/appendix_f/tsld088.htm
*
* says that bit 0 is "bad service", bit 2 is "no connection
* available", bit 4 is "service down", and bit 6 is "server
diff --git a/tools/parse_xml2skinny_dissector.py b/tools/parse_xml2skinny_dissector.py
index 0ec1165226..b667aed59e 100755
--- a/tools/parse_xml2skinny_dissector.py
+++ b/tools/parse_xml2skinny_dissector.py
@@ -6,14 +6,14 @@
# Skinny Protocol Versions: 0 through 22
#
# Heritage:
-# xml2obj based on http://code.activestate.com/recipes/149368-xml2obj/
+# xml2obj based on https://code.activestate.com/recipes/149368-xml2obj/
#
# Dependencies:
# python / xml / sax
#
# Called By:
# cog.py + packet-skinny.c.in for inplace code generation
-# See: http://nedbatchelder.com/code/cog/
+# See: https://nedbatchelder.com/code/cog/
#
#
# SPDX-License-Identifier: GPL-2.0-or-later
diff --git a/tools/pidl/idl.yp b/tools/pidl/idl.yp
index c8a65f6f62..08f982a94b 100644
--- a/tools/pidl/idl.yp
+++ b/tools/pidl/idl.yp
@@ -611,7 +611,7 @@ again:
for ($parser->YYData->{INPUT}) {
if (/^\#/) {
# Linemarker format is described at
- # http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
+ # https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
$parser->YYData->{LINE} = $1-1;
$parser->YYData->{FILE} = $2;
diff --git a/tools/test-common.sh b/tools/test-common.sh
index 902dce1820..7522215497 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -91,10 +91,10 @@ export G_SLICE=debug-blocks
export MALLOC_CHECK_=3
# Cause FreeBSD (and other BSDs) to abort() on allocator warnings and
# initialize allocated memory (to 0xa5) and freed memory (to 0x5a). see:
-# http://www.freebsd.org/cgi/man.cgi?query=malloc&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html
+# https://www.freebsd.org/cgi/man.cgi?query=malloc&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html
export MALLOC_OPTIONS=AJ
-# MacOS options; see http://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-MallocOptions/_index.html
+# macOS options; see https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html
# Initialize allocated memory to 0xAA and freed memory to 0x55
export MallocPreScribble=1
export MallocScribble=1
diff --git a/tools/yacc.py b/tools/yacc.py
index a997649091..ee088cfec7 100644
--- a/tools/yacc.py
+++ b/tools/yacc.py
@@ -286,7 +286,7 @@ class LRParser:
# certain kinds of advanced parsing situations where the lexer and parser interact with
# each other or change states (i.e., manipulation of scope, lexer states, etc.).
#
- # See: http://www.gnu.org/software/bison/manual/html_node/Default-Reductions.html#Default-Reductions
+ # See: https://www.gnu.org/software/bison/manual/html_node/Default-Reductions.html#Default-Reductions
def set_defaulted_states(self):
self.defaulted_states = {}
for state, actions in self.action.items():
@@ -3262,7 +3262,7 @@ def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, star
else:
debuglog = NullLogger()
- debuglog.info('Created by PLY version %s (http://www.dabeaz.com/ply)', __version__)
+ debuglog.info('Created by PLY version %s (https://www.dabeaz.com/ply/)', __version__)
errors = False