search for: local_forward

Displaying 7 results from an estimated 7 matches for "local_forward".

Did you mean: localforward
2004 Aug 05
1
LocalForward and RemoteForward bind patch
...oid unset_nonblock(int); void set_nodelay(int); diff -u -r openssh-3.8p1/readconf.c openssh-3.8p1-localbind/readconf.c --- openssh-3.8p1/readconf.c 2004-08-05 08:59:24.775159000 -0700 +++ openssh-3.8p1-localbind/readconf.c 2004-08-05 12:53:24.203841440 -0700 @@ -203,8 +203,8 @@ */ void -add_local_forward(Options *options, u_short port, const char *host, - u_short host_port) +add_local_forward(Options *options, const char *listen_host, u_short port, + const char *host, u_short host_port) { Forward *fwd; #ifndef NO_IPPORT_RESERVED_CONCEPT @@ -215,6 +215,7 @@ if (options->num_local_for...
2002 Jan 05
2
new feature w/ patch
...Scott diff -ru openssh-3.0.2p1/channels.c openssh-3.0.2p1-NewFeature/channels.c --- openssh-3.0.2p1/channels.c Thu Oct 11 20:35:05 2001 +++ openssh-3.0.2p1-NewFeature/channels.c Sat Jan 5 15:36:10 2002 @@ -2057,11 +2057,11 @@ * channel to host:port from remote side. */ int -channel_request_local_forwarding(u_short listen_port, const char *host_to_connect, - u_short port_to_connect, int gateway_ports) +channel_request_local_forwarding(const char *listen_host, u_short listen_port, + const char *host_to_connect, u_short port_to_connect, int gateway_ports) { return channel_request_forwarding(...
2001 Feb 10
3
Protocol 2 remote forwarding patch
...er_authenticated_as_root ) { + log("User tries to forward privileged port %d", port_to_bind); + packet_send_debug("Requested forwarding of port %d but user is not root.", port_to_bind); + success = 0; + } + else { + /* Start listening on the port */ + channel_request_local_forwarding( port_to_bind, address_to_bind, + port_to_bind, 1, + 1 /* ssh2_remote_fwd*/); + /* NOT REACHED if error (disconnects). + * Note: if error xfree not called + * for address_to_bind + */ + success = 1; + } + + xfree( address_to_bind ); + } + +...
2000 Aug 23
1
Protocol 2 remote forwarding patch
..._bind; + int port_to_bind; + address_to_bind = packet_get_string(NULL); + port_to_bind = packet_get_int(); + + /* Check if the client is allowed to forward (this port) */ + if ( allow_remote_forwarding(address_to_bind, port_to_bind) ) { + /* Start listening on the port */ + channel_request_local_forwarding( port_to_bind, address_to_bind, + port_to_bind, 1, 1 ); + /* NOT REACHED if error (disconnects). + * Note: if error xfree not called + * for address_to_bind + */ + success = 1; + } + else { + success = 0; + packet_send_debug("Server has disabled port f...
2012 May 03
5
[PATCH/RFC 0/6] New mux client request to list open tcp forwardings.
These patches implement a new mux client request to list the currently opened TCP forwardings. It also removes some todos regarding keeping the list of forwardings in the options up-to-date. Bert Wesarg (6): attach the forwarding type to struct Forward merge local and remote forward lists generate unique ids for forwardings to be used for identification remove closed forwardings from
2005 Mar 10
6
[Bug 996] Fatal error in xfree() when scp invokes ssh with a LocalForward config
....org LocalForward 12345 localhost:54321 This seems to happen with ssh when scp invokes it to connect to the remote host, for example: % scp mindrot.org:.cshrc /dev/null xfree: NULL pointer given as argument gdb shows this happens on this line in readconf.c: xfree(options->local_forwards[i].listen_host); It's possible (perhaps likely) there are other similar problems in this routine. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2010 Jan 14
1
ssh(1) multiplexing rewrite
...(ftype != MUX_FWD_DYNAMIC && fwd.connect_host == NULL) { + logit("%s: missing connect host", __func__); + goto invalid; + } + + /* Skip forwards that have already been requested */ + switch (ftype) { + case MUX_FWD_LOCAL: + case MUX_FWD_DYNAMIC: + for (i = 0; i < options.num_local_forwards; i++) { + if (compare_forward(&fwd, + options.local_forwards + i)) { + exists: + debug2("%s: found existing forwarding", + __func__); + buffer_put_int(r, MUX_S_OK); + goto out; + } } - if (errno == ENOENT) - debug("Control socket \"%.100s\&qu...