LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 03-28-2022, 10:24 AM   #1
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
Cannot access forum from links


I am using my phone to write this post. Please forgive any "typos."

I formerly used the links browser to access this forum from hardware too old to run modern Javascript. Now i get the following message:

Please turn JavaScript on and reload the page.

Why do I have to complete a CAPTCHA?

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

...

Cloudflare Ray ID: 6f314bd4ab1b3a19 * Your IP: [buttcrack redacted] * Performance & security by Cloudflare

Last edited by BenCollver; 04-04-2022 at 01:28 PM.
 
Old 03-28-2022, 12:22 PM   #2
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 102Reputation: 102
The Captcha requirement is from Cloudflare, which is a CDN (content delivery network) and also gives DDoS mitigation services and not LQ. It allows LQ to scale better and prevent idiots from doing a Denial of Service attack on it.

As far as I can tell looking at the Cloudflare FAQ's javascript is required for being able to access any sites in their system.
 
Old 03-28-2022, 12:50 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Cloudflare again!
Thanks for reporting this.
 
Old 03-28-2022, 02:47 PM   #4
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,625

Rep: Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556

JavaScript being required on CloudFlare sites is only relevant when the CAPTCHA is shown. When an LQ request is not intercepted, JavaScript is not required.

If CloudFlare is behaving differently with Links compared to other browsers then you need to identify which HTTP header(s) are different.

The obvious one is the User-Agent, and Links can accept -http.fake-firefox 1 to solve that (or -http.fake-user-agent <string> to specify something else).


Last edited by boughtonp; 03-28-2022 at 02:48 PM.
 
Old 04-02-2022, 02:08 PM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,625

Rep: Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556Reputation: 2556

Quoted from a different thread...
Quote:
Originally Posted by BenCollver View Post
i cannot access the forum from the links browser even when i set the UA to match Firefox.
If User-Agent didn't solve it, it may be cookie related. (It may also be other things.)

There's no mention of cookies on the Links man page, does it even support cookies?

You haven't given any useful information: What specific version of Links are you using, how are you starting it, at what point do you see the message (i.e. when trying to visit the homepage, when trying to login, when trying to post, at some other stage?)

Have you tried using ELinks or Lynx instead?


Last edited by boughtonp; 04-02-2022 at 02:17 PM.
 
Old 04-02-2022, 05:00 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,151
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
I was able to open LQ with lynx, after accepting 4 different cookies.
https://0x0.st/oqhm.png

I don't have links installed.
Code:
lynx --version
Lynx Version 2.8.9rel.1 (08 Jul 2018)
libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.1.1m, ncurses 6.3.20211021
Built on linux-gnu (Feb  6 2022 12:33:20).
It doesn't update very often.

Edit your first post and remove your IP address.
 
Old 04-03-2022, 12:19 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by BenCollver View Post
I didn't realize that CF was only requiring JS for certain users.
I don't think it does.
As I wrote in the other thread about ads:
  • I don't use js on LQ
  • adding certain combinations of letters & symbols to your post is enough to trigger CF so that I have to enable js, or even complete a captcha. E.g. "script" surrounded by < > or "ls" at the beginning of the line.
Right now I don't feel that you have researched & described your problem well enough to move on to speculations.

That said, I have voiced my criticism of how CF acts on this site many times, so take care not to preach to the choir.
 
Old 04-03-2022, 08:28 PM   #8
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376

Original Poster
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
Did i break the forum rules by disclosing my IP address?
 
Old 04-03-2022, 08:55 PM   #9
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376

Original Poster
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
I can log into the forum with lynx. That works at least.

I am using the links browser version 2.25 with cookies enabled. It does not seem to make a difference which UA i use. I tried using "Lynx/2.28rel.2 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.2u" as my UA, but i still get a CAPTCHA from CF when i try to log in.

I start links by running: /usr/bin/links -g

Then i type: g

Then i type: https://www.linuxquestions.org/

Then i press Enter.

Then i click in the User Name field and enter my user name.

Then i click in the Password field and enter my password.

Then i click the [Log in] button.

Then i see the CAPTCHA.

What i found is that if i press Ctrl-R several times to reload, the CAPTCHA goes away and i am logged in. Very strange.
 
Old 04-03-2022, 09:13 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,379
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
I just visited forum in links and had no issues with a capcha, but, after I logged in and went to the "Redirecting" page, nothing happened. The login didn't seem to take. But that was probably my inexperience with links more than anything else . . . .
 
Old 04-03-2022, 09:44 PM   #11
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376

Original Poster
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
I also found that i can log in using links in Termux on my phone without receiving a CAPTCHA. I only have a problem with links on my old, slow linux laptop. Same version of links in both places, same cookie settings, same useragent.
 
Old 04-03-2022, 09:58 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,379
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
I was able to login and navigate the forum with w3m, which is my favorite text browser, but, I must admit, I haven't used it in quite a while.
 
Old 04-04-2022, 06:23 AM   #13
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,151
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Quote:
Did i break the forum rules by disclosing my IP address?
Nope, but it'll give the script kiddies and L33t kali users something to do. And you'll probably see more business at your firewall. Just a friendly suggestion.

Code:
ping -c1 63.155.xx.xx
PING 63.155.xx.xx (63.155.xx.xx) 56(84) bytes of data.
64 bytes from 63.155.xx.xx: icmp_seq=1 ttl=51 time=80.3 ms

whois 63.155.xx.xx
dig @8.8.8.8 63.155.xx.xx
nslookup
nmap
https://www.findip-address.com/

etc.
 
Old 04-04-2022, 11:29 AM   #14
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376

Original Poster
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
I figure the ad networks already have my deets and they are friendly with malicious forces. Not to mention the alphabet agency spooks in bed with the big Internet companies. Why worry whether my buttcrack is showing when i have to walk through an x-ray vision security-theater box anyway?
 
Old 04-04-2022, 12:42 PM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ I don't think that's a good comparison, but I can't be arsed (pun intended) to come up with a better one. Anyhow, friendly advice was given, the rest is up to you ¯\_(ツ)_/¯

Quote:
Originally Posted by BenCollver View Post
Then i type: https://www.linuxquestions.org/

Then i press Enter.

Then i click in the User Name field and enter my user name.

Then i click in the Password field and enter my password.

Then i click the [Log in] button.

Then i see the CAPTCHA.

What i found is that if i press Ctrl-R several times to reload, the CAPTCHA goes away and i am logged in. Very strange.
That is very strange indeed.

Quote:
I am using the links browser version 2.25 with cookies enabled. It does not seem to make a difference which UA i use.
Are you sure you tried one representing a recent version of Firefox, Chrome, Chromium?
FWIW, my current FF is: "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
web page/links links/links vendtagain Linux - Newbie 2 09-19-2009 08:13 PM
Copying a phpbb3 forum contents to a different forum; no admin access on source forum Maligree General 1 08-11-2008 11:45 AM
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
how to change relitive links to specific links? wolfe2554 Linux - General 4 07-03-2004 12:40 AM
Links Section updated - Please add your Linux links. jeremy Linux - General 2 11-24-2001 11:35 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration