aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS9
-rw-r--r--README4
-rw-r--r--configure.ac4
-rw-r--r--doc/ping903.82
-rw-r--r--doc/ping903.conf.52
-rw-r--r--doc/ping903.cred.52
-rw-r--r--doc/ping903q.12
-rwxr-xr-xexamples/dbload2
-rwxr-xr-xexamples/inspect2
-rwxr-xr-xexamples/ipadd2
-rwxr-xr-xexamples/ipdel2
-rw-r--r--lib/base64.c2
-rw-r--r--lib/basicauth.c2
-rw-r--r--lib/md5.h2
-rw-r--r--maint/README.org2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/config.c2
-rw-r--r--src/defs.h4
-rw-r--r--src/json.c2
-rw-r--r--src/json.h2
-rw-r--r--src/logger.c2
-rw-r--r--src/main.c2
-rw-r--r--src/mem.c2
-rw-r--r--src/ping903.c2
-rw-r--r--src/ping903.h2
-rw-r--r--src/ping903q.c2
-rw-r--r--src/pinger.c2
-rw-r--r--src/rbt.c2
-rw-r--r--src/remoteip.c2
-rw-r--r--src/strsplit.c2
-rw-r--r--src/wrapacl.c2
31 files changed, 39 insertions, 36 deletions
diff --git a/NEWS b/NEWS
index 6897c1e..7dfe267 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,16 @@
-Ping903 -- history of user-visible changes. 2020-03-19
+Ping903 -- history of user-visible changes. 2023-02-10
See the end of file for copying conditions.
Please send Ping903 bug reports to <gray@gnu.org>
+Version 1.0, 2023-02-10
+
+* Fix handing of the Connection: HTTP handler (both server and client)
+
+
Version 0.8, 2020-03-19
* Use red-black trees to index the IP list.
Version 0.7, 2020-03-11
@@ -86,13 +91,13 @@ Version 0.2, 2020-02-14
* Initial release
=========================================================================
Copyright information:
-Copyright (C) 2020 Sergey Poznyakoff
+Copyright (C) 2020-2023 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
copyright notice and this permission notice are preserved,
thus giving the recipient permission to redistribute in turn.
diff --git a/README b/README
index 7de1140..d9d3911 100644
--- a/README
+++ b/README
@@ -466,27 +466,25 @@ success. On error, the following codes can be returned:
given) the argument cannot be resolved to a IPv4 address. If the
Content-Type of the response is "application/json", the "message"
attribute of the returned JSON object supplies an explanation of
the error.
- 500 (Internal server error)
-If such an IP is already in the list, returns .
-
** DELETE /config/ip-list/IP-OR-HOSTNAME
Deletes IP-OR-HOSTNAME from the IP list. Returns 200 (OK) on success.
If IP-OR-HOSTNAME was not found in the IP list or is immutable,
returns 404 (Not found).
All update requests are queued and take effect at the beginning of the
next ping probe.
* Copyright information:
-Copyright (C) 2020 Sergey Poznyakoff
+Copyright (C) 2020-2023 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
copyright notice and this permission notice are preserved,
thus giving the recipient permission to redistribute in turn.
diff --git a/configure.ac b/configure.ac
index e40dbe9..d85d42e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
# This file is part of Ping903
-# Copyright (C) 2020 Sergey Poznyakoff
+# Copyright (C) 2020-2023 Sergey Poznyakoff
#
# Ping903 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 3, or (at your option)
# any later version.
#
@@ -12,13 +12,13 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ping903. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ([2.69])
-AC_INIT([Ping903], [0.8], [gray@gnu.org],
+AC_INIT([Ping903], [1.0], [gray@gnu.org],
[ping903],
[https://puszcza.gnu.org.ua/projects/ping903/])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([-Wall -Werror 1.11.5 foreign tar-ustar silent-rules])
diff --git a/doc/ping903.8 b/doc/ping903.8
index f8967af..a6ab19a 100644
--- a/doc/ping903.8
+++ b/doc/ping903.8
@@ -1,8 +1,8 @@
.\" This file is part of ping903 -*- nroff -*-
-.\" Copyright (C) 2020 Sergey Poznyakoff
+.\" Copyright (C) 2020-2023 Sergey Poznyakoff
.\"
.\" Ping903 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 3, or (at your option)
.\" any later version.
.\"
diff --git a/doc/ping903.conf.5 b/doc/ping903.conf.5
index a5e9cc4..e66143d 100644
--- a/doc/ping903.conf.5
+++ b/doc/ping903.conf.5
@@ -1,8 +1,8 @@
.\" This file is part of ping903 -*- nroff -*-
-.\" Copyright (C) 2020 Sergey Poznyakoff
+.\" Copyright (C) 2020-2023 Sergey Poznyakoff
.\"
.\" Ping903 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 3, or (at your option)
.\" any later version.
.\"
diff --git a/doc/ping903.cred.5 b/doc/ping903.cred.5
index 2a4203b..24be5ba 100644
--- a/doc/ping903.cred.5
+++ b/doc/ping903.cred.5
@@ -1,8 +1,8 @@
.\" This file is part of ping903 -*- nroff -*-
-.\" Copyright (C) 2020 Sergey Poznyakoff
+.\" Copyright (C) 2020-2023 Sergey Poznyakoff
.\"
.\" Ping903 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 3, or (at your option)
.\" any later version.
.\"
diff --git a/doc/ping903q.1 b/doc/ping903q.1
index 9352ca9..9ded9bd 100644
--- a/doc/ping903q.1
+++ b/doc/ping903q.1
@@ -1,8 +1,8 @@
.\" This file is part of ping903 -*- nroff -*-
-.\" Copyright (C) 2020 Sergey Poznyakoff
+.\" Copyright (C) 2020-2023 Sergey Poznyakoff
.\"
.\" Ping903 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 3, or (at your option)
.\" any later version.
.\"
diff --git a/examples/dbload b/examples/dbload
index f59dee9..4172e05 100755
--- a/examples/dbload
+++ b/examples/dbload
@@ -1,12 +1,12 @@
#!/bin/sh
#! -*-perl-*-
eval 'exec perl -x -S $0 ${1+"$@"}'
if 0;
# This file is part of Ping903
-# Copyright (C) 2020 Sergey Poznyakoff
+# Copyright (C) 2020-2023 Sergey Poznyakoff
#
# Ping903 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 3, or (at your option)
# any later version.
#
diff --git a/examples/inspect b/examples/inspect
index 0aa2fb5..4510a17 100755
--- a/examples/inspect
+++ b/examples/inspect
@@ -1,12 +1,12 @@
#!/bin/sh
#! -*-perl-*-
eval 'exec perl -x -S $0 ${1+"$@"}'
if 0;
# This file is part of Ping903
-# Copyright (C) 2020 Sergey Poznyakoff
+# Copyright (C) 2020-2023 Sergey Poznyakoff
#
# Ping903 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 3, or (at your option)
# any later version.
#
diff --git a/examples/ipadd b/examples/ipadd
index e4a2184..ef0a601 100755
--- a/examples/ipadd
+++ b/examples/ipadd
@@ -1,12 +1,12 @@
#!/bin/sh
#! -*-perl-*-
eval 'exec perl -x -S $0 ${1+"$@"}'
if 0;
# This file is part of Ping903
-# Copyright (C) 2020 Sergey Poznyakoff
+# Copyright (C) 2020-2023 Sergey Poznyakoff
#
# Ping903 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 3, or (at your option)
# any later version.
#
diff --git a/examples/ipdel b/examples/ipdel
index 0762082..87c89ff 100755
--- a/examples/ipdel
+++ b/examples/ipdel
@@ -1,12 +1,12 @@
#!/bin/sh
#! -*-perl-*-
eval 'exec perl -x -S $0 ${1+"$@"}'
if 0;
# This file is part of Ping903
-# Copyright (C) 2020 Sergey Poznyakoff
+# Copyright (C) 2020-2023 Sergey Poznyakoff
#
# Ping903 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 3, or (at your option)
# any later version.
#
diff --git a/lib/base64.c b/lib/base64.c
index c7db410..7cb5775 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/lib/basicauth.c b/lib/basicauth.c
index 50b5585..bba2a55 100644
--- a/lib/basicauth.c
+++ b/lib/basicauth.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/lib/md5.h b/lib/md5.h
index 19c6756..80ebd9c 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/maint/README.org b/maint/README.org
index 4374649..e6b8aef 100644
--- a/maint/README.org
+++ b/maint/README.org
@@ -512,13 +512,13 @@ Ping903 is documented in the following manual pages:
If you think you found a bug in *ping903* or its documentation, please
send a mail to [[mailto:gray@gnu.org][Sergey Poznyakoff]] or use the bug tracker at
https://puszcza.gnu.org.ua/bugs/?group=ping903 (requires authorization).
* Copyright
-Copyright (C) 2020 Sergey Poznyakoff
+Copyright (C) 2020-2023 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
copyright notice and this permission notice are preserved,
thus giving the recipient permission to redistribute in turn.
diff --git a/src/Makefile.am b/src/Makefile.am
index f4fcae3..29b1bd6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,8 +1,8 @@
# This file is part of Ping903
-# Copyright (C) 2020 Sergey Poznyakoff
+# Copyright (C) 2020-2023 Sergey Poznyakoff
#
# Ping903 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 3, or (at your option)
# any later version.
#
diff --git a/src/config.c b/src/config.c
index 26ec810..51aac27 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/defs.h b/src/defs.h
index 9fa0b20..5e30957 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
@@ -34,13 +34,13 @@
#endif
#define DEFAULT_CONFIG_FILE SYSCONFDIR "/" PACKAGE ".conf"
#define MUTABLE_IP_LIST_FILE PACKAGESTATEDIR "/ip-list"
#define CRED_FILE_NAME ".ping903.cred"
#define COPYLEFT "\
-Copyright (C) 2020 Sergey Poznyakoff\n\
+Copyright (C) 2020-2023 Sergey Poznyakoff\n\
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n\
This is free software: you are free to change and redistribute it.\n\
There is NO WARRANTY, to the extent permitted by law.\n\
\n"
void emalloc_die(void);
diff --git a/src/json.c b/src/json.c
index 1e61e10..0850350 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/json.h b/src/json.h
index f31496c..48fceaf 100644
--- a/src/json.h
+++ b/src/json.h
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/logger.c b/src/logger.c
index a2b21cb..3913823 100644
--- a/src/logger.c
+++ b/src/logger.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903.
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/main.c b/src/main.c
index a31723c..e4c5fbe 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/mem.c b/src/mem.c
index dd607c5..49c9866 100644
--- a/src/mem.c
+++ b/src/mem.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/ping903.c b/src/ping903.c
index c5fb053..cd7c1c2 100644
--- a/src/ping903.c
+++ b/src/ping903.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/ping903.h b/src/ping903.h
index 2555ddc..0bf6368 100644
--- a/src/ping903.h
+++ b/src/ping903.h
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/ping903q.c b/src/ping903q.c
index b46c25d..cfec097 100644
--- a/src/ping903q.c
+++ b/src/ping903q.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/pinger.c b/src/pinger.c
index 05b1839..a1262b8 100644
--- a/src/pinger.c
+++ b/src/pinger.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/rbt.c b/src/rbt.c
index 85a1361..53bfbd4 100644
--- a/src/rbt.c
+++ b/src/rbt.c
@@ -1,8 +1,8 @@
/* Red-black tree support for Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/remoteip.c b/src/remoteip.c
index c026a35..d31ac3b 100644
--- a/src/remoteip.c
+++ b/src/remoteip.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/strsplit.c b/src/strsplit.c
index 3846cbf..9d96b7b 100644
--- a/src/strsplit.c
+++ b/src/strsplit.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.
diff --git a/src/wrapacl.c b/src/wrapacl.c
index 27e905c..8a77877 100644
--- a/src/wrapacl.c
+++ b/src/wrapacl.c
@@ -1,8 +1,8 @@
/* This file is part of Ping903
- Copyright (C) 2020 Sergey Poznyakoff
+ Copyright (C) 2020-2023 Sergey Poznyakoff
Ping903 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 3, or (at your option)
any later version.

Return to:

Send suggestions and report system problems to the System administrator.