# PaCkAgE DaTaStReAm ftpproxy 1 173 # end of header 0707010010c0ad000081a40000000000000000000000014d34edc1000000fe000000b600010002ffffffffffffffff0000001100000000ftpproxy/pkginfoPKG=ftpproxy NAME=ftpproxy 1.2.3 i86pc Solaris 11 VERSION=1.2.3 PSTAMP=18th January 2011 VENDOR=Andreas Schoenberg EMAIL=http://www.ftpproxy.org/ DESC=FTP proxy server ARCH=i386 CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 0707010010c0ac000081a40000000000000000000000014d34edc100000265000000b600010002ffffffffffffffff0000001000000000ftpproxy/pkgmap: 1 173 1 d none /usr ? ? ? 1 d none /usr/local ? ? ? 1 d none /usr/local/etc 0755 root root 1 f none /usr/local/etc/ftpproxy.proxy-user.conf.orig 0644 root root 1047 25442 1295314359 1 f none /usr/local/etc/ftpproxy.proxy.conf.orig 0644 root root 118 7870 1295314359 1 d none /usr/local/man 0755 root root 1 d none /usr/local/man/man1 0755 root root 1 f none /usr/local/man/man1/ftp.proxy.1 0644 root root 14659 57837 1295314359 1 d none /usr/local/sbin 0755 root root 1 f none /usr/local/sbin/ftp.proxy 0755 root root 54672 51643 1295314359 1 i checkinstall 790 2505 1295314417 1 i pkginfo 254 19695 1295314369 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!0707010010c0ad000081a40000000000000000000000014d34edc1000000fe000000b600010002ffffffffffffffff0000000800000000pkginfoPKG=ftpproxy NAME=ftpproxy 1.2.3 i86pc Solaris 11 VERSION=1.2.3 PSTAMP=18th January 2011 VENDOR=Andreas Schoenberg EMAIL=http://www.ftpproxy.org/ DESC=FTP proxy server ARCH=i386 CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 0707010010c0ac000081a40000000000000000000000014d34edc100000265000000b600010002ffffffffffffffff0000000700000000pkgmap: 1 173 1 d none /usr ? ? ? 1 d none /usr/local ? ? ? 1 d none /usr/local/etc 0755 root root 1 f none /usr/local/etc/ftpproxy.proxy-user.conf.orig 0644 root root 1047 25442 1295314359 1 f none /usr/local/etc/ftpproxy.proxy.conf.orig 0644 root root 118 7870 1295314359 1 d none /usr/local/man 0755 root root 1 d none /usr/local/man/man1 0755 root root 1 f none /usr/local/man/man1/ftp.proxy.1 0644 root root 14659 57837 1295314359 1 d none /usr/local/sbin 0755 root root 1 f none /usr/local/sbin/ftp.proxy 0755 root root 54672 51643 1295314359 1 i checkinstall 790 2505 1295314417 1 i pkginfo 254 19695 1295314369 0707010010c0b9000041ed0000000000000000000000024d34edc100000000000000b600010002ffffffffffffffff0000000800000000install0707010010c0ba000081ed0000000000000000000000014d34edf100000316000000b600010002ffffffffffffffff0000001500000000install/checkinstall#!/bin/sh # expected_bits="64" expected_release="5.11" expected_platform="i386" # release=`uname -r` platform=`uname -p` bits=`isainfo -b` # if [ ${platform} != ${expected_platform} ]; then echo "\n\n\n\tThis package must be installed on a ${expected_platform} architecture\n" echo "\tAborting installation.\n\n\n" exit 1 fi if [ ${release} != ${expected_release} ]; then echo "\n\n\n\tThis package must be installed on a ${expected_release} machine\n" echo "\tAborting installation.\n\n\n" exit 1 fi #if [ ${bits} != ${expected_bits} ]; then # echo "\n\n\n\tThis package must be installed on a ${expected_bits} bit machine\n" # echo "\tYour machine is running a ${bits} bit O.S. currently\n" # echo "\tAborting installation.\n\n\n" # exit 1 #fi exit 0 0707010010c0ae000041ed0000000000000000000000034d34edc100000000000000b600010002ffffffffffffffff0000000500000000root0707010010c0af000041ed0000000000000000000000034d34edc100000000000000b600010002ffffffffffffffff0000000900000000root/usr0707010010c0b0000041ed0000000000000000000000054d34edc100000000000000b600010002ffffffffffffffff0000000f00000000root/usr/local0707010010c0b1000041ed0000000000000000000000024d34edc100000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/etc0707010010c0b2000081a40000000000000000000000014d34edb700000417000000b600010002ffffffffffffffff0000003100000000root/usr/local/etc/ftpproxy.proxy-user.conf.orig# # Comments are allowed. # # # This is a sample dynamic configuration config-file for the sample # dcp that comes with the ftp.proxy distribution. # # The line format is # # :::: # # Empty fields in the configuration are not send to the proxy. The # proxy uses the the user supplied values. # # # If user `test' wants to login with no given server we route him # to `server1' with username `user1'. # test::server1:user1:: # # If test wants to go to `server2' he'll do it with username `user2' # test:server2::user2: # # Protect our UNIX admin from typing `administrator' as login name. # root::server1:administrator:: # # Allow requests for arbitrary users to a particular FTP server. We # rewrite the server name from `ftp' to `file-server' to ease the life # of our users. # *:ftp:file-server::: # # Configure quick and simple access to sunsite. # sunsite::sunsite.unc.edu:anonymous:ftp@my.domain: # # The following configuration line denies all requests without # a configuration. # *:* 0707010010c0b3000081a40000000000000000000000014d34edb700000076000000b600010002ffffffffffffffff0000002c00000000root/usr/local/etc/ftpproxy.proxy.conf.orig [127.0.0.1] debug yes server 192.168.0.1 [192.168.1.4] acp - selectserver yes extra-logging yes 0707010010c0b7000041ed0000000000000000000000024d34edc100000000000000b600010002ffffffffffffffff0000001400000000root/usr/local/sbin0707010010c0b8000081ed0000000000000000000000014d34edb70000d590000000b600010002ffffffffffffffff0000001e00000000root/usr/local/sbin/ftp.proxyELF#44 (44o| M44h/usr/lib/ld.so.1 "#%&*+,-./12479;<=>?@ACDEFGHIJKLPRSTVWY[\^`abdehijlnoqruz{|}~  !$'()03568:BMNOQUXZ]_cfgkmpstvwxy  &2:$  ?$  9%  G0%( M:P/  ?p/  9/  G/( V/ `0 nP1B y:<  ?=  90=  GP=( @a :  ?0  9P  Gp( p :`  ?  9  G(  P %  >  @!`%3 '  P${ P! P  "*0#0@R 7r C!H"N "U\\\ j0 v#}V !L p" p f 8' `V "#" @O L 0a !7<=h I#Q`La ]P e"s"}PP Pp  ` 1 P#Xpk 0{=  [ 0\v "0?| P"?  00  ) 1 9#@iEM!R lv# }0""!! ijp{ Mk ##!! X@x  4 @"E " #` $@#, !5~ <= O^a ` !e p@ l`' 0 PZ D"`"T !!"`#P"| I!@Ny p#lR  | !#H,0!6CK*p Rp ] p!dS m@xb `!Ns  ` ^$ t ftp.proxycrti.scrt1.ocrt1.sfsr.svalues-Xa.cmain.cfstatlstat_xmknodconfig.cget_yesnoget_parameterget_numberftp.cgetvarnamedaemon.cip-lib.calarm_handler_init_upper_init_lowercrtn.smainget_client_infontohsmissing_arg_exitisuppercaseopenip__fsrgetpeernamesfputcprogramalarmdoquitcopy_stringdup2ctimestrcatatexitset_variablesislowercasesocketdopasvacceptdaemonmode__1cG__CrunMdo_exit_code6F_v_waitpidsignalget_wordget_ftpdirprintconfigget_portfdopen_get_exit_frame_monitorsfputsskip_wsstrupr_GLOBAL_OFFSET_TABLE_debugget_ftppathreallocreadline_fdstrtoulgethostbynamevsnprintfreallocatedologinatoireadconfigatolerrnorun_ccp__iobsignal_handlerstrcmpstrpcmpsetvarstrtolclose_chprognamegetpid_edata_environgetc_fd_finibind_to_portfprintfstrrchrmalloc_end___Argvread_PROCEDURE_LINKAGE_TABLE___fpstart_startputenvsetsockoptgetsocknamefclosegetportnum__longdouble_usedset_signalscfgetshtonstolowermemsetcmdtabsplit_fxstatfopen_DYNAMICpipememcpybind__ctypeconnectstrerrornoctrlget_interface_info__environ_lockstrlwracceptloop__fsr_init_valueopenlogstrcpydofeatextralog_etextstrlenexecvpdoportsleepselectfflushgetservbynameforkgetcmdcfputslisten_init_getipnumstrchrproxy_requestwritebindportinet_ntoa_lib_version_lxstat_xstatget_quotedstrdup_getportshowconfigrun_ctpgethostbyaddrsfgetssyslogrun_acplibnsl.so.1SUNW_0.7libsocket.so.1libc.so.1SUNW_1.1SUNWprivate_1.1SYSVABI_1.3/usr/local/lib:/lib:/usr/lib (=  (= '= (= qN 7su1 -* ZG+diR}K36?b<FP]X_| 0zHl"#$%V&'/j=MLE7akNq{4eOA\p^X3`d(K,04.8<@\DaHDLEPpTnX*\0`dhl7p]txY|POf WxI}wıtȱ,̱бMԱ`ر{ܱu :+b=yNU c e2z $F((,V0!5 %$%(h%,h%0h%4h%8h %<h(%@h0%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u;E@EE tE u!E@EE@EE tE tߋUE M E@EE uME@EEt9E t1E t)E@EE@EEtE tE u;E@EEt)E;Et!E@EE@EEtE;EuߋE@tUBE@EE@t E;EEEEÐUjE PE jE P>EEjE P7;ErU UBE;E tE PEP<EEEÐU]E@uOE @uE&E @*uE @PEPEEE @*upE @PEPtPE@EE@u'E @tEEE @PEP2uEtE @?uUE @PBPENE@jPy؋E @jPe;uUE @PBPEEE]UWVS[å[^_UWVS[É[^_%s: missing arg: -%c, %s PROXY_access control programcommand control programconfiguration filedata portsource interfaceserver listtimeoutvarname prefixdynamic configuration programxferlog filebuffer sizeftp.proxy version: %s asg@ftpproxy.org 1.2.3port number%s: unknown option: -%c interface: global interface: %s status: %s configuredunconfigured%s: configured to use ctp, ignoring server argument: %susage: %s [] %s: extra arguments on command line: %s ... configured to use config file. %s%s: missing parameter: %s, %s:%d yesno%s: bad parameter value: %s, parameter= %s, %s:%d -r%s: can't open configuration file: %s [%s]debugacpccpctpallow-anyremoteallow-blanksallow-passwdblanksextra-loggingmonitormodeproxy-routingselectserverserverserverlistsourceipbindtimeoutxferlog%s: unknown parameter: %s, %s:%d debug: %s %s: %s %s: %u selectserver: %s -ERR: can't get interface info: %s-ERR: internal bio/fd error-ERR: internal mode errorselect max= %d select() error: %s connection timed out: client= %s, server= %s:%ureceived zero bytes on fd %d received %d bytes on fd %d, errno= %d, error= %s accept() on socket -ERR: accept error: %sconnection from %s -ERR: unexpected connect: %s, expected= %sosock= %d -ERR: can't connect to client: %sisock= %d -ERR: can't connect to server: %s-ERR: transfer operation error150 not seen, deactivating data channel 150 already seen, activating data channel active= %d, other= %d early write/read event, sleeping 2 secondserror writing data channel, error= %sclosing data connection CLI >>>: %s >>> CLI: %s %s SVR >>>: %s >>> SVR: %s -ERR: error writing control connect, error= %s%s %s%sserver disappered in sfputc(), pos #1 short server reply in sfputc() -ERR: lost server while reading client greeting: %sQUITunexpected resonse to QUIT: %s221 goodbye%d QUITclient listens on %s:%u listening on %s:%u %u,%uPORT500 not accepted200 ok, port allocatedPASVcan't locate passive response: %sserver listens on %s:%u 227 Entering Passive Mode (%s,%u,%u)FEATmonitor: server not responding502 command not implemented211-feature list followslost server in FEAT response %s211 end%s%s=%sINTERFACE%uCLIENTCLIENTNAMESERVERSERVERPORTSERVERNAMESERVERLOGINUSERNAMEPASSWD-ERR: can't pipe: %s-ERR: can't fork acp: %s-ERR: can't exec acp %s: %s-ERR: error while waiting for acp: %saccess grantedaccess denied%s (rc= %d)-ERR: can't fork trp: %s-ERR: can't exec trp %s: %srLOGINSERVERPASSWD-ERR-ERR:-ERR: %s-ERR: error while waiting for trp: %s-ERR: trp signals error condition, rc= %dPWDmonitor: PWD status: %dmonitor: directory unsetmonitor: can't find directory in string: %smonitor: invalid path: %scwd: %s/...-ERR: can't fork ccp: %sCOMMANDPARAMETERSESSION%dCCPCOLLFTPHOMEFTPPATH-ERR: can't exec ccp %s: %s-ERR: error while waiting for ccp: %spermission denied553 %sUSER331 password requiredPASS503 give USER first530 login first500 service unavailable-ERR: hostname supplied: %s-ERR: missing hostnametrp debug: server= %s:%u, login= %s, passwd= %s-ERR: can't resolve hostname: %s-ERR: hostname not permitted: %sconnected to server: %s-ERR: unexpected server greeting: %s230 login acceptedlogin accepted: %s@%s, no password needed.-ERR: unexpected reply to USER: %s530 bad login-ERR: reply to PASS: %slogin accepted: %s@%s-ERR: received signal #%d%lu-%u-ERR: can't get client info: %sconnected to client: %s, interface= %s:%u421 not available-ERR: unconfigured interface: %sinfo: monitor mode: %s, ccp: %soffon220 server ready - login please%s@%s:%u%s@%sa-WARN: can't open xferlog: %s, error= %s%s %s: %ld bytes%s %lu %s %lu %s %c %c %c %c %s %s %d %s %c RETRftpcommand not implemented: %sCDUPSITELISTNLSTparameter required: %s*received 150 response %d RETR %sSTORAPPESTOU%d %s %s-%d %s%s%s CWD+EXIT+OK: proxy terminatingSIZE:MDTM'"'` starting ftp.proxy %s in daemon mode ... 1.2.3%04X: accept error: %s %04X: can't fork process: %s %04X: can't set linger %04X: terminating 0.0.0.0-ERR: can't lookup %s-ERR: can't bind to %s:%utcp-ERR: service not found: %s-ERR: port error: %s -ERR: can't create socket: %s-ERR: listen error: %s%s: memory allocation error 4  & 6 F V f v         !!&!6!F!V!f!v!!!!!!!!!""&"6"F"V"f"v"""""""""##&#6#F#V#f#v##### l  h `` ```ooohH8o`o``>#ABORACCTCDUPCWDDELENOOPMDTMMKDMODEPWDQUITREINREST^RNFR^RNTORMDSITESIZESMNTSTATSTRUSYSTTYPEXCUPXCWDXMKDXPWDXRMDLISTNLSTPORTPASVALLORETRSTORSTOUAPPEHELPFEAT%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689.interp.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_versym.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.rodata1.got.dynamic.data.bssf.bss.symtab.strtab.comment.debug_loc.debug_info.debug_line.debug_abbrev.shstrtab oo)' hhp /"7oEo||.Roc HH o Bhh s@x##z~llq44h  0707010010c0b4000041ed0000000000000000000000034d34edc100000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/man0707010010c0b5000041ed0000000000000000000000024d34edc100000000000000b600010002ffffffffffffffff0000001800000000root/usr/local/man/man10707010010c0b6000081a40000000000000000000000014d34edb700003943000000b600010002ffffffffffffffff0000002400000000root/usr/local/man/man1/ftp.proxy.1.de ES .sp .in +0.5i .. .de EE .in -0.5i .sp .. .de EX .sp .in +0.5i \\$1 .in -0.5i .sp .. .TH FTP.PROXY 1 "23 JANUARY 2003" .SH NAME ftp.proxy \- FTP proxy server .SH SYNOPSIS \fBftp.proxy\fR [\fIoptions\fR] [\fIserver\fR] .SH DESCRIPTION .I ftp.proxy is a proxy server for a subset of the file tranfer protocol described in RFC 959. It forwards traffic between a client and a \fIserver\fR without looking too much if both hosts do real FTP. The FTP server can be either given on the command line or supplied by the client. .PP .I ftp.proxy can be started from a TCP superserver like .IR inetd (1) or .IR tcpproxy (1). but can also bind to a TCP/IP port on it's own and run in standalone (or daemon) mode. .SS "Protocol Support" .I ftp.proxy supports the following FTP commands: .PP .RS ABOR, ACCT, APPE, CDUP, CWD, DELE, FEAT, LIST, .br MDTM, MKD, MODE, NLIST, NOOP, PASS, PASV, PORT, .br PWD, QUIT, RETR, REST, RNFR, RNTO, RMD, SITE, .br SIZE, SMNT, STAT, STOR, SYST, TYPE, USER, XCUP, .br XCWD, XMKD, XPWD, XRMD .br .PP .RE Transfer of structured data is not supported. .SS "Command Parameters" By default \fIftp.proxy\fR does not accept blanks in command parameters. This is to protect your UNIX server against users who work on computers where these things are usual. .PP To allow blanks the option \fB-b\fR must be given on the command line. Notice that blanks at the beginning or end of the parameter are still not supported. .PP The `SITE' is in neither case affected by this limitation, \fIftp.proxy\fR accepts always blanks in `SITE' parameters. .PP The option -y enables \fIftp.proxy\fR to accept data connections from different remote interfaces. Try to avoid using this option, because it can cause security problems (see HISTORY for details). .SS "Server Selection" If client-side server selection it turned on with the \fB-e\fR option the user must select the FTP server he wants to use with the `@' notation. Instead of specifying the real ftp server on the command line the user has to connect to the gateway machine where \fIftp.proxy\fR is running and to enter the username in the form .EX \fIremote-user\fR@\fIremote-ftp.server\fR The password that is send to the proxy server is the password required for logging into \fIremote-ftp-server\fR with the account \fIremote-user\fR. .PP In situations where the FTP client doesn't support usernames containing an `@' the percent sign `%' might be used for that. .SS "Access Control" If an access control program is given with the \fB-a\fR option on the command line the connection data is passed to the acp before the server is contacted. The acp should return 0 as exit code to grant access and another value to deny. .PP The access controller receives the following variables: .TP \fBPROXY_INTERFACE\fR, \fBPROXY_PORT\fR interface and port where the client is connected to the proxy. .TP \fBPROXY_CLIENT\fR, \fBPROXY_CLIENTNAME\fR IP number an name of the connected client. .TP \fBPROXY_SERVER\fR, \fBPROXY_SERVERPORT\fR, \fBPROXY_SERVERNAME\fR IP number, port and name of the FTP server the client wants to contact. .TP \fBPROXY_SERVERLOGIN\fR the supplied username for the FTP server. .TP \fBPROXY_USERNAME\fR, \fBPROXY_PASSWD\fR supplied username and password for usage of the proxy server. .PP The values for \fBPROXY_USERNAME\fR and \fBPROXY_PASSWD\fR are taken from the supplied remote username and password if they contain a colon `:'. In this case the local authentication data is taken from the left side of the colon and the remaining right side is passed on to the server. .PP Furthermore the acp's stdout is connected to the FTP client and it's stderr is read by \fIftp.proxy\fR which writes the acp's stderr output to syslog. .PP Notice also that a non-zero acp exit code signals \fIftp.proxy\fR that something's wrong and that \fIftp.proxy\fR should terminate. .SS "Connection Translation" Beginning with version 1.1.6 \fIftp.proxy\fR supports connection translation programs (ctp's). A ctp can completly overwrite the user's server selection and login. If configured the ctp is called before the acp. It receives the same environment variables like the acp and returns server and login information that should \fIftp.proxy\fR for the server connection on it's stdout. The format of the ctp output lines is .EX "\fIvariable\fR [\fB\fR]\fB=\fR [\fB\fR] \fIvalue\fR" where \fIvariable\fR is one of .PP .RS SERVERNAME, SERVERLOGIN, SERVERPASSWD, SERVERPORT .PP .RE and \fIvalue\fR the corresponding value. Alternativly to these four variables you can use the shorter forms .PP .RS SERVER, LOGIN, PASSWD, PORT .PP .RE as variable names. Furthermore the case of the variable names doesn't matter and any whitespace around \fIvalue\fR is ignored. .PP The ctp can deny the proxy request by exiting with an non-zero exit code, In which case \fIftp.proxy\fR drops the connection immediately. Alternativly the ctp can also print a line starting with \fB-ERR\fR, which is written to syslog before the connection is closed. .SS "Command Control" If a command control program (ccp) is given with the \fB-c\fR option this program is called for the FTP commands .PP .RS APPE, CDUP, CWD, DELE, LIST, MDTM, MKD, .br NLST, RETR, RNFR, RNTO, RMD, SIZE, STAT, .br STOR, STOU, XCUP, XCWD, XMKD, XRMD .br .PP .RE The ccp returns an exit code of 0 to grant and any other to deny access (the exit code to the `QUIT' command is ignored). For the ccp the same variables as for acp's are set with the addition of .TP \fBPROXY_COMMAND\fR, \fBPROXY_PARAMETER\fR FTP command and parameter (if set). .TP \fBPROXY_SESSION\fR a unique identifier for the proxy session. .TP \fBPROXY_CCPCOLL\fR, the client's number of collisions with the ccp's permission rules (number of `permission denied' responses). .PP The ccp's stdout and stderr are connected to \fIftp.proxy\fR. A one line message written to stdout by the ccp goes to syslog, while a message one stderr is sent to the client. If this message does not contain a status \fIftp.proxy\fR substitutes a `553' code. If the message is empty the client gets a simle `553 permission denied'. Notice that the stderr message is only used if the ccp returns an exit code other the zero. .PP On normal program termination (`QUIT' command or timeout) the ccp is called with the command `+EXIT' to do some final clean up. It is not reliable that the ccp receives the `+EXIT' event. There are lots of possiblities that the proxy terminates without generating it, e.g. client timeout, server error or signal reciption by the proxy. .SS "Monitor Mode" The \fB-m\fR option puts \fIftp.proxy\fR into the monitor mode. \fIftp.proxy\fR will then try to keep track of the client's current directory on the server side. With this information the file parameter for the commands .PP .RS APPE, CDUP, CWD, DELE, LIST, MDTM, MKD .br NLST, RETR, RNFR, RNTO, RMD, SIZE, STOR, .br XCUP, XCWD, XMKD, XRMD .br .PP .RE is converted into an absolute path. This value is then used in syslog messages and given to a ccp in the \fBPROXY_FTPPATH\fR variable. Furthermore the variable \fBPROXY_FTPHOME\fR contains the user's initial directory which is assumed to be his home directory. .PP The `LIST' and `NLIST' command may have a parameter or not. If it is absent \fiftp.proxy\fR sets the parameter to `*' but this affects only the \fBPROXY_FTPPATH\fR variable, not the command that is sent to the server. .PP For the `CDUP' command \fBPROXY_FTPPATH\fR contains the full path of the target directory. .PP Monitoring may not work with all server systems since the output of the `PWD' command which is used by \fIftp.proxy\fR to get the current directory in not completely defined. If the directory can not be clearly determined \fIftp.proxy\fR will terminate. .SH "CONFIGURATION FILE" \fIftp.proxy\fR can take most of its command line options also from a configuration file which can be set with the \fB-f\fR option. .PP The following options can be set: .TP \fBacp\fR \fI/path/to/acp\fR sets the path to the access control program (\fB-a\fR option). .TP \fBallow-anyremote\fR yes|no if enabled \fIftp.proxy\fR does not check the remote's end in data connection, required for some bad multi-homed servers and FXP (\fB-y\fR option). .TP \fBallow-blanks\fR yes|no allows blanks in FTP command parameters (\fB-b\fR option). .TP \fBallow-passwdblanks\fR yes|no allows blanks in the FTP login password (\fB-B\fR option). .TP \fBbind\fR \fIportnum\fR sets the port number to which \fIftp.proxy\fR should bind to, activates daemon mode (\fB-D\fR option). .TP \fBccp\fR \fI/path/to/ccp\fR sets the path to the command control command (\fB-c\fR option). .TP \fBctp\fR \fI/path/to/ctp\fR sets the path to the connection translation program (\fB-x\fR option). .TP \fBdebug\fR yes|no turns debugging mode on or off (\fB-d\fR option). .TP \fImonitormode\fR yes|no enables monitor mode (\fB-m\fR option). .TP \fIproxy-routing\fR yes|no if enabled \fIftp.proxy\fR uses the last `@' in the username to determine to which server it should connect. This make proxy hopping (or routing) possible (\fB-u\fR option). .TP \fIselectserver\fR yes|no enables client side server selection, disables the \fBserver\fR option (\fB-e\fR option). .TP \fIserver\fR \fIftpserver\fR sets the connection's FTP server, disables \fBselectserver\fR. .TP \fIserverlist\fR \fIlist-of-allowed-server\fR specifies a command separated list of servers to which the clients are allowed to connect (\fB-s\fR option). .TP \fIsourceip\fR \fIip-number\fR defines the IP address for the outgoing control connection to the remote server, which also determines the local IP address for data transmissions. .TP \fItimeout\fR \fItimeout\fR set the timeout in seconds. .TP \fIxferlog\fR \fIfilename\fR sets the location of the xferlog file and enables xferlog logging. .PP Notice that the file can contain comments and blank lines (usual UN*X-style) but \fIftp.proxy\fR terminates immediately with an error code if an unknown or invalid configuration option is found. .SS "Interface specific configurations" \fIftp.proxy\fR's configuration file supports interface specific configuration sections. Such section begin with a line that starts with .TP [\fIinterface-ip\fR] .PP followed by the configuration options for connections on this specific interface. \fIftp.proxy\fR checks for such sections immidiately after the client connection is accepted. If it finds at least one interface specific section in the configuration file but none for the current interface it considers itself to be not configured for it and drops the connection sending a `421 not available' message to the client. .PP \fIftp.proxy\fR accepts all global configuration options from above (allthough not all make sense, e.g. \fBbind\fR) in interface specific section. That is, \fIftp.proxy\fR can have completely different configurations on different interfaces. But to deactivate a non-boolean option, e.g. \fBctp\fR you can not simply give the option without a value, this would be considered as `bad configuration option'. Instead you must supply a single dash `\fB-\fR' to clear an option. .SS "Configuration checking" \fIftp.proxy\fR prints an error message and terminates immediately if it finds an unknown or bad configuration option. More worse, these error messages are printed to \fIftp.proxy\fR's stderr and not to syslog which makes it a little bit difficult to observe. \fIftp.proxy\fR addresses this issue by supporting the \fB-F\fR option. .PP The \fB-F\fR option sets the configuration file and the `check-and-print' option, that is \fIftp.proxy\fR will only read, check and print it's configuration options as they are set after reading the configuration. An interface IP-number may be given as optional command line parameter to make \fIftp.proxy\fR print the configuration for this particular interface. .SH OPTIONS The following options are available: .TP \fB-a\fR \fIacp\fR specify an access control program that grants or denies access via \fIftp.proxy\fR. .TP \fB-b\fR allows blanks in filenames. .TP \fB-B\fR allows blanks and other special charackters in passwords. .TP \fB-c\fR \fIccp\fR sets a command control program that grants or denies the usage of FTP commands through \fIftp.proxy\fR. .TP \fB-d\fR enter debug mode, the communication between server and client is written to stderr. .TP \fB-f\fR \fIconfigfile\fR sets \fIftp.proxy\fR's configuration file. .TP \fB-F\fR \fIconfigfile\fR [\fIinterface\fR] read and print the proxy configuration for \fIinterface\fR from \fIconfigfile\fR. If \fIinterface\fR is missing the global configuration is printed. This is a check-only option, after the configuration has been printed \fIftp.proxy\fR terminates, no connection handling is done. .TP \fB-e\fR enable client-side server selection. With this option the \fIserver\fR argument isn't accepted. .TP \fB-l\fR sets logging of most of the FTP commands. .TP \fB-m\fR sets the monitor mode. .TP \fB-p\fR \fIport\fR tell \fIftp.proxy\fR to use \fIport\fR as source port for data transfers (using port number 20 is FTP standard). Keep in mind that port numbers below 1024 require root permissions. .TP \fB-q\fR \fIsourceip\fR sets the IP number for the outgoing control connection. .TP \fB-s\fR \fIlist\fR the FTP server selected by the client must match one of the pattern from the comma separated \fIlist\fR. The wildcards `*' and `?' can be used. .TP \fB-t\fR \fItimeout\fR specify a different FTP timeout in seconds than the default of 900 (15 minutes). .TP \fB-u\fR search for the last appearance of an '@' in the username. This allows the use of usernames with a '@' in it. Be careful with this option, this can be abused to do 'proxy hopping'! .TP \fB-v\fR \fIprefix\fR set \fIprefix\fR as variable prefix for the variable passwd to the access and command control program. .TP \fB-x\fR \fIctp\fR set a connection translation program to overwrite the server and login information supplied by the user. .TP \fB-X\fR \fIfile\fR write xferlog loggin to \fIfile\fR. .TP \fB-V\fR show version number .TP \fB-y\fR allow any data ports on any remote interfaces (dangerous!). .TP \fb-z\fR \fIsize\fR sets the amount of data in bytes ftp.proxy tries to read with one system call from either the client or the server. The default is 1024 bytes, valid values range from 1 to 4096. Playing around with larger values than the default may increase the proxy's data troughput. .PP .SH "SYSLOG" \fIftp.proxy\fR reports to FTP log facility on linux and BSD systems and Daemon log facility on other. .SH "AUTHOR" Andreas Schoenberg .SH "SEE ALSO" .IR inetd (1), .IR tcpproxy (1), .IR syslogd (8), .IR syslog.conf (5). 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!