8000 CSRF by benjamin-wilson · Pull Request #637 · bitaxeorg/ESP-Miner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CSRF #637

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

Merged
merged 9 commits into from
Jan 13, 2025
Merged

CSRF #637

merged 9 commits into from
Jan 13, 2025

Conversation

benjamin-wilson
Copy link
Collaborator

@WantClue WantClue added bug Something isn't working enhancement New feature or request accepted This issue will be worked on swarm Part of the Swarm feature critical Needs to be worked on ASAP labels Jan 11, 2025
if (origin_ip_addr == INADDR_NONE) {
ESP_LOGW("CORS", "Invalid IP address: %s", ip_str);
} else {
ESP_LOGI("CORS", "Extracted IP address %lu", origin_ip_addr);
Copy link
Collaborator
@eandersson eandersson Jan 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably change the happy path to DEBUG log lines. There is a performance impact by all the additional logging.

ESP_LOGI("CORS", "Origin header: %s", origin);
ESP_LOGI("CORS", "Extracted IP address %lu", origin_ip_addr);

@skot skot merged commit a04c00b into master Jan 13, 2025
12 checks passed
@skot skot deleted the CSRF branch January 15, 2025 19:47
jamesscaggs pushed a commit to Advanced-Crypto-Services/acs-esp-miner that referenced this pull request May 17, 2025
* inititial CSRF fix
* allow all private ip ranges
* Allow cross private range

---------

Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue will be worked on bug Something isn't working critical Needs to be worked on ASAP enhancement New feature or request swarm Part of the Swarm feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0