Re: netstat routing table (verbose) output

2014-04-24 Thread Frank Kardel

On 04/24/14 20:45, Frank Kardel wrote:

On 04/24/14 16:56, Christos Zoulas wrote:

On Apr 24,  2:57pm, kar...@netbsd.org (Frank Kardel) wrote:
-- Subject: Re: netstat routing table (verbose) output

| Hi Christos !
|
| Bringing the functionality back would be good - I have yet to find a
| replacement.

Fixed,

christos

Thanks - will check.

Frank

Works again - thanks!

Frank



Re: netstat routing table (verbose) output

2014-04-24 Thread Frank Kardel

On 04/24/14 16:56, Christos Zoulas wrote:

On Apr 24,  2:57pm, kar...@netbsd.org (Frank Kardel) wrote:
-- Subject: Re: netstat routing table (verbose) output

| Hi Christos !
|
| Bringing the functionality back would be good - I have yet to find a
| replacement.

Fixed,

christos

Thanks - will check.

Frank


Re: netstat routing table (verbose) output

2014-04-24 Thread Christos Zoulas
On Apr 24,  2:57pm, kar...@netbsd.org (Frank Kardel) wrote:
-- Subject: Re: netstat routing table (verbose) output

| Hi Christos !
| 
| Bringing the functionality back would be good - I have yet to find a 
| replacement.

Fixed,

christos


Re: netstat routing table (verbose) output

2014-04-24 Thread Frank Kardel

Hi Christos !

Bringing the functionality back would be good - I have yet to find a 
replacement.


Frank

On 04/24/14 14:44, Christos Zoulas wrote:

In article <5358fd54.1060...@netbsd.org>,
Frank Kardel   wrote:

Hi,

once upon a time (NetBSD 6.x and before) the command
netstat -nvrf inet
delivered:

Routing tables

Internet:
DestinationGatewayFlagsRefs  UseMtu
Interface
default10.0.2.1   UGS15 35833864  -  nfe0
 expire0   recvpipe  0   sendpipe  0
 ssthresh  0   rtt   0   rttvar0
 hopcount  0
10.0.2/24  link#1 UC 140  -  nfe0
 expire   1390815881   recvpipe  0   sendpipe  0
 ssthresh  0   rtt   0   rttvar0
 hopcount  0
10.0.2.1   00:00:24:c9:2c:84  UHLc1  2690346  -  nfe0
 expire   1398341586   recvpipe  0   sendpipe  0
 ssthresh  0   rtt  109375   rttvar93750
 hopcount  0

Nowadays (-current) I only see the same output as without the -v option.

Is this deliberate? Is this a regression?

The -v option was useful to check things like hopcount and diagnose
routing trouble.
The route show  command still outputs the hopcount and other
information, but not the entire routing table in extended format.

Is there a plan to re-instate the functionality?

I think that died when Elad? tried to cleanup netstat not to use kmem.
It should be fixed properly by adding more stuff to sysctl if we bring
the functionality back.

christos




Re: netstat routing table (verbose) output

2014-04-24 Thread Christos Zoulas
In article <5358fd54.1060...@netbsd.org>,
Frank Kardel   wrote:
>Hi,
>
>once upon a time (NetBSD 6.x and before) the command
>netstat -nvrf inet
>delivered:
>
>Routing tables
>
>Internet:
>DestinationGatewayFlagsRefs  UseMtu 
>Interface
>default10.0.2.1   UGS15 35833864  -  nfe0
> expire0   recvpipe  0   sendpipe  0
> ssthresh  0   rtt   0   rttvar0
> hopcount  0
>10.0.2/24  link#1 UC 140  -  nfe0
> expire   1390815881   recvpipe  0   sendpipe  0
> ssthresh  0   rtt   0   rttvar0
> hopcount  0
>10.0.2.1   00:00:24:c9:2c:84  UHLc1  2690346  -  nfe0
> expire   1398341586   recvpipe  0   sendpipe  0
> ssthresh  0   rtt  109375   rttvar93750
> hopcount  0
>
>Nowadays (-current) I only see the same output as without the -v option.
>
>Is this deliberate? Is this a regression?
>
>The -v option was useful to check things like hopcount and diagnose 
>routing trouble.
>The route show  command still outputs the hopcount and other 
>information, but not the entire routing table in extended format.
>
>Is there a plan to re-instate the functionality?

I think that died when Elad? tried to cleanup netstat not to use kmem.
It should be fixed properly by adding more stuff to sysctl if we bring
the functionality back.

christos