[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Portsentry blocking port 22
- Subject: RE: [cobalt-users] Portsentry blocking port 22
- From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
- Date: Tue Jun 25 02:29:57 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
<snip>
> Tried that. It says it's starting SSHD. Then, when I try to
> connect with
> SSH, it STILL blocks me out! Do I have to restart Portsentry too?
>
> There's a growing list of IPs that our ISP uses that are
> becoming blocked by
> Portsentry, so a lot of times when I connect to the net
> through our ADSL
> connection, I find the server is invisible to us. To rectify
> this, do I just
> remove the IPs from hosts.deny?
</snip>
Hmm, doesn't sound too good, after doing the ssh start, check it IS running with:
ps -ax | grep [s]shd
[thanks tim, handy hint that!]
It may be that ssh isnt starting properly. Then, YES do a restart of portsentry with:
/etc/rc.d/init.d/portsentry restart
To remove entries from portsentry, you need to remove from /etc/hosts.deny AND also remove the blocked route from your routing table.
Type:
route -n
and it will show you the blocked IPs as well as the IPs your RaQ v-sites use. Just remove the ones you don't want to block anymore with
route del IP.IP.IP.IP
Then try it again.
Regards,
Andy
andy@xxxxxxxxxxxxxxx
http://www.raqpak.com/ <-- Raq/Qube unofficial PKGs and support advice
http://www.linuxnetworking.co.uk