Commit Graph

998 Commits

Author SHA1 Message Date
mainzelm 612ca1e0ad Moved to new package layout. 2001-10-08 17:37:30 +00:00
mainzelm c4778aa49c Fixed broken usage of string-join. 2001-10-08 17:33:13 +00:00
mainzelm af7288f535 Revert to old bufpol name. 2001-10-08 17:32:49 +00:00
interp 4063467f96 * Files made fit for scsh 0.6
* Added further features from Eric Marsden:

   * ftp.scm -- a module for transfering files using the FTP protocol

   * pop3.scm -- a module for accessing a maildrop using the POP3
     protocol

   * netrc.scm -- a module for parsing users' ~/.netrc files to
     obtain authentication information

   * nettime.scm -- a module for obtaining the time from remote
     machines, using either the Time (rfc868) or the NetTime (rfc867)
     protocols.

Unfortunetaly,
pop3.scm needs further revision because of undefined procedures and
netrc.scm needs further revision.

Nevertheless they were added because, beside the problems, they fit
scsh 0.6.
2001-09-12 18:53:50 +00:00
interp 66907428e0 Minor change in ls-path. 2001-09-10 12:26:40 +00:00
interp 3c200d4db9 even less STAT-calls
(removed STAT-calls when called with RECURSIVE)
2001-09-07 16:38:38 +00:00
interp 5973322619 RECURSIVE - flag works now (removed bug from previous revision). 2001-09-07 15:23:08 +00:00
interp 69271875a9 COLUMNS - flag works now (removed bug from previous revision). 2001-09-07 15:22:02 +00:00
interp a9a269043f changes made to
* avoid too many STAT-calls
* show executable-flag (*) for regular files
2001-09-07 15:08:37 +00:00
interp 669e5ab4a8 contents of CONDITIONALS.SCM are not used any more
contents of TOOTHLESS.SCM can be found in modules.scm
2001-08-20 11:33:04 +00:00
interp 6c702e9a03 sunet can be used with scsh 0.6 now (hopefully).
explicitly named every interface
moved TOOTHLESS.SCM to MODULES.SCM
removed macros from CONDITIONALS.SCM (UNLESS, WHEN, ?, SWITCH, SWITCHQ)
  thereby removed conditionals.scm and the modules SWITCH-SYNTAX and CONDHAX.
2001-08-20 11:31:03 +00:00
interp a741498c59 ftpd.scm: corrected typo; ftpd.scm.doc: doc for ftpd.scm 2001-08-09 10:55:08 +00:00
interp 3cc5d8c837 Changed syslog-levels for following facilities:
changes concerning CONNECTIONS and the PUT (STOR) command are logged as NOTICE
GET (RETR) command and all other commands are logged as INFO
every thing else is logged as DEBUG

internal errors, unix errors and the reaching of unreachable case-branches are logged as NOTICE
success (as long as interesting) and failure of commands are logged as INFO

