Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2006, 09:45 AM   #1
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Web2iDS for undocumented communication with the iRex Delivery Server

I put off posting about this a) because this tool is still incomplete, and b) iRex promised us to open up the specs of the iRex Delivery Server (iDS) protocol. But as time goes by many of us grow impatient with the company's slow development efforts aimed at making the iLiad reader more usable. So perhaps the best way to convince them how desperately we want to help (through gaining access to the SDK and the flashing process!) is by sharing with you what we've found so far about the iDS protocol.

Web2iDS is a PHP script that uses undocumented XML commands to communicate with the iRex Delivery Server (iDS). Although I wrote the script, all credits should go to TadW who did the main work by finding the XML sequences through connection sniffing and trial and error.

While I am not going to explain the tool sources or XML commands in detail right now (c'mon, it's Sunday, don't you think I've anything better to do?), let me say that you'll find the interesting stuff in iLiadBrowser.php, which contains the class responsible for communicating with the iDS. It's a thin wrapper around the procedural interface to cURL provided by PHP. Obviously for it to work, you must have the cURL extension installed.

Enough said, files are attached to this thread.
Attached Thumbnails
Click image for larger version

Name:	web2ids.gif
Views:	1728
Size:	25.4 KB
ID:	1644  
Attached Files
File Type: zip Web2iDS001.zip (9.9 KB, 601 views)
Alexander Turcic is offline   Reply With Quote
Old 10-01-2006, 12:20 PM   #2
TadW
Uebermensch
TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.
 
TadW's Avatar
 
Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
Some hints:
  • When iRex issues a firmware upgrade, you should get its download URL via "Get Software Upgrade"
  • When iRex issues a firmware patch, you should get its download URL via "Get content"
  • iRex keeps track of what you've already downloaded and successfully installed on your iLiad. So if you are already fully patched with the latest software, you won't see the download URLs (if you use the same email/password combination as for your iLiad and its serial number) - in other words, if you want to go snooping around, next time there is an upgrade, don't upgrade your iLiad before using this tool

Last edited by TadW; 10-01-2006 at 12:27 PM.
TadW is offline   Reply With Quote
Advert
Old 10-01-2006, 12:42 PM   #3
DHer
Addict
DHer doesn't litterDHer doesn't litter
 
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
That's cool.

I'll try it right now.

Thanks for releasing it.
DHer is offline   Reply With Quote
Old 10-01-2006, 03:27 PM   #4
masc
Enthusiast
masc began at the beginning.
 
masc's Avatar
 
Posts: 47
Karma: 10
Join Date: May 2006
Location: Austria
Device: iLiad
It works. Real good work. Now vise versa, I want to see some open "Project Gutenberg" - iDS Server out threre :-).
masc is offline   Reply With Quote
Old 10-01-2006, 04:04 PM   #5
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Quote:
Originally Posted by masc
It works. Real good work. Now vise versa, I want to see some open "Project Gutenberg" - iDS Server out threre :-).
That would be easy - if we were allowed to change the iDS IP manually in the iLiad settings.

Other than that, your only chance is to spoof the iDS IP and redirect it to your own location. This way, of course, you could also flash the iLiad with your own firmware (which is what most people here would love to do, I think)
Alexander Turcic is offline   Reply With Quote
Advert
Old 10-02-2006, 07:41 AM   #6
reiky
Junior Member
reiky began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2006
Quote:
Originally Posted by Alexander Turcic
That would be easy - if we were allowed to change the iDS IP manually in the iLiad settings.
Ok, does someone know exactly what response the iLiad is expecting from iDS in order to download some content and put it into, let's say, the news directory? :-)
reiky is offline   Reply With Quote
Old 10-02-2006, 11:39 AM   #7
arivero
Guru
arivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it is
 
arivero's Avatar
 
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
Quote:
Originally Posted by Alexander Turcic
That would be easy - if we were allowed to change the iDS IP manually in the iLiad settings.
You can provide a different primary DNS. Or is it number coded?
arivero is offline   Reply With Quote
Old 10-02-2006, 12:12 PM   #8
reiky
Junior Member
reiky began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2006
well, it should be enough to set your router so that ids.irexnet.com resolves to the IP you want.... :-)
reiky is offline   Reply With Quote
Old 10-02-2006, 05:15 PM   #9
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Quote:
Originally Posted by Alexander Turcic
That would be easy - if we were allowed to change the iDS IP manually in the iLiad settings.

Other than that, your only chance is to spoof the iDS IP and redirect it to your own location. This way, of course, you could also flash the iLiad with your own firmware (which is what most people here would love to do, I think)
Actually you could provide the answer to that.

