Re: route -n show blackhole routes

2024-06-25 Thread Claudio Jeker
On Tue, Jun 25, 2024 at 10:54:16AM +0200, Claudio Jeker wrote: > On Tue, Jun 25, 2024 at 08:35:18AM -, Stuart Henderson wrote: > > On 2024-06-24, Tom Smyth wrote: > > > Folks, > > > while reviewing nsh I was wondering how to improve show route > > > commands... > > > reviewing the man

Re: route -n show blackhole routes

2024-06-25 Thread Tom Smyth
so what is the alternative pardion my ignorance but is it like a views in a DB so we use a bit more memory so as the route (eg blackhole route is copied to a table of blackhole routes ? and an arp entry / host route is copied to an arp table that can be dumped on demand .. (with the necessary

Re: route -n show blackhole routes

2024-06-25 Thread Tom Smyth
Thanks Stuart, Ill take a look at how the prefix searches are done ... and see if I can re-use that for route(8) if people think that it would be useful to have in route(8) Thanks again, Tom Smyth On Tue, 25 Jun 2024 at 09:39, Stuart Henderson wrote: > > On 2024-06-24, Tom Smyth wrote: > >

Re: route -n show blackhole routes

2024-06-25 Thread Claudio Jeker
On Tue, Jun 25, 2024 at 08:35:18AM -, Stuart Henderson wrote: > On 2024-06-24, Tom Smyth wrote: > > Folks, > > while reviewing nsh I was wondering how to improve show route commands... > > reviewing the man route man page, > > > > there doesnt seem to be a straight forward way of

Re: route -n show blackhole routes

2024-06-25 Thread Stuart Henderson
On 2024-06-24, Tom Smyth wrote: > Folks, > while reviewing nsh I was wondering how to improve show route commands... > reviewing the man route man page, > > there doesnt seem to be a straight forward way of displaying > blackhole routes without using > > route show |grep B for blackhole > >

route -n show blackhole routes

2024-06-24 Thread Tom Smyth
Folks, while reviewing nsh I was wondering how to improve show route commands... reviewing the man route man page, there doesnt seem to be a straight forward way of displaying blackhole routes without using route show |grep B for blackhole route show |grep R for Reject is there something