[mrtg] Re: SMTP on TCP port

Derek Winkler dwinkler at algorithmics.com
Wed Nov 26 17:13:40 MET 2003


Sounds like a firewall problem.
Turn off ipchains/iptables and try again.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Chris Wilson
Sent: Wednesday, November 26, 2003 11:08 AM
To: Peter P. Benac
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: SMTP on TCP port


Hi,

Sorry, I think my terminology is incorrect.

The problem is that, when I start net-snmp, informing it to use UDP port 
161, I can SNMP walk it locally (on the remote and local ip addresses), 
but when I try remotely it fails to work.

Then I repeat the process, telling it to use TCP port 161 it works fine, 
remotely and locally.

I know this is a problem with either redhat doing funny things, or 
indeed net-snmp I was basically looking for a way of using TCP to avoid 
having to fix that :)

Chris

Peter P. Benac wrote:
> Chris,
> 
>     I'd be more interested in what kind of errors you are having binding
to
> UDP port 161 and why you are trying to bind to port 161?  You don't need
to
> bind to port 161 unless you are writing an SNMP agent.  Furthermore
Redhat's
> SNMP agents will bind to this port during the startup process and this
will
> block any additional software from binding to that port.
> 
>     You need to do snmpget's and snmp writes TO port 161 on the devices
you
> are trying to manage.  This does not require you bind to any port on the
> system you are running your SNMP software on.  To extract data from a
device
> all you need to do is open a socket with the DISTINATION port set to 161
and
> not the SOURCE port. SNMP Agents don't really care what port sources the
> request to it's port 161.
> 
> Regards,
> Pete
> ----
> Peter P. Benac, CCNA
> Emacolet Networking Services, Inc
> Providing Systems and Network Consulting, Training, Web Hosting Services
> Phone: 919-847-1740 or 866-701-2345
> Web: http://www.emacolet.com
> Need quick reliable Systems or Network Management advice visit
> http://www.nmsusers.org
> 
> To have principles...
>              First have courage.. With principles comes integrity!!!
> 
> 
> 
>>-----Original Message-----
>>From: mrtg-bounce at list.ee.ethz.ch 
>>[mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Chris Wilson
>>Sent: Wednesday, November 26, 2003 6:03
>>To: Vincent De Keyzer
>>Cc: mrtg at list.ee.ethz.ch
>>Subject: [mrtg] Re: SMTP on TCP port
>>
>>
>>Hi,
>>
>>I was having immence problem binding net-snmp to a udp port, it just 
>>wouldn't go.  I tried evcerything I could think of, however it worked 
>>first time on TCP (so it wasn't the config file!).
>>
>>I could properly walk it etc.
>>
>>Therefore I thought that if MRTG could access TCP ports then it would 
>>mean that I didn't have to contine battleing against funny 
>>things that 
>>redhat has probably done to its system.
>>
>>Cheers,
>>
>>Chris
>>
>>Vincent De Keyzer wrote:
>>
>>>Chris,
>>>
>>>Afaik SNMP works on UDP only.
>>>
>>>Why would you want to do this?
>>>
>>>Vincent
> 
>  
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

-- 
---
Chris Wilson
Sigmer Technologies Ltd
The Sussex Innovation Centre
Science Park Square, Falmer
Brighton, East Sussex, BN1 9SB
www.sigmer.com
chris at sigmer.com

****************************************************************************
************************
LEGAL DISCLAIMER: This message and its attachments are confidential and 
may be privileged or
otherwise protected from disclosure. If you are not the intended 
recipient or the person responsible
for delivering the message to the intended recipient, please telephone 
or email the sender and
delete this message and any attachments from your system. Further, you 
should not disclose, copy,
distribute or use this message and its attachments. Whilst any 
attachments may have been checked for
viruses, you should rely on your own virus checker and procedures. If 
you contact us by e-mail, we
will store your name and address to facilitate communications.
****************************************************************************
************************


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list