René's URL Explorer Experiment


Title: Banned IP entry into an error log · Issue #332 · etr/libhttpserver · GitHub

Open Graph Title: Banned IP entry into an error log · Issue #332 · etr/libhttpserver

X Title: Banned IP entry into an error log · Issue #332 · etr/libhttpserver

Description: Is there any issue to write banned IP entry to an error log ? Something like that: if ((((static_cast(cls))->default_policy == http_utils::ACCEPT) && ((static_cast(cls))->bans.count(ip_representation(addr))) && (!...

Open Graph Description: Is there any issue to write banned IP entry to an error log ? Something like that: if ((((static_cast(cls))->default_policy == http_utils::ACCEPT) && ((static_cast(cls))->ba...

X Description: Is there any issue to write banned IP entry to an error log ? Something like that: if ((((static_cast<webserver*>(cls))->default_policy == http_utils::ACCEPT) && ((static_cast<w...

Opengraph URL: https://github.com/etr/libhttpserver/issues/332

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Banned IP entry into an error log","articleBody":"Is there any issue to write banned IP entry to an error log ?\r\n\r\nSomething like that:\r\n```c++\r\nif ((((static_cast\u003cwebserver*\u003e(cls))-\u003edefault_policy == http_utils::ACCEPT) \u0026\u0026\r\n            ((static_cast\u003cwebserver*\u003e(cls))-\u003ebans.count(ip_representation(addr))) \u0026\u0026\r\n            (!(static_cast\u003cwebserver*\u003e(cls))-\u003eallowances.count(ip_representation(addr)))) ||\r\n        (((static_cast\u003cwebserver*\u003e(cls))-\u003edefault_policy == http_utils::REJECT) \u0026\u0026\r\n         ((!(static_cast\u003cwebserver*\u003e(cls))-\u003eallowances.count(ip_representation(addr))) ||\r\n          ((static_cast\u003cwebserver*\u003e(cls))-\u003ebans.count(ip_representation(addr)))))) {\r\n    \r\n    //log banned IP\r\n    std::string msg = \"IP '\" + httpserver::http::get_ip_str(addr) + \"' rejected\\n\";\r\n    webserver* dws = static_cast\u003cwebserver*\u003e(cls);\r\n    dws-\u003elog_error(msg);\r\n\r\n    return MHD_NO;\r\n}\r\n```","author":{"url":"https://github.com/RobertFojtikAEN","@type":"Person","name":"RobertFojtikAEN"},"datePublished":"2023-10-12T10:04:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/332/libhttpserver/issues/332"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8ca4cfaf-c77c-8c84-078c-0765e36b74f4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9B24:348185:306BCB8:3FD78A5:6964A2AD
html-safe-noncebb8c9c2d5b5041771aaf2e4dac9a6169f34c14ec3b02e30c6defa05b0f5533b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjI0OjM0ODE4NTozMDZCQ0I4OjNGRDc4QTU6Njk2NEEyQUQiLCJ2aXNpdG9yX2lkIjoiNDk3Njc3NjUzMjYyMTMwNDQ5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac71a7ecef35dc87e063b549a85d8c2f15951cf9b4207bf42121f4653e3f89c69f
hovercard-subject-tagissue:1939650555
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/etr/libhttpserver/332/issue_layout
twitter:imagehttps://opengraph.githubassets.com/29866efcec495ad0c14d2fa9755f80e6c10114bdd1eec088ee305bf2ac4514b6/etr/libhttpserver/issues/332
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/29866efcec495ad0c14d2fa9755f80e6c10114bdd1eec088ee305bf2ac4514b6/etr/libhttpserver/issues/332
og:image:altIs there any issue to write banned IP entry to an error log ? Something like that: if ((((static_cast(cls))->default_policy == http_utils::ACCEPT) && ((static_cast(cls))->ba...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRobertFojtikAEN
hostnamegithub.com
expected-hostnamegithub.com
Nonebaa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5
turbo-cache-controlno-preview
go-importgithub.com/etr/libhttpserver git https://github.com/etr/libhttpserver.git
octolytics-dimension-user_id1201536
octolytics-dimension-user_loginetr
octolytics-dimension-repository_id3416891
octolytics-dimension-repository_nwoetr/libhttpserver
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3416891
octolytics-dimension-repository_network_root_nwoetr/libhttpserver
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release842eff1d11f899d02b6b3b98fa3ea4860e64b34e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/etr/libhttpserver/issues/332#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fetr%2Flibhttpserver%2Fissues%2F332
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fetr%2Flibhttpserver%2Fissues%2F332
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=etr%2Flibhttpserver
Reloadhttps://github.com/etr/libhttpserver/issues/332
Reloadhttps://github.com/etr/libhttpserver/issues/332
Reloadhttps://github.com/etr/libhttpserver/issues/332
etr https://github.com/etr
libhttpserverhttps://github.com/etr/libhttpserver
Notifications https://github.com/login?return_to=%2Fetr%2Flibhttpserver
Fork 191 https://github.com/login?return_to=%2Fetr%2Flibhttpserver
Star 942 https://github.com/login?return_to=%2Fetr%2Flibhttpserver
Code https://github.com/etr/libhttpserver
Issues 40 https://github.com/etr/libhttpserver/issues
Pull requests 11 https://github.com/etr/libhttpserver/pulls
Actions https://github.com/etr/libhttpserver/actions
Projects 0 https://github.com/etr/libhttpserver/projects
Wiki https://github.com/etr/libhttpserver/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/etr/libhttpserver/security
Please reload this pagehttps://github.com/etr/libhttpserver/issues/332
Insights https://github.com/etr/libhttpserver/pulse
Code https://github.com/etr/libhttpserver
Issues https://github.com/etr/libhttpserver/issues
Pull requests https://github.com/etr/libhttpserver/pulls
Actions https://github.com/etr/libhttpserver/actions
Projects https://github.com/etr/libhttpserver/projects
Wiki https://github.com/etr/libhttpserver/wiki
Security https://github.com/etr/libhttpserver/security
Insights https://github.com/etr/libhttpserver/pulse
New issuehttps://github.com/login?return_to=https://github.com/etr/libhttpserver/issues/332
New issuehttps://github.com/login?return_to=https://github.com/etr/libhttpserver/issues/332
Banned IP entry into an error loghttps://github.com/etr/libhttpserver/issues/332#top
https://github.com/etr
feature-requestFeature requests or enhancementshttps://github.com/etr/libhttpserver/issues?q=state%3Aopen%20label%3A%22feature-request%22
https://github.com/RobertFojtikAEN
https://github.com/RobertFojtikAEN
RobertFojtikAENhttps://github.com/RobertFojtikAEN
on Oct 12, 2023https://github.com/etr/libhttpserver/issues/332#issue-1939650555
etrhttps://github.com/etr
feature-requestFeature requests or enhancementshttps://github.com/etr/libhttpserver/issues?q=state%3Aopen%20label%3A%22feature-request%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.