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 do I configure rinetd.conf to allow multiple IP? #23

Open
fivetime opened this issue Mar 2, 2021 · 3 comments
Open

How do I configure rinetd.conf to allow multiple IP? #23

fivetime opened this issue Mar 2, 2021 · 3 comments

Comments

@fivetime
Copy link

fivetime commented Mar 2, 2021

How do I configure rinetd.conf to allow multiple IP, to have one IP address per line like this?

allow 14.49.36.1
allow 14.46.200.1
0.0.0.0 24057 127.0.0.1 6120

But after testing, I found that this configuration is not working, it is only valid for the last line of allow.

@samhocevar
Copy link
Owner

Thanks, you actually found a bug in the configuration parser! The very first rule of the very first server gets ignored.

I have fixed this in git; in the meantime, you can mitigate this problem by adding a dummy rule that will never be matched, such as:

deny 255.255.255.255

@fivetime
Copy link
Author

fivetime commented Mar 3, 2021

I see that you have changed the code. Has this bug been fixed?

@samhocevar
Copy link
Owner

Yes, the git repository has the fix. It will be in the next release.

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