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

how to disable log completely? #335

Closed
malikshi opened this issue Jun 19, 2022 · 5 comments
Closed

how to disable log completely? #335

malikshi opened this issue Jun 19, 2022 · 5 comments

Comments

@malikshi
Copy link

malikshi commented Jun 19, 2022

current config, sslh-select

foreground: true;
inetd: false;
numeric: false;
transparent: false;
timeout: 2;
udp_max_connections: 512000;
user: "nobody";
pidfile: "/var/run/sslh.pid";
chroot: "/var/empty";
syslog_facility: "auth";

verbose-config: 0; #  print configuration at startup
verbose-config-error: 0;  # print configuration errors
verbose-connections: 0; # trace established incoming address to forward address
verbose-connections-error: 0; # connection errors
verbose-connections-try: 0; # connection attempts towards targets
verbose-fd: 0; # file descriptor activity, open/close/whatnot
verbose-packets: 0; # hexdump packets on which probing is done
verbose-probe-info: 0; # what's happening during the probe process
verbose-probe-error: 0; # failures and problems during probing
verbose-system-error: 0; # system call problem, i.e.  malloc, fork, failing
verbose-int-error: 0; # internal errors, the kind that should never happen

listen:
(
    { host: "0.0.0.0"; port: "443"; log_level: 0; is_udp: true; keepalive: true; }
);
protocols:
(
    { name: "tls"; host: "localhost"; port: "444"; log_level: 0; tfo_ok: true;},
    { name: "anyprot"; host: "localhost"; port: "445"; log_level: 0; tfo_ok: true; }
);
on-timeout: "tls";

i can not apply syslog_facility: "none";
error
sslh-select[23058]: Unknown facility none

@yrutschle
Copy link
Owner

yrutschle commented Jun 19, 2022 via email

@malikshi
Copy link
Author

syslog
It's often sslh stopped after few minutes run. I used debian 11 and sslh 1.20-1 ?
I tried between init.d and standalone with same results.

@yrutschle
Copy link
Owner

1.20 is 4 years old, and does not support any of the verbose-* options you're using. These have been introduced in v2.0, at some point during the last year.

@malikshi
Copy link
Author

It's difficult for me to compile sslh. If you're add GA/workflow compiled latest commit would be great.

@yrutschle
Copy link
Owner

CI is an entirely different topic (which I'm not sure I want to get into...), so closing this. CI is in #343 already, so to speak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants