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

Version 0.6.1 throws an error while parsing configuration file with regrex patterns. #405

Open
bboymega opened this issue Jan 13, 2025 · 0 comments

Comments

@bboymega
Copy link

Jan 13 12:26:32 ubuntu sniproxy[85382]: error parsing /etc/sniproxy.conf at 1932 near:
Jan 13 12:26:32 ubuntu systemd[1]: sniproxy.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 12:26:32 ubuntu sniproxy[85382]: Unable to load /etc/sniproxy.conf
Jan 13 12:26:32 ubuntu sniproxy[85382]: Usage: sniproxy [-c <config>] [-f] [-n <max file descriptor limit>] [-V]
Jan 13 12:26:32 ubuntu sniproxy[85382]:  1912        234
Jan 13 12:26:32 ubuntu systemd[1]: sniproxy.service: Failed with result 'exit-code'.
Jan 13 12:26:32 ubuntu sniproxy[85382]:  1916            .*ai\.com$ *
Jan 13 12:26:32 ubuntu sniproxy[85382]:  1933            .*chatgpt\.com$ *
Jan 13 12:26:32 ubuntu sniproxy[85382]:  1955        }
Jan 13 12:26:32 ubuntu sniproxy[85382]:  1957        (null)

/etc/sniproxy.conf:

table {
    .*ai\.com$ *
    .*chatgpt\.com$ *
}

Version 0.6.1 works fine.

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

1 participant