search for: single_connection

Displaying 11 results from an estimated 11 matches for "single_connection".

2016 Jun 02
2
MaxDisplays configuration option
...-- X11 forwarding */ -/* Maximum number of fake X11 displays to try. */ -#define MAX_DISPLAYS 1000 - /* Saved X11 local (client) display. */ static char *x11_saved_display = NULL; @@ -3890,7 +3887,8 @@ */ int x11_create_display_inet(int x11_display_offset, int x11_use_localhost, - int single_connection, u_int *display_numberp, int **chanids) + int max_displays, int single_connection, u_int *display_numberp, + int **chanids) { Channel *nc = NULL; int display_number, sock; @@ -3902,8 +3900,11 @@ if (chanids == NULL) return -1; + /* Try max_displays ports starting at the range 6000+X11D...
2001 Oct 23
1
Compilation error on Solaris Workshop 6 (+patch)
...er to struct passwd {..} pw, pointer to struct Authctxt {..} authctxt, int pid, pointer to char term, int ptyfd, int ttyfd, int ptymaster, int row, int col, int xpixel, int ypixel, array[64] of char tty, pointer to char display, int screen, pointer to char auth_proto, pointer to char auth_data, int single_connection, int chanid, int is_subsystem}) returning void previous: function() returning int : "session.c", line 581 cc: acomp failed for session.c *** Error code 2 make: Fatal error: Command failed for target `session.o' To correct a compilation error it is necessary to make the follo...
2001 Aug 13
0
Latest won't compile under Solaris 8
...er to struct passwd {..} pw, pointer to struct Authctxt {..} authctxt, int pid, pointer to char term, int ptyfd, int ttyfd, int ptymaster, int row, int col, int xpixel, int ypixel, array[64] of char tty, pointer to char display, int screen, pointer to char auth_proto, pointer to char auth_data, int single_connection, int chanid, int is_subsystem}) returning void previous: function() returning int : "session.c", line 581 cc: acomp failed for session.c *** Error code 2 make: Fatal error: Command failed for target `session.o' 2.9p1 compiled fine with the same config file. The compilers is F...
2003 Jan 29
0
[PATCH] features for restricted shell environments
...eturn 0; } void @@ -2246,6 +2290,8 @@ { int i; + if (fix_permitted_opens) + return; for (i = 0; i < num_permitted_opens; i++) xfree(permitted_opens[i].host_to_connect); num_permitted_opens = 0; @@ -2448,6 +2494,7 @@ 0, xstrdup("X11 inet listener"), 1); nc->single_connection = single_connection; } + log("X11 forwarding listening on port %d", 6000+display_number); /* Return the display number for the DISPLAY environment variable. */ *display_numberp = display_number; --- channels.h 28 Jan 2003 18:06:51 -0000 1.1.1.2 +++ channels.h 28 Jan 2003 19:06:35...
2005 Sep 19
4
[Bug 1086] X forwarding won't start when a command is executed in background
http://bugzilla.mindrot.org/show_bug.cgi?id=1086 Summary: X forwarding won't start when a command is executed in background Product: Portable OpenSSH Version: 4.2p1 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo:
2004 Jul 14
1
New dynamic window patch (with limits)
...annels.h --- openssh-3.8.1p1/channels.h 2003-10-02 02:17:00.000000000 -0400 +++ openssh-3.8.1p1-dynwindow/channels.h 2004-07-07 09:54:55.000000000 -0400 @@ -97,6 +97,7 @@ u_int local_window_max; u_int local_consumed; u_int local_maxpacket; + int dynamic_window; int extended_usage; int single_connection; Only in openssh-3.8.1p1-dynwindow: config.h Only in openssh-3.8.1p1-dynwindow: config.status Common subdirectories: openssh-3.8.1p1/contrib and openssh-3.8.1p1-dynwindow/contrib Common subdirectories: openssh-3.8.1p1/openbsd-compat and openssh-3.8.1p1-dynwindow/openbsd-compat Common subdirectori...
2001 Jun 05
1
OpenSSH tmp cleanup
Hi, I noticed that Markus has fixed the temporary file cleanup problems in OpenSSH cvs. What files need patching for this ? I only noticed changes in: session.c, channels.h and channels.c. -Jarno -- Jarno Huuskonen <Jarno.Huuskonen at uku.fi>
2004 Jan 19
3
Security suggestion concering SSH and port forwarding.
Hi, sorry if it is the wrong approuch to suggest improvments to OpenSSH, but here comes my suggestion: I recently stumbled upon the scponly shell which in it's chroot:ed form is an ideal solution when you want to share some files with people you trust more or less. The problem is, if you use the scponlyc as shell, port forwarding is still allowed. This can of course be dissallowed in
2004 Jul 07
3
DynamicWindow Patch
.../ssh/channels.h ssh/channels.h --- src/usr.bin/ssh/channels.h 2004-06-13 11:03:02.000000000 -0400 +++ ssh/channels.h 2004-07-07 10:02:24.000000000 -0400 @@ -97,6 +97,7 @@ u_int local_window_max; u_int local_consumed; u_int local_maxpacket; + int dynamic_window; int extended_usage; int single_connection; Common subdirectories: src/usr.bin/ssh/lib and ssh/lib Common subdirectories: src/usr.bin/ssh/scard and ssh/scard Common subdirectories: src/usr.bin/ssh/scp and ssh/scp diff -u src/usr.bin/ssh/serverloop.c ssh/serverloop.c --- src/usr.bin/ssh/serverloop.c 2004-05-21 07:33:11.000000000 -0400 +++...
2001 Nov 27
1
[PATCH] tcp-wrappers support extended to x11 forwards
Hi! Here is the patch to support tcp wrappers with x11-forwarded connections. The patch is for openssh-3.0.1p1 but it works fine with 2.9.9p2 too. I've understood that this will not be included in the official version because it adds complexity (?!) to openssh. Binding the forwarded port to localhost doesn't solve all problems. I've understood that you should also implement
2001 Dec 05
1
DISPLAY=localhost
...-r1.156 session.c --- session.c 2001/11/13 12:46:19 1.156 +++ session.c 2001/12/05 20:52:38 @@ -108,8 +108,10 @@ int row, col, xpixel, ypixel; char tty[TTYSZ]; /* X11 */ + int display_number; char *display; int screen; + char *auth_display[2]; char *auth_proto; char *auth_data; int single_connection; @@ -1415,32 +1417,28 @@ _PATH_SSH_SYSTEM_RC); } else if (do_xauth && options.xauth_location != NULL) { /* Add authority data to .Xauthority if appropriate. */ - char *screen = strchr(s->display, ':'); - if (debug_flag) { fprintf(stderr, "...