Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2025, 04:11 AM   #1
cheekyp123
Junior Member
cheekyp123 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2022
Device: KT3W / Kindle basic 2 / kindle 8?
Question KOReader Crashes When Enabling HTTP Inspector – iptables Error on Jailbroken Kindle

Hi all,



I’m working on a remote page-turning setup for KOReader on my jailbroken Kindle and hoped to use the built-in HTTP Inspector for the job. The idea is to send HTTP requests (e.g. from a PC or button box) to turn pages remotely—simple, hands-free reading under the covers!
Like is detailed in this blog post:https://pageturnerkindle.wordpress.c...roken-kindles/

However, whenever I enable the HTTP Inspector plugin in KOReader, it immediately crashes. Looking at the logs, I see this:

Code:
FATAL: module ip_tables not found
Cannot initialize filter: table doesn’t exist
Do you need to insmod?
It seems like it tries to manipulate iptables, but the Kindle kernel lacks the ip_tables module entirely.

To debug further, I ran an nmap scan of the device:


Code:
Starting Nmap 7.96 ( https://nmap.org ) at 2025-05-10 14:50 GMT Summer Time
Nmap scan report for 192.168.1.225
Host is up (0.0054s latency).
Not shown: 65037 closed tcp ports (reset), 492 filtered tcp ports (no-response)
PORT      STATE SERVICE
22/tcp    open  ssh
23/tcp    open  telnet
12608/tcp open  unknown
20460/tcp open  unknown
20470/tcp open  unknown
MAC Address: AC:XX:XX:XX:XX:XX (Amazon Technologies)
This suggests a few random high ports are open—possibly left by other services—so the device isn’t blocking everything. But without iptables, I can’t seem to bind HTTP Inspector to a new port or even start it without a crash.

Has anyone successfully used HTTP Inspector, or any other lightweight HTTP listener, on a Kindle (without iptables)? Or better yet—does anyone know if KOReader can be made to respond to requests on one of these already-open ports, or how to actually open ports? Given i'm running USB network KUAL module that is presumably the reason port 22 is open. So this must be possible?

I’m also experimenting with writing a simple Lua plugin to handle next/prev commands, but that seems to crash koreader too, likely for the same reason.

Any ideas or prior experience appreciated!

Thanks in advance.

I have kindle basic 2 (8th gen)
cheekyp123 is offline   Reply With Quote
Old 05-12-2025, 06:36 AM   #2
greentea
Enthusiast
greentea is on a distinguished road
 
Posts: 33
Karma: 66
Join Date: Nov 2015
Device: PW5
Install any nightly release after 2025.04 - HTTP inspector in final version had a bug, see here:
https://github.com/koreader/koreader/pull/13541
greentea is offline   Reply With Quote
Advert
Reply

Tags
http, httpinspector, kindle, koreader, remote control


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader on jailbroken Kindle Scribe 2022 duluoz Kindle Developer's Corner 3 03-01-2025 06:36 PM
Jailbroken Kindle PW3 refusing to start KOReader Mr.Feras Kindle Developer's Corner 10 10-20-2024 04:23 PM
KOreader not starting: Jailbroken Kindle Paperwhite 4 tuxedo_kitty KOReader 2 09-15-2021 07:42 AM
PW Moving from Duokan and Kindle 5.3.1 to jailbroken official and KOreader andrej Kindle Developer's Corner 3 01-20-2020 03:30 PM
Koreader problems with iptables or insmod dfect Kindle Developer's Corner 5 08-18-2014 11:37 AM


All times are GMT -4. The time now is 02:01 PM.


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