RE:Is "no route to host" fake possible?

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

 



yes, it is 

observe 

# man route

reject      install a blocking route, which will force a  route
              lookup  to  fail.  This is for example used to mask
              out networks before using the default route.   This
              is NOT for firewalling.

route add -host 192.168.1.2 reject 

# ping 192.168.1.2
connect: Network is unreachable

for more info check the route man page 



>Date: Fri, 25 Jun 2004 10:53:36 +0200
>Subject: Is "no route to host" fake possible?
>From: iptables-ml@xxxxxxx

>Hello,

>I know the rules REJECT, DENY or DROP, but is it possible to return to 
>the client the error message "no route to host" ?

>I saw that it's possible to configure this on CISCO routers, and I would 
>lke to know it it's possible?

>Best regards,
>saf


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux