Commit Graph

29 Commits

Author SHA1 Message Date
sperber 49de023eb7 Typo fix in log message. 2002-01-11 13:18:34 +00:00
sperber f5cd1798d3 THREAD-FORK doesn't take an additional second argument (yet). 2002-01-08 15:02:39 +00:00
mainzelm 0c7e75a2b5 + Use fork-thread
+ Replaced host-name-or-empty by host-name-of-ip
2002-01-08 14:02:39 +00:00
interp a76848a6c6 * let ftpd generate more useful output on error conditions
* include format-net package in ftpd package
2001-11-13 13:50:24 +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 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
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
sperber 6512d291cc Make SPLIT-ARGUMENTS compatible with scsh >=0.5.2. 2001-06-03 16:46:54 +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