Coding help : Where to log X11 forwards?
    Jeff Blaine 
    jblaine at kickflop.net
       
    Sat Feb  7 06:42:14 EST 2009
    
    
  
Really confused now.  Neither w00t gets tickled but the
X11 session is established fine.
% strings /linus/tmp/jblaine/sbin/sshd | grep w00t
jblaine testing : pre-w00t
jblaine testing : w00t? : %s
%
% sudo /linus/tmp/jblaine/sbin/sshd -p 3333 -ddd 2>&1 | grep w00t
%
/* session.c */
...
     debug2("jblaine testing : pre-w00t");
     packet_check_eom();
     success = session_setup_x11fwd(s);
     if (!success) {
         xfree(s->auth_proto);
         xfree(s->auth_data);
         s->auth_proto = NULL;
         s->auth_data = NULL;
     } else {
         debug2("jblaine testing : w00t? : %s", s->auth_display);
     }
...
Jeff Blaine wrote:
> OpenSSH 5.1p1
> 
> I can't grasp why, when connecting with 'ssh -Y' to this
> test host, I am not tickling the verbose() call below that
> I have added.
> 
> I am logging as auth + verbose in sshd_config
> 
> The X11 forward for the session works fine as tested with
> xterm.
> 
> At any rate, I am looking for some guidance on where
> to log X11 forwards that are established, ideally with
> a username and remote display information, but whatever
> I can get, I'll take.
> 
> Any help would be great.
> 
> session.c:
> 
>             packet_check_eom();
>             success = session_setup_x11fwd(s);
>             if (!success) {
>                 xfree(s->auth_proto);
>                 xfree(s->auth_data);
>                 s->auth_proto = NULL;
>                 s->auth_data = NULL;
>             } else {
>                 verbose("jblaine testing : w00t? : %s", s->auth_display);
>             }
> 
    
    
More information about the openssh-unix-dev
mailing list