tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mapping ICMP codes to Unix errno code numbers



On 3/04/2013 3:36 AM, Erik Fair wrote:
> 
> On Mar 31, 2013, at 22:48, Darren Reed <darrenr%netbsd.org@localhost> wrote:
> 
>> How do you know that the administratively prohibited ICMP error
>> will 100% of the time come from a remote network?
>>
>> Afterall, it could also be generated by your local firewall or perhaps
>> even the host itself!
> 
> And the difference between those cases to the application is … ?

None and that's the point.

It is not possible to tell why the error is generated, so calling
it "remote" when it may not be can be misleading.

Darren




Home | Main Index | Thread Index | Old Index