#1 Connection parameters from command-line

Chiuso
blallo vorrebbe unire 0 commit da blallo/master a boyska/master
blallo ha commentato 5 anni fa

Hi!

I added three parameters to be passed from command-line:

  • log-port is the UDP syslog port
  • query-port is the TCP (HTTP) port for queries
  • addr is the address to bound to, used only in the UDP server configuration

There is a shallow control on the ports (integers, and should be in (0,65535]), but no control on the addr.

Hi! I added three parameters to be passed from command-line: - `log-port` is the UDP syslog port - `query-port` is the TCP (HTTP) port for queries - `addr` is the address to bound to, used only in the UDP server configuration There is a shallow control on the ports (integers, and should be in (0,65535]), but no control on the `addr`.
blallo ha commentato 5 anni fa
Collaboratori

As discussed OTR, now there are just two parameter:

  • syslog-addr, defaults to 127.0.0.1:9514 (UDP)
  • query-addr, defaults to 127.0.0.1:9080 (HTTP)

I tried to test also IPv6 support with --query-addr ::1:12345 but I cannot get it working. IPv4 is (apparently) well-behaved.

As discussed OTR, now there are just two parameter: - `syslog-addr`, defaults to `127.0.0.1:9514` (UDP) - `query-addr`, defaults to `127.0.0.1:9080` (HTTP) I tried to test also IPv6 support with `--query-addr ::1:12345` but I cannot get it working. IPv4 is (apparently) well-behaved.
Riapri questa pull request per effettuare il merge.
Sign in to join this conversation.
Nessuna milestone
Nessun assegnatario
1 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.