refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by dmz1 » Thu, 17 Oct 2002 03:27:58



Is this what it seems to be? Someone attempting to ssh to my machine?

If so, what is the best way to make Life really miserable for hin?

Been going on for abt. half an hour.

Here is the whole line from /var/log/messages


Cheers,

dmz17

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Walter Hofman » Thu, 17 Oct 2002 03:38:49



> Is this what it seems to be? Someone attempting to ssh to my machine?
> If so, what is the best way to make Life really miserable for hin?
> Been going on for abt. half an hour.
> Here is the whole line from /var/log/messages


Someone from 210.217.157.15 (Korea) is trying to log into your machine.
The IP address logged is a IPv6 address. Maybe this is just because you
installed an IPv6-aware sshd, or maybe this person is using IPv6 packets
to get around firewalls that only filter IPv4 packets.
Make sure that you sshd is up-to-date with security patches (check eg.
www.openssh.org) and ignore the messages.

Walter

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Tim Hayne » Thu, 17 Oct 2002 03:45:29



> Is this what it seems to be? Someone attempting to ssh to my machine?

Smells like it to me.

Quote:> If so, what is the best way to make Life really miserable for hin?

Don't run ssh ;8)

If you must, make sure you've got `PermitRootLogin no' (or at most,
`without-password' for keys-only).

Also tie it down using tcp_wrappers to only a minimal set of incoming IP#s
allowed.

> Been going on for abt. half an hour.

> Here is the whole line from /var/log/messages

> Oct 15 20:23:51 maltec sshd[6490]: refused connect from


Some pesky Korean bastard's trying to ssh into your box (which is using
ipv6-in-ipv4-enabled ssh) as user root at his end.

~Tim
--

We stood in line, we laughed                |http://spodzone.org.uk/
In silhouette                               |

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Tim Hayne » Thu, 17 Oct 2002 04:07:08



>> Oct 15 20:23:51 maltec sshd[6490]: refused connect from

> The IP address logged is a IPv6 address. Maybe this is just because you
> installed an IPv6-aware sshd, or maybe this person is using IPv6 packets
> to get around firewalls that only filter IPv4 packets.

They're not using ipv6 themselves; this is what you get for enabling
support for ipv6 in sshd - it uses an ipv6 notation for IPv4 addresses
(both in log reporting and in `from=' restrictions in authorized_keys
files).

~Tim
--
  20:06:45 up 12 days, 53 min,  9 users,  load average: 0.20, 0.27, 0.27

http://piglet.is.dreaming.org     |On the hills of gold

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by dmz1 » Thu, 17 Oct 2002 04:15:16




>> Is this what it seems to be? Someone attempting to ssh to my machine?

> Smells like it to me.

>> If so, what is the best way to make Life really miserable for hin?

> Don't run ssh ;8)

> If you must, make sure you've got `PermitRootLogin no' (or at most,
> `without-password' for keys-only).

> Also tie it down using tcp_wrappers to only a minimal set of incoming IP#s
> allowed.

>> Been going on for abt. half an hour.

>> Here is the whole line from /var/log/messages

>> Oct 15 20:23:51 maltec sshd[6490]: refused connect from

> Some pesky Korean bastard's trying to ssh into your box (which is using
> ipv6-in-ipv4-enabled ssh) as user root at his end.

> ~Tim

Tnx. I believe I got most of it covered. ssh only allowed from myu
intranet.

Still, I find it annoying. Perhaps because I am tail'ing the logs.
If I weren't, I wouldn't see it ;-)

Cheers,

dmz17

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Duncan Thomso » Thu, 17 Oct 2002 05:15:20




> > Is this what it seems to be? Someone attempting to ssh to my machine?

> Smells like it to me.

> > If so, what is the best way to make Life really miserable for hin?

> Don't run ssh ;8)

What do you recommend as a replacement?  telnet????
 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Tim Hayne » Thu, 17 Oct 2002 05:59:24




[snip]
>> > If so, what is the best way to make Life really miserable for hin?

>> Don't run ssh ;8)

> What do you recommend as a replacement?  telnet????

I never said anything about any replacement :)

~Tim
--
   21:59:02 up 12 days,  2:45, 10 users,  load average: 0.50, 0.40, 0.29

http://piglet.is.dreaming.org     |A waste of words, and endless flow

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Ange » Thu, 17 Oct 2002 07:06:05





>>>Is this what it seems to be? Someone attempting to ssh to my machine?

>>Smells like it to me.

>>>If so, what is the best way to make Life really miserable for hin?

>>Don't run ssh ;8)

>>If you must, make sure you've got `PermitRootLogin no' (or at most,
>>`without-password' for keys-only).

>>Also tie it down using tcp_wrappers to only a minimal set of incoming IP#s
>>allowed.

>>>Been going on for abt. half an hour.

>>>Here is the whole line from /var/log/messages

>>>Oct 15 20:23:51 maltec sshd[6490]: refused connect from

>>Some pesky Korean bastard's trying to ssh into your box (which is using
>>ipv6-in-ipv4-enabled ssh) as user root at his end.

>>~Tim

> Tnx. I believe I got most of it covered. ssh only allowed from myu
> intranet.

> Still, I find it annoying. Perhaps because I am tail'ing the logs.
> If I weren't, I wouldn't see it ;-)

> Cheers,

> dmz17

If you only allowed ssh from the your intranet you may aswell block port
22 on your firewall from the Internet too.  If you only use it
internally it's just a temptation allowing it to respond to the outside
world.

angel

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by dmz1 » Thu, 17 Oct 2002 12:58:22


Quote:

> If you only allowed ssh from the your intranet you may aswell block port
> 22 on your firewall from the Internet too.  If you only use it
> internally it's just a temptation allowing it to respond to the outside
> world.

> angel

Good point! I currently use SuSE's Firewall2 until I can sort out my
own scripts.

Cheers,

dmz17

 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Chris Patc » Wed, 30 Oct 2002 14:07:26


Quote:> > > If so, what is the best way to make Life really miserable for hin?

> > Don't run ssh ;8)

> What do you recommend as a replacement?  telnet????

agetty on a serial port?
 
 
 

refused connect from root@::ffff:210.217.157.15 (::ffff:210.217.157.15)

Post by Tim Pailthorp » Wed, 06 Nov 2002 05:32:23


or mgetty.

It works better with a serial port.


Quote:> > > > If so, what is the best way to make Life really miserable for hin?

> > > Don't run ssh ;8)

> > What do you recommend as a replacement?  telnet????

> agetty on a serial port?