Cannot assign requested address !!

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Cannot assign requested address !!

Postby zachsnc » Fri Sep 29, 2006 1:01 pm

[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?
zachsnc
 
Posts: 1
Joined: Fri Sep 29, 2006 12:55 pm

Postby spender » Fri Sep 29, 2006 5:05 pm

Recompile your kernel without the socket restrictions (they're in the network restrictions section of the grsec config).

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby Alexei.Sheplyakov » Fri Oct 06, 2006 10:51 am

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)?
Alexei.Sheplyakov
 
Posts: 53
Joined: Sun Feb 19, 2006 11:48 am

Postby spender » Fri Oct 06, 2006 5:10 pm

That would work if they enabled the sysctl option and haven't locked the settings.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support

cron