CVS commit: src/usr.bin/ftp

2024-11-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Nov 29 07:24:04 UTC 2024 Modified Files: src/usr.bin/ftp: main.c Log Message: ftp: order getopt Upper before lower Consistently order options in getopt and the switch with the upper case option before the lower case option. Th

CVS commit: src/usr.bin/ftp

2024-11-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Nov 29 07:24:04 UTC 2024 Modified Files: src/usr.bin/ftp: main.c Log Message: ftp: order getopt Upper before lower Consistently order options in getopt and the switch with the upper case option before the lower case option. Th

CVS commit: src/usr.bin/ftp

2024-11-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Nov 29 05:40:14 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 main.c Log Message: ftp: help improvements Document -? as a separate mode. Document -H HEADER in the usage. Clarify units for -b and -x. Consistent argument names

CVS commit: src/usr.bin/ftp

2024-11-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Nov 29 05:40:14 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 main.c Log Message: ftp: help improvements Document -? as a separate mode. Document -H HEADER in the usage. Clarify units for -b and -x. Consistent argument names

CVS commit: src/usr.bin/ftp

2024-11-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Nov 29 04:31:57 UTC 2024 Modified Files: src/usr.bin/ftp: fetch.c version.h Log Message: ftp: exit non-zero if short http transfer when filesize is known If a http file size is known and the fetch finishes with less bytes tran

CVS commit: src/usr.bin/ftp

2024-11-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Nov 29 04:31:57 UTC 2024 Modified Files: src/usr.bin/ftp: fetch.c version.h Log Message: ftp: exit non-zero if short http transfer when filesize is known If a http file size is known and the fetch finishes with less bytes tran

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:06:53 UTC 2024 Modified Files: src/usr.bin/ftp: extern.h ftp.c Log Message: remove const when string gets overwritten. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/usr.bin/ftp/extern.h cvs rd

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:06:53 UTC 2024 Modified Files: src/usr.bin/ftp: extern.h ftp.c Log Message: remove const when string gets overwritten. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/usr.bin/ftp/extern.h cvs rd

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:06:19 UTC 2024 Modified Files: src/usr.bin/ftp: progressbar.c Log Message: use unsigned when doing shifts. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/ftp/progressbar.c Please note

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:06:19 UTC 2024 Modified Files: src/usr.bin/ftp: progressbar.c Log Message: use unsigned when doing shifts. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/ftp/progressbar.c Please note

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:05:44 UTC 2024 Modified Files: src/usr.bin/ftp: cmds.c Log Message: Check bounds when copying to destination. Remove const where the const string ended up being overwritten. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:05:44 UTC 2024 Modified Files: src/usr.bin/ftp: cmds.c Log Message: Check bounds when copying to destination. Remove const where the const string ended up being overwritten. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:04:06 UTC 2024 Modified Files: src/usr.bin/ftp: ruserpass.c Log Message: extract duplicate code into a function. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/ftp/ruserpass.c Please n

CVS commit: src/usr.bin/ftp

2024-10-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 4 18:04:06 UTC 2024 Modified Files: src/usr.bin/ftp: ruserpass.c Log Message: extract duplicate code into a function. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/ftp/ruserpass.c Please n

CVS commit: src/usr.bin/ftp

2024-09-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 30 19:23:31 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: Don't forget the dot, use the intended macro name (I think), and improve the wording a little.(All related to the -H option.) To generate a diff o

CVS commit: src/usr.bin/ftp

2024-09-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 30 19:23:31 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: Don't forget the dot, use the intended macro name (I think), and improve the wording a little.(All related to the -H option.) To generate a diff o

CVS commit: src/usr.bin/ftp

2024-09-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 30 13:03:37 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 main.c Log Message: fix markup (h -> H), explain about multiple headers, fix usage (from RVP) To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158

CVS commit: src/usr.bin/ftp

2024-09-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 30 13:03:37 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 main.c Log Message: fix markup (h -> H), explain about multiple headers, fix usage (from RVP) To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158

CVS commit: src/usr.bin/ftp

2024-09-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Sep 27 16:31:36 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): Nix trailing whitespace in man page. No functional change intended. PR bin/58581: ftp(1) should allow specifying header fields in http r

