Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support listening on public interfaces #1

Closed
wants to merge 1 commit into from
Closed

Conversation

r00t-
Copy link
Contributor

@r00t- r00t- commented Mar 17, 2017

instead of hardcoded loopback-only

chezdav is hardcoded to only ever listen on loopback,
making it relatively useless.
the documentation does not warn the user about this.
it's even packaged on debian, and i ran into it looking for a webdav server,
and then had to patch this to make it actually useable.

note that this changes the default to public, which might not be desireable,
as it might make user's existing setups less secure.

instead of hardcoded loopback-only
my_error (_ ("--local and --public are mutually exclusive\n"));

if (!local && !public)
public = 1; // default
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that this changes the default to public, which might not be desireable,
as it might make user's existing setups less secure.

@@ -228,12 +232,21 @@ main (int argc, char *argv[])
my_error (_ ("option parsing failed: %s\n"), error->message);
g_option_context_free (context);

if (argc != 1)
my_error (_ ("unsupported extra arguments: %s ...\n"), argv[1]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i fixed this bug on the way...
extra arguments were silently ignored.

@gnomesysadmins
Copy link

Thank you for contributing to phodav!

phodav uses Bugzilla for code review.

If you have never contributed to GNOME before make sure you have read the
getting started documentation:
http://www.gnome.org/get-involved

Otherwise please visit
https://wiki.gnome.org/Newcomers/CodeContributionWorkflow
and follow the instructions there to upload your change to Bugzilla.

@r00t-
Copy link
Contributor Author

r00t- commented Apr 6, 2017

was merged as ece391b

gnomesysadmins pushed a commit that referenced this pull request May 10, 2021
meson: Allow specifying systemd/udev directories

Closes #1

See merge request GNOME/phodav!19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants