efs configuration through a proxy/firewall

Randy Yates <[email protected]> 22 Dec 2004 14:20:36 -0500
Newsgroups gmane.emacs.efs.general
Organization Sony Ericsson Mobile Communications
Message-ID <[email protected]>
Hi,

I'm attempting to get xemacs' package manager, and thus efs, to
operate through our company's firewall. Can someone please help me?

Here's where I'm at: I've acquired ftp proxy privileges by the graces
of the security people at my company. I can interactively ftp to
xemacs.org via our FTP proxy using an xterm window and the system
"ftp" client just fine. I'm on a Sun Ultra 10 using SunOS 5.8
(Solaris).

Here's how I connect through my proxy. The quotes enclose text
I enter and are not part of the actual typed text.

*************************************************
"ftp proxy.usrt.sonyericsson.net"
Name: "[email protected] us057845"
331 Enter password.
password: "anonymous"
332 Enter proxy password.
Account: "ad-password"
230 Anonymous access granted, restrictions apply.
ftp> 
**************************************************

I've attempted to setup efs for this proxy
by configuring the efs gateway as a "raptor" gateway
as well as specifying other parameters.

After Tools/Packages/Add Download Site/xemacs.org, I
/Tools/Packages/UpdatePackageIndex. At that point xemacs
hangs. If I C-g and switch to the *ftp...* buffer all
I see is 

  open ftp.xemacs.org

xemacs should not issue this command in raptor mode since the ftp host
is specified as part of the startup exchange.

I'm at a loss to see how to go further. Any help would be greatly
appreciated.


Here's the efs-report-bug output



**************************************************
Emacs  : XEmacs 21.4 (patch 10) "Military Intelligence" [Lucid] (sparc-sun-solaris2.7, Mule) of Thu Nov  7 2002 on edgedsp4
Package: efs

efs believes that the host type of edgedsp4 is unknown.

current state:
==============
(setq
 efs-cu-version "1.20pre2/1.12"
 efs-defun-version "1.20pre2/1.1"
 efs-dired-mule-version "1.20pre2/1.2"
 efs-dired-version "1.20pre2/1.32"
 efs-fnh-version "1.20pre2/1.4"
 efs-netrc-version "1.20pre2/1.2"
 efs-ovwrt-version "1.20pre2/1.3"
 efs-report-version "1.20pre2/1.10"
 efs-version "1.20pre2/1.63"
 efs-x19.15-version "1.20pre2/1.2"
 efs-36-bit-binary-file-name-regexp nil
 efs-anonymous-umask nil
 efs-auto-save 0
 efs-auto-save-remotely nil
 efs-backup-by-copying nil
 efs-binary-file-host-regexp nil
 efs-binary-file-name-regexp "\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
 efs-buffer-name-case nil
 efs-compute-remote-buffer-file-truename nil
 efs-debug-ftp-connection nil
 efs-ding-on-chmod-failure t
 efs-ding-on-umask-failure t
 efs-disable-netrc-security-check nil
 efs-expire-ftp-buffers t
 efs-ftp-buffer-expire-time nil
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-hash-mark-size nil
 efs-gateway-incoming-binary-hm-size nil
 efs-generate-anonymous-password t
 efs-hash-mark-size nil
 efs-high-security-hosts nil
 efs-incoming-binary-hm-size nil
 efs-local-apollo-unix nil
 efs-ls-cache-max 5
 efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix dumb-unix dumb-apollo-unix super-dumb-unix)
 efs-max-ftp-buffer-size 3000
 efs-maximize-idle nil
 efs-message-interval 0
 efs-nlist-cmd "ls"
 efs-nslookup-on-connect nil
 efs-nslookup-program "nslookup"
 efs-prompt-for-transfer-type nil
 efs-pty-check-retry-time 5
 efs-pty-check-threshold 1000
 efs-quote-local-paths nil
 efs-retry-time 5
 efs-root-umask nil
 efs-send-hash t
 efs-send-progress-off nil
 efs-set-modtimes-synchronously nil
 efs-short-circuit nil
 efs-short-circuit-to-remote-root nil
 efs-slash-local-paths nil
 efs-suppress-abort-recursive-edit-and-then nil
 efs-text-file-name-regexp ".*"
 efs-treat-crlf-as-nl nil
 efs-umask nil
 efs-use-passive-mode t
 efs-verbose t
 efs-verify-anonymous-modtime nil
 efs-verify-modtime-host-regexp ".*"
 efs-ftp-program-name "ftp"
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-local-host-regexp ""
 efs-ftp-local-host-regexp ""
 efs-gateway-host "proxy.usrt.sonyericsson.net"
 efs-gateway-type '(raptor "ftp" nil "us057845")
 reporter-version "3.35"
 features '(efs-dired efs-x19\.15 efs-fnh efs-ovwrt efs-netrc efs-defun efs efs-report mail-extr gnus-picon w3-forms w3-display w3-imap w3-widget css w3-mouse w3-vars
            w3-cus w3-keyword url mm mule-sysdp url-parse url-vars sort smiley annotations gnus-cite gnus-async gnus-score score-mode gnus-ml gnus-msg gnus-art mm-uu
            mm-view gnus-sum nndraft nnmh timezone gnus-cache nnfolder utf7 imap nnml gnus-group gnus-undo nnmail mail-source format-spec efs-cu nntp nnoo gnus-start
            gnus-range gnus-spec gnus-int gnus-win gnus gnus-ems gnus-xmas wid-edit message messagexmas mml mm-decode mm-encode mailcap mm-bodies uudecode mail-parse
            rfc2045 rfc2231 rfc2047 qp ietf-drums mail-abbrevs sendmail mailheader gnus-util time-date parse-time nnheader nnheaderxm mail-utils mm-util mail-prsvr font
            disp-table clearcase timer advice advice-preload tq reporter dired-faces dired-xemacs dired comint ring br-start br-site hmouse-br br br-tree br-lib hasht
            br-compl br-ftr br-c-ft br-menu hui-mouse hvar hui-window hargs set hpath hmouse-key h-skip-bytec hmouse-drv hypb hact hhist hsite br-init hversion font-lock
            cus-face site-start tex-site emacs-vers zenirc-autoloads xslt-process-autoloads xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
            viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads vc-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads time-autoloads
            textools-autoloads text-modes-autoloads texinfo-autoloads supercite-autoloads strokes-autoloads speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
            slider-autoloads sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads rmail-autoloads reftex-autoloads psgml-autoloads
            ps-print-nomule-autoloads prog-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads misc-games-autoloads
            mine-autoloads mh-e-autoloads mew-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
            idlwave-autoloads hm--html-menus-autoloads gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads frame-icon-autoloads forms-autoloads
            footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads edt-autoloads
            edit-utils-autoloads ediff-autoloads edebug-autoloads dired-autoloads debug-autoloads crisp-autoloads cookie-autoloads cc-mode-autoloads calendar-autoloads
            calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads toolbar-fancy-autoloads
            skk-autoloads mule-base-autoloads lookup-autoloads locale-autoloads leim-autoloads egg-its-autoloads edict-autoloads lisp-autoloads loadhist auto-show
            fontl-hooks x-iso8859-1 slovenian czech romanian ccl mule-help code-cmds gutter-items menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode
            easymenu iso8859-1 page buff-menu lib-complete cus-file derived frame text-props obsolete cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
            very-early-lisp sparcworks tooltalk file-coding mule lucid-scrollbars cut-buffer lucid-menubars motif-dialogs x c-balloon-help tty-frames tty toolbar
            nas-sound native-sound scrollbar unix-processes multicast network-streams subprocesses modules menu-accelerator-support menubar dbm md5 xemacs xim gutter tiff
            png gif jpeg xpm xbm lisp-float-type usg-unix-v dialog devices window-system base64)
 )
**************************************************



Here's the efs gateway customization buffer setup:



**************************************************

This is a customization buffer for group Efs Gateways.
Type RET or click button2 on an active field to invoke its action.
Invoke [Help] for more information.

Operate on everything in this buffer:
 * * *  *

Go to parent group: [Efs]

/- Efs Gateways group: --------------------------------------------------\
      [State]: something in this group has been set and saved.
   Using EFS via an ftp gateway.

Efs Local Host Regexp: * 
   [State]: this option has been set and saved.
Regexp to match names of local hosts. *
Comment: 

Efs Ftp Local Host Regexp: * 
   [State]: this option has been set and saved.
Regexp to match the names of hosts reachable by a direct ftp connection. *
Comment: 

Efs Gateway Host: * [Value Menu] String: proxy.usrt.sonyericsson.net
   [State]: this option has been set and saved.
If non-nil, this must be the name of your ftp gateway machine. *
Comment: 

Efs Gateway Type: * [Value Menu] Raptor:
FTP Program: ftp
FTP Program Args:
[INS]
User: us057845
   [State]: this option has been set and saved.
Specifies which type of gateway you wish efs to use. *
Comment: 

Efs Gateway Hash Mark Size: * [Value Menu] nil
   [State]: this option is unchanged from its standard setting.
Value of `efs-hash-mark-size' for FTP clients on `efs-gateway-host'. *
Comment: 

Efs Gateway Incoming Binary Hm Size: * [Value Menu] nil
   [State]: this option is unchanged from its standard setting.
Value of `efs-incoming-binary-hm-size' for `efs-gateway-host'. *
Comment: 

Efs Gateway Tmp Name Template: * /tmp/efs
   [State]: this option is unchanged from its standard setting.
Template used to create temporary files when ftp-ing through a gateway. *
Comment: 

Efs Gateway Mounted Dirs Alist: *
   State: hidden, invoke "Show" button in the previous line to show.
An alist of directories cross-mounted between the gateway and local host. *

Efs Gateway Ftp Prompt Regexp: * ^\(ftp\|Ftp\|FTP\)> *
   [State]: this option is unchanged from its standard setting.
Regular expression to match the prompt of the gateway FTP client.
Comment: 

\- Efs Gateways group end ----------------------------------------------/
**************************************************

-- 
Randy Yates
Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
[email protected], 919-472-1124