Comments (2)
Here's an otherwise identical script that makes the client fail to connect. Seemingly, the parser doesn't like it if the invite file starts with a comment.
This is really no big deal, it's pretty easy to work around: just don't start invite files with comments and keep blank lines to a minimum.
#!/bin/sh
cat > "$INVITATION_FILE" <<EOF
# [Client configuration]
Name = $NODE
Mode = switch
Netname = $NETNAME
ConnectTo = $NAME
Ifconfig = dhcp
# [Entry node configuration]
EOF
tinc export >> "$INVITATION_FILE"
from tinc.
I just fixed the issue with the warnings for empty lines. The problem with comments at the start of the invitation file are the result of tinc expecting the first line to always contain Name = ...
. It would make parsing invitation files harder to allow comments and/or empty lines at the start, so for now I just added to the documentation that the first line of the invitation file must always be Name = ...
.
from tinc.
Related Issues (20)
- Can nat traversal use tcp to punch holes? HOT 1
- network split 1.1pre18
- TINC subnet up/down loop HOT 1
- IndirectData
- TINC 1.1pre18 general protection ip ?
- How does tinc determine which node to route indirect traffic through?
- Meson HOT 1
- Debian bullseye compilation failure HOT 1
- Closing old connection HOT 3
- Does Tinc establish a mesh network? HOT 2
- RTP over TINC HOT 6
- uses bogus MAC length HOT 1
- Got bad ID from <unknown> HOT 2
- Error joining to Linux node from Windows
- this page is broken. https://www.tinc-vpn.org/examples/ipv6-network/ HOT 1
- Relaying doesn't work when TCPOnly is enabled
- Performance improvements via TSO/GRO and UDP_SEGMENT HOT 4
- Please add time when you output the log. There are too many retry link logs but do not know the time. HOT 1
- Peer has an invalid key! on tinc join
- DNS failure and delays break connections HOT 1
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 tinc.