Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: galene@lists.galene.org
Subject: [Galene] Re: About UDP multiplexing
Date: Sun, 23 Mar 2025 12:42:02 +0100	[thread overview]
Message-ID: <D3433E01-82A8-4355-937A-7495528E706C@webweaving.org> (raw)
In-Reply-To: <874izkjcec.wl-jch@irif.fr>


On 23 Mar 2025, at 10:59, Juliusz Chroboczek <jch@irif.fr> wrote:

>> So perhaps it would be nice to simplify this in one option to:
>> 
>> -udp-range 10000-20000
>> -udp-range 10000
> 
> I'm not sure what's less confusing: using two mutually exclusive options,
> or using a single option that's overloaded (currently, -udp-range does not
> enable muxing, it merely restricts the range of ports used for un-muxed
> sockets).

So as they are mutually exclusive - I like the explicitness of this.
> 
> OTOH, we'll likely have requests for other functionality (binding to
> a single interface, or binding to a single IP address comes to mind), so
> perhaps overloading the option will prevent multiplying options in the
> future.

Indeed - and one can go to the common syntax of [[ip][:port][:[ip][:port]].
> 
> I'm also wondering whether we shouldn't move this to data/config.json.
> Right now, data/config.json is restricted to options that can be changed
> at runtime without restrarting the server, but perhaps it might make sense
> to relax this requirement and put everything except debugging options into
> the config file.


For me; having things that require a restart away from things that don’t (or can be API changed) is goodness.  And generally easier on, for example, the FreeBSD modular conf system. It also conceptually aligns well; as right now things you specify on the command line need to be in sync with other things at OS level (such as firewall ports) - whereas the things in config.json are more private to galene and do not require anyone outside the galene ecosystem to know.

Dw

  reply	other threads:[~2025-03-23 11:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-22 18:29 [Galene] " Juliusz Chroboczek
2025-03-22 20:32 ` [Galene] " Dirk-Willem van Gulik
2025-03-23  9:59   ` Juliusz Chroboczek
2025-03-23 11:42     ` Dirk-Willem van Gulik [this message]
2025-03-30 21:22       ` Juliusz Chroboczek
2025-03-31  4:29         ` Gabriel Pruvost-Kerneis
2025-03-31 11:46           ` Juliusz Chroboczek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D3433E01-82A8-4355-937A-7495528E706C@webweaving.org \
    --to=dirkx@webweaving.org \
    --cc=galene@lists.galene.org \
    --cc=jch@irif.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox