grumpyoldtroll / amt Goto Github PK
View Code? Open in Web Editor NEWFork of the AMT protocol reference implementation (RFC 7450) from http://www.utdallas.edu/~ksarac/amt/
License: Other
Fork of the AMT protocol reference implementation (RFC 7450) from http://www.utdallas.edu/~ksarac/amt/
License: Other
Running under valgrind found a problem:
amtgwd: exceeded max tries to send membership
==12== Invalid read of size 8
==12== at 0x10C7F1: gw_request_timeout (gw_udp.c:184)
==12== by 0x487DE67: ??? (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==12== by 0x487F8A6: event_base_loop (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==12== by 0x10AB35: main (gw_main.c:228)
==12== Address 0x4adf1a0 is 0 bytes inside a block of size 128 free'd
==12== at 0x484B27F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==12== by 0x10C7F0: gw_request_timeout (gw_udp.c:187)
==12== by 0x487DE67: ??? (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==12== by 0x487F8A6: event_base_loop (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==12== by 0x10AB35: main (gw_main.c:228)
==12== Block was alloc'd at
==12== at 0x484DA83: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==12== by 0x10D786: gw_request_get (gw_udp.c:59)
==12== by 0x10D786: gw_request_start (gw_udp.c:814)
==12== by 0x10E206: gw_receive_tun (gw_tun.c:415)
==12== by 0x10E206: gw_event_tun (gw_tun.c:439)
==12== by 0x487DF57: ??? (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==12== by 0x487F8A6: event_base_loop (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==12== by 0x10AB35: main (gw_main.c:228)
Hey there,
I am currently trying to test the code on ubuntu following the instructions in testbed-setup/simpler-testbed.txt, and there is an issue when running the amdgwd file.
Whenever I run the file, the error "amtgwd: couldn't set tunnel veth3 mode to broadcast: Invalid argument" always appears. I have traced the error to line 158 of gateway/gw_tun.c, although I believe the issue may be related to a difference in how TUNSETIFF is run or something.
Here is some information about the system I am running:
Linux version 4.15.0-69-generic (buildd@lgw01-amd64-032) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #78-Ubuntu SMP Wed Nov 6 11:30:24 UTC 2019
I had to change some of the commands in the testbed-setup/simpler-testbed.txt file to get them to run. Namely, I had to change the commands to run each of the compiled files as follows:
sudo ip netns exec mrelay unbuffer /usr/local/bin/amtrelayd -n inet -l inet -c veth1 -s 10.3.3.1 -q1 -d -a "10.3.3.1/32"
sudo ip netns exec mrcv unbuffer /usr/local/bin/amtgwd -a 10.3.3.1 -c veth3 -d
Any idea what might be causing this problem?
Hey there,
I was just considering making the relay use a tunnel interface for our purposes, and I thought I might see if you knew what parts of the code need refactoring for that purpose? If not, I'll just keep looking around on my own.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.