Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] errors happened

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] errors happened


Chronological Thread 
  • From: Gabriel Tetzner <>
  • To: mc36 <>
  • Cc: edgardcunha <>, "Rafael S. Guimaraes" <>, "" <>
  • Subject: Re: [RARE-users] errors happened
  • Date: Thu, 11 Aug 2022 13:03:16 -0300

Hi Csaba,

This error was due to a test of the command:

test hwext path /rtr/rtr- dataplane p4emu

I did this command, however I lose telnet access through 10.255.255.254, I checked and changed rtr-hw.txt, the error happens regarding not finding a server on port 9080...

I tried a telnet access via 127.0.0.1 2323, but it accesses and exits automatically, i.e. there is something impeding it.

I believe it is port 9080, I lost vm access, but I modified rtr-hw.txt like this:

int eth0 eth 0000.1111.00fb 127.0.0.1 22710 127.0.0.1 22709
tcp2vrf 2323 v1 23
tcp2vrf 9080 v1 9080

I followed according to https://wiki.geant.org/pages/viewpage.action?pageId=148084749, I also wanted to know how to run this p4emu activation command on a debian vm with freeRouter running.

Em qui., 11 de ago. de 2022 às 10:15, mc36 <> escreveu:
hi,
i'm writing to you that i got an error reporting from yesterday...
the headers in the message points back to cgnat-191-6-3-***.betininet.com.br so imho it was one of you? :)
the code mentioned is https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/user/userHwext.java#L143
for now, it's just a silly check to protect next get... i put this there last time i got a very similar error reporting
about 10 days ago: https://github.com/rare-freertr/freeRtr/commit/891e6ba971d001f934d62c75f1f0b8588e13de7e
so first of all, could you please share that particular -hw.txt? i bet you that it's something handy-crafted,
especially around the end of the file... until that, this very simple hwext command intended to only deal with the
autogenerated -hw.txt files where a "proc ethX" followed by an "int ethX" stanza, and everything else will produce an invalid result...
but to have this very simple fix in place and at least not crash the command, please issue "flash upgrade" before "test hwext" next time! :)
thanks,
cs




-------- Forwarded Message --------
Subject: errors happened
Date: Wed, 10 Aug 2022 17:46:21 +0200
From: errors@freertr
To:

java.lang.IndexOutOfBoundsException: Index 8 out of bounds for length 8 at
jdk.internal.util.Preconditions.outOfBounds:Preconditions.java:64/jdk.internal.util.Preconditions.outOfBoundsCheckIndex:Preconditions.java:70/jdk.internal.util.Preconditions.checkIndex:Preconditions.java:266/java.util.Objects.checkIndex:Objects.java:359/java.util.ArrayList.get:ArrayList.java:427/userHwext.doer:userHwext.java:143/userTest.doer:userTest.java:743/userExec.executeCommand:userExec.java:2692/userExec.doCommands:userExec.java:2135/userLineHandler.doExec:userLine.java:813/userLineHandler.run:userLine.java:889/java.lang.Thread.run:Thread.java:833/




Archive powered by MHonArc 2.6.19.

Top of Page