bgpctl sh rib mem

2013-09-22 Thread Denis Fondras
Hello,

I have an OpenBGPd router with OpenBSD5.3, peering with two remote
routers (one for v4 and one for v6). I expect my peers to send me only
valid routes.

Is there a way to show every prefixes sent by a peer, even invalid ones ?

I know of bgpctl show rib but I'd like to understand what this line
means : 27808 prefix entries using 869K of memory

For me it looks like half of the prefixes I receive are invalid (in
memory bu not in RIB) and I'd like to understand why.

Thank you in advance,
Denis


$ bgpctl sh rib mem
RDE memory statistics
15 IPv4 unicast network entries using 360B of memory
 13889 IPv6 unicast network entries using 488K of memory
 27807 rib entries using 869K of memory
 27808 prefix entries using 869K of memory
  8364 BGP path attribute entries using 621K of memory
  8018 BGP AS-PATH attribute entries using 265K of memory,
   and holding 8364 references
  1013 BGP attributes entries using 23.7K of memory
   and holding 1534 references
  1012 BGP attributes using 7.9K of memory
RIB using 3.1M of memory

$ bgpctl show rib inet6 | wc -l
13902

$ bgpctl sho rib inet | wc -l
19



update my box and Cinnamon avaible

2013-09-22 Thread Roelof Wobben
Hello, 

Before I try OpenBSd I have two questions.

1) The manual says that I can use pkg -upgrade 
   But how do I know which packages can be updated or which 
   security patches there are avaible.

2) Is a new version of Cinnamon avaible for OpenBSD and if so, 
   how can I install it. 

Regards,

Roelof Wobben 



Re: bgpctl sh rib mem

2013-09-22 Thread Stuart Henderson
On 2013-09-22, Denis Fondras open...@ledeuns.net wrote:
 Hello,

 I have an OpenBGPd router with OpenBSD5.3, peering with two remote
 routers (one for v4 and one for v6). I expect my peers to send me only
 valid routes.

 Is there a way to show every prefixes sent by a peer, even invalid ones ?

IIRC there isn't..

 I know of bgpctl show rib but I'd like to understand what this line
 means : 27808 prefix entries using 869K of memory

 For me it looks like half of the prefixes I receive are invalid (in
 memory bu not in RIB) and I'd like to understand why.

The most likely reasons are invalid nexthops (bgpctl sh nex) or
that the paths are dropped by your filter rules.



Re: update my box and Cinnamon avaible

2013-09-22 Thread Richard Thornton

I do not think that Cinnamon is available with OpenBSD.
But, I could easily be wrong.


On Sun, 22 Sep 2013, Roelof Wobben wrote:


Hello,

Before I try OpenBSd I have two questions.

1) The manual says that I can use pkg -upgrade
  But how do I know which packages can be updated or which
  security patches there are avaible.

2) Is a new version of Cinnamon avaible for OpenBSD and if so,
  how can I install it.

Regards,

Roelof Wobben




Re: bgpctl sh rib mem

2013-09-22 Thread Denis Fondras
Thank you very much Stuart.

 
 The most likely reasons are invalid nexthops (bgpctl sh nex) or
 that the paths are dropped by your filter rules.
 

I have no explicit filter rules in bgpd.conf and bgpctl sh nex shows
only valid nexthops.

I restarted the daemon but no changes in memory usage.

Denis



Re: update my box and Cinnamon avaible

2013-09-22 Thread Nikola Gyurov
Hi,

1a) Packages can installed/upgraded by pkg_add. 'man pkg_add for more'.
1b) http://www.openbsd.org/errata.html

2) AFAIK no.

Best regards,
Nikola Gyurov


On Sun, Sep 22, 2013 at 1:03 PM, Roelof Wobben rwob...@hotmail.com wrote:
 Hello,

 Before I try OpenBSd I have two questions.

 1) The manual says that I can use pkg -upgrade
But how do I know which packages can be updated or which
security patches there are avaible.

 2) Is a new version of Cinnamon avaible for OpenBSD and if so,
how can I install it.

 Regards,

 Roelof Wobben



Re: update my box and Cinnamon avaible

2013-09-22 Thread Brett Mahar
On 09/22/13 22:03, Roelof Wobben wrote:

 2) Is a new version of Cinnamon avaible for OpenBSD and if so,
 how can I install it.


The easiest way to find out what is available is by looking at 
http://openports.se/
The x11 page shows the window managers which have been ported to openbsd.

Brett.



Re: bgpctl sh rib mem

