Re: Re : Re: Improve routing functions

2013-11-05 Thread Adam Thompson
On 13-11-05 10:12 AM, Adam Thompson wrote: I can do doc changes, but I think you really, *really* don't want me writing much C code... I can perhaps do some of the initial, trivial, legwork, at best. Now, if bgpd(8) were written in Bourne/Korn shell, I'd be the guy to do this! I recall now t

Re: Re : Re: Improve routing functions

2013-11-05 Thread Adam Thompson
On 13-11-04 05:09 PM, Claudio Jeker wrote: On Mon, Nov 04, 2013 at 10:36:39AM -0600, Adam Thompson wrote: The change I think we're both asking for is that in .../usr/sbin/bgpd/kroute.c, on line 505 (5.4-RELEASE), where we see "kr->r.priority = RTP_BGP;", we need a way to override that value in

Re: Re : Re: Improve routing functions

2013-11-04 Thread Claudio Jeker
On Mon, Nov 04, 2013 at 10:36:39AM -0600, Adam Thompson wrote: > On 13-11-03 02:27 PM, Loïc BLOT wrote: > >then to explain my draft here is my own configuration, and why it could > >be useful to set custom priorities: > >[...] > >Without the possibility to change the priorities (and dynamically is

Re: Re : Re: Improve routing functions

2013-11-04 Thread Adam Thompson
On 13-11-03 02:27 PM, Loïc BLOT wrote: then to explain my draft here is my own configuration, and why it could be useful to set custom priorities: [...] Without the possibility to change the priorities (and dynamically is better than recompile the kernel and change constant values, it would be a

Re: Re : Re: Improve routing functions

2013-11-03 Thread Loïc BLOT
Hi, then to explain my draft here is my own configuration, and why it could be useful to set custom priorities: OSPF Scheme: | - RT1 - | | - RT3 WAN | | OSPF AREA | | - RT2 - | | - RT4 RIP Scheme: | - RT1 - | WAN | | RIP AREA | - CISCO 45XX

Re : Re: Improve routing functions

2013-11-03 Thread Loïc Blot
Hello, that's powerful but my improvement isn't for this use. It's only an improvement to route packets correctly, not dispatch charge. I'll give you a concrete example this evening. Loïc Blot, Ingénieur systèmes UNIX, Sécurité et Réseaux http://www.unix-experience.fr Stuart Henderson a écri

Re: Improve routing functions

2013-11-03 Thread Stuart Henderson
On 2013/11/01 19:57, sven falempin wrote: > FreeBSD propose to have a specific routing table for a process, which is > even more powerful. > When the router has multiple gateway i guess when a source address is > choose the route should be chosen given that. Nothing more. > > What use of this <> d

Re : Re: Improve routing functions

2013-11-02 Thread Loïc Blot
Can you explain me what's the problem with m'y configuration ? I don't see what is the problem. Loïc Blot, Ingénieur systèmes UNIX, Sécurité et Réseaux http://www.unix-experience.fr Chris Cappuccio a écrit : >Lo?c BLOT [loic.b...@unix-experience.fr] wrote: >> Hello sven, >> it's not a routing

Re: Improve routing functions

2013-11-01 Thread Chris Cappuccio
Lo?c BLOT [loic.b...@unix-experience.fr] wrote: > Hello sven, > it's not a routing table problem, it's only a modification on route > priorities, it's not the same thing. The two of you are solving totally different problems. > Here is my example at work: > > I have BGP on the WAN, OSPF for my L

Re: Improve routing functions

2013-11-01 Thread Loïc BLOT
Hello sven, it's not a routing table problem, it's only a modification on route priorities, it's not the same thing. Here is my example at work: I have BGP on the WAN, OSPF for my LAN (+ over GRE tunnels) and RIP to my CISCO catalyst 45XX. The problem is simple. I have two routers in this configu

Re: Improve routing functions

2013-11-01 Thread sven falempin
FreeBSD propose to have a specific routing table for a process, which is even more powerful. When the router has multiple gateway i guess when a source address is choose the route should be chosen given that. Nothing more. What use of this <> do you imagine ?, of course you may want this traffic o

Improve routing functions

2013-11-01 Thread Loïc BLOT
Hello @tech Congratulations for the 5.4 release. I want to explain a draft to improve a little routing administration on OpenBSD, maybe for 5.5. There is a lack on routing daemon, the possibility to change routing priorities for some protocols. At this time routing priority is a dedicated constan