milosgajdos / tenus Goto Github PK
View Code? Open in Web Editor NEWLinux networking in Go
License: Apache License 2.0
Linux networking in Go
License: Apache License 2.0
It seems to be overwritten by something completely different? Where all previous history lost
I want to use Sourcegraph for tenus code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/milosgajdos83/tenus. (It should only take 30 seconds.)
Thank you!
There doesn't currently seem to be any way to create tuntap interfaces. Is this likely to be supported (i.e. just a matter of adapting the code) or was there a fundamental limitation to doing it?
How to persistent data after reboot?
Hello.I have recently started using Golang.What I want is the following,I want to be able to edit an existing interface(e.g. eth0).I want to change the IP from dhcp to static and set a custom gateway IP and subnet mask.If I do that using tenus will the changes persist after a system reboot ?
The Cloud Foundry project is considering using tenus to simplify its usage of netlink. However, we need to avoid being on a fork of libcontainer. We are currently planning to fork tenus, re-base it on vanilla libcontainer, and offer the re-basing as a pull request to tenus. We are also planning some functional extensions to tenus and libcontainer/netlink which we will most likely also offer back via pull requests.
For more details, please see the CF Garden tracker and search for tenus.
This issue is essentially a heads up. We acknowledge that tenus may not need to avoid being on a fork of libcontainer for its own purposes, but we wanted to make you aware of our plans.
Attempting to test tenus produces the following build errors.
$ go test .
# github.com/milosgajdos83/tenus
/home/vagrant/go/src/github.com/milosgajdos83/tenus/veth_linux.go:62: too many arguments in call to netlink.NetworkCreateVethPair
/home/vagrant/go/src/github.com/milosgajdos83/tenus/veth_linux.go:119: too many arguments in call to netlink.NetworkCreateVethPair
FAIL github.com/milosgajdos83/tenus [build failed]
Currently when docker API is served via UNIX sockets a http request is constructed with used as hostname. This gives (with golang 1.6) following error:
Fail to create http request: parse http:// /containers/e41fcca44e18c5275/json: invalid character " " in host name
Please use a valid hostname instead 'example.com' might be good :-)
This is not exactly an issue. However, I want to know whether this library is able to create virtual wifi interfaces and bridge them with networks. Thanks in adavance.
Could this be used to sniff network traffic? I am trying to create a utility that watches SIP (voip) network traffic and greps it. An easier version of ngrep. Thought it would be cool to do it in go if possible.
Hi
I'm now writing some low level application with Netfilter interaction, and some part of it written in GO
Is it possible to add/remove some ipTables rules using your library ?
Without using iptables
command line tool !
Thanks.
I found that this project already supports Go modules. But sadly, the tags doesn't follow Semantic Versioning, which means that all tags of this project will be ignored by Go modules and replaced by pseudo-versions, go get acts weirdly when tags are not in that form. It would be great to have the tagged release be named in the format vX.X.X format so that go mod can read it.
github.com/milosgajdos/tenus v0.0.0-20200730100109-997445a7a4dd
Else the mod file shows something like github.com/milosgajdos/tenus v0.0.0-20200730100109-997445a7a4dd
which is not very readable and difficult to upgrade. Itβs hard to verify which version is in use. This is not conducive to version control
So, I propose this project to follow Semantic Versioning in future versions. For example, v1.0.1
, v2.0.0
, v3.1.0-alpha
, v3.1.0-beta.2
etc.
There is no way to take an existing interface and manipulate it.
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.