Page 1 of 1

Cannot assign requested address !!

PostPosted: Fri Sep 29, 2006 1:01 pm
by zachsnc
[root@shells ~]# uname -a
Linux xxx.xxx.xxx 2.6.17.11-grsec #2 Sat Sep 16 18:46:22 PDT 2006 i686 i686 i386 GNU/Linux
[root@shells ~]# cat /etc/*release
CentOS release 4.3 (Final)

The problem i'm having is that whenever I try to wget, ftp out, or pretty much create a client socket, it refuses to create with error "Cannot assign requested address" with the remote address. I can't do anything but run ircd, no outbound connections are possible. I think I may have inadvertently enabled the socket restriction! How do I go back?

PostPosted: Fri Sep 29, 2006 5:05 pm
by spender
Recompile your kernel without the socket restrictions (they're in the network restrictions section of the grsec config).

-Brad

PostPosted: Fri Oct 06, 2006 10:51 am
by Alexei.Sheplyakov
spender wrote:Recompile your kernel without the socket restrictions (they're in the network restrictions section of the grsec config).



Excuse me, wouldn't
Code: Select all
sysctl -w kernel/grsecurity/socket_client=0

do the job (assuming that sysctl support is enabled)?

PostPosted: Fri Oct 06, 2006 5:10 pm
by spender
That would work if they enabled the sysctl option and haven't locked the settings.

-Brad