Code Monkey home page Code Monkey logo

Comments (18)

joukewitteveen avatar joukewitteveen commented on May 28, 2024 1

netctl maintainer here. I see that rosenpass is available in the Arch Linux repositories, which makes it easy for me to accept contributions. I expect adding support to netctl to be fairly simple and I prefer support to be merged there rather than on the rosenpass repository. Here are a few things that are needed:

  • Add a rosenpass connection type.
  • Document its availability and options in the manpage.
  • Add an example profile file.
  • Add rosenpass as an optional dependency to the PKGBUILD script.

I don't think this in itself is worth such a hefty bounty, but I'm happy to see netctl being valued.

from rosenpass.

algora-pbc avatar algora-pbc commented on May 28, 2024

💎 $150 bounty created by rosenpass
🙋 If you start working on this, comment /attempt #80 to notify everyone
👉 To claim this bounty, submit a pull request that includes the text /claim #80 somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to rosenpass/rosenpass!

Attempt Started (GMT+0) Solution
🟢 @Hrushi20 Oct 19, 2023, 11:55:07 AM WIP

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

Hey @koraa, can you give me a brief description of this issue? I've read through netctl.

from rosenpass.

koraa avatar koraa commented on May 28, 2024

Hey @koraa, can you give me a brief description of this issue? I've read through netctl.

When I add a wifi network to my computer I can just create a new config file with netctl

Interface=wlp3s0
Connection=wireless
Security=wpa
…

It should be possible to create and manage simple rosenpass/wireguard setups (using rp) with netctl in a similar way.

To this end netctl needs to be extended, I believe rosenpass provides all the necessary facilities. To claim this issue you should add documentation to this repository and link a PR/plugin/addon/contribution in this issue.

Accaptance of the Netctl code by us is sufficient. I will not block payout based on netctl not accepting the PR, if the PR is good enough.

I would start by creating a Netctl issue in their tracker with a link to this issue and check if they are up for it.

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

What are the prerequisites to help me get started with this issue. I am interested in working on this. I am new to netctl. Not sure where to start looking.

from rosenpass.

emilengler avatar emilengler commented on May 28, 2024

What are the prerequisites to help me get started with this issue. I am interested in working on this. I am new to netctl. Not sure where to start looking.

You can open a PR upstream: https://github.com/joukewitteveen/netctl/tree/master
netctl is only a connection of shell scripts, which do not have a very steep learning curve IMO.

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

What are the basic setups we would like to create and manage using netctl for rosenpass?

from rosenpass.

koraa avatar koraa commented on May 28, 2024

What are the basic setups we would like to create and manage using netctl for rosenpass?

Thank you for attempting this! A minimal setup would be the ability to connect to a Rosenpass setup as a client; i.e. one peer.

from rosenpass.

emilengler avatar emilengler commented on May 28, 2024

@joukewitteveen thank you for seeing this issue!

from rosenpass.

koraa avatar koraa commented on May 28, 2024

netctl maintainer here. I see that rosenpass is available in the Arch Linux repositories, which makes it easy for me to accept contributions. I expect adding support to netctl to be fairly simple and I prefer support to be merged there rather than on the rosenpass repository. Here are a few things that are needed:

* [ ]  Add a `rosenpass` connection type.

* [ ]  Document its availability and options in the manpage.

* [ ]  Add an example profile file.

* [ ]  Add `rosenpass` as an optional dependency to the `PKGBUILD` script.

I don't think this in itself is worth such a hefty bounty, but I'm happy to see netctl being valued.

I agree with all points you raised; except for one: I have been using netctl for years and it has made my life a lot easier. Its an important project; thank you for all the work you did to make it fly!

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

I'm excited to work on it.

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

/attempt 80

Options

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

Hey, I get this error while trying to follow to documentation in https://rosenpass.eu/#start. Is there an error in bash script? I am using the latest release version.

Screenshot 2023-10-20 at 12 23 59 AM

from rosenpass.

emilengler avatar emilengler commented on May 28, 2024

It is not an error in the bas script. It just means that rosenpass cannot be found in your path. I recommend looking on that topic a bit. 😃

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

Hey, I got rosenpass to work with netctl. However, it is running in server mode resulting in timeout error. I've used following command rosenpass exchange-config <CONFIG_FILE> in netctl

I am now trying to run it in daemon mode rosenpass exchange <OWN_CONFIG> [PEERS]. I am not understanding what to pass for these arguments<OWN_CONFIG> and [peers].

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

Hey, I had another doubt. I started the client and server on the same machine. I followed the doc in rosenpass website. Is the below output correct?

This is the output of the result
Screenshot 2023-10-20 at 6 44 18 PM

I do not see any update while running the watch command.

from rosenpass.

emilengler avatar emilengler commented on May 28, 2024

Hey, I got rosenpass to work with netctl. However, it is running in server mode resulting in timeout error. I've used following command rosenpass exchange-config <CONFIG_FILE> in netctl

I am now trying to run it in daemon mode rosenpass exchange <OWN_CONFIG> [PEERS]. I am not understanding what to pass for these arguments<OWN_CONFIG> and [peers].

rosenpass help exchange should explain it very well to you. <OWN_CONFIG> is something like public-key <PATH> secret-key <PATH> [listen <ADDR>:<PORT>], whereas [PEERS] is an infinite list of public-key <PATH> [ENDPOINT] [PSK] [OUTFILE] [WG] endpoint <HOST/IP>:<PORT> preshared-key <PATH> outfile <PATH> wireguard <WIREGUARD_DEV> <WIREGUARD_PEER> [WIREGUARD_EXTRA_ARGS]

from rosenpass.

Hrushi20 avatar Hrushi20 commented on May 28, 2024

Hey, I updated the PR. I'm getting an error. I've upload a screenshot of the error in the PR.

from rosenpass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.