Displaying 3 results from an estimated 3 matches for "endport".
Did you mean:
end_port
2011 May 10
1
[Bug 1903] New: bindresvport_sa() does not validate non-zero struct sockaddr * port is within intended range
...orts. If the port provided is non-zero, then that
is taken as the starting port. For values >= IPPORT_RESERVED, it has
the effect of attempting to bind() to that port (higher than the
reserved port range) and then, if that port is in use, tries NPORTS-1
from STARTPORT. If all ports [STARTPORT,ENDPORT) are in use, ENDPORT
is never tried. For non-zero values < STARTPORT, there are potentially
many lower ports that are tried, and even the possibility that no ports
within the intended range are tried. If a free port is found, the
result is bind()ing to a port < IPPORT_RESERVED, but possibly...
2000 Oct 08
1
binding to privileged ports
...RTS; i++) {
*portp = htons(port);
error = bind(sd, sa, salen);
/* Terminate on success */
if (error == 0)
break;
/* Terminate on errors, except "address already in use" */
if ((error < 0) && !((errno == EADDRINUSE) || (errno == EINVAL)))
break;
port++;
if (port > ENDPORT)
port = STARTPORT;
}
This creates problems in environments where a range of privileged ports
(those which correspond to well-known services) are firewalled out,
leaving the range from ~850 to 1023 available. From this point of view, it
would seem desirable to count downwards as stock ssh does, r...
2009 Apr 21
1
run dialplan when open line
Hi all,
Does asterisk support the following scenario? I need when a customer who own
an endpoint registered on asterisk open the line, the asterisk will run a
specific AGI script inside the endpoint context?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090421/4dce9c34/attachment.htm