Re: Request to OpenBSD Dev's - Beer on offer

2013-10-30 Thread Andy

On 29/10/13 18:29, rivo nurges wrote:

Hi!


Would any of the esteemed OpenBSD developers be interested in adding
support for BFD (Bidirectional Forward Detection) to OpenBSD.

I'v had plan to do it for ages. If noone beats me, I'll start coding
soon.



Great! We'll send you a big selection of fancy beers and/or champagne 
for your time.
Let me know how you get on and I can help test it. I'm sure there are 
many others here who would also be happy to help test.


And let me know if there is anything you want in the mean time, maybe 
some fancy hot chocolate/coffee to keep you going now the cold months 
are here.. :)


Cheers, Andy.



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Andy
Yea its 24.. Would even be happy to offer some champers..

I think this is more of a Maudite crowd.. Connoisseurs on here...

As I understand it you would need to write a small daemon to do the BFD 
state monitoring for the transmission and reception of the heartbeats 
with various peers. The protocol is fairly simple so for an experienced 
dev this should be easy.

Then in OpenBGPD you would need to have a way of gracefully and 
forcefully immediately shutting down the BGP neighbor that matches the 
BFD peer. This could be achieved by simply having the BFD daemon call 
'bgpctl neighbor $bfdpeer down'

It is not so important for OSPF as that already has fast convergence 
time with fast hello's etc.. But for BGP this would make a world of 
difference to remove the BGP routes immediately (in less than a second) 
as soon as the BGP neighbor goes down/becomes unreachable (even if not a 
direct link (multi-hop etc)).


On 28/10/13 21:10, Dan Farrell wrote:
 I'm not sure how much a crate is, but if it's a case (24 bottles), 
 then I'll throw in a case as well for this work.
 Blanche de Chambly, anyone? Or is this more a Maudite crowd?


 Sincerely,

 Dan Farrell


 On Mon, Oct 28, 2013 at 12:54 PM, Andy a...@brandwatch.com 
 mailto:a...@brandwatch.com wrote:

 Hi all,

 Would any of the esteemed OpenBSD developers be interested in
 adding support for BFD (Bidirectional Forward Detection) to OpenBSD.

 The protocol itself seems pretty simple and provides a sub-second
 keep-alive mechanism to monitor links for routes. E.g. Upon BFD
 failure BGP or OSPF can be torn down etc thus allowing for
 sub-second re-convergence of i/eBGP!

 I can only offer a crate of beer to anyone who has the skills and
 is willing :)

 '+1's welcome from others who would be interested to show signs of
 support/interest..

 Cheers, Andy.



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Andy

Code snippets can be seen on;

http://sourceforge.net/projects/kbfd/
http://sourceforge.net/projects/bfdd/

Editing these to compile and work on OpenBSD and run 'bgpctl neighbor 
$bfdpeer down' etc is beyond my skills..


Thanks for reading, Andy.

On Tue 29 Oct 2013 11:16:20 GMT, Andy wrote:

Yea its 24.. Would even be happy to offer some champers..

I think this is more of a Maudite crowd.. Connoisseurs on here...

As I understand it you would need to write a small daemon to do the BFD
state monitoring for the transmission and reception of the heartbeats
with various peers. The protocol is fairly simple so for an experienced
dev this should be easy.

Then in OpenBGPD you would need to have a way of gracefully and
forcefully immediately shutting down the BGP neighbor that matches the
BFD peer. This could be achieved by simply having the BFD daemon call
'bgpctl neighbor $bfdpeer down'

It is not so important for OSPF as that already has fast convergence
time with fast hello's etc.. But for BGP this would make a world of
difference to remove the BGP routes immediately (in less than a second)
as soon as the BGP neighbor goes down/becomes unreachable (even if not a
direct link (multi-hop etc)).


On 28/10/13 21:10, Dan Farrell wrote:

I'm not sure how much a crate is, but if it's a case (24 bottles),
then I'll throw in a case as well for this work.
Blanche de Chambly, anyone? Or is this more a Maudite crowd?


Sincerely,

Dan Farrell


On Mon, Oct 28, 2013 at 12:54 PM, Andy a...@brandwatch.com
mailto:a...@brandwatch.com wrote:

 Hi all,

 Would any of the esteemed OpenBSD developers be interested in
 adding support for BFD (Bidirectional Forward Detection) to OpenBSD.

 The protocol itself seems pretty simple and provides a sub-second
 keep-alive mechanism to monitor links for routes. E.g. Upon BFD
 failure BGP or OSPF can be torn down etc thus allowing for
 sub-second re-convergence of i/eBGP!

 I can only offer a crate of beer to anyone who has the skills and
 is willing :)

 '+1's welcome from others who would be interested to show signs of
 support/interest..

 Cheers, Andy.




Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Artturi Alm

On 10/29/13 13:45, Andy wrote:

Code snippets can be seen on;

http://sourceforge.net/projects/kbfd/
http://sourceforge.net/projects/bfdd/

Editing these to compile and work on OpenBSD and run 'bgpctl neighbor
$bfdpeer down' etc is beyond my skills..



No editing will make the license work in OpenBSD kernel, i think.

-Artturi


Thanks for reading, Andy.

On Tue 29 Oct 2013 11:16:20 GMT, Andy wrote:

Yea its 24.. Would even be happy to offer some champers..

I think this is more of a Maudite crowd.. Connoisseurs on here...

As I understand it you would need to write a small daemon to do the BFD
state monitoring for the transmission and reception of the heartbeats
with various peers. The protocol is fairly simple so for an experienced
dev this should be easy.

Then in OpenBGPD you would need to have a way of gracefully and
forcefully immediately shutting down the BGP neighbor that matches the
BFD peer. This could be achieved by simply having the BFD daemon call
'bgpctl neighbor $bfdpeer down'

It is not so important for OSPF as that already has fast convergence
time with fast hello's etc.. But for BGP this would make a world of
difference to remove the BGP routes immediately (in less than a second)
as soon as the BGP neighbor goes down/becomes unreachable (even if not a
direct link (multi-hop etc)).


On 28/10/13 21:10, Dan Farrell wrote:

I'm not sure how much a crate is, but if it's a case (24 bottles),
then I'll throw in a case as well for this work.
Blanche de Chambly, anyone? Or is this more a Maudite crowd?


Sincerely,

Dan Farrell


On Mon, Oct 28, 2013 at 12:54 PM, Andy a...@brandwatch.com
mailto:a...@brandwatch.com wrote:

 Hi all,

 Would any of the esteemed OpenBSD developers be interested in
 adding support for BFD (Bidirectional Forward Detection) to
OpenBSD.

 The protocol itself seems pretty simple and provides a sub-second
 keep-alive mechanism to monitor links for routes. E.g. Upon BFD
 failure BGP or OSPF can be torn down etc thus allowing for
 sub-second re-convergence of i/eBGP!

 I can only offer a crate of beer to anyone who has the skills and
 is willing :)

 '+1's welcome from others who would be interested to show signs of
 support/interest..

 Cheers, Andy.




Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Adam Thompson

On 13-10-28 11:54 AM, Andy wrote:
Would any of the esteemed OpenBSD developers be interested in adding 
support for BFD (Bidirectional Forward Detection) to OpenBSD.

[...]
'+1's welcome from others who would be interested to show signs of 
support/interest..


I can only agree, BFD support would be a very nice thing to have, 
considering that in other ways OpenBSD is already a very capable 
router.  I'm not in a position right now to pay someone properly to 
implement it, but I can sustain the cost of another case or three of beer.


--
-Adam Thompson
 athom...@athompso.net



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Andy

On Tue 29 Oct 2013 14:55:05 GMT, Adam Thompson wrote:

On 13-10-28 11:54 AM, Andy wrote:

Would any of the esteemed OpenBSD developers be interested in adding
support for BFD (Bidirectional Forward Detection) to OpenBSD.
[...]
'+1's welcome from others who would be interested to show signs of
support/interest..


I can only agree, BFD support would be a very nice thing to have,
considering that in other ways OpenBSD is already a very capable
router.  I'm not in a position right now to pay someone properly to
implement it, but I can sustain the cost of another case or three of
beer.



Amazing!

So we just need to find an alcoholic developer and we're on our way ;) 
Could maybe send some caffeine and pro plus in the mean time ..




Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread sven falempin
So this is an ICMP ping with some authentification (on the gateway of a
route) ??

Why is this not overkill ?


