neilalexander / vyatta-cjdns Goto Github PK
View Code? Open in Web Editor NEWA cjdns package for Ubiquiti EdgeOS and VyOS, allowing cjdns to be used on EdgeRouters
License: GNU General Public License v3.0
A cjdns package for Ubiquiti EdgeOS and VyOS, allowing cjdns to be used on EdgeRouters
License: GNU General Public License v3.0
Please add how to handle login name that is not default-login and how to define peerName for manageability.
hello,
it dawned on me that since EdgeRouter has the kernel/netfilter module ip6table_nat
it is then possible to configure an interface with NAT6 -- It could have address fd00::/64 and masquerade between interface tun0 for addresses in fc00::/8
This feature never made it into openwrt / meshbox simply because it is bad security practice and it depends on kernel modules not typically selected / built for each target cpu.
What is the best way to go about doing this? Would a script suffice? eg
/opt/vyatta/sbin/vyatta-nat66-cjdns enable
I can test it and report back if you or anyone are interested in this feature, cheers.
-w
kris@ubnt:$ show interfaces cjdns tun0 peers$ show interfaces cjdns tun0 identity
Traceback (most recent call last):
File "/opt/vyatta/sbin/vyatta-cjdns-readconf", line 9, in
data = json.load(data_file)
File "/usr/lib/python2.7/json/init.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 24 column 21 (char 669)
Traceback (most recent call last):
File "/opt/vyatta/sbin/vyatta-cjdns-readconf", line 9, in
data = json.load(data_file)
File "/usr/lib/python2.7/json/init.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 24 column 21 (char 669)
Traceback (most recent call last):
File "/opt/vyatta/sbin/vyatta-cjdns-peerstats", line 69, in
cjdns = connecttoadmin(bindaddress[0], bindaddress[1], bindpassword)
IndexError: list index out of range
kris@ubnt:
Traceback (most recent call last):
File "/opt/vyatta/sbin/vyatta-cjdns-readconf", line 9, in
data = json.load(data_file)
File "/usr/lib/python2.7/json/init.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 24 column 21 (char 669)
kris@ubnt:~$ configure
[edit]
kris@ubnt# set interfaces cjdns tun0 admin-bind-address 127.0.0.1:64901
[edit]
kris@ubnt# set interfaces cjdns tun0 admin-password puf6ukkfzsrvgf06sll4tm4w34zzyqj
[edit]
kris@ubnt# commit
[ interfaces cjdns tun0 admin-bind-address 127.0.0.1:64901 ]
Traceback (most recent call last):
File "/opt/vyatta/sbin/vyatta-cjdns-updateconf", line 9, in
data = json.load(data_file)
File "/usr/lib/python2.7/json/init.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 24 column 21 (char 669)
[ interfaces cjdns tun0 admin-password puf6ukkfzsrvgf06sll4tm4w34zzyqj ]
Traceback (most recent call last):
File "/opt/vyatta/sbin/vyatta-cjdns-updateconf", line 9, in
data = json.load(data_file)
File "/usr/lib/python2.7/json/init.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 381, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 24 column 21 (char 669)
Commit failed
[edit]
kris@ubnt#
"show interfaces cjdns connection-details"
Would be very handy to have on the system.
Routine to add authorised password should first try to delete an existing password from cjdroute.conf with the same friendly name.
Hi,
I was wondering if 1.2.x is supported. If not what would have to be done to support it?
Greetings Jonas
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.