search for: host_dst

Displaying 1 result from an estimated 1 matches for "host_dst".

Did you mean: vhost_dst
2005 Feb 22
0
TR: 3.8.1p1 option "permitopennet" added
...connect); + } num_permitted_opens = 0; } @@ -2452,23 +2502,52 @@ /* Check if connecting to that port is permitted and connect. */ int -channel_connect_to(const char *host, u_short port) +channel_connect_to(const char *host, u_short port, void * a_ctxt) { int i, permit; + struct in_addr *host_dst; + Authctxt * ctxt = a_ctxt; + struct passwd *pw = ctxt->pw; permit = all_opens_permitted; if (!permit) { - for (i = 0; i < num_permitted_opens; i++) + /* check against "permitopen" option */ + for (i = 0; i < num_permitted_opens && !permit; i++) if (permitte...