search for: inp_lowport

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

2004 Nov 21
1
mac_portacl and automatic port allocation
...sockaddr; port = ntohs(sin->sin_port); + /* If port == 0 and user hasn't asked for IP_PORTRANGELOW return + success */ + printf("mac_portacl: port %d, inp_flags: 0x%X\n", port, inp->inp_flags); + if (port == 0 && (inp->inp_flags & INP_LOWPORT) == 0) + return (0); return (rules_check(cred, family, type, port)); } ---------------- Best regards -- Michal Mertl