Displaying 2 results from an estimated 2 matches for "portp".
Did you mean:
port
2004 Jun 26
3
ttyv for local only?
I get this in my security postings.
Jun [undisclosed time] [undiscl.] login: 2 LOGIN FAILURES ON ttyv2
Jun [undisclosed time] [undiscl.] login: 2 LOGIN FAILURES ON ttyv2, qmaild
As it turns out, I'm not running qmail :) And if I did, it would
definitely have a nologin shell. But that's beside the point-
I have had a perception that ttyv was for local/console logins, and that
just
2000 Oct 08
1
binding to privileged ports
...{
close(sock);
continue;
}
fatal("bind: %.100s", strerror(errno));
}
The portable OpenSSH distribution appears to count /upwards/ from 600:
(from bsd-bindresvport.c; whitespace elided)
for(i = 0; i < NPORTS; 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 = S...