[tpm] how to detect ICMP 'port unreachable'?
thakore.kartik at gmail.com
Tue Mar 16 05:28:57 PDT 2010
Have you tried NetPacket::ICMP? I have used this module before to
decode ICMP packets and get data based on their ICMP code.
ICMP_UNREACH is the code you want.
On 2010-03-16, at 12:47 AM, Fulko Hew <fulko.hew at gmail.com> wrote:
> On Mon, Mar 15, 2010 at 11:24 PM, <hanker at ifdsgroup.com> wrote:
> No err checking is avail on that level. I suggest go one or two
> levels up in osi and negotiate protocol (I assume you have picked
> one already?), eg: hello, wait for hello in return, sending xxx
> bytes, wait for go ahead in return... So on
> Nope... can't... Its SNMP and I'm querying a remote address.
> The address exists, but there is no SNMP daemon on the std port.
> so I query, and the remote end returns 'no port'. Since the ICMP
> isn't returned
> upstream, SNMP assumes a 'no response', times out, and retries.
> ... All this time wasted retrying when the system already told us
> there was no one there!
> There has to be a better way!
> toronto-pm mailing list
> toronto-pm at pm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the toronto-pm