-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Special rule: www.example.org & m.example.org redirects to example.org #185
Comments
This one is odd ... Who does that ? |
user who don't know better: Clefspeare13/pornhosts#60 Have seen that other places as well actually, that why I suggested it in a global "scaled", other times I simply suspect some are using a script to completely headless append the |
I was thinking about this, and I'm not sure if it's really in the scope of the SPECIAL rule ... When I created the SPECIAL rule, it was really just to take things
What do you think of that ? |
I sometimes think a Then the HUGE exception.... redirecting spyware like That's why I suggested this as a special rule, check for a forth level domain and if there is mark it INVALID, in that way we cancircumwent the 302 question and we can't use the On the other hand if it is a bigger work... and then again, when remembering the exact domain, I've seen the same "rule" could be applied elsewhere.
The question might then become, is this a module we would like to be able to make special rules based on domain level? |
I understand, but this will have some consequences. It's actually not INVALID ... It actually redirects to the right domain ... At least that is what the The browser can't follow it for some obscure reason but it is actually working as-it-should:
This is another level of SPECIAL rule ... |
It is, and you should be considering if it is worth the effort or we might end up in a rule management hell that's better addressed with other scripts/programs
True, my outcome should have been This actually open a hole new situation, debate about how to handle redirects, We have touched the topic in the past, maybe it's time to make a new issue/talk on the subject.
That is because the SSL do not cover fourth level domains, so your are redirected to an insecure zone, where the browser are stopping the site handling with a warning. |
Let me take a very fresh examlpe...
|
Just found this from another import.... And compared to the test result, weeeel the numbers just don't add up |
Note to self: |
Side notes on the implementation - itself:
This should only apply if the status code is in one of the |
Side notes on the implementation - itself - when URLs are tested:
|
This is a special rule, but should be a global one as it is following the requests to the final destination, all "middlemen" is marked as
We will remove any useless You can call this
The rewrite for this would be: IF the domain is in file Example of such regex compliant file could be
Yes, but you have no use of the record in any output list as it is redirecting, you would need the destination as it would help keeping the final lists as small and accurate as possible.
That would depend on the domain.... for |
That is actually another improvement for the mining mechanism... Here we are only talking about subjects that redirect to their 2ndLD. Example All URL shorteners are never triggered by this feature because the tested domain won't match the expected domain. For example:
Also note: The path will be compared. If it doesn't match, nothing changes. |
There is a drawback with flaging a subject as We are only a few people in the issues section but we are a lot more users than we think 😰... |
NOTE: Stumbled on this special domain case
💭 🤔 maybe a new result list? that could also help on your comment in #185 (comment) about the INVALID as they defacto are invalid cases and should be attended by list owner? |
UPDATE: About the special rule for tumblr, then they have made a change for which I have NOT investigated, ONLY observed
This url is empty and redirects to the default homepage, I have found about 30 of these today and they was marked active against expectation. Any change you (@funilrys ) could spend a few minutes on this? note to self (@spirillen)
|
@spirillen they actually don't redirect to the home page per-say. It's all javascript. Therefore, the rule should be about the 404 status code. |
Fixed: * Security / Dependency Management: cryptography Mitigation of CVE-2023-0286 & CVE-2023-23931 through version bump. * Fatal Error: When no nameservers are configured or provided by the hosting system. (#328) * Semantic: git.io (#341) URLs with git.io were replaced with other one. * New linting issues. Improved: * SPECIAL Rules: weebly.com We now take down subdomains that return the 406 status code. * SPECIAL Rules: wordpress.com (#321) We now recognize subjects that were took down by Wordpress. * SPECIAL Rules: internal Uniformiization of the method for better and quicker development. * Dependency Management: sqlalchemy We upgraded to SQLAlchemy v2.x+. * Converters: internal Convertion can now be performed directely without initialization of subjects through the convet method. Removed: * Python Support: <=3.7 We do not test or support any usage of PyFunceble with python<=3.7. New: * Python Support: ~=3.11 We now test (CI/CD) and support python~=3.11. * Testing: pytest (#328) pytest can now be used by packager to tests pyfunceble before deployment. * Database: PostgreSQL We now support PostgreSQL as database type. * Filesystem: IPs as first-class citizens in plain text outputs (#268) From now on, IPs will be stored into the `ips` subdirectory when the plain text format is active. * SPECIAL Rules: subject-switch (#185 | #185#issuecomment-1290866362) We now support the subject switch from any domains. For example: - m.example.com -> example.com Outcome: m.example.com as INACTIVE - m.example.com -> example.org Outcome: NO status switch. - m.example.com -> a.example.com -> example.com Outcome: m.example.com as INACTIVE. - m.example.com/hello/world -> example.com/hello/world Outcome: m.example.com/hello/world as INACTIVE. * SPECIAL Rules: changeip (#311) When one of the known changeip domains provides `abuse.change.com` in the SOA record, the subject will be flagged as INACTIVE. * SPECIAL Rules: imgur.com (#319) We now flag removed images. * SPECIAL Rules: eToxic (#334) When a blog from the eToxic infrastructure (known domains) doesn't exists anymore, we flag them as INACTIVE. Contributors: * @Nilsonfsilva * @smed79 * @spirilln * @T145
Is your feature request related to a problem? Please describe.
There are no such thing as
^(www|m)\..*\.tumblr\.com$
Describe the solution you'd like
Wee should append a
302
ruleDescribe alternatives you've considered
Even better would be
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: