Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stop snmp?
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
hmm
n00b
n00b


Joined: 23 Feb 2003
Posts: 14

PostPosted: Fri Mar 21, 2003 12:30 pm    Post subject: stop snmp? Reply with quote

Hi all,

I have a problem here, when I portscan my system snmp and snmptrap are giving out info about my system, now how do I stop those services?

I didnt even start them nor do I know what started them, I am only running quake and ssh. I forgot some options while building the kernel so I cant use iptables to block the ports, is there I way to stop these 2 snmp services or to block the ports somehow else?

-thx
Back to top
View user's profile Send private message
Strubenator
n00b
n00b


Joined: 17 Mar 2003
Posts: 19
Location: Frederick, MD

PostPosted: Fri Mar 21, 2003 4:34 pm    Post subject: Reply with quote

You should be able to stop these immendetly by runing /etc/init.d/snmp(or whatever) stop. If you want this to be permanant run rc-update del snmp(or whatever) default.

--Strube
Back to top
View user's profile Send private message
hmm
n00b
n00b


Joined: 23 Feb 2003
Posts: 14

PostPosted: Fri Mar 21, 2003 4:51 pm    Post subject: Reply with quote

Strubenator wrote:
You should be able to stop these immendetly by runing /etc/init.d/snmp(or whatever) stop. If you want this to be permanant run rc-update del snmp(or whatever) default.

--Strube


well I checked that first and there isnt no snmp script in there... :(
Back to top
View user's profile Send private message
hmm
n00b
n00b


Joined: 23 Feb 2003
Posts: 14

PostPosted: Sat Mar 22, 2003 12:05 pm    Post subject: Reply with quote

any1 have any clue?
Back to top
View user's profile Send private message
gfdsa
n00b
n00b


Joined: 01 Jul 2002
Posts: 74

PostPosted: Sat Mar 22, 2003 12:19 pm    Post subject: Reply with quote

grep -i SNMP .config
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set

netstat -anp|grep :161
udp 0 0 0.0.0.0:161 0.0.0.0:*
Back to top
View user's profile Send private message
hmm
n00b
n00b


Joined: 23 Feb 2003
Posts: 14

PostPosted: Sun Mar 23, 2003 3:36 am    Post subject: Reply with quote

gfdsa wrote:
grep -i SNMP .config
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set

netstat -anp|grep :161
udp 0 0 0.0.0.0:161 0.0.0.0:*


grep -i SNMP .config doesnt find anything.

I already tried netstat and it doesnt find anything on those snmp ports: 161/162

really weird...
Back to top
View user's profile Send private message
Strubenator
n00b
n00b


Joined: 17 Mar 2003
Posts: 19
Location: Frederick, MD

PostPosted: Sun Mar 23, 2003 4:06 am    Post subject: Reply with quote

If netstat shows nothing and you still get resaults from the scans, I would doouble check everything (sometimes I end up mixing up the addresses of the scans). If everything checks out it may be a strange r00tkit but that's pure speculation.

--Strube
Back to top
View user's profile Send private message
gfdsa
n00b
n00b


Joined: 01 Jul 2002
Posts: 74

PostPosted: Sun Mar 23, 2003 7:40 am    Post subject: Reply with quote

check tcp 199
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