If you opened a proxy server of say: http://ids.mobileread.com:8080 we could set that as our proxy in an iLiad "mobileread" profile and you could serve content by having the proxy point ids.irexnet.com to ids.mobileread.com:80.

I'm willing to help set it up.
scotty1024 is offline   Reply With Quote
Old 10-04-2006, 05:32 PM   #10
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
I hadn't seen this anywhere else so I'm putting it up here...

This is the dump from the iLiad client certificate:
Owner: EMAILADDRESS=ca@irextechnologies.com, CN=iRex Technologies BV Cert Authority, O=iRex Technologies BV, L=Eindhoven, ST=Brabant, C=NL
Issuer: EMAILADDRESS=ca@irextechnologies.com, CN=iRex Technologies BV Cert Authority, O=iRex Technologies BV, L=Eindhoven, ST=Brabant, C=NL
Serial number: eda1401cecd3000a
Valid from: Fri Oct 14 07:33:33 PDT 2005 until: Wed Oct 13 07:33:33 PDT 2010
Certificate fingerprints:
MD5: CC:C7:1C:ED:03:0D:60:AF:33:34:6F:0D7:3D:F3:32
SHA1: F8:5D:6E:AE:C6:52:3B:19:0D:5C:ED:96:25F:81:32:EC E:8E:2C

Last edited by scotty1024; 10-13-2006 at 02:06 PM.
scotty1024 is offline   Reply With Quote
Old 10-05-2006, 08:01 AM   #11
arivero
Guru
arivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it is
 
arivero's Avatar
 
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
Quote:
Originally Posted by scotty1024

I wonder why they're using a "self signed" SSL certificate? Well why wonder when it makes our life easier right?
Thwy could change it if they get a big partner interested on strong DRM. If at the end they do not get any, it is absurd to have strong defenses. Besides, a serious DRM could have its own hardware system based in the SDcard or in the CFcard.
arivero is offline   Reply With Quote
Old 10-05-2006, 12:05 PM   #12
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Several months ago there was a rumor that the iLiad had one of the Philips TPM chips installed. I haven't seen much evidence of that so far...
scotty1024 is offline   Reply With Quote
Old 10-05-2006, 12:44 PM   #13
arivero
Guru
arivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it is
 
arivero's Avatar
 
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
Quote:
Originally Posted by scotty1024
Several months ago there was a rumor that the iLiad had one of the Philips TPM chips installed. I haven't seen much evidence of that so far...
Neither me, but we have not documented all the chips in the board. Still, I think that a more useful strategy for vertical or B2B markets is to have a CF-card device on charge of the autentification and decription. The iDS should send an encrypted document and the CF device should do the decription. If they want maximum security (example, to avoid a decrypted document to leak from the /tmp to some user directory) the card based device can work in a by page basis, or to interact with some extra software instead of xpdf or minimo. As someone has noticed, the iLiad display can be scanned, so to try to control the last phase from decryption to display is nonsense.
arivero is offline   Reply With Quote
Old 10-05-2006, 01:16 PM   #14
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
The TPM chips can do flow through encryption/decryption and have a secure onboard key storage module.

http://en.wikipedia.org/wiki/Trusted_Platform_Module
scotty1024 is offline   Reply With Quote
Old 10-17-2006, 06:54 AM   #15
design256
Connoisseur
design256 doesn't litterdesign256 doesn't litter
 
Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
Quote:
Originally Posted by Alexander Turcic
Web2iDS is a PHP script that uses undocumented XML commands to communicate with the iRex Delivery Server (iDS). Although I wrote the script, all credits should go to TadW who did the main work by finding the XML sequences through connection sniffing and trial and error.
Thanks for this great piece of work guys. Here is a very simple perl/LWP script that accesses the IDS server in the same way for those of you that don't have php and want to experiment. It should be called ids.pl, but the forum doesn't like .pl files, so I've called it ids.txt.
Attached Files
File Type: txt ids.txt (1.5 KB, 494 views)
design256 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I trust IRex Dr800SG delivery date? Maike13 Which one should I buy? 40 10-30-2009 11:46 PM
iRex announces development of colour device for 2011 delivery HarryT News 57 06-09-2009 11:04 AM
Irex 1000S Delivery in UK veeraganesh iRex 7 10-13-2008 06:44 PM
Irex Delivery Service markiehill iRex 5 07-21-2006 04:28 PM
De Tijd and iRex to launch digital paper delivery service Alexander Turcic News 7 01-20-2006 11:02 AM


All times are GMT -4. The time now is 07:41 PM.


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