Displaying 4 results from an estimated 4 matches for "streamlocal_bind_mask".
2016 May 03
3
StreamLocal forwarding
On Tue, 3 May 2016, Rogan Dawes wrote:
> Hi Damien,
> Thanks for the response!
>
> I tried moving the StreamLocalBindUnlink directive outside of the Match
> rule, and it worked. But that doesn't explain why the Match was not
> correctly setting the directive:
>
> This is running on an alternate port with -ddd:
>
> debug3: checking match for 'User
2017 Jun 16
2
[PATCH] allow relative path in streamlocal forwarding
...ath too long: %s", listen_path);
+ free(listen_path);
return 0;
}
- debug3("%s: type %d path %s", __func__, type, fwd->listen_path);
+ debug3("%s: type %d path %s", __func__, type, listen_path);
/* Start a Unix domain listener. */
omask = umask(fwd_opts->streamlocal_bind_mask);
- sock = unix_listener(fwd->listen_path, SSH_LISTEN_BACKLOG,
+ sock = unix_listener(listen_path, SSH_LISTEN_BACKLOG,
fwd_opts->streamlocal_bind_unlink);
umask(omask);
- if (sock < 0)
+ if (sock < 0) {
+ free(listen_path);
return 0;
+ }
- debug("Local forwarding list...
2015 Aug 17
2
[PATCH] Expand tilde for UNIX domain socket forwards.
...ype, struct Forward *fwd,
debug3("%s: type %d path %s", __func__, type, fwd->listen_path);
+ /* Expand home directory if necessary */
+ char *expanded_path = tilde_expand_filename(fwd->listen_path, getuid());
+
/* Start a Unix domain listener. */
omask = umask(fwd_opts->streamlocal_bind_mask);
- sock = unix_listener(fwd->listen_path, SSH_LISTEN_BACKLOG,
+ sock = unix_listener(expanded_path, SSH_LISTEN_BACKLOG,
fwd_opts->streamlocal_bind_unlink);
+ free(expanded_path);
umask(omask);
if (sock < 0)
return 0;
--
1.9.1
2016 Jun 02
2
MaxDisplays configuration option
..._authtries);
dump_cfg_int(sMaxSessions, o->max_sessions);
+ dump_cfg_int(sMaxDisplays, o->max_displays);
dump_cfg_int(sClientAliveInterval, o->client_alive_interval);
dump_cfg_int(sClientAliveCountMax, o->client_alive_count_max);
dump_cfg_oct(sStreamLocalBindMask, o->fwd_opts.streamlocal_bind_mask);
diff -Naur openssh-portable/servconf.h openssh-portable-maxdisplays/servconf.h
--- openssh-portable/servconf.h 2016-06-01 21:14:01.820052926 -0400
+++ openssh-portable-maxdisplays/servconf.h 2016-06-01 21:14:22.976053858 -0400
@@ -29,6 +29,7 @@
#define MAX_MATCH_GROUPS 256 /* Max # of groups for...