TCP EAGAIN/EACCESS for outbound connections.

David (david@kalifornia.com)
Tue, 17 Nov 1998 02:02:58 GMT


ok. here's more on the scoop. root can successfully ssh out. reason?
it calls bind() on a socket < 1023. a normal user can't and ssh fails.

here's snippet from proftpd. an irc client also returns permission denied.

[pid 28138] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
[pid 28138] setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
[pid 28138] bind(4, {sin_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("207.213.0.47")}, 16) = -1 EACCES (Permission denied)

-d
P.S. PLEASE cc: REPLY to <david@wgn.net>

-- 
Look, Windows 98  Buy, lemmings, buy!  MCSE, Must Consult Someone Experienced
(c) 1998 David Ford.  Redistribution via the Microsoft Network is prohibited.
 for linux-kernel: please read linux/Documentation/* before posting problems

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/