All of lore.kernel.org
 help / color / mirror / Atom feed
* Is "no route to host" fake possible?
@ 2004-06-25  8:53 iptables-ml
  2004-06-25  9:15 ` Antony Stone
  2004-06-25  9:24 ` Patrick Leslie Polzer
  0 siblings, 2 replies; 4+ messages in thread
From: iptables-ml @ 2004-06-25  8:53 UTC (permalink / raw)
  To: netfilter

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 
like to know it it's possible?

Best regards,
saf
-- 
xy1.org



^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE:Is "no route to host" fake possible?
@ 2004-06-25 10:44 Cilliè Burger
  2004-06-25 11:19 ` Is " Antony Stone
  0 siblings, 1 reply; 4+ messages in thread
From: Cilliè Burger @ 2004-06-25 10:44 UTC (permalink / raw)
  To: netfilter

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@xy1.org

>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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-25 11:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25  8:53 Is "no route to host" fake possible? iptables-ml
2004-06-25  9:15 ` Antony Stone
2004-06-25  9:24 ` Patrick Leslie Polzer
  -- strict thread matches above, loose matches on Subject: below --
2004-06-25 10:44 Cilliè Burger
2004-06-25 11:19 ` Is " Antony Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.