View previous topic :: View next topic |
Author |
Message |
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Thu Jan 15, 2009 10:21 pm Post subject: [Solved]Disable all ports in the kernel? |
|
|
Here I have a problem with starting mysql: https://forums.gentoo.org/viewtopic-t-726101.html
Azureus can't open local socket either.
I have a wierd problem with not being able to access my local apache server.
Could I have disabled the ports completely in the kernel somehow?
Last edited by Letharion on Fri Jan 16, 2009 8:50 am; edited 1 time in total |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Thu Jan 15, 2009 10:34 pm Post subject: |
|
|
Perhaps check your /etc/hosts.allow and /etc/hosts.deny to make sure nothing is wrong. For example in my hosts.allow I have this:
Code: | ALL: 127.0.0.1, 192.168.0.0/255.255.255.0 |
which should give access to everything from my local machine and local network. |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Thu Jan 15, 2009 10:48 pm Post subject: |
|
|
paulbiz wrote: | Perhaps check your /etc/hosts.allow and /etc/hosts.deny to make sure nothing is wrong. For example in my hosts.allow I have this:
Code: | ALL: 127.0.0.1, 192.168.0.0/255.255.255.0 |
which should give access to everything from my local machine and local network. |
I don't have either of those files.
I added a hosts.allow with that setting, but it didn't make any difference.
Perhaps it should look different for me? I have a white ip, so it's not in the 192.168-range.
Also, now that I check ifconfig, I don't have a loopback... I can't ping 127.0.0.1. That's probably related, but I have no idea why.
Where does loopback normally spawn from? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Thu Jan 15, 2009 11:24 pm Post subject: |
|
|
did you compile your kernel with all TCP/IP support? Does any of your networking utilities work? Ping? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Fri Jan 16, 2009 7:04 am Post subject: |
|
|
Letharion wrote: | paulbiz wrote: | Perhaps check your /etc/hosts.allow and /etc/hosts.deny to make sure nothing is wrong. For example in my hosts.allow I have this:
Code: | ALL: 127.0.0.1, 192.168.0.0/255.255.255.0 |
which should give access to everything from my local machine and local network. |
I don't have either of those files.
I added a hosts.allow with that setting, but it didn't make any difference.
Perhaps it should look different for me? I have a white ip, so it's not in the 192.168-range.
Also, now that I check ifconfig, I don't have a loopback... I can't ping 127.0.0.1. That's probably related, but I have no idea why.
Where does loopback normally spawn from? |
I think the hosts.allow/hosts.deny is part of sys-apps/tcp-wrappers
but it seems you've got more serious problems than this. |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Fri Jan 16, 2009 8:48 am Post subject: |
|
|
Wasn't to bad after all.
did the trick. Now the only question that remains is, why isn't this upped during normal init?
Since I use openRC, maybe I should file a bug somewhere? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jan 16, 2009 5:19 pm Post subject: |
|
|
Letharion wrote: | Now the only question that remains is, why isn't this upped during normal init? |
It should be. By default, net.lo is in the boot runlevel.
You can check like this.
|
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Mon Jan 19, 2009 8:21 am Post subject: |
|
|
cyrillic wrote: | Letharion wrote: | Now the only question that remains is, why isn't this upped during normal init? |
It should be. By default, net.lo is in the boot runlevel.
You can check like this.
|
I most likely just messed that up then It's back now anyhow. Thanks |
|
Back to top |
|
|
|