Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2010, 04:17 PM   #1
mike_bike_kite
Digitally confused
mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.
 
mike_bike_kite's Avatar
 
Posts: 500
Karma: 1500000
Join Date: Mar 2010
Location: London, UK
Device: KPW, K2i, Nexus 7 32gb, Kobo Mini
News feed - slashdot should be corrected or removed

I just tried slashdot on the news feeds and my system seemed to be permanently gathering data. I looked more closely at the info and it stated that using this feed could get the users ip banned from slashdot. I went to slashdot and sure enough my ip is now banned!

Is there much point in keeping this feed if all it does is get the user banned? It appears there's a mobile page on slashdot (slashdot.org/palm) which might be a better place to grab the info but I couldn't test this as I'm banned

Mike
mike_bike_kite is offline   Reply With Quote
Old 06-15-2010, 04:28 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The operative word is "might" get you banned. It works for some people and not for others.

If you're willing to develop a better recipe, I'll be happy to replace that one.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-15-2010, 04:41 PM   #3
thinkpad
David
thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.
 
thinkpad's Avatar
 
Posts: 1,808
Karma: 8916183
Join Date: Jan 2010
Location: Norway
Device: Kindle, E.Edge (sold), Irex Iliad (retired)
How can they ban your IP everyone else with that IP will also be banned?
thinkpad is offline   Reply With Quote
Old 06-15-2010, 05:12 PM   #4
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by mike_bike_kite View Post
I just tried slashdot on the news feeds and my system seemed to be permanently gathering data. I looked more closely at the info and it stated that using this feed could get the users ip banned from slashdot. I went to slashdot and sure enough my ip is now banned!
There are some recipe throttles available that may help. You can reduce the number of simultaneous connections and add a delay as follows:

simultaneous_downloads = 1
delay = 3

These may help in avoiding an IP ban. Your testing may help others when the ban is lifted (or your IP changes)
Starson17 is offline   Reply With Quote
Old 06-15-2010, 05:13 PM   #5
mike_bike_kite
Digitally confused
mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.
 
mike_bike_kite's Avatar
 
Posts: 500
Karma: 1500000
Join Date: Mar 2010
Location: London, UK
Device: KPW, K2i, Nexus 7 32gb, Kobo Mini
Quote:
Originally Posted by kovidgoyal View Post
The operative word is "might" get you banned. It works for some people and not for others.

If you're willing to develop a better recipe, I'll be happy to replace that one.
Surely someone would only want to have slashdot on their ereader if they enjoy reading that site. If using the tool means a 50% chance of loosing all access to the site then it's probably best not having it there at all. My skill set is SQL, Unix shell (awk regexpr etc), PHP, html. If I'm useful and you have an example I can follow then I'm happy to help.

Quote:
Originally Posted by thinkpadx View Post
How can they ban your IP everyone else with that IP will also be banned?
Why would they care? If they have an ip that's killing their server then they'll just ban the ip. I've got my fingers crossed at the moment that they'll let me back on.
mike_bike_kite is offline   Reply With Quote
Advert
Old 06-15-2010, 05:13 PM   #6
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by thinkpadx View Post
How can they ban your IP everyone else with that IP will also be banned?
There won't be anyone else with that IP when the banned user is using it, and the ban is probably short-term so that by the time it is reassigned, the ban is lifted.
Starson17 is offline   Reply With Quote
Old 06-15-2010, 05:44 PM   #7
mike_bike_kite
Digitally confused
mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.
 
mike_bike_kite's Avatar
 
Posts: 500
Karma: 1500000
Join Date: Mar 2010
Location: London, UK
Device: KPW, K2i, Nexus 7 32gb, Kobo Mini
Quote:
Originally Posted by Starson17 View Post
There won't be anyone else with that IP when the banned user is using it, and the ban is probably short-term so that by the time it is reassigned, the ban is lifted.
I'm pretty sure all the computers in my house (wife, kids etc) have the same IP address. Also wouldn't a company use a NAT to show a single public ip address to the world while there might be 1000's of computers behind this address. I'll admit I'm a little unsure when it comes to networking though.
mike_bike_kite is offline   Reply With Quote
Old 06-15-2010, 06:19 PM   #8
thinkpad
David
thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.thinkpad ought to be getting tired of karma fortunes by now.
 
thinkpad's Avatar
 
Posts: 1,808
Karma: 8916183
Join Date: Jan 2010
Location: Norway
Device: Kindle, E.Edge (sold), Irex Iliad (retired)
Quote:
Originally Posted by mike_bike_kite View Post
I'm pretty sure all the computers in my house (wife, kids etc) have the same IP address. Also wouldn't a company use a NAT to show a single public ip address to the world while there might be 1000's of computers behind this address. I'll admit I'm a little unsure when it comes to networking though.
That's my impression to. Slashdot risk banning thousand of IP addresses depending on how many computers is behind the NAT, risky business.
thinkpad is offline   Reply With Quote
Old 06-15-2010, 07:08 PM   #9
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by thinkpadx View Post
That's my impression to. Slashdot risk banning thousand of IP addresses depending on how many computers is behind the NAT, risky business.
You're both right, but they seem to think banning is preferable.
Starson17 is offline   Reply With Quote
Old 06-15-2010, 07:18 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
They're in the happy position of having more readers than they need
kovidgoyal is offline   Reply With Quote
Old 06-16-2010, 07:35 PM   #11
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Starson17 View Post
There are some recipe throttles available that may help. You can reduce the number of simultaneous connections and add a delay as follows:

simultaneous_downloads = 1
delay = 3
With these settings I was not banned. It takes forever, so faster settings may also work, but AFAICT, these seem to work to prevent banning.
Starson17 is offline   Reply With Quote
Old 06-16-2010, 08:54 PM   #12
Marauder
Member
Marauder began at the beginning.
 
Marauder's Avatar
 
Posts: 11
Karma: 10
Join Date: Aug 2009
Device: Kindle DX
Quote:
Originally Posted by kovidgoyal View Post
If you're willing to develop a better recipe, I'll be happy to replace that one.
I'm game... : o )

Quote:
Originally Posted by mike_bike_kite View Post
Why would they care? If they have an ip that's killing their server then they'll just ban the ip. I've got my fingers crossed at the moment that they'll let me back on.
And that's exactly what they're doing. Keep in mind that Slashdot is an EXTREMELY high volume site. What it seems they do it if an IP exceeds a certain threshold of (requests/bandwidth over time?) they ban the IP in order to preserve load and resources for the rest of the world. Basically, Slashdot bans the IPs to avoid getting Slashdotted themselves...

Quote:
Originally Posted by Starson17 View Post
There won't be anyone else with that IP when the banned user is using it, and the ban is probably short-term so that by the time it is reassigned, the ban is lifted.
That does not seem to be the case. The IP from my primary ISP was banned some time last year (it's been long enough that I forget exactly when) and despite numerous pleas to several different email addresses associated with Slashdot and OSDN (their parent company), I have received absolute silence.

Thanks to some static routes I set in my router/firewall, I am still able to access Slashdot by sending all traffic to their servers (two IP's responsible for the site) through a secondary/redundant IP/ISP. My primary IP remains banned...

(Now, if Slashdot would just start supporting IPv6 and publish AAAA records...)

Quote:
Originally Posted by mike_bike_kite View Post
I'm pretty sure all the computers in my house (wife, kids etc) have the same IP address. Also wouldn't a company use a NAT to show a single public ip address to the world while there might be 1000's of computers behind this address. I'll admit I'm a little unsure when it comes to networking though.
A home broadband router uses NAT to allow the multiple home computers to access the outside world through the single public IP assigned by the ISP.

From a business perspective, you typically won't have multiple thousands of IP's behind a single NAT-ed address. One of the biggest reasons is performance and other limitations of NAT. The NAT router needs to keep track of every active connection so that when it receives reply traffic from the outside world it knows the original internal host to send that traffic to. Large networks also have to be split into subnets. While several subnets can share a single NATed address, in a large enough installation, such as when you have thousands of users, there will be at the very least be a much larger pool of NAT addresses that are used, so instead of Many <-> One, it's a Many <-> Many translation which distributes the load better.

Anyway, if a large organization get's itself banned from it's employees browsing Slashdot, then there are probably more pressing matters (such as employee productivity) that need to be addressed. And in a sideways way, Slashdot would be doing them a favor by banning the IP. :-)

Quote:
Originally Posted by thinkpadx View Post
That's my impression to. Slashdot risk banning thousand of IP addresses depending on how many computers is behind the NAT, risky business.
But that's rarely the case that a single IP has many thousands of systems behind it. A network with thousands of NAT-ed hosts will typically have many public facing IPs for that network as well.

As a Network Engineer for a rather large, and high profile, Government Agency, I can understand blocking IPs that cause service degradation. (in essence it could be a DoS - Denial of Service - attack against Slashdot, of course Slashdot is a DDoS against every other site it links to). Not only do we regularly block IP's on both temporary, and permanent, basis when we see malicious traffic, there have been entire netblocks blocked from time to time when they've been the source of a high number of attacks...
Marauder is offline   Reply With Quote
Old 06-16-2010, 09:19 PM   #13
mike_bike_kite
Digitally confused
mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.mike_bike_kite ought to be getting tired of karma fortunes by now.
 
mike_bike_kite's Avatar
 
Posts: 500
Karma: 1500000
Join Date: Mar 2010
Location: London, UK
Device: KPW, K2i, Nexus 7 32gb, Kobo Mini
Thanks for the intel Marauder. If you do rewrite the slashdot feed would you just pull the top page with the descriptions and then each sub page with only the highly ranked comments. Could you then cache these results (perhaps for a couple of hours) so users don't have to reload everything from scratch each time. This should make the feed instant for nearly everyone and no one would get banned.
mike_bike_kite is offline   Reply With Quote
Old 06-17-2010, 09:45 AM   #14
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Marauder View Post
I'm game... : o )
AFAICT, the throttles work - you just need to tweak them to deal with the banning issue. The results, however, included a lot of junk. While I read Slashdot, I would miss the ability to respond and to display limited subsets of commentary if I read it via the recipe/EPUB. If you are going to work on it, you probably ought to clean it up after you decide how to adjust the throttles.

Quote:
That does not seem to be the case. The IP from my primary ISP was banned some time last year (it's been long enough that I forget exactly when) and despite numerous pleas to several different email addresses associated with Slashdot and OSDN (their parent company), I have received absolute silence.

Interesting. I've looked at each case of Slashdot banning I've seen reported here. I've tested several versions of the Slashdot recipe to decide if throttling helps. I've been banned once during those tests (unthrottled - one ban out of 5-6 unthrottled tests), but quickly changed my dynamic IP and tested some more. Someone out there must still be suffering from that old IP ban. You would think that most users to Slashdot are not on static IPs, so banning by IP for long periods wouldn't help much.
Starson17 is offline   Reply With Quote
Old 07-05-2010, 12:10 PM   #15
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Since this thread started, I've been testing Slashdot with these two throttles added to the recipe:

Code:
             simultaneous_downloads = 1
             delay = 3
It's worked reliably (but slow) every day, without banning me.
Starson17 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two different formats on news feed TonytheBookworm Calibre 3 10-06-2010 12:51 PM
Kindle inline TOC removed from news in 0.7.20 as a bugfix? buckcs Calibre 4 09-25-2010 03:05 PM
News feed scheduling nickredding Calibre 1 01-24-2010 08:28 PM
News feed error thibaulthalpern Calibre 4 03-22-2009 03:21 AM
Need help creating a news feed ficbot Calibre 3 03-18-2009 03:44 AM


All times are GMT -4. The time now is 11:57 AM.


MobileRead.com is a privately owned, operated and funded community.