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

Re: Black hole



thanks both of you 

On Fri, 21 Jul 2000, agoldney wrote:

> Yes,
>         but that doesn't let you use a classifier to decide what you want
> to blackhole, which may be potentially useful.  For example, if you just
> wanted to blackhole IRC traffic to the average user.  That would require
> a small change to sch_api and tc.  I think that was the original intent
> of the question since Hiu referred to a traffic grouping which implies
> something more arbitrary than a network.
> 
> Of course, both these things can also be achieved with the firewall code.
> 
> Alex.
> 
> jamal wrote:
> 
> > blackhole is supported in Linux.
> >
> > eg
> > ip route add blackhole 10.0.10.0/24 dev eth0
> >
> > Now if you want to make it more interesting you use "prohibit" instead
> > of "blackhole" which sends back an icmp dst unreachable back.
> >
> > cheers,
> > jamal
>