Commit Graph

3679 Commits

Author SHA1 Message Date
itojun
6ae77d03dc clarify socket-connect trial loop. fix freeaddrinfo().
adjust indentation (commands.c uses sw=4 ts=8).
1999-07-14 20:47:41 +00:00
itojun
1e44889b75 implement more fallback case for EPSV. BSDI ftpd is very broken
that it returns status 228 against EPSV, where it must return status
of 229.

separate PASV and LPSV processing.

PR: 7976
1999-07-13 21:43:31 +00:00
kleink
8731671861 If not specified on the command line, attempt to fall back to the environment
variables AUDIODEVICE (for -d) and AUDIOCTLDEVICE (for -C, already used in
audioctl(1)) before falling back to _PATH_* constants.
1999-07-13 14:02:33 +00:00
thorpej
9630ed475e Use bsd.crypto.mk. 1999-07-12 22:11:37 +00:00
thorpej
7550139fd7 Whitespace cleanup. 1999-07-12 22:10:52 +00:00
thorpej
1c912b351f Nuke this from orbit. We don't have placeholders for any of the other
only-in-crypto-us programs, so why should this be any different?
1999-07-12 22:07:22 +00:00
aidan
3a4abbe0d1 Kerberos5 changes to login -- now supports forwarded TGTs. 1999-07-12 21:36:10 +00:00
itojun
9b9f995d4b call freeaddrinfo() after getaddrinfo() to reclaim results. 1999-07-12 20:50:54 +00:00
itojun
a40e2f2822 IPv6 support.
clarify a bit (specifically, routines in tftp.c now does not
modify "peeraddr")
1999-07-12 20:19:20 +00:00
thorpej
70b6975a7e Fix a typo. 1999-07-12 18:22:49 +00:00
thorpej
00fb13f649 Revert previous, as it merely worked around a recent bug in make(1) which
is now fixed.
1999-07-12 18:17:56 +00:00
itojun
e56c252759 make sure to use files in ${.CURDIR} before ${.CURDIR}/../../sys/netiso.
(namely iso.c)
1999-07-12 17:53:42 +00:00
itojun
5d56439d90 merge SRCS into one. 1999-07-12 17:48:45 +00:00
thorpej
484fe86089 Correct an inverse initialization of a variable, which caused all .PATHs
to be treated as .DOTLAST.
1999-07-12 17:29:32 +00:00
lukem
375a0efb60 * change fetch_ftp() to be fully rfc 1738 compliant; if the URL contains
the an empty directory (e.g, between `some' and `path' in
  `ftp://host/some//path'), then execute `CWD ' (without a path).
  This command will probably fail on rfc 959 compliant servers, so
  issue a warning in this case and bail. [noted by cgd].
  (i wonder if the people who wrote rfc 1738 actually realised that this
  requirement appears to contravene the spec for `cwd' in rfc 959 ?)
* replace isurl() with isipv6addr(), and use appropriately. fixes
  auto-login with `classic ftp URLs' (e.g, `ftp somehost:')
* cleanup and rework some of the ipv6 stuff in parse_url()
* prevent potential coredump in fetch_ftp() when parsing `;type=X'
* KNF a few lines
* fix a couple of comments
* cleanup the man page a bit
1999-07-12 13:20:34 +00:00
mrg
9abab6de8b - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00
darrenr
b7eb8dab03 include comments for ktruss 1999-07-12 03:24:58 +00:00
darrenr
43fc13da12 build ktruss 1999-07-12 03:21:50 +00:00
darrenr
c0090d81bf import Makefile and dump.c required for building ktruss. 1999-07-12 03:20:17 +00:00
kim
bfb603392a Allow people in group wheel to use the ROOTAUTH group.
Pick up SUROOTAUTH (presumably from /etc/mk.conf).
1999-07-11 23:41:10 +00:00
itojun
940276557f add epsv4 command, which enable/disable the use of EPSV/EPRT.
this is mainly for (hypothetical) ftp server which disconnect clients
that use EPSV/EPRT.  I've never seen any ftp server like this, but
epsv4 command may be of use when such an ftp server is found.
1999-07-11 20:37:39 +00:00
thorpej
3e29511219 Simply a construct in usage(). 1999-07-11 19:30:39 +00:00
thorpej
0157452a1b Clean up some warnings in the Kerberos section. 1999-07-11 18:21:18 +00:00
thorpej
5a0addc0ef Add a mechanism for specifying that ${.CURDIR} will be searched last
in the presence of .PATH directives by specifying:

.PATH: .DOTLAST

This will be used to fixup the build system to work with both crypto-us
and crypto-intl sub-trees.

Make(1) changes by Christos Zoulas, after much badgering by me :-)
1999-07-11 02:06:57 +00:00
christos
17e6e111b9 oops, need to declare tos. 1999-07-11 00:41:59 +00:00
christos
5d5741e3ba Kludge around non 4.4BSD systems that don't have a length field in struct
sockaddr*.
1999-07-10 20:46:42 +00:00
christos
7e3d65379b isurl does not return a pointer! 1999-07-10 19:41:15 +00:00
christos
2107d6d2da remove unused variable 1999-07-10 19:41:01 +00:00
christos
c2a03912bb don't do unnecessary const castaways 1999-07-10 19:40:36 +00:00
tron
52f4fd7993 Define "_LKM" before including kernel includes with "_KERNEL" defined
so that "opt_ffs.h" gets skipped.
1999-07-08 12:07:56 +00:00
dean
448aa67f43 Fix for PR 5108 - vi gets SEGV after SIGHUP. 1999-07-08 06:09:04 +00:00
tron
9e48344ed0 Make FTP downloads via HTTP proxy servers work again. 1999-07-06 22:11:37 +00:00
christos
4bcc4c73c4 pacify gcc-2.8 uninitialized variable warnings, and only use timespecs in
struct stat on BSD4_4 systems.
1999-07-06 14:45:31 +00:00
christos
80d9d7d175 Regular bourne shells don't have the -q option (from Chuck Cranor) 1999-07-06 14:02:56 +00:00
itojun
26c3d764fd add NetBSD RCS ID. 1999-07-06 13:14:54 +00:00
thorpej
0ecdd58add Define _RTLD_SOURCE so this builds again. PR 7927, itojun@itojun.org. 1999-07-06 08:04:31 +00:00
hubertf
057479d6da Add sidplay information, submitted in PR 7918 by Antti Kantee <pooka@iki.fi> 1999-07-05 21:38:21 +00:00
cgd
4515ccfe3e nuke msg_printf() and msg_printf_add(). 1999-07-04 22:55:48 +00:00
itojun
1a53711865 fix 'junk pointer free' issue. 1999-07-04 22:46:20 +00:00
cgd
a70b70f98d const-ify strings as appropriate, and convert message 'numbers' from
ints to 'msg's.  'msg' is currently typedef'd as 'const char *', but it'll
become more complex eventually.
1999-07-04 21:30:14 +00:00
cgd
efb4e0892c oops, forgot an _ 1999-07-04 10:39:40 +00:00
cgd
8b6866fc0b privatize msg_beep 1999-07-04 10:35:19 +00:00
cgd
4443f1b7ab nuke msg_{,no}echo, add msg_prompt_noecho 1999-07-04 10:29:30 +00:00
cgd
ed2a9c9df9 nuke msg_prompt_str, msg_prompt_addstr, and msg_table (unused), and make
msg_vprintf private.
1999-07-04 10:13:12 +00:00
cgd
e7861bf936 turn on automatic text layout for the printf and display fns 1999-07-04 09:37:18 +00:00
cgd
e8b59e21bb provide APIs (currently mostly undocumented) to print pre-formatted
(table) text.
1999-07-04 07:40:51 +00:00
itojun
2091d363f0 free dynamically allocated storage on error. 1999-07-03 05:49:57 +00:00
itojun
81ed739f62 clearify socket/connect loop. 1999-07-03 05:44:11 +00:00
itojun
e1b3627397 bark if mismatched address families are found on source route. 1999-07-02 15:11:53 +00:00
itojun
9bee021415 IPv6-ready telnet.
source route (telnet @localhost@localhost) works for IPv6 as well.
1999-07-02 15:09:10 +00:00