[10:54] < Lawouach> afternoon
[13:23] *** vmlemon_ has joined #kamaelia
[13:25] < vmlemon_> Hi
[14:29] *** MS- has joined #kamaelia
[14:29] < MS-> afternoon
[16:18] *** vmlemon_ has joined #kamaelia
[16:48] < Rigolo> good evening ...
[16:48] < MS-> evening
[16:48] < Rigolo> lot's of activity I notices since I left 2 days ago :-)
[16:49] < Rigolo> mmm my backspace doesn work
[16:50] < Rigolo> now it does :-)
[16:50] < Rigolo> how are things MS?
[16:54] < MS-> Not bad - not really been doing much today, though there's some stuff I really ought to be working on
[16:54] < Rigolo> work related or private ...
[16:54] < MS-> I'll probably do that this evening
[16:54] < MS-> kinda both
[16:55] < Rigolo> I'm waiting for a developer to finish some work on a project that should go live this thuesday (work related)
[16:55] < MS-> Though I'm beginning to get an idea of a common theme that I'd like to work on for december
[16:55] < MS-> I'm planning a kamaelia/code advent calendar
[16:56] < Rigolo> MS-: did you see my adventures with "encrypted streams ... not so
[16:56] < Rigolo> mm that enter was too quick
[16:56] < MS-> ideally consisting of small things, which build up into larger chunks and a larger overall thing
[16:57] < Rigolo> not so good .... I can not get the "encrypted" channels to work with Kamaelia. I can watch them if i use czap -r < channel> and then cat the dvr0
[16:57] *** MS- 's phone goes
[16:57] < MS-> (may be able to help later :) )
[16:57] < Rigolo> mmm so a kamaelia advent code calendar with behind each little window a new and increasingly eleborate piece of kamaelia code?
[16:57] < Rigolo> sounds like fun :-)
[17:34] *** vmlemon_ has joined #kamaelia
[17:36] < vmlemon_> Hi
[17:43] < Rigolo> hee vmlemon_
[17:44] < vmlemon_> Hmm, anyone managed to setup SSH as a tunnel/forwarding proxy before?
[17:46] < Rigolo> what do you mean? ssh from your desktop to a server and then a forward from there to some other place?
[17:46] < vmlemon_> Pretty much
[17:47] < Rigolo> so that is with the -L option right?
[17:47] < Rigolo> tried that once .. but gave up when I found some other way to get where I wanted to go
[17:47] < vmlemon_> Yes
[17:48] < vmlemon_> Although it doesn't seem to function, unless I don't know how to actually use it :|
[17:48] *** vmlemon_ puts it down to bad documentation
[17:48] < Rigolo> that is always a good excuse to use :-)
[17:49] < Rigolo> but you do need to be autorized to create a listning port on the intermediate server ...
[17:49] < vmlemon_> There was supposedly a way to set SSH up on a remote machine as a SOCKS proxy so that applications on the desktop box can connect through it, although as with most things, it doesn't actually work as advertised...
[17:49] < vmlemon_> Good point, Rigolo
[17:50] *** vmlemon_ assumed that non-root users could open a server port on a high number without additional permission 
[17:50] < vmlemon_> (Can't remember the barrier, though, although it at least involved 4+ digit port numbers)
[17:51] < Rigolo> well ... if I was administrating some shell server .. then I would not allow that
[17:51] < Rigolo> non root usually can do what they want above 1024 ...
[17:51] < vmlemon_> That's the one
[17:51] < vmlemon_> (I'm trying to open 5651)
[17:51] < Rigolo> not use if it does what you want .. but did you have a look at stunnel
[17:51] *** vmlemon_ wonders if the connection has to be initiated from the client side, or the host side
[17:51] < Rigolo> and are you sure that one is free?
[17:52] < vmlemon_> Gonna check
[17:52] < vmlemon_> [tyson@DoCoMoDake ~]$ telnet dazjorz.com 5651
[17:52] < vmlemon_> Trying 79.170.90.20...
[17:52] < vmlemon_> telnet: connect to address 79.170.90.20: Connection refused
[17:52] < vmlemon_> Trying 2a02:348:35:5a14::1...
[17:52] < vmlemon_> telnet: connect to address 2a02:348:35:5a14::1: Network is unreachable
[17:52] < vmlemon_> Seems unused
[17:52] < Rigolo> YOU ---> server ---> destination (that is what you try to do right?)
[17:52] < vmlemon_> Yes
[17:53] < Rigolo> and server --> destination is to a "real" port ..
[17:53] < Rigolo> and You --> server is on 5651
[17:53] < Rigolo> so forward every package that arrives on 5651 to port xxx on destination?
[17:54] < vmlemon_> Exactly
[17:54] < vmlemon_> (With xxx being arbitrary depending on what I'm boring through to at the other side)
[17:55] < Rigolo> http://www.onlamp.com/pub/a/onlamp/excerpt/ssh_11/index3.html
[17:56] < vmlemon_> Sod it, I'll probably just try and compile DeleGate (assuming that the resulting binary will work without giving a "Floating point exception" error, or something like that, with it being a 64-bit server)
[17:56] < vmlemon_> Thanks
[17:56] < vmlemon_> Looking now
[17:57] < Rigolo> http://ubuntu.wordpress.com/2006/12/08/ssh-tunnel-socks-proxy-forwarding-secure-browsing/
[17:57] < Rigolo> also looks what you want ...
[17:58] < Rigolo> and then there is the evil DNS tunnels if you have access to a "WiFi access point" that want you to pay first
[17:58] < vmlemon_> Heh
[17:58] < vmlemon_> Just trying to bypass a transparent HTTP proxy :|
[17:58] < vmlemon_> (Orange crapiness, with me not being able to use UMTS at the moment)
[18:02] < vmlemon_> Grr
[18:02] < vmlemon_> It sort-of worked
[18:02] < vmlemon_> Although it doesn't do anything at the server end :(
[18:02] < vmlemon_> (Gives "channel 3: open failed: administratively prohibited: open failed") :(
[18:04] < Rigolo> well .. that kind of explains it .. you are not allowed to create a listning port
[18:05] < Rigolo> but you say: You ---- proxy ---- internet
[18:05] < Rigolo> and that proxy is transparent?
[18:05] < vmlemon_> Just found http://lists.trustix.org/pipermail/tsl-discuss/2004-April/010441.html
[18:05] < Rigolo> so all traffic to any port 80 server is routed through that proxy?
[18:05] < vmlemon_> Someone else has hit the same problem
[18:06] < vmlemon_> Yes
[18:06] *** vmlemon_ has no control over the port 80 proxying, since it's happening at the ISP level
[18:07] < Rigolo> okee .. so you just need a tunnel to some server and then connect from there ...
[18:07] < vmlemon_> Exactly
[18:07] < vmlemon_> I intended to set something up on my shell account
[18:07] < Rigolo> sounds you you really need your own server in some colo .. run a full X desktop there .. and then use VNC, RDP or what ever to connect to it
[18:08] < Rigolo> also reduces the amount of traffic you generate on your link ..
[18:08] < vmlemon_> although as I've discovered, AllowTcpForwarding is unset
[18:08] < Rigolo> but no streaming video like that :-)
[18:08] < vmlemon_> Heh
[18:08] < vmlemon_> Only need it for HTTP on GPRS, anyway
[18:09] < vmlemon_> I did try RTSP audio streaming (BBC Radio 2 I think), and it was pretty painful
[18:09] < vmlemon_> YouTube would be a total no-go
[18:09] < vmlemon_> (The latter worked perfectly on UMTS though)
[18:09] < Rigolo> and using some real HTTP proxy .. that would go through a non port 80 first
[18:10] < Rigolo> YouTube is not streaming .. it "downloads" and then starts playing ..
[18:10] < vmlemon_> Yup
[18:10] < Rigolo> so if you wait long enough .. you can watch it
[18:10] < vmlemon_> (I had a local caching proxy that stored YT videos)
[18:10] < vmlemon_> *for offline playback
[18:11] < Rigolo> so how many Wifi Accesspoints are there around you that you might be able to piggyback on?
[18:12] < vmlemon_> There are proxy lists, although they're of dubious quality
[18:12] < vmlemon_> Asking my shared partition admin
[18:13] *** Rigolo sees 13 wifi access points here ... of which 2 are non encrypted
[18:15] < vmlemon_> No Wi-Fi adaptor on this box, and all the networks had at least WEP last time I could check
[18:16] < Rigolo> well ... WEP is broken in 3 secs I read the other day ;-)(
[18:17] < vmlemon_> Haven't got a chance in hell
[18:17] < vmlemon_> *Hell
[18:17] < vmlemon_> (They're underutilised networks, so there are very few IVs to crack) :(
[18:18] < Rigolo> well .. then try to use them .. and generate traffic ...
[18:18] < Rigolo> non of your neighbours have any access points you could use?
[18:18] < Rigolo> by asking them nice? :-)
[18:19] < vmlemon_> Doesn't help that my PC is in one of the back rooms of the house, where there's only 1 access point in (fleeting) range
[18:19] < Rigolo> or buy a 100 meter of cat5 .. and go to all the houses and ask if you can hook up to their router :-)
[18:19] < vmlemon_> Heh
[18:19] < vmlemon_> Or HomePlug adaptors and really long extension leads ;)
[18:20] < Rigolo> we had our previous neighbours hooked up to our cable modem for years
[18:20] < Rigolo> mm will homeplug work across houses? will it jump the fusebox?
[18:20] < vmlemon_> (Just be careful in the glorious British weather, and watch for stray animals chewing cables, mud and cars) ;)
[18:20] < vmlemon_> Just run two extension leads ;)
[18:21] < vmlemon_> It won't jump fuseboxes otherwise, though
[18:21] < Rigolo> we had a PVC pipe between the houses ... and a CAT5 in there .. worked great
[18:21] < vmlemon_> (One lead going their house with a HP adaptor, and one on an extension lead plugged into the other socket coming back to your house)
[18:21] < vmlemon_> Bit awkward though
[18:21] < vmlemon_> and probably a major safety hazard
[18:22] < Rigolo> (until their daughter got a boyfriend who discovered that their internet was faster than at his place and started to swamp the connection with 100's of bittorrent downloads
[18:22] < vmlemon_> Haha
[18:23] < vmlemon_> Think Broken Toilet would mind if folks ran CAT5 along the telegraph poles between houses? ;)
[18:23] < Rigolo> then I put them behind my router .. and squeezed their speeds when we had need for more :-)
[18:23] < Rigolo> not really ... just do it .. and call it "an enhancement of service" or something like that
[18:24] < vmlemon_> There was talk about "community networks" recently in the suckier parts of the country
[18:24] < vmlemon_> (Boroughbridge being one of them, in my opinion)
[18:24] < Rigolo> I was involved in one .. in a new apartment building ..
[18:25] < Rigolo> they had a 2Mbit up/down connection (when most people were on 56k modems) for about 50 apartments
[18:25] < Rigolo> worked great ... and much cheaper then all the telephone bills put together
[18:27] < vmlemon_> Shame we'll never get fibre optic or cable Internet services here, though
[18:31] < Rigolo> well .. I got my umts modem working under intrepid ... but not yet with the NetworkManager 0.7 that is included with 8.10
[18:33] < vmlemon_> Haha, http://www.engadget.com/2008/11/08/diebolds-e-voting-machines-violate-gpl-good-taste/
[18:42] *** MS- reads back
[18:42] < Rigolo> where you gone then :-)
[18:43] < MS-> "(18:29:49) Rigolo: not so good .... I can not get the "encrypted" channels to work with Kamaelia. I can watch them if i use czap -r < channel> and then cat the dvr0"
[18:43] < MS-> I suspect this is probably due to not picking up an appropriate adapter. I've not used Kamaelia with encrypted channels, so I can see that being a possible issue.
[18:44] < MS-> vmlemon_: I tend to use tunnels fairly often, the trick is to ensure that your end/startpoints are not 127.0.0.1, but IPs, since you can end up with some irritating issues occasionally
[18:45] < MS-> Rigolo: I think I'd need to look at what adapters are being used where
[18:45] < MS-> "cat the dvr0" specifically sounds different
[18:45] < Rigolo> well .. the adapter is fine ... because I can record FTA channels using the virtual adapter using Kamaelia
[18:46] < Rigolo> MS-: you are basically doing the same it looks like in Core.py
[18:46] < MS-> Well, it's using this:
[18:46] < MS-> Core.py: fd = os.open("/dev/dvb/adapter"+str(self.card)+"/dvr0", os.O_RDONLY) # | os.O_NONBLOCK)
[18:46] < MS-> Ah this:
[18:46] < MS-> Tuner.py: fd = os.open("/dev/dvb/adapter"+str(self.card)+"/dvr0", os.O_RDONLY | os.O_NONBLOCK)
[18:46] < MS-> as well
[18:46] < MS-> hm
[18:47] < MS-> You're using "czap -r " to do the tuning though?
[18:47] < MS-> (I've not used czap)
[18:47] < Rigolo> exactly .. and I pass the card parameter with the DVBMultiplex command
[18:47] < Rigolo> yes .. same as tzap though ..
[18:47] < vmlemon_> "ssh -D 5651 username@hostname" on the client?
[18:48] < Rigolo> http://rigolo.googlepages.com/DVB-C-RecordChannel-NL2.txt is my "program"
[18:48] < MS-> Rigolo: I don't use tzap either :)
[18:48] < Rigolo> vmlemon_: that will create a local SOCKS proxy that forwards everything to the server and then I think it goes from there to webserver
[18:48] *** MS- looks at your link
[18:49] < Rigolo> MS-: as simple as it can be .. that program
[18:49] < vmlemon_> It connects to the remote server, although it seems that the server has TCP forwarding disabled :(
[18:49] < MS-> Oh I'm beginning to remember something about tzap
[18:49] < vmlemon_> (I just get "channel 3: open failed: administratively prohibited: open failed" on the shell when trying to utilise the new port)
[18:49] < MS-> You use:
[18:49] < MS-> # tzap "BBC ONE" (or szap or czap)
[18:49] < Rigolo> exactly :-)
[18:50] < MS-> to tune the adapter, and make the card ready for reading data don't you?
[18:50] < MS-> and then you use:
[18:50] < vmlemon_> Aren't the names specified in channels.conf?
[18:50] < Rigolo> correct
[18:50] < MS-> # dvbstream -o -ps -qam 16 -cr 3_4 600 601 | mplayer -
[18:50] < MS-> To just rip out the data that is being presented in .../dvr0
[18:50] < MS-> Command lines taken from here:
[18:50] < MS-> http://www.ethics-gradient.net/myth/
[18:50] < Rigolo> well ...I do czap -r "Nederland 2" and then cat /dev/dvb/adapter4/dvr0
[18:51] < vmlemon_> Shame there isn't an interface with something like /proc to tune a DVB device
[18:51] < Rigolo> well ...I do czap -r "Nederland 2" and then cat /dev/dvb/adapter4/dvr0 > file.mpeg
[18:51] < MS-> ie you use one command to tune the device
[18:51] < MS-> and another command to grab the contents out, essentially
[18:51] < MS-> The reason that doesn't work here is because this:
[18:51] < MS-> http://rigolo.googlepages.com/DVB-C-RecordChannel-NL2.txt
[18:51] < MS-> specifically:
[18:51] < MS-> DVB_Multiplex(618, [71, 97], feparams, 4), # Nederland 2
[18:52] < MS-> does the tuning *and* demuxing
[18:52] < MS-> You actually want something simpler that assumes the device is already set up and ready to read from
[18:53] < Rigolo> tzap or czap also does tuning *and* demuxing ... that is why you give it a channel name
[18:53] < Rigolo> it then looks in channels.conf to find the SID and the PID's .. and spits out that data via DVR0
[18:54] < Rigolo> (if you have set the -r option)
[18:54] < MS-> Are you sure it doesn't spit out a transport stream?
[18:55] < Rigolo> could be ... I could give you a sample if you like ...
[18:55] < MS-> maybe. I'm just wondering though
[18:55] < MS-> If it *is* a transport stream
[18:56] < MS-> Then dumping the results to disk using cat
[18:56] < MS-> should mean that this example could be adapted to check the results:
[18:56] < MS-> https://kamaelia.googlecode.com/svn/branches/private_MH_EnhancementsForDVB-C/Kamaelia/Examples/DVB_Systems/TransportStreamDemuxer.py
[18:56] < MS-> http://kamaelia.googlecode.com/svn/branches/private_MH_EnhancementsForDVB-C/Kamaelia/Examples/DVB_Systems/TransportStreamDemuxer.py
[18:56] < MS-> (rather - http vs https)
[18:57] < Rigolo> could be .. let me first check what the -r flag actually does ..
[18:57] < Rigolo> (in czap that is)
[18:58] *** MS- nods
[18:58] < MS-> My guess is "remultiplex"
[18:58] < Rigolo> -r : set up /dev/dvb/adapterX/dvr0 for TS recording
[18:59] < Rigolo> so it is a transport stream that get's spit out
[18:59] < Rigolo> with only one channel in it I guess then
[18:59] < Rigolo> http://www.linuxtv.org/wiki/index.php/Zap
[18:59] < MS-> Yes, it's a transport stream
[18:59] < MS-> Just came across this:
[18:59] < MS-> $ czap -r -n 3 This tunes the DVB card to channel number 3. Now, record some data by typing:$ cat /dev/dvb/adapter0/dvr0 > stream.ts
[18:59] < MS-> From: http://www.gentoo-wiki.info/HOWTO_Master_a_DVD_from_DVB_transport_stream
[19:00] < MS-> Well, given that, it's entirely likely that given that transport stream,
[19:00] < MS-> http://kamaelia.googlecode.com/svn/branches/private_MH_EnhancementsForDVB-C/Kamaelia/Examples/DVB_Systems/TransportStreamDemuxer.py
[19:00] < vmlemon_> Any way to get *zap to get the whole multiplex?
[19:00] < MS-> should be easily adaptable to deal with the data
[19:00] < MS-> vmlemon_: pid 0x2000 would do that if the hardware supports that pid
[19:00] < MS-> otherwise you'd have to list all the pids manually
[19:01] < vmlemon_> So you add a new "channel" with 0x2000 specified as the PID?
[19:01] < vmlemon_> And then feed it to *zap?
[19:01] < MS-> vmlemon_: yep - or pid 8192 (== 0x2000)
[19:01] < vmlemon_> Aah
[19:01] < MS-> If that adapted version of TransportStreamDemuxer.py works btw
[19:02] < Rigolo> okee ... but if you look at http://rigolo.googlepages.com/DVB-C-RecordChannel-NL1.txt the only difference are the PID's and there I do get a correct datastream
[19:02] < MS-> Rigolo: No, it's a different component
[19:02] < MS-> Pipeline( DVB_Multiplex(618, [88, 89], feparams, 4), # Nederland 1
[19:03] < MS-> DVB_Multiplex(618, [88, 89], feparams, 4)
[19:03] < Rigolo> MS-: I mean .. compare the NL1 with the NL2 example
[19:03] < MS-> Is NL2 encrypted?
[19:04] < Rigolo> on the "real" adaptor it is ... and the virtual it is not
[19:04] < Rigolo> (remember .. I am using open-sasc-ng to decrypt)
[19:04] < MS-> I think I'm getting confused here by this being IRC, I'm aslo going to have to go afk for a short period
[19:04] < MS-> But I think I need something clearer saying
[19:05] < MS-> This is free to air, and this works
[19:05] < MS-> This is encrypted, and this is how to deal with it without kamaelia
[19:05] < MS-> Then another saying how NL1 fits in
[19:05] < MS-> and whether it works or not
[19:05] < MS-> and another for NL2
[19:05] *** vmlemon_ has joined #kamaelia
[19:05] < Rigolo> okee .. I will write a little piece to clarify ...
[19:06] < MS-> (it's made much more complex by the simple fact that I don't have the data sources or similar to test with!)
[19:06] < Rigolo> are there no encrypted DVB streams in the UK? that you can decrypt with a smartcard?
[19:07] < MS-> On freeview, the vast majority of the 40-50 odd services are unencrypted
[19:07] < MS-> There's a handful of recent additions, but none that I've ever needed access to
[19:07] < MS-> So I couldn't even say what they were off the top of my head
[19:07] < vmlemon_> There are plenty of them
[19:07] < vmlemon_> But it's a case of having the right hardware
[19:07] < MS-> On Sky however,
[19:08] < Rigolo> okee .. that is DVB-S then ...
[19:08] < vmlemon_> Isn't the "Top-up TV" stuff encrypted?
[19:08] < MS-> which is essentially DVB-S, it's almost the opposite
[19:08] < MS-> vmlemon_: Yep, but I have no idea what's on top up tv
[19:08] < vmlemon_> A load of junk, probably
[19:08] < vmlemon_> To be frank
[19:08] < MS-> Rigolo: I have sky at home, and the system you get for that is a completely closed system
[19:08] < vmlemon_> although I haven't seen it, either
[19:09] < MS-> Rigolo: Though there is this box:
[19:09] < MS-> http://en.wikipedia.org/wiki/Dreambox
[19:09] < MS-> which due to our conversations I'm now getting more tempted to consider getting :)
[19:09] < Rigolo> MS-: that is why I understood yes .. they are using BOX keys to link the smartcard to the actual STB I understood
[19:09] < Rigolo> MS-: I have a dreambox DM500C sitting here next to me ...
[19:09] < Rigolo> :-)
[19:09] < MS-> :)
[19:09] < vmlemon_> Isn't Sky Digital DVB-S + OpenTV + a NDS-owned cryptography system?
[19:10] < vmlemon_> Or is it more than that?
[19:10] < MS-> vmlemon_: Essentially that, as I understand it
[19:10] < Rigolo> it is NDS ... but also with that box key linking the smartcard to the STB
[19:11] < Rigolo> so if you would have other hardware that is able to understand NDS .. you still can not use it
[19:11] < vmlemon_> (And the proprietary set-top-box with a practically unchanged from the original revision design, barring Sky+ and SkyHD products)
[19:11] < MS-> I'd find it useful because most of the stuff I watch (and would want to record) is on encrypted channels - Sky 1/2, Sci Fi , Virgin 1 (sarah connor chronicles), UKTV Gold, Dave, etc
[19:11] < MS-> Rigolo: I really don't know the details, except it's *annoyingly closed* :)
[19:12] < MS-> OK, I have to go do something, back shortly
[19:12] < Rigolo> MS-: going to see if I can find some people using open-sasc-ng in combination with Sky :-)
[19:12] < vmlemon_> Do they still have the obnoxious requirement to keep the STB connected to a phoneline, too?
[19:12] < Rigolo> no idea ... no sky here :-)
[19:12] < vmlemon_> (Although most people just disconnect it, anyway)
[19:14] < vmlemon_> Ugh, http://google.com/codesearch?hl=en&q=show:apP4RPcJCdQ:I6mHEUwuRl8:BrTdgLUqNQ0&sa=N&ct=rd&cs_p=http://www.angstrom-distribution.org/unstable/sources/firefox-1.0.7-source.tar.bz2&cs_f=mozilla/LEGAL
[19:15] < vmlemon_> (Thanks for reminding me why software patents are a bad idea...)
[19:16] < Rigolo> brb .. sounds like the kids starting the break down the kitchen or something like that
[19:17] < vmlemon_> Sounds fun
[19:29] < Rigolo> back ... and we still have a kitchen ...
[19:29] < Rigolo> :-)
[19:32] < vmlemon_> Hmm,
[19:32] < vmlemon_> [20:46] < meoblast001> we need to find ppl who work for microsoft to help on reactos
[19:32] < vmlemon_> [20:47] < meoblast001> to code it similar to windows
[19:32] < vmlemon_> A Dangerously Stupid Idea®
[19:33] < Rigolo> well ... if you look at it a bit more .. it make sense .. reactos is trying to build an exact copy of windows .. so that should include all the weird bugs, GPF, drivers problems etc etc in it also :-)
[19:35] < vmlemon_> Hmm, it makes sense that way, until you consider things like the recent source code audit they completed, not to mention that most Microsoft employees are probably covered under NDAs and contracts with "taint clauses"
[19:37] < Rigolo> I still think of reactos as being wine on steroids :-)
[19:38] < vmlemon_> Heh
[19:38] *** vmlemon_ still wonders if there isn't a small amount of POSIX supporting code or a UNIX compatibility layer for dealing with the Wine bits on top of their custom kernel 
[19:39] < vmlemon_> Although having seen parts of the ReactOS source code, there isn't anything to suggest it
[19:46] *** Rigolo is busy for a moment ....
[19:55] < MS-> back
[19:55] < aa_> evening everyone
[19:55] < MS-> aa_: evening
[19:55] < vmlemon_> Hi aa_
[19:56] < aa_> anyone hacking up anything interesting?
[19:58] < MS-> "Do they still have the obnoxious requirement to keep the STB connected to a phoneline" - that requirement is a marketing related thing.
[19:58] < MS-> The telesales channels collectively subsidise the hardware on the understanding that recipients of hardware will be contractually
[19:58] < MS-> required to keep the box connected for the first year, so that they can recoup enough of the costs from enough sales.
[19:59] < vmlemon_> Aah, through interactive services and such?
[19:59] < MS-> aa_: At the moment, I'm fiddling with stuff taking mobile messages into a system. But the context is less interesting than it may sound :)
[19:59] < Rigolo> does trying to get Kamaelia to work with open-sasc-ng count as "hacking up anything interesting" ?
[19:59] < MS-> May generate some components to help though
[19:59] < MS-> Rigolo: I'd say that counts :)
[19:59] < MS-> vmlemon_: yep
[19:59] < Rigolo> okee :-)
[19:59] < aa_> MS-: interesting
[20:00] < aa_> Rigolo: anything frankenstein-like counts
[20:00] *** aa_ is using chip and pin card security with twisted auth
[20:00] *** vmlemon_ is watching the idiots from last time pound the Samba instance on his box with their misconfigured Windows 2000 machines
[20:00] < MS-> aa_: These people offer inbound SMS-> email/http get/http post for £2 per month (billed quarterly)
[20:01] < vmlemon_> Naturally, they're not getting very far
[20:01] < MS-> With non-mobile numbers
[20:01] < Rigolo> MS-: notices that czap is also picking up PID 197 (besides 71 and 97) .. and somehow Kamaelia is not telling the virtual DVB card enough information to tune something it looks like
[20:01] < aa_> MS-: wow, unlimited?
[20:01] < MS-> Rigolo: I see
[20:01] < MS-> aa_: Yep, unlimited _inbound_
[20:01] < aa_> oh I see
[20:02] < MS-> Outbound through them can be pay as you go
[20:02] < aa_> "Text the number of youir favourite celebrity dance-program thing to us"
[20:02] < MS-> http://www.aql.co.uk/site/prices.php
[20:02] < vmlemon_> and get spammed back? ;)
[20:02] < MS-> aa_: Yep essentially
[20:02] < aa_> wonder how much it costs for people texting in?
[20:02] < vmlemon_> Meh, I can't help but read "czap" as "crap" without staring at it again to correct myself :|
[20:03] < MS-> aa_: It's usual cost
[20:03] < aa_> that's actually pretty cool
[20:03] < Rigolo> aa_: hacking chip and pin card security ... you should come to .nl and have some fun with our OV Chipcard (dutch version of the Oyster card for dutch public transport)
[20:03] < aa_> text "support" to 1107
[20:03] < MS-> I've got two numbers - 1 for a work project, and one because I thought "I can afford £2 a month for SMS data inbound"
[20:03] < MS-> And could make use of that
[20:03] < aa_> Rigolo: the things are *amazing*
[20:03] < aa_> did you know that there is an entire OS on some of those cards?
[20:04] < vmlemon_> RFID?
[20:04] < aa_> vmlemon_: RFID++
[20:04] < aa_> but yeah
[20:04] < MS-> aa_: As a result, I may have a play at building a twitter type thing using kamaelia, complete with inbound SMS
[20:04] < Rigolo> aa_: yes ... I'm working for a MVNO that is also working on NFC payment systems :-)
[20:05] < vmlemon_> I saw a library a while ago (PaSoRi I think) for working with a Sony USB RFID reader on *nix
[20:05] < MS-> The difference being of course I could key it up to do more interesting things depending on what messages it receives from *me* :-)
[20:05] < vmlemon_> Shame they don't sell them outside of Japan, though :(
[20:06] < Rigolo> vmlemon_: I just read that alcatel/lucent was bring some RFID tags and readers on the market to play around with ...
[20:06] < aa_> MS-: you could do James Bond-like spy stuff
[20:06] < MS-> :-)
[20:06] < aa_> well, I was stunned by these chip cards. Complete OS, public key crypto. Generate the private key on the card, and it never leaves. Then you use it to sign all your transactions
[20:07] < MS-> aa_: That's the idea being the TCPA stuff
[20:07] < aa_> and of course protect the private key with a passphrase (pin number)
[20:08] < aa_> "Town and Country Planning Association" ?
[20:08] < MS-> The first use of the TCPA stuff as well was actually to securely protect the keys to linux encryption partitions
[20:08] < MS-> Trusted Computing Platform Alliance hardware
[20:08] < aa_> aha
[20:09] < MS-> also labelled "treacherous computing" by people who haven't understood the hardware
[20:09] < MS-> Or have only looked at one possible use of the hardware
[20:09] < vmlemon_> Hah
[20:09] < vmlemon_> Was just going to mention that
[20:09] < MS-> basically the same hardware can be used to create an OS that completely locks out the user from changing it
[20:09] < vmlemon_> [21:34] < dazjorz> I'd rather you don't, because that creates a forward proxy for you
[20:09] < vmlemon_> [21:34] < dazjorz> you can already do that yourself, but if anything happens, caesar is blamed
[20:10] < vmlemon_> (Is what the server partition manager says about TCP forwarding, although I'm free to try it "at my own risk")
[20:10] < MS-> But the same thing also allows you to protect your data from attack should you lose the hardware...
[20:11] < MS-> vmlemon_: That's always the danger of port forwarding
[20:11] < vmlemon_> [21:38] < dazjorz> maybe because you are binding to a port < 1024
[20:11] < vmlemon_> [21:38] < dazjorz> or because Bastille has blocked it
[20:11] < MS-> Port forwarding can be useful though in conjunction with the -C flag over high latency links
[20:11] < vmlemon_> Aah, looks like there's a security system in place on the partition, anyway
[20:11] < MS-> Primarily because the connection is compressed that way then.
[20:11] < vmlemon_> Which explains a lot
[20:12] < aa_> ooh x factor results show
[20:12] < aa_> have fun losers!
[20:12] < MS-> hehehe
[20:12] < vmlemon_> Yay, FireStarter worked
[20:12] < vmlemon_> (Blocked the Samba request crap and spat it back in an ICMP packet)
[20:13] < vmlemon_> Unless it's just eating my own traffic
[20:13] < vmlemon_> (A Bad Thing (TM) in that case)
[20:14] < Rigolo> MS-: have a look at this ... http://www.satellites.co.uk/satellite/satellite-pc-card-systems-internet-satellite/95167-htpc-sky-hd-uk-working-also-viewing-card-has-been-out-my-sky-box-months-2.html
[20:16] < MS-> OK, so that includes using a hardware smartcard reader
[20:16] < MS-> which is fine
[20:17] < Rigolo> those are cheap now adays ... I have one here for 45 Euro's
[20:17] < Rigolo> 30 Pounds
[20:17] < Rigolo> and that is a USB based one ..
[20:17] < Rigolo> Smargo+
[20:19] < MS-> looks interesting
[20:19] < MS-> back in a sec, just have to do something
[20:21] < vmlemon_> Hmm...
[20:22] < vmlemon_> Black helicopters and lawyers from BSkyB at his door? ;)
[20:28] *** MS- has joined #kamaelia
[20:31] < vmlemon_> Hi again, MS-
[20:32] < MS-> hi
[20:33] < vmlemon_> No helicopters or Sky lawyers at your door in that brief interlude, after we've been discussing their cryptography/protection systems? ;)
[20:33] < MS-> nope
[20:35] < Rigolo> MS-: it looks like czap is doing something with the SID and Kamaelia not (which makes some sense)
[20:35] < Rigolo> kamaelia just takes the complete stream and then splits out the PIDs that you need
[20:36] *** MS- nods
[20:36] < Rigolo> mm there is one more thing that I can try I just remember
[20:36] < Rigolo> force the sasc-ng virtual adapter to "budget mode" (although I have a budget DVB card)
[20:39] < Rigolo> mmm no difference ...
[20:54] < Rigolo> I think the "problem" I'm having has to do with the fact that Kamaelia assumes that it can get a complete unencrypted DVB transport stream from the DVB adapter and then just drop what you do not need
[20:55] < vmlemon_> Nice, it's just started to rain heavily
[20:55] < Rigolo> however .. the virtual adapter that is created by open-sasc-ng can not give you that. It can only give you some PID's that you specifically requested and then it will do it's best to decrypte them before giving them to you
[20:56] < Rigolo> was the DVB support ever tested with a full feature DVB card?
[20:56] < Rigolo> (do they exist for dvb-t?)
[20:57] < vmlemon_> There are "full feature" cards, but they're not as common it seems
[20:57] < vmlemon_> for DVB-T
[20:58] < Rigolo> what I see happening if I use czap to tune a station is that specific PID's are requested from the dvb adapter ..I never see that with Kamaelia
[20:59] < Rigolo> (and all this ... if I read the logs correct ....)
[20:59] *** Rigolo is away for a moment ... 
[21:17] < Rigolo> back
[21:18] < vmlemon_> The debate about command names in #opensolaris is "fun" at the moment..
[21:18] < vmlemon_> .
[21:18] < MS-> Rigolo: No, specific pids are requested from the DVB adapter
[21:18] < Rigolo> are they?
[21:18] < MS-> yep
[21:19] < Rigolo> mmmm
[21:19] < MS-> You have to tell the adapter which pids to spit out of the adapter
[21:19] < MS-> then grab those
[21:19] < MS-> and demux them specifically
[21:20] < MS-> Generally we ask for 0x2000 where we can because it gives us everything in the containing transport stream
[21:21] < Rigolo> okee .. but asking for 0x2000 does not work on open-sasc-ng ...
[21:21] *** MS- nods
[21:21] < MS-> it also doesn't work with all DVB-T hardware either
[21:21] < MS-> eg I have a DVB-T stick it doesn't work with
[21:21] < vmlemon_> Can't you list the "essential PIDs" without problems (until you've covered everything you're interested in)?
[21:22] < Rigolo> MS .. I see .. on Core.py there is the addPIDS function ...
[21:24] < Rigolo> okee .. so DVBMultiplex tunes the DVB hardware to the correct frequency etc
[21:24] *** MS- nods
[21:24] < Rigolo> then when there is a lock selects the PID's it wants
[21:24] < Rigolo> and then retreives the resulting stream from dvr0
[21:25] < MS-> in dmx.pyx does the actual hardwork
[21:25] < Rigolo> the I thin something goes "wrong" in addPIDs
[21:25] < MS-> cdef class Demux:
[21:25] < MS-> ...
[21:25] < MS-> def set_filter(self, pid, filter, mask, mode, timeout, flags):
[21:25] < MS-> """Set up a filter according to the filter and mask arguments."""
[21:25] < MS-> ...
[21:25] < MS-> cdef cdmx.dmx_sct_filter_params p
[21:25] < MS-> p.pid = pid
[21:26] < MS-> ..
[21:26] < MS-> if ioctl(self.fd, cdmx.DMX_SET_FILTER, &p) == -1:
[21:27] < Rigolo> okee .. when I use czap I see something about PES (actuall that is an error) in the logs .. but that does not happen with Kamaelia
[21:28] < vmlemon_> Hah, [22:56] < hrist> but don't you feel the need to type grandunifiedbootloader-install everytime you want to use grub-install? ;)
[21:31] < Rigolo> MS-: I find all those commented lines with the word "scarmbling" very scary :-)
[21:32] < Rigolo> scrambling also btw:-)
[21:33] < MS-> I didn't write that code in the first place :-)
[21:34] < Rigolo> but you took those parts out :-) (at least .. according to the chagnelog :-) )
[21:35] < Rigolo> actually .. Matt did :-)
[21:35] < vmlemon_> And he's scrambling to remove them ;)
[21:35] *** Rigolo needs new glasses ... or a bigger screen
[21:49] < Rigolo> mmmm too late to make sense of it all ...
[21:50] < Rigolo> no idea what happens here ...
[21:50] < Rigolo> tomorrow is an other day for these things ...
[21:51] < Rigolo> going to bed now ...
[21:51] < Rigolo> maybe talk to you tomorrow ...
[21:52] < vmlemon_> See you, Rigolo
[23:36] *** vmlemon_ has joined #kamaelia