On Tue, Oct 29, 2013 at 11:01 AM, Andy a...@brandwatch.com wrote:

 On Tue 29 Oct 2013 14:55:05 GMT, Adam Thompson wrote:

 On 13-10-28 11:54 AM, Andy wrote:

 Would any of the esteemed OpenBSD developers be interested in adding
 support for BFD (Bidirectional Forward Detection) to OpenBSD.
 [...]
 '+1's welcome from others who would be interested to show signs of
 support/interest..


 I can only agree, BFD support would be a very nice thing to have,
 considering that in other ways OpenBSD is already a very capable
 router.  I'm not in a position right now to pay someone properly to
 implement it, but I can sustain the cost of another case or three of
 beer.


 Amazing!

 So we just need to find an alcoholic developer and we're on our way ;)
 Could maybe send some caffeine and pro plus in the mean time ..




-- 
-
() ascii ribbon campaign - against html e-mail
/\



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Adam Thompson

On 13-10-29 10:01 AM, Andy wrote:

Amazing!

So we just need to find an alcoholic developer and we're on our way ;) 
Could maybe send some caffeine and pro plus in the mean time ..


Are there any OpenBSD developers who don't like beer and/or caffeine?

Mind you, many of them are getting as old as I am, so large quantities 
of beer and caffeine may no longer be ideal.


--
-Adam Thompson
 athom...@athompso.net



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Andy
No this is more than ping..

In essence it is, but is standardised and is supported on many vendors 
equipment including Cisco and Juniper etc as used by all our Transit 
providers..

It means that not only do we remove our BGP routes, but it means that 
our carriers also remove the routes for our ASN immediately allowing 
inbound traffic destined for us to be instantly rerouted via another one 
of the redundant Transit links for example instead of waiting a /long/ 
time for BGP..

http://en.wikipedia.org/wiki/Bidirectional_Forwarding_Detection


On 29/10/13 15:05, sven falempin wrote:
 So this is an ICMP ping with some authentification (on the gateway of a
 route) ??

 Why is this not overkill ?


 On Tue, Oct 29, 2013 at 11:01 AM, Andy a...@brandwatch.com wrote:

 On Tue 29 Oct 2013 14:55:05 GMT, Adam Thompson wrote:

 On 13-10-28 11:54 AM, Andy wrote:

 Would any of the esteemed OpenBSD developers be interested in adding
 support for BFD (Bidirectional Forward Detection) to OpenBSD.
 [...]
 '+1's welcome from others who would be interested to show signs of
 support/interest..

 I can only agree, BFD support would be a very nice thing to have,
 considering that in other ways OpenBSD is already a very capable
 router.  I'm not in a position right now to pay someone properly to
 implement it, but I can sustain the cost of another case or three of
 beer.


 Amazing!

 So we just need to find an alcoholic developer and we're on our way ;)
 Could maybe send some caffeine and pro plus in the mean time ..



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Gregory Edigarov

On 10/28/2013 06:54 PM, Andy wrote:

Hi all,

Would any of the esteemed OpenBSD developers be interested in adding support 
for BFD (Bidirectional Forward Detection) to OpenBSD.

The protocol itself seems pretty simple and provides a sub-second keep-alive 
mechanism to monitor links for routes. E.g. Upon BFD failure BGP or OSPF can be 
torn down etc thus allowing for sub-second re-convergence of i/eBGP!

I can only offer a crate of beer to anyone who has the skills and is willing :)

'+1's welcome from others who would be interested to show signs of 
support/interest..


I still don't see how is this different from ifstated?
You can use it to ping your neighbour then issue bgpctl neighbor 
$your_fallen_neighbour down command.


--
With best regards,
 Gregory Edigarov



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Peter Hessler
On 2013 Oct 29 (Tue) at 17:44:51 +0200 (+0200), Gregory Edigarov wrote:
:On 10/28/2013 06:54 PM, Andy wrote:
:Hi all,
:
:Would any of the esteemed OpenBSD developers be interested in adding support 
for BFD (Bidirectional Forward Detection) to OpenBSD.
:
:The protocol itself seems pretty simple and provides a sub-second keep-alive 
mechanism to monitor links for routes. E.g. Upon BFD failure BGP or OSPF can be 
torn down etc thus allowing for sub-second re-convergence of i/eBGP!
:
:I can only offer a crate of beer to anyone who has the skills and is willing 
:)
:
:'+1's welcome from others who would be interested to show signs of 
support/interest..
:
:I still don't see how is this different from ifstated?
:You can use it to ping your neighbour then issue bgpctl neighbor 
$your_fallen_neighbour down command.
:
:
:-- 
:With best regards,
: Gregory Edigarov
:

