mirror of
https://github.com/f00b4r0/uspot.git
synced 2026-04-26 06:35:54 +03:00
[GH-ISSUE #17] Whitelist domain or IP remains blocked #12
Labels
No labels
bug
enhancement
invalid
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uspot#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pierrejoye on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/f00b4r0/uspot/issues/17
Describe the bug
As explained earlier, I am pretty there is something preventing this working feature to function correctly. I just can't see what.
Steps to reproduce the behavior:
Add a domain to the whitelist dhcp config, an IP to the firewall, or both.
Expected behavior
IP or domain accessible while not authenticated.
Configuration
Provide the output of:
OpenWrt 23.05.2
uci show uspotuci show networkuci show firewalluci show uhttpduci show dhcpLogs
Log before wifi connection session start:
log from the wifi connection session start,, click to continue page correctly display, before continuing I try to go the whitelisted IP and it fails
@f00b4r0 commented on GitHub (Jan 23, 2025):
Hi,
If you expect me to spend time trying to fix your problem, please have the courtesy of providing ALL the information I need.
Please provide this. You can remove all password settings there are unrelated here.
Please provide the output of that command instead of the file. This will show what UCI actually parsed, not what you typed (which may contain typos which are difficult to spot).
Please provide this, it's essential to diagnose this problem.
@pierrejoye commented on GitHub (Jan 23, 2025):
Sorry, I am getting tired :) Markup mistakes hide the uspot's one.
Edited the report, replaced with the uci show and fixed the mark up.
@f00b4r0 commented on GitHub (Jan 23, 2025):
Rule 13, which you added and which is not part of the documentation, unconditionally blocks all unauthenticated traffic. It is ordred before the whitelist rule, Rule 15, which is thus never evaluated.
This is a firewall misconfiguration.
@pierrejoye commented on GitHub (Jan 23, 2025):
Thanks! Now it works perfectly. I think it was a remaining from opennds config I used as base for the setup scripts.
Side question, are you open for a small PR for the README and/or documentation? Easy ones about install from a fresh flashed openwrt? like which packages, uspot uspotfilter and usport-www (I suppose only used for local not needed for UAM, need to check). I will do some scripts to test the flow for the routers we use here.
@f00b4r0 commented on GitHub (Jan 23, 2025):
Normally everything should already be covered in README and package dependencies, but feel free to submit documentation patches.