the debug messages are to used in cooperation with the other levels, so if you want to do debugging, let all messages be put in one file.
2001-07-24 17:11:42 +00:00
interp cd5e03ec9a PARSE-URI modified: search-part is now correctly recognized, no matter frag is given or not 2001-07-16 11:31:41 +00:00
interp a90dfae496 * finished adding syslogs to ftpd
* trim-spaces doesn't throw exception on emtpy strings any more
* spawn-thunk in FTPD moved to new procedure
* always catching SOCKET->STRING errors
* log-calls don't produce extra calculations anymore
* consequently logging reply codes
: ----------------------------------------------------------------------
2001-07-13 17:21:39 +00:00
sperber f4db620dd9 Free SYSLOG parameters so we can set them from the outside. 2001-07-10 12:06:59 +00:00
sperber 2c6d19ef63 Simplify and debugify NORMALIZE-PATH.
Catch ERRNO/NOTCONN out of SOCKET->STRING.
2001-07-07 19:37:53 +00:00
interp dbebe4e8ef even more syslogs inserted 2001-07-07 15:19:52 +00:00
uid35759 e63ed67403 Open THREADS-INTERNAL into FTPD. 2001-07-04 11:34:20 +00:00
interp 747f3cb054 added more syslog messages 2001-06-29 15:10:28 +00:00
interp 5b666fb2e4 using WITH-SYSLOG-DESTINATION 2001-06-26 13:15:56 +00:00
interp 1e164e08b2 Starting to insert syslog-calls in ftpd. 2001-06-22 14:01:38 +00:00
mainzelm 2278144662 Now that bind is fixed in scsh we can drop internet-address/any.
Use scsh's new port->socket to determine the address of the host via
the session-control-input-port.
2001-06-20 16:21:41 +00:00
sperber 899a7d6f30 Use INTERNET-ADDRESS/ANY (who knows if this is right) instead of
(THIS-HOST-ADDRESS).
2001-06-20 13:33:03 +00:00
sperber 7b285f1fd3 Optional separator for FORMAT-INTERNET-HOST-ADRESS (which had been
ripped out at some point).
2001-06-20 13:25:41 +00:00
sperber 10567fd22e Fix arg error in HANDLE-RNTO. 2001-06-20 09:22:59 +00:00
sperber 1247e7eed9 Pass home directory of the anonymous user explicitly.
Don't setgid and setuid no more.  It's wrong and evil in a
multithreaded environment.
2001-06-20 09:21:37 +00:00
sperber 9fd49a135d Restore old code for determining the anonymous ftp home in preparation
for replacing it by a more explicit mechanism.
2001-06-20 09:12:49 +00:00
sperber 76d5ce3a74 Use BIG-UTIL instead of rolling our own stuff. 2001-06-20 09:08:01 +00:00
sperber b99348651d Handle quit more correctly:
Previously, it tried to write a final reply even into a socket which
had been shut down from the other end.  This would terminate the
connection thread and prevent a regular close.

So we introduce an IRREGULAR-QUIT condition for this purpose and guard against EOF better.

Also, revert to not using INTERNET-HOST-ADDRESS-TO-BYTES.
2001-06-20 09:02:22 +00:00
sperber 92b47b6487 Revert use of INTERNET-HOST-ADDRESS-FROM-BYTES as it's gone from scsh. 2001-06-19 11:33:01 +00:00
sperber 9fe34c1ce0 The scsh gods have decided it's now BUFPOL/NONE instead of
'BUFPOL/NONE.
No problem, I'm just a drone, hit me.
2001-06-19 11:10:38 +00:00
sperber 2c1b13bd60 Catch not-connected error to SHUTDOWN-SOCKET.
Close socket upon finish.
2001-06-19 10:48:45 +00:00
sperber db59a087ab Don't list files as directories. 2001-06-09 09:33:37 +00:00
sperber 3f178f99d0 Display relative filenames in directory listings. 2001-06-09 09:28:51 +00:00
interp 3e6277cfbf *** empty log message *** 2001-06-05 12:46:05 +00:00
interp ee887b6b04 stringhax.scm documented.
trim-spaces rewritten.
2001-06-05 12:37:09 +00:00
sperber 6512d291cc Make SPLIT-ARGUMENTS compatible with scsh >=0.5.2. 2001-06-03 16:46:54 +00:00
sperber 62f6ae4084 More involved directory special-casing for ls
(probably still wrong).
Proper handling of groups and users with id's but no names.
2001-06-03 16:45:17 +00:00
interp a98905eaee RFCs removed 2001-05-20 19:05:10 +00:00
interp 13b5e5e2d7 Files in doc and doc/html added :). 2001-05-20 19:01:37 +00:00
interp 812784c6bf * Documentation for uri.scm finished (except for resolve-uri-procedure as I can't figure out what this procedure is intended to do; someone out there who want to let me know?)
* new simplify-uri-path written (as the old one did not seem to work correctly)
2001-05-20 18:57:31 +00:00
interp 5a15d24738 documentation added
uri.scm fixed:
 - uri-escaped-chars contains the characters to escape
 - escape-uri really uses optional argument
 - some files changed so they can use new char-set-lib instead of char-set-package
2001-05-17 16:48:41 +00:00
mainzelm 2ff53cca7d fix for new char-lib (I hope at least) 2001-04-29 18:57:15 +00:00
mainzelm f3c47fad2e replace ? by cond 2001-04-29 18:49:48 +00:00
interp 9692f2e8d3 thread-support merged 2001-04-27 16:19:34 +00:00
mainzelm 5862701455 Sync with the WSI repository 2000-09-26 15:32:01 +00:00
mainzelm 01310403c1 *** empty log message *** 2000-09-26 14:35:26 +00:00