Displaying 4 results from an estimated 4 matches for "remote_channel".
2000 Aug 23
1
Protocol 2 remote forwarding patch
...return sock;
}
+/* Jarno: This is only a wrapper for channel_input_port_open that
+ * server calls after receiving PORT_OPEN. The only purpose for this is to
+ * make it possible to refuse forwarding requests (in server).
+ */
+void server_channel_input_port_open(int type, int plen)
+{
+ int remote_channel = packet_get_int();
+
+#ifndef DISABLE_FORWARDING
+ if (!allow_port_forwarding) {
+#endif
+ debug("Refused port forward request.");
+ packet_send_debug("Server configuration rejects port forwardings.");
+ packet_start(SSH_MSG_CHANNEL_OPEN_FAILURE);
+ packet_put_int(remote_ch...
2000 Aug 13
1
Patches for openssh port forwarding
...log("Warning: Server doesn't do port forwarding.");
+ break;
+ default:
+ /* Unknown packet */
+ packet_disconnect("Protocol error for port forward request: received packet type %d.", type);
+ }
}
}
@@ -1637,6 +1658,17 @@
/* Get remote channel number. */
remote_channel = packet_get_int();
+
+ /* Jarno */
+ if (!options.port_forwarding) {
+ /* packet_get_all(); */
+ debug("Refused port forward request.");
+ packet_send_debug("Server configuration rejects port forwardings.");
+ packet_start(SSH_MSG_CHANNEL_OPEN_FAILURE);
+ packet_put_int(re...
2009 Jan 15
2
Has anyone used FaxGateway()
Hi,
I've been trying to use the FaxGateway application to send T.38 out
over Zaptel using asterisk but I don't seem to be having any luck.
I'm executing it in the dialplan like: FaxGateway(Zap/g0/[number])
Has anyone had any luck using this thing and can enlighten me on how
it's supposed to be used?
Thanks.
2000 Jan 19
3
AIX openssh patches
...ddrlen;
! #endif
! int newsock, i, newch, len;
Channel *ch;
char buf[16384], *remote_hostname;
***************
*** 1005,1011 ****
struct sockaddr_in sin;
char *host, *originator_string;
struct hostent *hp;
! int host_len, originator_len;
/* Get remote channel number. */
remote_channel = packet_get_int();
--- 1010,1016 ----
struct sockaddr_in sin;
char *host, *originator_string;
struct hostent *hp;
! unsigned int host_len, originator_len;
/* Get remote channel number. */
remote_channel = packet_get_int();
***************
*** 1257,1263 ****
struct sockaddr_in...