CVS commit: src/usr.bin/ftp

2024-09-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Sep 27 16:31:36 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): Nix trailing whitespace in man page. No functional change intended. PR bin/58581: ftp(1) should allow specifying header fields in http r

CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 25 16:55:40 UTC 2024 Modified Files: src/usr.bin/ftp: fetch.c ftp.1 ftp_var.h main.c Log Message: PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header fields. To generate a diff of this commit: cv

CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 25 16:55:40 UTC 2024 Modified Files: src/usr.bin/ftp: fetch.c ftp.1 ftp_var.h main.c Log Message: PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header fields. To generate a diff of this commit: cv

CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 25 16:53:58 UTC 2024 Modified Files: src/usr.bin/ftp: cmds.c complete.c fetch.c ftp.c main.c progressbar.c ssl.c util.c Log Message: pass some lint. To generate a diff of this commit: cvs rdiff -u -r1.142 -

CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 25 16:53:58 UTC 2024 Modified Files: src/usr.bin/ftp: cmds.c complete.c fetch.c ftp.c main.c progressbar.c ssl.c util.c Log Message: pass some lint. To generate a diff of this commit: cvs rdiff -u -r1.142 -

CVS commit: src/usr.bin/ftp

2024-07-18 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Jul 19 03:53:13 UTC 2024 Modified Files: src/usr.bin/ftp: cmds.c progressbar.c ruserpass.c Log Message: ftp: improve units used in comments and errors Use "KiB" instead of "K" in errors. Clarify related comments. To generate

CVS commit: src/usr.bin/ftp

2024-07-18 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Jul 19 03:53:13 UTC 2024 Modified Files: src/usr.bin/ftp: cmds.c progressbar.c ruserpass.c Log Message: ftp: improve units used in comments and errors Use "KiB" instead of "K" in errors. Clarify related comments. To generate

CVS commit: src/usr.bin/ftp

2024-07-18 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Jul 19 03:51:21 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 ssl.c Log Message: ftp: improve -b documentation Order -b bufsize in the synopsis. Document the actual default value. To generate a diff of this commit: cvs rdi

CVS commit: src/usr.bin/ftp

2024-07-18 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Jul 19 03:51:21 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 ssl.c Log Message: ftp: improve -b documentation Order -b bufsize in the synopsis. Document the actual default value. To generate a diff of this commit: cvs rdi

CVS commit: src/usr.bin/ftp

2024-04-16 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Apr 17 02:46:03 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp.1: drop a sentence that's no longer accurate To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/usr.bin/ftp/ftp.1 Please

CVS commit: src/usr.bin/ftp

2024-04-16 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Apr 17 02:46:03 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp.1: drop a sentence that's no longer accurate To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/usr.bin/ftp/ftp.1 Please

CVS commit: src/usr.bin/ftp

2024-02-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 19 00:15:21 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 ssl.c Log Message: default is now 16K To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/usr.bin/ftp/ftp.1 cvs rdiff -u -r1.17 -r1.18 src/usr

CVS commit: src/usr.bin/ftp

2024-02-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 19 00:15:21 UTC 2024 Modified Files: src/usr.bin/ftp: ftp.1 ssl.c Log Message: default is now 16K To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/usr.bin/ftp/ftp.1 cvs rdiff -u -r1.17 -r1.18 src/usr

Re: CVS commit: src/usr.bin/ftp

2024-02-18 Thread Christos Zoulas
In article <20240218223315.800aff...@cvs.netbsd.org>, Thomas Klausner wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: wiz >Date: Sun Feb 18 22:33:15 UTC 2024 > >Modified Files: > src/usr.bin/ftp: ftp_var.h > >Log Message: >ftp: bump FTPBUFLEN from 4kB to 16kB > >sourceforg

CVS commit: src/usr.bin/ftp

2024-02-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Feb 18 22:33:15 UTC 2024 Modified Files: src/usr.bin/ftp: ftp_var.h Log Message: ftp: bump FTPBUFLEN from 4kB to 16kB sourceforge.net returns a 5kB content-security-policy. Analyzed by mlelstv@ who reports usual limits are betwe

CVS commit: src/usr.bin/ftp

2024-02-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Feb 18 22:33:15 UTC 2024 Modified Files: src/usr.bin/ftp: ftp_var.h Log Message: ftp: bump FTPBUFLEN from 4kB to 16kB sourceforge.net returns a 5kB content-security-policy. Analyzed by mlelstv@ who reports usual limits are betwe

CVS commit: src/usr.bin/ftp

2024-02-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 18 22:29:56 UTC 2024 Modified Files: src/usr.bin/ftp: fetch.c ftp.1 ftp.c ftp_var.h main.c ssl.c Log Message: Add -b to specify the buffer size. To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239 src/usr.

CVS commit: src/usr.bin/ftp

2024-02-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 18 22:29:56 UTC 2024 Modified Files: src/usr.bin/ftp: fetch.c ftp.1 ftp.c ftp_var.h main.c ssl.c Log Message: Add -b to specify the buffer size. To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239 src/usr.

CVS commit: src/usr.bin/ftp

2023-12-08 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Dec 9 02:15:11 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): wording and formatting improvements Fix grammar issue with "Support values" reported in private mail. Document all file transfer types in "ty

CVS commit: src/usr.bin/ftp

2023-12-08 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Dec 9 02:15:11 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): wording and formatting improvements Fix grammar issue with "Support values" reported in private mail. Document all file transfer types in "ty

CVS commit: src/usr.bin/ftp

2023-08-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 12 07:40:13 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Don't finish downloading an empty file with 'already done' before it is created locally. To generate a diff of this commit: cvs rdiff -u -r1.237

CVS commit: src/usr.bin/ftp

2023-08-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 12 07:40:13 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Don't finish downloading an empty file with 'already done' before it is created locally. To generate a diff of this commit: cvs rdiff -u -r1.237

CVS commit: src/usr.bin/ftp

2023-07-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 2 10:02:09 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Fix HTTPS through Proxy. While a regular HTTP Proxy, requires the absolute URL with protocol and host part, yyou must only send the relative URL

CVS commit: src/usr.bin/ftp

2023-07-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jul 2 10:02:09 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Fix HTTPS through Proxy. While a regular HTTP Proxy, requires the absolute URL with protocol and host part, yyou must only send the relative URL

CVS commit: src/usr.bin/ftp

2023-05-16 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Tue May 16 22:00:23 UTC 2023 Modified Files: src/usr.bin/ftp: version.h Log Message: ftp 20230516 for openssl 3.0 compat SSL_OP_IGNORE_UNEXPECTED_EOF To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/usr.bin/ftp/v

CVS commit: src/usr.bin/ftp

2023-05-16 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Tue May 16 22:00:23 UTC 2023 Modified Files: src/usr.bin/ftp: version.h Log Message: ftp 20230516 for openssl 3.0 compat SSL_OP_IGNORE_UNEXPECTED_EOF To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/usr.bin/ftp/v

CVS commit: src/usr.bin/ftp

2023-05-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 16 18:52:09 UTC 2023 Modified Files: src/usr.bin/ftp: ssl.c Log Message: Ignore EOF from remote. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/ftp/ssl.c Please note that diffs are not publi

CVS commit: src/usr.bin/ftp

2023-05-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 16 18:52:09 UTC 2023 Modified Files: src/usr.bin/ftp: ssl.c Log Message: Ignore EOF from remote. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/ftp/ssl.c Please note that diffs are not publi

CVS commit: src/usr.bin/ftp

2023-05-05 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri May 5 15:46:06 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.c ssl.c util.c version.h Log Message: add timeout for ssl connect Implement a timeout for SSL connection setup, using -q QUITTIME, defaulting to 60 seconds. SSL_con

CVS commit: src/usr.bin/ftp

2023-05-05 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri May 5 15:46:06 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.c ssl.c util.c version.h Log Message: add timeout for ssl connect Implement a timeout for SSL connection setup, using -q QUITTIME, defaulting to 60 seconds. SSL_con

CVS commit: src/usr.bin/ftp

2023-04-08 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun Apr 9 06:10:03 UTC 2023 Modified Files: src/usr.bin/ftp: ssl.c Log Message: Simplify includes Include "ftp_var.h" instead of various system headers and "extern.h". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.

CVS commit: src/usr.bin/ftp

2023-04-08 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun Apr 9 06:10:03 UTC 2023 Modified Files: src/usr.bin/ftp: ssl.c Log Message: Simplify includes Include "ftp_var.h" instead of various system headers and "extern.h". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Feb 25 17:37:09 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): better mark up for url vs cd example To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/usr.bin/ftp/ftp.1 Please note that d

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Feb 25 17:37:09 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): better mark up for url vs cd example To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/usr.bin/ftp/ftp.1 Please note that d

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Feb 25 13:51:48 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): minor markup tweaks Use .Ql instead of .Sq Li, add some missing ones. Use .Pq instead of explicit () for longer phrases - these are easier to

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Feb 25 13:51:48 UTC 2023 Modified Files: src/usr.bin/ftp: ftp.1 Log Message: ftp(1): minor markup tweaks Use .Ql instead of .Sq Li, add some missing ones. Use .Pq instead of explicit () for longer phrases - these are easier to

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 25 12:07:25 UTC 2023 Modified Files: src/usr.bin/ftp: cmdtab.c extern.h fetch.c ftp.1 main.c ssl.c util.c version.h Log Message: Add option sslnoverify to control validation of SSL certificates. Add netrc proc

CVS commit: src/usr.bin/ftp

2023-02-25 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 25 12:07:25 UTC 2023 Modified Files: src/usr.bin/ftp: cmdtab.c extern.h fetch.c ftp.1 main.c ssl.c util.c version.h Log Message: Add option sslnoverify to control validation of SSL certificates. Add netrc proc

CVS commit: src/usr.bin/ftp

2023-01-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Jan 20 22:08:49 UTC 2023 Modified Files: src/usr.bin/ftp: util.c Log Message: s/bninary/binary/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/usr.bin/ftp/util.c Please note that diffs are n

CVS commit: src/usr.bin/ftp

2023-01-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Jan 20 22:08:49 UTC 2023 Modified Files: src/usr.bin/ftp: util.c Log Message: s/bninary/binary/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/usr.bin/ftp/util.c Please note that diffs are n

CVS commit: src/usr.bin/ftp

2022-09-21 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Sep 22 03:31:04 UTC 2022 Modified Files: src/usr.bin/ftp: version.h Log Message: update ftp version to 20220911 PR/57003: Handle relative URLs (patch by kim@) To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src

CVS commit: src/usr.bin/ftp

2022-09-21 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Sep 22 03:31:04 UTC 2022 Modified Files: src/usr.bin/ftp: version.h Log Message: update ftp version to 20220911 PR/57003: Handle relative URLs (patch by kim@) To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src

CVS commit: src/usr.bin/ftp

2022-09-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 12 15:10:31 UTC 2022 Modified Files: src/usr.bin/ftp: ssl.c Log Message: Disable verification for now until we implement installation of trust anchors. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/

CVS commit: src/usr.bin/ftp

2022-09-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 12 15:10:31 UTC 2022 Modified Files: src/usr.bin/ftp: ssl.c Log Message: Disable verification for now until we implement installation of trust anchors. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/

CVS commit: src/usr.bin/ftp

2022-09-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 11 20:49:27 UTC 2022 Modified Files: src/usr.bin/ftp: fetch.c Log Message: PR/57003: Handle relative URLs (patch by kim@) To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/usr.bin/ftp/fetch.c Please

CVS commit: src/usr.bin/ftp

2022-09-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 11 20:49:27 UTC 2022 Modified Files: src/usr.bin/ftp: fetch.c Log Message: PR/57003: Handle relative URLs (patch by kim@) To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/usr.bin/ftp/fetch.c Please

CVS commit: src/usr.bin/ftp

2022-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 30 08:51:28 UTC 2022 Modified Files: src/usr.bin/ftp: ftp.1 ssl.c Log Message: Add cert verification, together with an environment variable "NO_CERT_VERIFY", to turn it off. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/ftp

2022-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 30 08:51:28 UTC 2022 Modified Files: src/usr.bin/ftp: ftp.1 ssl.c Log Message: Add cert verification, together with an environment variable "NO_CERT_VERIFY", to turn it off. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/ftp