A) It's at the router level
B) *they* also run it
C) This is at ultra-tiny MS resolution
D) Somebody got paid a bonus for the RFC


-- 
A little inaccuracy sometimes saves tons of explanation.
-- H. H. Munroe, Saki



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Antoine Jacoutot
On Tue, Oct 29, 2013 at 10:15:38AM -0500, Adam Thompson wrote:
 Are there any OpenBSD developers who don't like beer and/or caffeine?

You can try bananas, but only monkeys will step up.

-- 
Antoine



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread David Coppa
On Tue, Oct 29, 2013 at 4:53 PM, Antoine Jacoutot ajacou...@bsdfrog.org wrote:
 On Tue, Oct 29, 2013 at 10:15:38AM -0500, Adam Thompson wrote:
 Are there any OpenBSD developers who don't like beer and/or caffeine?

 You can try bananas, but only monkeys will step up.

masturbating monkeys.



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Claudio Jeker
On Tue, Oct 29, 2013 at 11:16:20AM +, Andy wrote:
 Yea its 24.. Would even be happy to offer some champers..
 
 I think this is more of a Maudite crowd.. Connoisseurs on here...
 
 As I understand it you would need to write a small daemon to do the BFD 
 state monitoring for the transmission and reception of the heartbeats 
 with various peers. The protocol is fairly simple so for an experienced 
 dev this should be easy.
 
 Then in OpenBGPD you would need to have a way of gracefully and 
 forcefully immediately shutting down the BGP neighbor that matches the 
 BFD peer. This could be achieved by simply having the BFD daemon call 
 'bgpctl neighbor $bfdpeer down'
 
 It is not so important for OSPF as that already has fast convergence 
 time with fast hello's etc.. But for BGP this would make a world of 
 difference to remove the BGP routes immediately (in less than a second) 
 as soon as the BGP neighbor goes down/becomes unreachable (even if not a 
 direct link (multi-hop etc)).
 

BFD should be in kernel and it should change the linkstate like the GRE
keepalive protocol does. Everything else is pretty much madness and
somewhat impossible to do.

PS: I think a I have a tree somewhere hiding with some bits added but I
never cared enough to move one. So no beer for me (even though I'm just
getting free belgium beer). 
-- 
:wq Claudio

 On 28/10/13 21:10, Dan Farrell wrote:
  I'm not sure how much a crate is, but if it's a case (24 bottles), 
  then I'll throw in a case as well for this work.
  Blanche de Chambly, anyone? Or is this more a Maudite crowd?
 
 
  Sincerely,
 
  Dan Farrell
 
 
  On Mon, Oct 28, 2013 at 12:54 PM, Andy a...@brandwatch.com 
  mailto:a...@brandwatch.com wrote:
 
  Hi all,
 
  Would any of the esteemed OpenBSD developers be interested in
  adding support for BFD (Bidirectional Forward Detection) to OpenBSD.
 
  The protocol itself seems pretty simple and provides a sub-second
  keep-alive mechanism to monitor links for routes. E.g. Upon BFD
  failure BGP or OSPF can be torn down etc thus allowing for
  sub-second re-convergence of i/eBGP!
 
  I can only offer a crate of beer to anyone who has the skills and
  is willing :)
 
  '+1's welcome from others who would be interested to show signs of
  support/interest..
 
  Cheers, Andy.



Re: Request to OpenBSD Dev's - Beer on offer

2013-10-29 Thread Kenneth R Westerback
On Tue, Oct 29, 2013 at 03:01:22PM +, Andy wrote:
 On Tue 29 Oct 2013 14:55:05 GMT, Adam Thompson wrote:
 On 13-10-28 11:54 AM, Andy wrote:
 Would any of the esteemed OpenBSD developers be interested in adding
 support for BFD (Bidirectional Forward Detection) to OpenBSD.
 [...]
 '+1's welcome from others who would be interested to show signs of
 support/interest..
 
 I can only agree, BFD support would be a very nice thing to have,
 considering that in other ways OpenBSD is already a very capable
 router.  I'm not in a position right now to pay someone properly to
 implement it, but I can sustain the cost of another case or three of
 beer.
 
 
 Amazing!
 
 So we just need to find an alcoholic developer and we're on our way
 ;) Could maybe send some caffeine and pro plus in the mean time ..
 

Finding an alcoholic developer is not a challenge. :-)

 Ken