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, at 5:36 AM, Erik Fair <fair%netbsd.org@localhost> 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 … ?

Documentation. If the error code is well documented then the application author 
is less likely to do the wrong thing with it. 

Cheers,
Lloyd



Home | Main Index | Thread Index | Old Index