problem installing bird 2.0.1

2018-03-05 Thread Mattia Milani
Hello, i'm trying to istall bird 2.0.1 from github source code, but i found some problems. command ./configure exited correctly with no problem. command make exited with a lot of warinings but without error. command make install exited with this: /usr/bin/install -c -d //usr/local/sbin //usr/loca

Bgp 4 peer problems, 2 peer stay in connect

2018-03-06 Thread Mattia Milani
Hello everyone, I'm writing you because i have a problem with the implementation of BGP on 4 peer in 4 different AS in line. I use bird 2.0.1, and the four peer is virtualized on my pc The 4 peer is in this form AS2 AS4 AS3 AS1 H0 -

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-07 Thread Mattia Milani
yeah they are a /8, so bird doesn't support /8? now i'll try to modify them. but sorry, why bird doesn't support /8? 2018-03-07 16:40 GMT+01:00 Ondrej Zajicek : > On Tue, Mar 06, 2018 at 05:49:02PM +0100, Mattia Milani wrote: > > Hello everyone, I'm writing you beca

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-07 Thread Mattia Milani
and sorry there is a way to specify the interface? if I use "interface *;" (replace star with the host interface to use for the BGP protocol conf) it give me the message that there is an error in the line of interface spec. 2018-03-07 16:45 GMT+01:00 Mattia Milani : > yeah

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-07 Thread Mattia Milani
the same network address so do you mean that every bgp session between two peer need to have different network address? 2018-03-07 17:01 GMT+01:00 Ondrej Zajicek : > On Wed, Mar 07, 2018 at 04:45:55PM +0100, Mattia Milani wrote: > > yeah they are a /8, so bird doesn't support /8? &g

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-07 Thread Mattia Milani
tly-connected L2 network. > > To have BGP working, you need to have basic L3 connectivity working - > that means, you must be able to ping each host (and this will not work > in your setup). It's not a problem with Bird. > > With regards, > Daniel > > > On 03/07/20

BGP bird implement some exterior split horizon process?

2018-03-08 Thread Mattia Milani
Hello everyone. I wnant to make a question reguarding BGP in particular EBGP, and how message update send is applied on bird. My bird version is 2.0.1. My Configuration have 3 peer virtualized on my pc with bird running three configuration for BGP The configuration is the following: H0.eth1 is

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-08 Thread Mattia Milani
i had put every link on a /30 so the session between two peer have a different network address for every link. Thanks a lot for the help :) 2018-03-07 18:23 GMT+01:00 Mattia Milani : > yeah that's right i can't ping H2 from H0 but H0 know only H1 it didn't > try to reach H2

[BGP] add atribute explanation

2018-03-14 Thread Mattia Milani
Hello all, i want to add an atribute to bgp protocol in the update message. i already added it to the file attrs.c in bgp_attr_table[]. now i want to add this atribute to update message before send it, i read the documentation and i follow the code from the function bgp_encode_attr where it use t

Re: BGP.as_path parameter with '{' or '}'

2018-03-19 Thread Mattia Milani
Hi, But Alexander route aggregation is marked like "future work" on the guide for version 1.6.3 and version 2.0, so how it's possible to have aggregation? Mattia 2018-03-19 13:15 GMT+01:00 Alexander Zubkov : > Hi, > > Looks like result of agregation. > > On Mon, Mar 19, 2018 at 12:12 PM, Kittin

Can't Log information about a double