2021-10-09 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Oct 9 09:07:21 UTC 2021 Modified Files: src/usr.bin/ftp: main.c Log Message: ftp: fix -? more portably Start the optstring with ":" (which implicitly disables opterr), and handle '?' with optopt=='?' separately to ':'. Fixes

CVS commit: src/usr.bin/ftp

2021-10-09 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Oct 9 09:07:21 UTC 2021 Modified Files: src/usr.bin/ftp: main.c Log Message: ftp: fix -? more portably Start the optstring with ":" (which implicitly disables opterr), and handle '?' with optopt=='?' separately to ':'. Fixes

CVS commit: src/usr.bin/ftp

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:35:03 UTC 2021 Modified Files: src/usr.bin/ftp: util.c Log Message: ftp: fix undefined behavior when parsing FEAT lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not to 'int' [342]

CVS commit: src/usr.bin/ftp

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:35:03 UTC 2021 Modified Files: src/usr.bin/ftp: util.c Log Message: ftp: fix undefined behavior when parsing FEAT lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not to 'int' [342]

CVS commit: src/usr.bin/ftp

2021-08-25 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Aug 26 06:25:59 UTC 2021 Modified Files: src/usr.bin/ftp: version.h Log Message: update ftp version to 20210826 Version bump for PASV/LPSV address validation To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/

CVS commit: src/usr.bin/ftp

2021-08-25 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Aug 26 06:25:59 UTC 2021 Modified Files: src/usr.bin/ftp: version.h Log Message: update ftp version to 20210826 Version bump for PASV/LPSV address validation To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/

CVS commit: src/usr.bin/ftp

2021-08-25 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Aug 26 06:23:24 UTC 2021 Modified Files: src/usr.bin/ftp: ftp.c Log Message: ftp: remove unnecessary variable assignments Remove assignment to error in initconn(); it's not tested anywhere after the initial use, so no need to

CVS commit: src/usr.bin/ftp

2021-08-25 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Aug 26 06:23:24 UTC 2021 Modified Files: src/usr.bin/ftp: ftp.c Log Message: ftp: remove unnecessary variable assignments Remove assignment to error in initconn(); it's not tested anywhere after the initial use, so no need to

CVS commit: src/usr.bin/ftp

2021-08-25 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Aug 26 06:16:29 UTC 2021 Modified Files: src/usr.bin/ftp: ftp.c Log Message: ftp: validate address from PASV and LPSV response Fail if the server's response to PASV or LPSV contains an IP address that doesn't match that of the

CVS commit: src/usr.bin/ftp

2021-08-25 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Aug 26 06:16:29 UTC 2021 Modified Files: src/usr.bin/ftp: ftp.c Log Message: ftp: validate address from PASV and LPSV response Fail if the server's response to PASV or LPSV contains an IP address that doesn't match that of the

CVS commit: src/usr.bin/ftp

2019-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 22 23:40:53 UTC 2019 Modified Files: src/usr.bin/ftp: extern.h util.c Log Message: trim down error checking if we are small. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/usr.bin/ftp/extern.h cvs rd

CVS commit: src/usr.bin/ftp

2019-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 22 23:40:33 UTC 2019 Modified Files: src/usr.bin/ftp: progressbar.c Log Message: make this compile again with -DNO_PROGRESS To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/ftp/progressbar.c P

CVS commit: src/usr.bin/ftp

2019-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 22 23:40:33 UTC 2019 Modified Files: src/usr.bin/ftp: progressbar.c Log Message: make this compile again with -DNO_PROGRESS To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/ftp/progressbar.c P

CVS commit: src/usr.bin/ftp

2019-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 22 23:40:53 UTC 2019 Modified Files: src/usr.bin/ftp: extern.h util.c Log Message: trim down error checking if we are small. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/usr.bin/ftp/extern.h cvs rd

Re: CVS commit: src/usr.bin/ftp

2015-12-17 Thread Christos Zoulas
In article <20151217043656.44657f...@cvs.netbsd.org>, NONAKA Kimihiro wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: nonaka >Date: Thu Dec 17 04:36:56 UTC 2015 > >Modified Files: > src/usr.bin/ftp: fetch.c > >Log Message: >- Fix to connect https via proxy. >- Fix ttyout m

Re: CVS commit: src/usr.bin/ftp

2015-09-12 Thread Joerg Sonnenberger
On Sat, Sep 12, 2015 at 07:38:42PM +, Thomas Klausner wrote: > Module Name: src > Committed By: wiz > Date: Sat Sep 12 19:38:42 UTC 2015 > > Modified Files: > src/usr.bin/ftp: fetch.c ssl.c ssl.h > > Log Message: > Add Server Name Indication (SNI) support for https. host can't

CVS commit: src/usr.bin/ftp

2010-03-04 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Mar 5 07:45:41 UTC 2010 Modified Files: src/usr.bin/ftp: version.h Log Message: ftp 20100305: fix http date parsing To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/usr.bin/ftp/version.h Please note that di

CVS commit: src/usr.bin/ftp

2010-03-04 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Mar 5 07:45:41 UTC 2010 Modified Files: src/usr.bin/ftp: version.h Log Message: ftp 20100305: fix http date parsing To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/usr.bin/ftp/version.h Please note that di

CVS commit: src/usr.bin/ftp

2010-03-04 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Mar 5 07:41:10 UTC 2010 Modified Files: src/usr.bin/ftp: fetch.c ftp.1 ftp.c util.c Log Message: Back to using 'RFC ' instead of 'RFC' To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193 src/usr.bin/ftp/f

CVS commit: src/usr.bin/ftp

2010-03-04 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Mar 5 07:41:10 UTC 2010 Modified Files: src/usr.bin/ftp: fetch.c ftp.1 ftp.c util.c Log Message: Back to using 'RFC ' instead of 'RFC' To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193 src/usr.bin/ftp/f

CVS commit: src/usr.bin/ftp

2010-03-04 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Mar 4 21:40:53 UTC 2010 Modified Files: src/usr.bin/ftp: extern.h fetch.c util.c Log Message: Parse HTTP 'Date' entries in the `C' locale rather than the user's. Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi.

CVS commit: src/usr.bin/ftp

2010-03-04 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Mar 4 21:40:53 UTC 2010 Modified Files: src/usr.bin/ftp: extern.h fetch.c util.c Log Message: Parse HTTP 'Date' entries in the `C' locale rather than the user's. Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi.

CVS commit: src/usr.bin/ftp

2010-01-11 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Tue Jan 12 06:50:05 UTC 2010 Modified Files: src/usr.bin/ftp: cmds.c Log Message: rename argument from "bool" to "val" To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/usr.bin/ftp/cmds.c Please note that diffs

Re: CVS commit: src/usr.bin/ftp

2009-08-16 Thread Luke Mewburn
On Sat, Aug 15, 2009 at 10:49:24PM -0400, Christos Zoulas wrote: | Module Name:src | Committed By: christos | Date: Sun Aug 16 02:49:23 UTC 2009 | | Modified Files: | src/usr.bin/ftp: fetch.c | | Log Message: | use strrchr to find the last @ becau

Re: CVS commit: src/usr.bin/ftp

2009-04-24 Thread Luke Mewburn
On Fri, Apr 24, 2009 at 02:07:56PM +1000, Geoff Wing wrote: | On Sunday 2009-04-12 10:18 +, Luke Mewburn output: | :Module Name: src | :Committed By: lukem | :Date: Sun Apr 12 10:18:52 UTC 2009 | : | :Modified Files: | : src/usr.bin/ftp: cmds.c cmdtab.c c

Re: CVS commit: src/usr.bin/ftp

2009-04-23 Thread Geoff Wing
On Sunday 2009-04-12 10:18 +, Luke Mewburn output: :Module Name: src :Committed By: lukem :Date: Sun Apr 12 10:18:52 UTC 2009 : :Modified Files: : src/usr.bin/ftp: cmds.c cmdtab.c complete.c domacro.c extern.h fetch.c : ftp.c ftp_var.h main.c progressbar.c progressba

Re: CVS commit: src/usr.bin/ftp

2009-04-16 Thread Simon Burge
Jed Davis wrote: > Module Name: src > Committed By: jld > Date: Wed Apr 15 04:19:39 UTC 2009 > > Modified Files: > > src/usr.bin/ftp: util.c > > Log Message: > > Another empty-body warning/error, another set of curly braces. This, and > the last one, appear to affect only the N