Displaying 1 result from an estimated 1 matches for "netmask_to_connect".
2005 Feb 22
0
TR: 3.8.1p1 option "permitopennet" added
...sten port number. */
} ForwardPermission;
+/* That structure _only_ stocks authorized permitopennet demands
+ * A ForwardPermission entry is added at each incoming connexion
+ * in "permitted_opens" array
+ */
+typedef struct {
+ struct in_addr * netblock_to_connect;
+ struct in_addr * netmask_to_connect;
+ u_short porta_to_connect;
+ u_short portb_to_connect;
+} ForwardNetPermission;
+
/* List of all permitted host/port pairs to connect. */
static ForwardPermission permitted_opens[SSH_MAX_FORWARDS_PER_DIRECTION];
+/* List of all permitted netblock/portblock pairs to connect. */
+static Forward...