Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] FW: rift in freerouter

Subject: Rare project developers

List archive

Re: [rare-dev] FW: rift in freerouter


Chronological Thread 
  • From: mc36 <>
  • To: Antoni Przygienda <>, "" <>
  • Subject: Re: [rare-dev] FW: rift in freerouter
  • Date: Wed, 14 Dec 2022 08:23:28 +0100

hi,
my bad, i not yet saw it, as i don't originate a thing yet... (but i'll
soon...:)

regarding the encoding, hell yeahhh, using structured, typed encoding pays
off in protocol development...
br,
cs

On 12/14/22 08:12, Antoni Przygienda wrote:
And BTW, careful. TIREs acknowledge, TIDEs are basically ISIS CSNPs

I hope you realized how insanely fast it is to write a parser without any bugs on a protocol that has all that under strict modelling
* Tony
*From: *mc36 <>
*Date: *Wednesday, 14 December 2022 at 08:06
*To: *Antoni Przygienda <>,
<>
*Subject: *Re: [rare-dev] FW: rift in freerouter

[External Email. Be cautious of content]


hi,
thanks, i'm in... also thanks in advance for the crpd with the rift...
do i have to add a package to it for the rift or you'll bundle it?
btw i'm progressed... now i'm parsing the tie package from bruno's
implementation and storing it in the local database properly...
i still need to acknowledge it with a tide and do the tie database
logic to have the routes finally...
br,
cs

sid(cfg)#show ipv4 rift 1 neighbor
iface router name peer uptime
pwether1 12345678 real_my:ens4 1.1.1.1 00:03:41

sid(cfg)#show ipv4 rift 1 database
dir origin num typ seq left
n 12345678 1 2 34 6d23h

sid(cfg)#show ipv4 rift 1 database n 12345678 1
direction=2
originator=12345678
number=1
type=2
sequence=34
lifetime=6d23h
num=1 typ=12 val=(
num=1 typ=3 val=24
num=2 typ=13 val=(
num=0 typ=10 val=1234567890123456
num=0 typ=12 val=(
num=1 typ=3 val=24
num=3 typ=8 val=1
num=4 typ=14 val=(
num=0 typ=12 val=(
num=1 typ=8 val=1
num=2 typ=8 val=778639271
)
)
num=5 typ=8 val=-1
)
)
num=3 typ=12 val=(
num=1 typ=6 val=1
num=2 typ=2 val=1
num=10 typ=2 val=0
num=20 typ=2 val=0
)
num=5 typ=11 val= 72 65 61 6c 5f 6d 79
num=22 typ=6 val=1
num=25 typ=8 val=0
)

sid(cfg)#


On 12/13/22 20:23, Antoni Przygienda wrote:
Okey, you have been invited

https://urldefense.com/v3/__https://gitlab.com/przygienda/fat-tree-generator__;!!NEt6yMaO-gk!HRbvgL5A2UAve81yoMVbiLQKjVdIbunE2vXGbQdMFsJBqXxd68lD-WC_q2dxrDlssfGPnA$
<https://urldefense.com/v3/__https:/gitlab.com/przygienda/fat-tree-generator__;!!NEt6yMaO-gk!HRbvgL5A2UAve81yoMVbiLQKjVdIbunE2vXGbQdMFsJBqXxd68lD-WC_q2dxrDlssfGPnA$> <https://urldefense.com/v3/__https://gitlab.com/przygienda/fat-tree-generator__;!!NEt6yMaO-gk!HRbvgL5A2UAve81yoMVbiLQKjVdIbunE2vXGbQdMFsJBqXxd68lD-WC_q2dxrDlssfGPnA$ >

check it out

there is a minimal topology for juniper rift already created in it

you will need to import the container and configure kithara to use it as image

you can trivially generate other CLOS topologies then.

Ignore flood reflection, this is one of my test envs using _kathara for the
stuff that goes RFC right now

cRPD needs a bit to build here, may be tomorrow

* Tony

*From: *mc36 <>
*Date: *Tuesday, 13 December 2022 at 20:15
*To: *Antoni Przygienda <>,
<>
*Subject: *Re: [rare-dev] FW: rift in freerouter

[External Email. Be cautious of content]


hi,
thanks! waiting for the cprd then...
here we go: https://urldefense.com/v3/__https://gitlab.com/mc36mc__;!!NEt6yMaO-gk!FvVTE9dsKP48DKjLrQ7aQZnCjHnuL1uzjZJ7LwtqkrK8lbKx-ai9vf_vdmbu7chGSNS0Gg$
<https://urldefense.com/v3/__https:/gitlab.com/mc36mc__;!!NEt6yMaO-gk!FvVTE9dsKP48DKjLrQ7aQZnCjHnuL1uzjZJ7LwtqkrK8lbKx-ai9vf_vdmbu7chGSNS0Gg$>
<https://urldefense.com/v3/__https:/gitlab.com/mc36mc__;!!NEt6yMaO-gk!FvVTE9dsKP48DKjLrQ7aQZnCjHnuL1uzjZJ7LwtqkrK8lbKx-ai9vf_vdmbu7chGSNS0Gg$
<https://urldefense.com/v3/__https:/gitlab.com/mc36mc__;!!NEt6yMaO-gk!FvVTE9dsKP48DKjLrQ7aQZnCjHnuL1uzjZJ7LwtqkrK8lbKx-ai9vf_vdmbu7chGSNS0Gg$>>
br,
cs


On 12/13/22 20:12, Antoni Przygienda wrote:
Okey, I am in process of building you freshest meat on cRPD and will throw
the saved container on server as soon I have it. Will be 1.4.x, really fresh
code, I bring it up quickly
on a topologhy in cRPD but no guarantees from there on

Project is on gitlab.com in fact, please get a moniker there and I invite you

* Tony

*From: *mc36 <>
*Date: *Tuesday, 13 December 2022 at 18:09
*To: * <>, Antoni Przygienda
<>
*Subject: *Re: [rare-dev] FW: rift in freerouter

[External Email. Be cautious of content]


hi,
thanks, got the image junos-rift-x86-64-21.1I20210315_2045_prz.tgz but it
seems a bit older than
the previous junos-rift-x86-64-22.3I20221011_1290250_matthewj.tgz...
unfortunately i also dont have vmx-bundle-21.1... could you please give it to
me?
or even better, https://support.juniper.net/support/downloads/?p=vmx <https://support.juniper.net/support/downloads/?p=vmx> <https://support.juniper.net/support/downloads/?p=vmx
<https://support.juniper.net/support/downloads/?p=vmx>>
<https://support.juniper.net/support/downloads/?p=vmx
<https://support.juniper.net/support/downloads/?p=vmx
<https://support.juniper.net/support/downloads/?p=vmx>>>
regading the crpd, yeahh, that also could work... my github handle is
https://urldefense.com/v3/__https://github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$
<https://urldefense.com/v3/__https:/github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$>
<https://urldefense.com/v3/__https:/github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$
<https://urldefense.com/v3/__https:/github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$>>
<https://urldefense.com/v3/__https:/github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$
<https://urldefense.com/v3/__https:/github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$
<https://urldefense.com/v3/__https:/github.com/mc36__;!!NEt6yMaO-gk!FNBmTeN0iG9pV4TGZIWrJnxBGAs7AKRR-ANuNkLyUw5-GkMSPQYst2QK5leDoS8VVQY6Xw$>>>
thanks,
cs


On 12/13/22 17:49, Antoni Przygienda wrote:
Ok, image is gargantuan for vmx/etc and we don t release VMX
as product anymore and you won t be able to run many of those
anyway due to size Do you
have 21.1 ? I uploaded 21.1
junos rift package now for you as well

If not, I can compile a cRPD image for you you can run in a docker easily. I
m working mostly with cRPD over _kathara, really easy to build
topologies, I can invite you to git to
the toolchain on gitlab if you give me your moniker there

Yeah, the python stuff is doing weird stuff on MTU, especially when we
re testing against each other. They somehow pull out MTU from lo0, I
had to do some fixes on Bruno s code
after Amazon bumped up interface MTU recently

For completeness sake: Observe that you re running 1.3 which
is not officially released images under our signed agreement

* Tony

*From: *mc36 <>
*Date: *Tuesday, 13 December 2022 at 16:33
*To: *Antoni Przygienda <>
*Cc: * <>
*Subject: *Re: [rare-dev] FW: rift in freerouter

[External Email. Be cautious of content]


well, after increasing the linux interface mtu to 1514, i got the 3way up
with the python stuff:

real_my> sho nei
+------------------+-----------+-----------+--------------+
| System ID
| Direction | Interface |
Adjacency |
|


|

| Name
| Name
|
+------------------+-----------+-----------+--------------+
| 1234567890123456 | East-West | ens4
| sid:pwether1 |
+------------------+-----------+-----------+--------------+

real_my>

br,
cs



On 12/13/22 16:06, mc36 wrote:
hi,
thanks, got the rift package... i don't have the corresponding
vmx-bundle-22.3, could you please upload that too?
until that, i'll play with the bruno's stuff a bit...
thanks,
cs


On 12/13/22 15:28, Antoni Przygienda wrote:
Draft is meanwhile on 6.0

So let me build you something relatively new and drop but you
ll need the according JUNOS
image

Dropped you something now for 22.3

If you need different version on JUNOS/crpd, let me know

Bruno s stuff
can run on real numbers if you need a node to test against. It
s full implementation
including negative by now

* Tony
*From: *mc36 <>
*Date: *Tuesday, 13 December 2022 at 11:35
*To: *Antoni Przygienda <>
*Subject: *Re: FW: rift in freerouter

[External Email. Be cautious of content]


hi,
i see major=4, minor=1 in the packages... junos tells me the following:

root@vmx> show rift versions info
Package: 1.3.0.1137837
Built On: 2020-10-21T00:45:52.511367595+00:00
Built In: PVT_194R3_RIFT_13
Encoding Version: 4.1
Statistics Version: 3.0
Services Version: 25.0

root@vmx>

i have the linux package from
https://urldefense.com/v3/__https://github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$>
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$>>
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$>>>
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$>>>>
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$
<https://urldefense.com/v3/__https:/github.com/brunorijsman/rift-python__;!!NEt6yMaO-gk!CwqGFgwKAJNu9_KvQrE1twscwNVDbeGHtKMwrx4pQ3d4aP-pVJqE0Ne1Pw3uuK5YsFHJPA$>>>>>
but for now i stick to the juniper images because it uses the real port
numbers...
(maybe bruno's stuff could be configured to do so...)

your ssh key is still in active at 193.224.0.41, please drop the latest image
there,
and ping me afterwards to be able to grab it...
thanks,
cs



On 12/13/22 09:58, Antoni Przygienda wrote:
w/o attachement due to size

*From: *Antoni Przygienda <>
*Date: *Tuesday, 13 December 2022 at 09:57
*To: *mc36 <>
*Subject: *FW: rift in freerouter

So, email didn
t get
through because package too big

Where can I ftp you the linux package ?
>>>

* Tony

*From: *Antoni Przygienda <>
*Date: *Tuesday, 13 December 2022 at 09:55
*To: *mc36 <>
*Subject: *Re: rift in freerouter

This is _/extra/_ cool

Whatever info you need that is not clear on the spec, ping me

Which schema version do you exchange? If it

s the draft-16 version you

re good. Looks like you
re on older stuff however so you need updating to
schema 6.0 or 6.1

I suggest to look at Bruno

s open source implementation and how it uses my linux daemon to run automated
tests. I drop you here linux package (it
s the same code that
goes into
cRPD compiled differently). May be easier to work with that. If not, ping me
and I get you a newer cRPD with new schema.

I
m working on your MX304 router since
forever here and money is not a problem but our internal processes cannot figure
out how to actually buy/ship it <roll eyes/>
It
may never
come


* Tony

*From: *mc36 <>
*Date: *Tuesday, 13 December 2022 at 09:42
*To: *Antoni Przygienda <>
*Cc: * <>
*Subject: *rift in freerouter

[External Email. Be cautious of content]


hi,
i've started freerouter's rift stack yesterday...
i'm able to send and receive the lie packets fine,
and preparing to getting started with the tie packets:

root@vmx> show rift node status
System Name: vmx, System ID: 0000000000bc614e
Level: 24, RIFT Encoding Major: 4, Minor: 1
Flags: overload=False
Capabilities: flood-reduction: True, Hierarchy Indications: top_of_fabric
LIE v4 RX: 224.0.0.120, LIE v6 RX: ff02::a1f7, LIE RX Port: 914



Re-Connections: 0
Peers: 3, 3-way: 1, South: 0, North: 0, East-West: 1 <---------------------

root@vmx>

i'm using the junos-rift-x86-64-19.4I20201021_0146_prz.tgz last time
you gave me... my question is if you have newer a version available?
thanks,
cs


Juniper Business Use Only



Juniper Business Use Only



Juniper Business Use Only



Juniper Business Use Only



Juniper Business Use Only



Juniper Business Use Only




Archive powered by MHonArc 2.6.19.

Top of Page