Server IP : 111.118.215.189 / Your IP : 18.188.23.45 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/net/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:37 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/net/tramp-gw.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'tramp) #@34 Method to connect HTTP gateways. (defconst tramp-gw-tunnel-method "tunnel" (#$ . 572)) #@33 Default port for HTTP gateways. (defconst tramp-gw-default-tunnel-port 8080 (#$ . 665)) #@34 Method to connect SOCKS servers. (defconst tramp-gw-socks-method "socks" (#$ . 759)) #@33 Default port for SOCKS servers. (defconst tramp-gw-default-socks-port 1080 (#$ . 850)) (autoload 'socks-open-network-stream "socks") (defvar socks-username (user-login-name)) (defvar socks-server (list "Default server" "socks" tramp-gw-default-socks-port 5)) (byte-code "\302\303\304\305 D!\306Q\307\310 E\"\207" [tramp-gw-tunnel-method tramp-gw-socks-method add-to-list tramp-default-user-alist "\\`" regexp-opt "\\'" nil user-login-name] 6) #@67 Keeps the remote host identification. Needed for Tramp messages. (defvar tramp-gw-vector nil (#$ . 1300)) #@40 Current gateway identification vector. (defvar tramp-gw-gw-vector nil (#$ . 1413)) #@26 Current gateway process. (defvar tramp-gw-gw-proc nil (#$ . 1502)) #@76 Process listening on local port, as mediation between SSH and the gateway. (defvar tramp-gw-aux-proc nil (#$ . 1575)) #@47 Delete auxiliary process when we are deleted. (defalias 'tramp-gw-gw-proc-sentinel #[(proc event) "\306!\307>?\205/ \310\311\nC\312\313\314\217\210,\312\315\316\312#\317!\205. \320!*\207" [proc tramp-gw-vector tramp-gw-gw-proc args fmt-string level process-status (run open) 4 "Deleting auxiliary process `%s'" nil (byte-code " X\203~ \306 \307\216\203; \310X\203; \311\312\313U\203! \314\2026 \315U\203+ \314\2026 \316U\2035 \317\2026 \320\fP #\210 \321Y\203} \203d \322!\203d \323\324!!\203d r\324!q\210\325!)\203} \326!\203} \311\327\330\331\"\fP $\210*\306\207" [level tramp-verbose save-match-data-internal tramp-message-show-message fmt-string args match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 3 apply message 0 "" 1 2 "Warning: " "Tramp: " 4 processp buffer-name process-buffer tramp-dissect-file-name vectorp tramp-debug-message format "(%d) # " vec-or-proc default-directory] 6) ((error)) tramp-get-connection-property "process" processp delete-process vec-or-proc tramp-verbose p] 4 (#$ . 1699)]) #@78 Activate the different filters for involved gateway and auxiliary processes. (defalias 'tramp-gw-aux-proc-sentinel #[(proc event) "\306!\307>\205T \310\311\nD\312\313\314\217\210,\315\312\"\210\312\316\n\317#\210\316\317\n#\210)\320\321\"\210\320\n\321\"\210r\322\n!q\210edU?\205S \323 `d|\210\321\n\"))\207" [proc tramp-gw-vector tramp-gw-gw-proc args fmt-string level process-status (run open) 4 "Opening auxiliary process `%s', speaking with process `%s'" nil (byte-code " X\203~ \306 \307\216\203; \310X\203; \311\312\313U\203! \314\2026 \315U\203+ \314\2026 \316U\2035 \317\2026 \320\fP #\210 \321Y\203} \203d \322!\203d \323\324!!\203d r\324!q\210\325!)\203} \326!\203} \311\327\330\331\"\fP $\210*\306\207" [level tramp-verbose save-match-data-internal tramp-message-show-message fmt-string args match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 3 apply message 0 "" 1 2 "Warning: " "Tramp: " 4 processp buffer-name process-buffer tramp-dissect-file-name vectorp tramp-debug-message format "(%d) # " vec-or-proc default-directory] 6) ((error)) tramp-compat-set-process-query-on-exit-flag tramp-set-connection-property "process" set-process-filter tramp-gw-process-filter process-buffer buffer-string vec-or-proc tramp-verbose s] 5 (#$ . 2806)]) (defalias 'tramp-gw-process-filter #[(proc string) "\303\304\305 \306\303#\n\")\207" [tramp-verbose proc string nil process-send-string tramp-get-connection-property "process"] 5]) #@389 Open a remote connection to VEC (see `tramp-file-name' structure). Take GW-VEC as SOCKS or HTTP gateway, i.e. its method must be a gateway method. TARGET-VEC identifies where to connect to via the gateway, it can be different from VEC when there are more hops to be applied. It returns a string like "localhost#port", which must be used instead of the host name declared in TARGET-VEC. (defalias 'tramp-gw-open-connection #[(vec gw-vec target-vec) "\n\306\f!\203 \307\f!\310>\204S \311\312\313\n!\314\n!\315\211%\316\317\320 !\321\315\322\323\324\325\326\325\327\325\330\331&\332\f\333\"\210\334\f\315\"\210\335\336\f\337\f\327\"D<=>?\315\340\341\217\210-\342\343\344\n!\313\n!\314\n!#!@\345\344\n!\313\n!\314\n!#A\346\347\n!\350\n!\206\220 \351@\352\"\203\206 B\202\220 \351@\353\"\205\220 C\354FD\351@\352\"\203\240 \355\202\251 \351@\353\"\205\251 \356E\315FE\357\n!\360\n!\347G!\350G!$H\332H\361\"\210\334H\315\"\210\335\362\363@\364\"\203\334 \365\202\345 \363@\366\"\205\345 \367HD<=>?\315\370\371\217\210,\372\373\337\f\327\"\"-\207" [vec tramp-gw-vector gw-vec tramp-gw-gw-vector tramp-gw-aux-proc aux-vec processp process-status (listen) vector "aux" tramp-file-name-user tramp-file-name-host nil make-network-process :name tramp-buffer-name :buffer :host local :server t :noquery :service :coding binary set-process-sentinel tramp-gw-aux-proc-sentinel tramp-compat-set-process-query-on-exit-flag 4 "Opening auxiliary process `%s', listening on port %d" process-contact (byte-code " X\203~ \306 \307\216\203; \310X\203; \311\312\313U\203! \314\2026 \315U\203+ \314\2026 \316U\2035 \317\2026 \320\fP #\210 \321Y\203} \203d \322!\203d \323\324!!\203d r\324!q\210\325!)\203} \326!\203} \311\327\330\331\"\fP $\210*\306\207" [level tramp-verbose save-match-data-internal tramp-message-show-message fmt-string args match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 3 apply message 0 #1="" 1 2 #2="Warning: " #3="Tramp: " 4 processp buffer-name process-buffer tramp-dissect-file-name vectorp tramp-debug-message format #4="(%d) # " vec-or-proc default-directory] 6) ((error)) intern tramp-find-method tramp-file-name-method tramp-find-user "Tramp temporary socks server list" tramp-file-name-real-host tramp-file-name-port eql tunnel socks 5 tramp-gw-open-network-stream socks-open-network-stream tramp-get-connection-name tramp-get-connection-buffer tramp-gw-gw-proc-sentinel "Opened %s process `%s'" memql 'tunnel "HTTP tunnel" 'socks "SOCKS" (byte-code " X\203~ \306 \307\216\203; \310X\203; \311\312\313U\203! \314\2026 \315U\203+ \314\2026 \316U\2035 \317\2026 \320\fP #\210 \321Y\203} \203d \322!\203d \323\324!!\203d r\324!q\210\325!)\203} \326!\203} \311\327\330\331\"\fP $\210*\306\207" [level tramp-verbose save-match-data-internal tramp-message-show-message fmt-string args match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 3 apply message 0 #1# 1 2 #2# #3# 4 processp buffer-name process-buffer tramp-dissect-file-name vectorp tramp-debug-message format #4# vec-or-proc default-directory] 6) ((error)) format "localhost#%d" args fmt-string level vec-or-proc gw-method socks-username tramp-gw-default-tunnel-port tramp-gw-default-socks-port socks-server socks-function socks-noproxy target-vec tramp-gw-gw-proc] 15 (#$ . 4338)]) #@157 Open stream to proxy server HOST:SERVICE. Resulting process has name NAME and buffer BUFFER. If authentication is requested from proxy server, provide it. (defalias 'tramp-gw-open-network-stream #[(name buffer host service) "\306\307 \n&\310\311\312\211:;\f\204{\313!\203\"