2013-09-22 Thread Stuart Henderson
On 2013-09-22, Denis Fondras open...@ledeuns.net wrote:
 Thank you very much Stuart.

 
 The most likely reasons are invalid nexthops (bgpctl sh nex) or
 that the paths are dropped by your filter rules.
 

 I have no explicit filter rules in bgpd.conf and bgpctl sh nex shows
 only valid nexthops.

None at all? You should at least be blocking the private-use networks
listed in RFC5735, and prefixes longer than /24 etc.

 I restarted the daemon but no changes in memory usage.

It might be easier to help if we could see (sanitized, if necessary)
bgpd.conf.



Re: update my box and Cinnamon avaible

2013-09-22 Thread Anthony J. Bentley
Brett Mahar writes:
 On 09/22/13 22:03, Roelof Wobben wrote:
 
  2) Is a new version of Cinnamon avaible for OpenBSD and if so,
  how can I install it.
 
 
 The easiest way to find out what is available is by looking at 
 http://openports.se/
 The x11 page shows the window managers which have been ported to openbsd.

Just a note... OpenPorts is a third-party service that manually parses the
ports tree to extract information, and as a result it sometimes gets stuff
wrong. See http://marc.info/?l=openbsd-portsm=137063135316700w=2

There are some tools in the ports tree, like ports-readmes, that fulfill
the same purpose but make use of the infrastructure to do a better job.
http://ports.su/ is based on this.

-- 
Anthony J. Bentley



Re: update my box and Cinnamon avaible

2013-09-22 Thread Marc Espie
On Sun, Sep 22, 2013 at 03:28:24PM -0600, Anthony J. Bentley wrote:
 There are some tools in the ports tree, like ports-readmes, that fulfill
 the same purpose but make use of the infrastructure to do a better job.
 http://ports.su/ is based on this.

ports-readme-dancer packages it all as a simple app you can run
to have a local webserver with the same information, and query
capabilities.



Re: Thinkpad ACPI support

2013-09-22 Thread Riccardo Mottola

Hi,

Alexey E. Suslikov wrote:

Riccardo Mottola riccardo.mottola at libero.it writes:


apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured

boot -c and disable apm

Thanks guys for the replies. I tried that. At exit I got a big fat 
kernel panic as soon as I exit!


I took real screenshots, which I do share here:

1) just right after the kernel panic
http://picpaste.com/1-XOVfQWCP.jpg

2) trace
http://picpaste.com/2-WhPiXnEi.jpg

3) the end of trace and ps
http://picpaste.com/3-LiM3DZGO.jpg


Thank you,
   Riccardo



Re: update my box and Cinnamon avaible

2013-09-22 Thread Brett Mahar
On 09/23/13 07:34, Marc Espie wrote:
 On Sun, Sep 22, 2013 at 03:28:24PM -0600, Anthony J. Bentley wrote:
 There are some tools in the ports tree, like ports-readmes, that fulfill
 the same purpose but make use of the infrastructure to do a better job.
 http://ports.su/ is based on this.
 ports-readme-dancer packages it all as a simple app you can run
 to have a local webserver with the same information, and query
 capabilities.

I didn't know about that site or the ports-readme-dancer package, so 
thanks for the info.

Brett.



Re: update my box and Cinnamon avaible

2013-09-22 Thread Rod Whitworth
On Sun, 22 Sep 2013 23:34:15 +0200, Marc Espie wrote:

On Sun, Sep 22, 2013 at 03:28:24PM -0600, Anthony J. Bentley wrote:
 There are some tools in the ports tree, like ports-readmes, that fulfill
 the same purpose but make use of the infrastructure to do a better job.
 http://ports.su/ is based on this.

ports-readme-dancer packages it all as a simple app you can run
to have a local webserver with the same information, and query
capabilities.



s/readme/readmes/  ??

R/

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: update my box and Cinnamon avaible

2013-09-22 Thread Marc Espie
On Mon, Sep 23, 2013 at 01:31:21PM +1000, Rod Whitworth wrote:
 On Sun, 22 Sep 2013 23:34:15 +0200, Marc Espie wrote:
 
 On Sun, Sep 22, 2013 at 03:28:24PM -0600, Anthony J. Bentley wrote:
  There are some tools in the ports tree, like ports-readmes, that fulfill
  the same purpose but make use of the infrastructure to do a better job.
  http://ports.su/ is based on this.
 
 ports-readme-dancer packages it all as a simple app you can run
 to have a local webserver with the same information, and query
 capabilities.
 
 
 
 s/readme/readmes/  ??
Yep, of course.
ports-readmes-dancer