Package: scponly
Version: 4.0-1
Severity: normal

When using rsync --bwlimit=N to access a scponlyc account, I get this
error:

invalid characters in scp command!
here:=50 . /var/scan/softscan/virus/.
try using a wildcard to match this file/directory
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)

Adding = to the ALLOWABLE chars fixes the problem.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages scponly depends on:
ii  debconf [debconf-2.0 1.4.30.11           Debian configuration management sy
ii  libc6                2.3.2.ds1-20        GNU C Library: Shared libraries an
ii  passwd               1:4.0.3-30.10       change and administer password and
ii  ssh                  1:3.8.1p1-8.sarge.4 Secure rlogin/rsh/rcp replacement 

-- debconf information:
* scponly/shells:
* scponly/chroot: true
--- scponly.h.orig	2005-03-23 17:28:43.815112072 -0500
+++ scponly.h	2005-03-23 17:08:37.787456144 -0500
@@ -4,7 +4,7 @@
 #define MAX_USERNAME 32
 #define MAX_REQUEST (1024)		// any request exceeding this is truncated
 #define MAX_ARGC 100			// be reasonable
-#define ALLOWABLE "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 ./-*\\_\'\":?()+"
+#define ALLOWABLE "=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 ./-*\\_\'\":?()+"
 #define WHITE " \t"			// whitespace
 #define exact_match(x,y) (0==strcmp(x,y))	// we dont want strncpy for this
 #define LOGIDENT "scponly"

Reply via email to