Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshd under uid 0 connects out?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
salam
Apprentice
Apprentice


Joined: 29 Sep 2005
Posts: 227

PostPosted: Sun Aug 13, 2006 5:55 am    Post subject: sshd under uid 0 connects out? Reply with quote

Hello,

I found a flood of messages in my logs that sshd(running as uid 0) tries to connect out to port 0 UDP to 2 ip addresses which belong to the same ISP. Can someone please explain me why this happens?
Back to top
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Sun Aug 13, 2006 7:32 am    Post subject: Re: sshd under uid 0 connects out? Reply with quote

salam wrote:
I found a flood of messages in my logs that sshd(running as uid 0) tries to connect out to port 0 UDP to 2 ip addresses which belong to the same ISP. Can someone please explain me why this happens?


SSH uses only tcp iirc. port 0 is pretty vague, it usually doesn't mean anything. What scheduled jobs do you run, from cron, at or somewhere else?
_________________
/earth: file system full.
Back to top
View user's profile Send private message
salam
Apprentice
Apprentice


Joined: 29 Sep 2005
Posts: 227

PostPosted: Sun Aug 13, 2006 6:04 pm    Post subject: Reply with quote

only from cron and these jobs: raidtools,logrotate and quotacheck which run daily
makewhatis which runs weekly

it happened never before (yesterday) and i've seen no such message after this flood in logs

the connection was prevented by ACL system, see the complete message:

Code:
grsec: From xxx.xxx.26.2: (root:U:/usr/sbin/sshd) denied connect() to xxx.xxx.27.1 port 0 sock type dgram protocol udp by /usr/sbin/sshd[sshd:31379] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/sshd[sshd:8376] uid/euid:0/0 gid/egid:0/0


that ip is related to me in no way, it is completely foreign for me(though it comes from the very opposite side of my country)

there are exactly 124 connection attempts logged, each one was denied
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum