Comments (4)
Thanks, will investigate that
On 19.06.2015 12:26, Krishna Deepak wrote:
When |end2end_test.py| is run between 1,14(Intermediate node) and
1,18(Leaf node), it fails. It uses a PEER path for this case. The path
is 1,14 ---> 1,15 ---> 1,18. The first one is a PEER link while the
second one is a normal Parent-Child link.I am attaching the output here:
https://gist.github.com/mskd96/0a7d44b092c2998a7a5cAFAIK, the path information(IFID's) looks to be correct but the first
hop 127.1.14.83 corresponds to the edge router connected to 1,11 which
is the parent of 1,14. But, shouldn't it be the one corresponding to 1,15?
What might be the issue?—
Reply to this email directly or view it on GitHub
https://github.com/netsec-ethz/scion/issues/182.
from scion.
@pszalach
I think the problem is with get_first_hop
function in scion_elem.py
. In this case, the first link is a PEER path, so the first opaque field to consider should be the peering one and not the one returned by get_first_hop_of
. Maybe that case should be handled separately in this function like it is done while packet forwarding in router.py
.
What do you think?
from scion.
@mskd96 yes, I had few minutes yesterday to look at this.
- as you found get_first_hop is wrong for this case, look at https://github.com/netsec-ethz/scion/compare/peer_link_fix
- but even then router handles this case incorrectly (i.e, first router does not update of pointer correctly). However it works when sender (i.e. AD 1,14) puts
increase_of(2)
(i.e., set of's pointer to correct hop opaque field) before sending.
Unfortunately, I'll not be able to fix that next week, so if you have a fix before please describe it or create a PR.
from scion.
from scion.
Related Issues (20)
- Building fails on cab6ce389b5ba96c5e7cdbaf0591ffca99aafd42 HOT 1
- Proposal: Cross-Segment Hop Fields HOT 4
- scion-pki: change TRC validity configuration
- scion-pki: generate scripts for participating parties in TRC ceremony
- ## Improve router performance benchmark test (the current one needs too many cores)
- FreeBSD Support within easy reach(?) HOT 1
- [acceptance tests] docker logs fetching is wrong with the new container names
- [acceptance tests] HP test HOT 2
- make test-integration & make docker-image fails because of wrong hash. HOT 2
- build: replace rules_docker with rules_oci
- Question about the router: bound-checking for hop fields possibly missing HOT 2
- topology: allow peering links between core-ASes
- [lint] protobufer types should(n't) be named after RPC name
- serrors isn't treating by value or by reference errors consistently HOT 2
- doc: update deploy tutorial after next release
- doc: investigate versioned readthedocs HOT 2
- serror golden tests fail between Go releases
- Clarification on validateEgressID Logic for SCION Packet Processing HOT 1
- env/deps: python tools in "externally managed environments"
- pathpol `UnmarshalJSON` and `UnmarshalYAML` should check for default action
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scion.