2018-03-30 Thread Mattia Milani
Hello all, I'm trying to log some information during the bird process execution. I'm doing it in the bgp section. I used the command: log(L_INFO "** some text **"); with success, i added to the log some information about an integer variable with success, here it is the code: int a = 5; log(L_I

Re: Can't Log information about a double

2018-04-02 Thread Mattia Milani
e I can find it tomorrow. > > Maria > > Quidquid latine dictum sit, altum videtur. > > -Original Message- > From: Mattia Milani > To: BIRD Users > Sent: Fri, 30 Mar 2018 6:32 PM > Subject: Can't Log information about a double > > Hello all, > > I

Re: Can't Log information about a double

2018-04-03 Thread Mattia Milani
I didn't find any branch with "flowspec" in the name :( did you find something? Mattia Il lun 2 apr 2018, 20:23 Mattia Milani ha scritto: > I'll check me to tomorrow on git for sone branch with "flowspec" but if > you can check tomorrow and give me som

Re: Can't Log information about a double

2018-04-04 Thread Mattia Milani
misleading hints. > M. > > On 04/03/2018 05:54 PM, Mattia Milani wrote: > > I didn't find any branch with "flowspec" in the name :( did you find > something? > > > > Mattia > > > > Il lun 2 apr 2018, 20:23 Mattia Milani <mailto:mattia.mil.

Re: Can't Log information about a double

2018-04-04 Thread Mattia Milani
2018-04-04 10:53 GMT+02:00 Mattia Milani : > Don't worry, no problem for misleading. > > since i'm working on a modification of bgp from the version 2.0.1 and i > would not import unstable code could you tell me the only part to merge > with my branch to have the print

BGP manage advertisement

2018-05-09 Thread Mattia Milani
Hello all, Sorry but searching on the wiki i didn't find anyting about that. My question is, bird implements the MRAI minimum rout adverisement interval timer? what in the RFC 4271 is called "MinRouteAdverisementIntervalTimer" you can see it on section 9.2.1.1, page 85. There is a version of bird t

Re: BGP manage advertisement

2018-05-09 Thread Mattia Milani
And you have a plane to inculude it in the next release? Il mer 9 mag 2018, 15:22 Ondrej Zajicek ha scritto: > On Wed, May 09, 2018 at 01:09:48PM +0200, Mattia Milani wrote: > > Hello all, > > Sorry but searching on the wiki i didn't find anyting about that. > > My qu

Re: BGP manage advertisement

2018-05-09 Thread Mattia Milani
d where appear the word "MRAI", could you please explain what do you want to notice me? thanks, Mattia 2018-05-09 15:41 GMT+02:00 Job Snijders : > Dear Mattia, > > On Wed, May 9, 2018 at 3:24 PM, Mattia Milani > wrote: > > And you have a plane to inculude it in the next

Re: BGP manage advertisement

2018-05-09 Thread Mattia Milani
> No. Perhaps sometimes in the future, but no definite plan. > yeah but on your site, http://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.3 that is the user's guide 2.0, there is this written: Supported standards - RFC 4271 - Border Gateway Prot

Re: BGP manage advertisement

2018-05-09 Thread Mattia Milani
> Or perhaps not wait for MRAI timers to collapse, and just immediately > process & propagate any changes as they come in? If you want to reduce > convergence timing, is it helpful to hold back communicating state > changes to your neighbors? > you didn't think that this is a waste of packets? if

Re: BGP manage advertisement

2018-05-09 Thread Mattia Milani
> > This is an open source project, it depends on the efforts and > contributions the BIRD community. > Yeah i know it but for @admin, for future users it could be helpful to write on the site what of the standards is supported and what is not support Thanks, Mattia >

Re: BGP manage advertisement

2018-05-09 Thread Mattia Milani
> > Yes, there are some minor deviations from RFCs like in this case. > It is true that we should explicitly document them. > It will be so appreciated from users and future users. Thanks, Mattia >

reading direct route

2018-05-14 Thread Mattia Milani
Hello all, i'm having a little problem, (Probabily is somthing so stupid) but i can't find the solution. I have this conf file: log "logTwo.log" all; router id 10.0.2.15; protocol kernel { metric 0; ipv4{ import all; export all; }; } protocol device { } protocol direct { in

Re: reading direct route

2018-05-14 Thread Mattia Milani
k. > > protocol direct { > > > > ipv4 { > > > > import all; > > > > export none; > > > > }; > > > > ipv6 { > > > > import all; > > > > export none; > > > > }; &g

BGP problem to expire holdtimer

2018-05-17 Thread Mattia Milani
Hello all, i'm writing hear because i have a problem with some simulation that i'm making, the simulation is on my laptop with VM. I'm focusing on the hold timer expiration, i want to make this timer expire and see the differences. This is my topology: H1---H2H3H4H5 H1 and H5 are the

Re: BGP problem to expire holdtimer

2018-05-17 Thread Mattia Milani
> Have you looked into the logs? There should be written why these processes > are also down. Or you should somewhere collect their status to see whether > they ended correctly or failed somehow. > > Maria > yeah, i had looked into the logs but I diddn't see anything strange, here is the last part

Re: BGP problem to expire holdtimer

2018-05-17 Thread Mattia Milani
> They may also have crashed (which would be bad). Try running the Birds in > debug mode (don't remember the flag, see bird --help) and collecting their > exit value. > I used the command bird -c *confFile* -s *socketFile* -D *debugFile* in the conf file I inserted: debug protocols all; debug com

Re: BGP problem to expire holdtimer

2018-05-17 Thread Mattia Milani
24 unicast 2018-05-17 16:26:38.462 h2_2_h3_3: Sending NOTIFICATION(code=6.0) 2018-05-17 16:26:38.463 h2_2_h1_1: Sending UPDATE 2018-05-17 16:26:38.463 h2_2_h3_3: Down it learn istantly that the link now is down, how can i do this without losing the link? Mattia 2018-05-17 15:58 GMT+02:0

Re: BGP problem to expire holdtimer

2018-05-17 Thread Mattia Milani
The same way as making any other tcp session disconnect immediately. You > may try iptables or dropping the link in your virtual hypervisor or > whatever else is applicable to your config. > > Maria > i've used the "tc" command to insert a delay/loss rate on the interface so now it works. for the

For developer, required some explanation on code with timer and BGP

2018-07-05 Thread Mattia Milani
Hello all, this is a message for developer and who know how bird use timer, and buffer. Sorry for the length of this mail. For first, the protocol i want to modify and upgrade is BGP, i see that there isn't the timer MRAI implemented and it will be useful for some studies on information propagatio

Re: For developer, required some explanation on code with timer and BGP

2018-07-05 Thread Mattia Milani
> > If you want to implement per-conn MRAI timer, you should not do that on > level of *_tx() functions (as they handle all packets), but one level > before that - you could enforce MRAI intervals between update-scheduled > and update-not-scheduled states. Update-scheduled state starts when bgp_rt

Log length problem

2018-09-22 Thread Mattia Milani
Hello everyone, I'm writing you because I recognize a strange problem when i log something, and I don't know if it is a bug or something wanted to work in this way. For a project i need to log some complex information, so i create a string with the info that I need and after that i log it with the

Problems while experimenting some new features in BGP

2018-12-12 Thread Mattia Milani
Hello all, I'm experimenting some new features in BGP but I'm stuck in a problem that I can't reach the solution. I want to trigger a Route Refresh every time after an update some constraints are violated. I thought that the right place to do that is inside this function: static void bgp_rx_upda

BGP developer question for implementing future feature

2018-12-17 Thread Mattia Milani
Hello, I'm implementing a strange feature for a research. Protocol: BGP Bird version: 2.0.1 I would like to send an UPDATE message after received one that didn't update the RT (with some other constraints to avoid continuous UPDATE sending), but I'm stocked. I would like to do it at the end of t

BGP update schedule problem

2019-01-30 Thread Mattia Milani
Hello all, I don't know if anyone can help me but this is my problem: I want to trigger an UPDATE message in some situations, so I inserted a: bgp_schedule_packet(pr->conn, ch, PKT_UPDATE); In the point that I want to schedule it, pr->conn and ch refer to the correct connection and channel where

Re: BGP update schedule problem

2019-02-03 Thread Mattia Milani
up Il giorno mer 30 gen 2019 alle ore 23:34 Mattia Milani < mattia.mil...@studenti.unitn.it> ha scritto: > Hello all, I don't know if anyone can help me but this is my problem: > > I want to trigger an UPDATE message in some situations, so I inserted a: > > bgp_sc

Re: BGP update schedule problem

2019-02-04 Thread Mattia Milani
Up Il giorno dom 3 feb 2019, 11:11 Mattia Milani < mattia.mil...@studenti.unitn.it> ha scritto: > up > > Il giorno mer 30 gen 2019 alle ore 23:34 Mattia Milani < > mattia.mil...@studenti.unitn.it> ha scritto: > >> Hello all, I don't know if anyone can help m

Re: BGP update schedule problem

2019-02-04 Thread Mattia Milani
I'm sorry, I won't do it again, Anyway, I solved my problem, thanks anyway. Mattia Il giorno lun 4 feb 2019 alle ore 09:44 Igor Podlesny ha scritto: > down. get him down off the list for repetitive violation of mail lists > ethic. > > On Mon, 4 Feb 2019 at 15:24, Mattia

Re: For developer, required some explanation on code with timer and BGP

2019-04-06 Thread Mattia Milani
> The even better and correct way would be to implement it one more level > before > when prefixes (in struct bgp_prefix) are dispatched for struct bgp_bucket. > There could be timestamps in struct bgp_prefix, separate queue for > bgp_buckets that contain only postponed bgp_prefixes, and list of re

Configuration help to split the knowledge

2019-06-28 Thread Mattia Milani
ame with little differences in addresses and in the export, where proto = "h_0_h_1". I don't think this is the correct way to handle this situation, could you please suggest any other configurations? Thanks a lot for the help, Mattia -- Mattia Milani

Re: Configuration help to split the knowledge

2019-06-29 Thread Mattia Milani
with "asn" like parameter of the function I got a syntax error. Solved swapping "asn" with another name. Thanks, Mattia Il giorno ven 28 giu 2019 alle ore 18:42 Mattia Milani < mattia.mil...@studenti.unitn.it> ha scritto: > Hello bird community, I have a little pro

Re: Configuration help to split the knowledge

2019-07-01 Thread mattia . milani
repository, > https://gitlab.labs.nic.cz/labs/bird.wiki.git > … or if you are going to draw the figures, also a pull request is OK in this > case. > > Thanks! > Maria > >> On 6/29/19 4:48 PM, Mattia Milani wrote: >> Solved adapting the configuration help found at the followi

Re: Configuration help to split the knowledge

2019-07-02 Thread Mattia Milani
d changes as a patch > > for the appropripate git repository, > https://gitlab.labs.nic.cz/labs/bird.wiki.git > > … or if you are going to draw the figures, also a pull request is OK in > this case. > > > > Thanks! > > Maria > > > >> On 6/29/19 4:48 PM, Mattia Mila

implementation proposal form MRAI

2019-07-07 Thread Mattia Milani
st on the triggered send at the timer expiration, how can I trigger a "*bgp_update_process*"? And what do you think about this way to implement a peer-based MRAI? Obviously, the MRAI timer will be set with a parameter in the conf file. Thanks all, best regards Mattia Milani

Bgp_local_pref path depending

2019-09-20 Thread mattia . milani
Hello all, I’m writing this email because i was trying to create an input filter for my daemon. Protocol: BGP I would like to evaluate an input path and change the bgp preference if the path correspond to a certain path. I configured a default bgp_local_pref with the command: default bgp_local_

Re: Bgp_local_pref path depending

2019-09-20 Thread mattia . milani
> Il giorno 20 set 2019, alle ore 16:06, Ondrej Zajicek > ha scritto: > > On Fri, Sep 20, 2019 at 03:09:38PM +0200, mattia.mil...@studenti.unitn.it > wrote: >> Hello all, I’m writing this email because i was trying to create an input >> filter for my daemon. >> >> Protocol: BGP >> I would

BGP repropagation practices on not well known attributes

2020-02-27 Thread Mattia Milani
Hello bird users, I'm sorry to bother you but I have a question about the implementation of a piece of the RFC 4271 that I found a little bit fuzzy. I'm in a eBGP situation and suppose that I have more connections with other different AS peers. Giving the fact that my import and export filters

Re: BGP repropagation practices on not well known attributes

2020-02-28 Thread Mattia Milani
First, handling of optional attributes depends on whether you knows them, not on whether a peer knows them. Unknown optional transitive attributes are re-propagated, but with set 'partial' flag. For details, see bgp_export_attr() function. Thanks for the answer I really appreciate it. Yeah for

Re: BGP between VMs

2020-03-19 Thread mattia . milani
Hello, I confirm, it’s possible and to do it you must put the two VM interfaces in the same subnetwork. A /30 subnetwork is sufficient. After that you have to configure in the correct way the two bird daemons. For the config file you have to refer to the guide on the bird website, and for the

Re: BGP between VMs

2020-03-20 Thread mattia . milani
To manage the AS number of each VM use the bgp protocol configuration of bird Mattia > Il giorno 20 mar 2020, alle ore 08:33, Fabiano D'Agostino > ha scritto: > >  > Hi, > thanks everyone, I read the guide, but I didn't find how to put the two VMs > in two different ASs. > >> Il giorno ven

[BGP] MRAI connection-based implementation review

2020-04-06 Thread Mattia Milani
Hello to everyone, in the past months I have implemented the MRAI timer in the BGP protocol and I would like to ask you guys how can I submit this code in order to receive a review form someone more expert than me? My implementation is on a connection-based approach timer and now I'm working o

[BGP] bird and RFD

2020-05-26 Thread Mattia Milani
Hello all, I was wondering if bird implements the RFD procedure, route flap damping. I was looking online on the user guide 2.0 but i didn't find any reference to it. I know it is a controversial point, it was presented in the RFC 2439 and then RIPE-378 recommends disabling it thanks to a pape

Re: Start BIRD automatically

2020-06-02 Thread Mattia Milani
Hello, Personally I would use a basic bash script in background that checks with ps if the process is still active and if not it will transfer logs in in "crash" folder and restart the daemon. Probably before restarting the program I will do a check if there are still zombies or inactive pro