lkml.org 
[lkml]   [1998]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectTCP EAGAIN/EACCESS for outbound connections.
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.064 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site