View previous topic :: View next topic |
Author |
Message |
hmm n00b
Joined: 23 Feb 2003 Posts: 14
|
Posted: Fri Mar 21, 2003 12:30 pm Post subject: stop snmp? |
|
|
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 |
|
|
Strubenator n00b
Joined: 17 Mar 2003 Posts: 19 Location: Frederick, MD
|
Posted: Fri Mar 21, 2003 4:34 pm Post subject: |
|
|
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 |
|
|
hmm n00b
Joined: 23 Feb 2003 Posts: 14
|
Posted: Fri Mar 21, 2003 4:51 pm Post subject: |
|
|
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 |
|
|
hmm n00b
Joined: 23 Feb 2003 Posts: 14
|
Posted: Sat Mar 22, 2003 12:05 pm Post subject: |
|
|
any1 have any clue? |
|
Back to top |
|
|
gfdsa n00b
Joined: 01 Jul 2002 Posts: 74
|
Posted: Sat Mar 22, 2003 12:19 pm Post subject: |
|
|
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 |
|
|
hmm n00b
Joined: 23 Feb 2003 Posts: 14
|
Posted: Sun Mar 23, 2003 3:36 am Post subject: |
|
|
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 |
|
|
Strubenator n00b
Joined: 17 Mar 2003 Posts: 19 Location: Frederick, MD
|
Posted: Sun Mar 23, 2003 4:06 am Post subject: |
|
|
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 |
|
|
gfdsa n00b
Joined: 01 Jul 2002 Posts: 74
|
Posted: Sun Mar 23, 2003 7:40 am Post subject: |
|
|
check tcp 199 |
|
Back to top |
|
|
|