christos
964e4f5784
fix restart from anon ymous
2013-02-23 13:47:36 +00:00
dsl
41b0a909cc
When using the response to SYST to decide whether to default to 'binary'
...
be a lot less specific.
Kyocera printers report "230 Linux" but really don't want text transfers
of pdf files!
2013-02-19 23:29:15 +00:00
christos
ed82bc80db
merry belated x-mas.
2013-02-06 16:37:20 +00:00
christos
ccdf6b9113
backwards compatible with netbsd-6.
2012-12-24 22:12:28 +00:00
christos
e7e7a9f768
compile without SSL
2012-12-22 16:58:51 +00:00
christos
057b4f79a5
document https support, mentioning certificates are not validated, and obey
...
https_proxy.
2012-12-22 16:57:09 +00:00
christos
f9336fd862
PR/47276: Add https support
2012-12-21 18:07:36 +00:00
is
706521afb9
As discussed on tech-net@: Don't display expected EHOSTUNREACH for all but
...
the last connect attempts in terse mode.
2012-07-04 06:09:37 +00:00
riastradh
9a313cc58d
Clean up #includes in progress(1).
...
Sort them, omit needless ones, and add omitted needful ones.
Omissions revealed by pilfering the code and trying to build it on
Mac OS X. We ought to have a better way to reveal these omissions...
2012-06-27 22:07:36 +00:00
wiz
1ac719d147
Remove unnecessary Bk/Ek pairs from SYNOPSIS.
...
No effective change except where I used the opportunity to sort options
and/or option descriptions.
2012-04-08 22:00:37 +00:00
wiz
3957bea1ef
Fix whitespace nits. Suggested by Bug Hunting.
2012-03-22 07:58:16 +00:00
apb
daa17451fe
subtracting two pointers yields ptrdiff_t, so cast it to int.
2012-02-24 19:53:31 +00:00
apb
bb16246581
When given an URL that contains "://" but is not recognised,
...
print an error message. Now "ftp https://foo/bar " prints
ftp: Unsupported URL scheme `https'
instead of
ftp: Can't lookup `https:ftp': No address associated with hostname
ftp: Can't connect or login to host `https:?'
2012-02-24 19:40:49 +00:00
christos
24352c32b9
fix previous; use append instead of write.
2012-01-15 20:43:24 +00:00
christos
65445fb66d
make -R work the same in ftp:// like it does for http:// (i.e. work if
...
there is no local file).
2012-01-15 03:58:28 +00:00
lukem
2c9a7b42f6
Move determination of socket buffer sizes from startup to the first
...
time a socket is used, as the previous logic assumed AF_INET sockets
were available (which they may not be in an IPv6-only system).
Per discussion with Maxim Konovalov and the FreeBSD problem 162661.
2011-12-10 05:53:58 +00:00
joerg
6818646ac8
Use __dead
2011-09-16 15:39:25 +00:00
christos
51a4285889
fix gcc-4.5 warnings
2011-08-14 12:58:15 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
lukem
f8daa4a728
In ftpvis(), prevent incomplete escape sequences at end of dst,
...
and ensure NUL-termination of dst. Also tweak for readibility.
Fix from Uwe Stuehler and Stefan Sperling, via Marc Balmer.
2010-06-05 13:59:39 +00:00
lukem
e451c67901
ftp 20100305: fix http date parsing
2010-03-05 07:45:40 +00:00
lukem
3f853671ff
Back to using 'RFC xxxx' instead of 'RFCxxxx'
2010-03-05 07:41:10 +00:00
lukem
cbd600cfd6
Parse HTTP 'Date' entries in the `C' locale rather than the user's.
...
Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi.
2010-03-04 21:40:53 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
lukem
7858a04d0e
rename argument from "bool" to "val"
2010-01-12 06:50:04 +00:00
lukem
7f19467717
Crank version to 20090915:
...
* rename internal getline() to get_line() to avoid conflict with libc
* avoid NULL deref in verbose output in an error path
* improve man page markup
2009-11-15 10:03:16 +00:00
christos
3104786862
back out previous; luke says:
...
'@' is a reserved URI char per RFC 3986, use %40
2009-08-17 09:08:16 +00:00
christos
3ac3892a2a
use strrchr to find the last @ because we might want the username to contain
...
user@domain.
2009-08-16 02:49:23 +00:00
drochner
c2819fbfcf
avoid NULL dereference in log output if the command line parser
...
failed to extract a port number from the URL
2009-08-13 17:55:18 +00:00
roy
7027866a09
Rename internal getline() function to get_line() so it does
...
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
joerg
ea92254557
Fix markup.
2009-07-11 18:35:48 +00:00
wiz
d8c85176f3
New sentence, new line.
2009-05-04 19:45:51 +00:00
lukem
a60f776aae
Revert incorrect change made as part of the WARNS=4.
...
Fixes "ftp host [port]" on the CLI.
Noted by Geoff Wing.
2009-04-24 08:57:26 +00:00
jld
d61104a0f0
Another empty-body warning/error, another set of curly braces. This, and
...
the last one, appear to affect only the NO_DEBUG (e.g., SMALLPROG) build.
2009-04-15 04:19:39 +00:00
jld
882877eb33
Unbreak the build by adding curly braces to placate the empty-body warning.
2009-04-15 03:42:33 +00:00
lukem
3d4efc3511
Fix numerous WARNS=4 issues (-Wcast-qual -Wsign-compare).
2009-04-12 10:18:52 +00:00
lukem
d8b47884a2
fix -Wshadow issues
2009-04-12 07:07:41 +00:00
joerg
6cb9af04f6
Don't workaround ancient macro argument limit with .Xo/.Xc. Don't use
...
.Sm off/.Sm on.
2009-03-12 12:35:17 +00:00
lukem
95d5ba4ee0
correct a comment
2008-12-05 05:28:12 +00:00
lukem
b88214a09b
update copyrights
2008-09-30 03:41:53 +00:00
gmcgarry
507b8fdd96
getline() returns int. Don't cast to unsigned value and compare with -1.
2008-09-09 00:48:28 +00:00
lukem
4f152bac9e
Use AF_INET instead of AF_UNSPEC as the default family if !defined(INET6).
...
Avoids problem reported by Matthias Scheler <tron@NetBSD.org>.
2008-08-13 04:59:13 +00:00
lukem
f56a1ee83d
Add TNF to __COPYRIGHT
2008-07-21 23:11:16 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
wiz
b766901d20
Bump date; punctuation improvements.
2008-05-13 09:33:36 +00:00
skd
830972dccc
Bump version string, as per lukem@.
2008-05-10 01:14:57 +00:00
skd
315d173b9f
Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4 and ipv6 respectively. This hack is due to our friends a Juniper Networks who break
...
epsv in ipv6. Should be fixed in ScreenOS 6.2.X.
2008-05-10 00:05:31 +00:00
lukem
c63ddfd726
Only attempt to el_parse() a command unknown by the default parser
...
if editing is enabled.
Fixes PR bin/38589
2008-05-05 22:54:11 +00:00
martin
cd22f25e6f
Move TNF licenses to 2 clause form
2008-05-02 18:11:04 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00