NewCS 1.50

--- Index ------- ---  -- - - -

1.  Chameleon - the newcs P2P
2.  Feynman
3.  File Descriptions
4.  Runtime Arguments
5.  Configfile
6.  TCP-Commands
7.  FAQ
8.  Changelog
9.  Troubleshooting
10. Special Notes
11. Known Bugs
12. Greets

1.-- Chameleon - the newcs P2P ------- ---  -- - - -

Here we will _try_ to make a little introduction on how the P2P network works.
You have to start by creating your own self-signed Certificate, this can be done with this command on a machine that has openssl installed:
    openssl req -new -x509 -nodes -out newcs.pem -keyout newcs.pem
or you can create a certificate on a online site, there is some that creates self-signed certificates.
The connection from newcs<->newcs is encrypted with SSL.

After creating the certificate, place it somewhere and make sure the path in the <certificate> tag in the global section reflects that.
Go through the <chameleon> section, and set your port, create users if you need incomming connections, peers if you need outgoing connections.
If you want incomming connections, the tcp-port specified needs to be open in your router (NAT or similar).

When the server is started, it will generate a random 2byte hex serverID - this will be the ID of your server for this session, the other servers
in the network will locate you based on this ID _only_. Only your peers know your details, _noone_ else on the network know your details -to 3rd parties
the network is completely anonymous.

Clients have to connect to Chameleon through the Feynman server in NewCS, through here the client will send ECM to Chameleon. Chameleon will then
broadcast a ECM to all serverID's in the network that has this CAID/Provider, all that can, answer with a valid dcw. The 3 fastest replies will
be remembered, and Chameleon will continue now to send _only_ to the fastest replier. Chameleon will try to keep a timeing to the next fastest server
so it can switch when another one is faster.
For the moment, Mgcamd 1.2x can also get the chameleon cards through newcamd protocol IF the user it use to login has <cardlevel> set to 1.

If a client send more then 10 requests for a sid, and dont get a valid dcw - this client is blocked on this sid for another 100 requests to prevent
broadcast spamming.

2.-- Feynman Protocol ------- ---  -- - - -

Feynman is a protocol written by us, it can handle multiple cards over one port, EMM, ECM - handle SIDS on both sides. It provides simple functions, so
client and server developers can think about other important stuff :)
We hope that this will be the new "standard" in the sat hobby - like newcamd has been in the past few years :)
Newcamd has been a great protocol, but it has its limitations - and we hope to phase out newcamd (and radegast) in the next major version of NewCS.

Would be nice if someone could make a sourceforge project, or some other opensource project site.
PLEASE, we give this as opensource, please keep it that way :)
Feedback is appriciated, hope someone will take this as a project to improve and nurse :)

3.-- File Descriptions ------- ---  -- - - -

newcs.ppc            ->    NewCS binary for dreambox, tripledragon and other powerpc machines.
newcs.ppc.pcsc            ->    NewCS with support for the PC/SC for powerpc machines.
newcs.ppc.usb            ->    NewCS with support for the Infinity-USB programmer for powerpc machines.
newcs.mips            ->    NewCS binary for the 7025 dreambox.
newcs.mips.pcsc            ->    NewCS binary with support for PC/SC for the 7025 dreambox.
newcs.mips.usb            ->    NewCS binary with support for the Infinity-USB programmer for the 7025 dreambox.
newcs.i686            ->    32bit NewCS binary for linux on Intel compatible machines.
newcs.i686.pcsc            ->    32bit NewCS binary for linux on Intel compatible machines, with PC/SC support.
newcs.i686.usb            ->    32bit NewCS binary with support for the Infinity-USB programmer for Intel compatible machines.
newcs.x86_64            ->    64bit NewCS binary for linux on AMD64.
newcs.x86_64.pcsc        ->    64bit NewCS binary for linux on AMD64, with PC/SC support.
newcs.x86_64.usb        ->    64bit NewCS with support for the Infinity-USB programmer on AMD64.
newcs.openwrt            ->    NewCS binary for OpenWRT (this only support phoenix as type)
newcs.openwrt.pcsc        ->    NewCS binary with support for PC/SC for OpenWRT. (this only support phoenix and pcsc as type)
newcs.openwrt.usb        ->    NewCS binary with support for the Infinity-USB programmer for OpenWRT. (this only support phoenix and infinity as type)
newcs.nslu2               ->    NewCS binary for NSLU2. (this only support phoenix as type)
newcs.nslu2.pcsc           ->    NewCS binary with support for PC/SC for NSLU2. (this only support phoenix and pcsc as type)
newcs.nslu2.usb           ->    NewCS binary with support for the Infinity-USB programmer for NSLU2. (this only support phoenix and infinity as type)
newcs.exe            ->    NewCS binary for 2K/XP/2003/Vista. (this only support pcsc, phoenix and sc8 as type)
newcs.st40            ->    NewCS binary for the Kathrein box..
newcs.st40.pcsc            ->    NewCS binary with support for PC/SC for the Kathrein.
newcs.st40.usb            ->    NewCS binary with support for the Infinity-USB programmer for the Kathrein.
newcs.xml            ->    The configfile that NewCS reads, should be placed in /var/tuxbox/config.
readme.txt            ->    This file you smartass :P

4.-- Runtime Arguments ------- ---  -- - - -

NewCS can be run with some arguments when you start it, here are some of them explained:

-c configfile, here you can specify the path to a configfile.
-h help, will show something similar to this.
-v version, this will show when the binary is compiled and which version it is.
-nd this is will prevent NewCS from forking.
/var/newcs -c /etc/newcs-usb.xml (you give full path to configfile)

5.-- Configfile ------- ---  -- - - -

Remember to always close the tags, there is a beginner tag "<tag>" and a end tag "</tag>", if the tag start
with a "<!-- " and ends with a " -->" it is a comment. More info about xml you will find on google..

Look in the configfile for explanations on what the different sections are.
Configfile isnt case-sensitive and shouldnt care about dos/unix crlf differences.

6.-- TCP-Commands ------- ---  -- - - -

Telnet to the tcp-port (default is 1001) and write the commands hit enter to execute it:
PS! In windows the standard telnet client doesnt work, try using f.ex Putty as a client instead (raw mode).

| Command       |   Parameters   \   Description                             |
|           help| None                          Displays help text.
|           keys| None                          Display AU/SA serialnumbers from card.
|          users| None                          Displays stats about users.
|        readers| None                          Displays readers and their status.
|          cards| None                          Displays readers and their status.
|         uptime| None                          Displays NewCS's uptime.
|          stats| None                          Displays Statistics.
|          cache| None                          Displays Statistics.
|        version| None                          Displays NewCS's version, and configfile used.
|        restart| None                          Reinit all your cards.
|          reset| [reader number]               Reset Cards.
|         reset2| [reader number]               Reset Cards.
|            ban| [user id]                     Ban a user from NewCS.
|          unban| [user id]                     Unban a user from NewCS.
|            sub| [reader number]               Display Entitlements from your cards.
|           sids| (add/remove/clear)            Display and change your sid-lists.
|               | (reader number)(sid)(allow/deny)
|        adduser| [username][password]          Add a newcamd user to your NewCS.
|               | [spider][au][sidoverride][rate]
|        blocker| (reader number)(ua/sa/ga)(yes/no)     Display and change the blocker status in your NewCS.
|          level| (None/Normal/Verbose/Spam/Internal)   Set the loglevel in this telnet session.
|           type| (General/Init/ECM/EMM/Net/IO/All)     Set the logtype in this telnet session.
|            osd| [username][message]           Send a message to one of your connected clients.
|     statsreset| None                          Reset the statistics on your newcamd users.
|           exit| None                          Disconnect this telnet session.
|            bye| None                          Disconnect this telnet session.
|           quit| None                          Disconnect this telnet session.
|   chamsessions| None                          Display all the sessions on Chameleon
|      champeers| None                          Display all peers, and some stats
|      chamcards| None                          Display all available cards on Chameleon
|       champing| None                          Ping a server on the Chameleon Network
|       chamtext| None                          Send a message to a server on the Chameleon Network
|           halt| None                          Stop NewCS
|       shutdown| None                          Stop NewCS
| Parameters in [] is mandatory, () is optional                              |

PS! if logging bothers you when using tcp-commands, please set loglevel to 0 to stop logging.

7.-- FAQ ------- ---  -- - - -

Q: Who are you, and why are you doing this?
A: we are a group that tries to have some fun, during our spare time we have satellite-studying as
   a hobby - and since newcamd project has its own strange politics, gbox project isnt public and
   the rest of the available isnt quite like we wanted to have it - we wrote our own :o)

Q: Why NewCS as project name?
A: Since newcamd already "stole" the cardserver name - we found out to differ it from newcamd project's
   cardserver, we made another name for it.. NewCS - "New CardServer"
   If you find out another nice name for it, just let us know, we rather code a little as to think about names :o)

Q: Which protocols are supported, and why that new one?
A: Both radegast and newcamd protocol are 100% supported, this to be compatible with any of the current
   clients out there.. eg. mgcamd, evocamd, newcamd and so on.. The reason we made a new protocol is
   because we wanted something of our own - this we can extend and do whatever we want with, the others
   is in the hands of their respective authors.. and can be changed without us kinda "approving" it..

Q: So, which cards are supported?
A: well.. good question :) (since i asked it myself it must be faboulous :p)
   At this moment the following cards are supported:
    *- Conax       (ecm&emm)   *- Seca        (ecm&emm)
    *- Irdeto      (ecm&emm)   *- Cryptoworks (ecm&emm&ecm w/mosc & camcrypt(arena))
    *- Betacrypt   (ecm&emm)   *- Viaccess    (ecm&emm)
    *- Dreamcrypt  (ecm&emm)   *- Videoguard  (ecm&emm)
    *- D2mac       (ecm&emm)   *- Nagravision 2&3(ecm&emm)
    *- DGCrypt     (ecm&emm)
    (all needs to be tested ofc, we dont have the opportunity to do extensive tests).

Q: Where can i find the sourcecode for NewCS?
A: The sourcecode wont be released as we have done alot of work to design it, and really not much help around
   .. personally i can deeply recommend starting on your own project, you'll learn much - i promise :o)

Q: Help? It DOESNT work - where can i reach you?
A: Well.. we hope that when NewCS gets public, there will be a few experts around on the different
   forums and irc channels all around the globe.. you cant reach us, but if you post your questions,
   or if you got errorlog, etc. - on a english-speaking or german-speaking forum, we will probably see it :o)

Q: I Want to donate money to your project, where do i send them?
A: We do this just for fun, and have no commercial interest what-so-ever, we suggest that you send
   the money to a help-organization like f.ex the red-cross, or something similar :)

Q: Why cant newcamd connect to my card?
A: Well, newcamd guys have some strange politics.. some cards cant be used in newcamd with the standard
   protocol.. for some reasons newcamd can only use that with betad and some bloody *nix socket..
   To watch these cards, you have to use the NewCS compliant camds (evocamd or mgcamd) - or maybe some others that havent got limitation.

Q: Why cant gbox connect to my card?
A: Gbox isnt a public project, and "only a few" ppl can get updated versions.. and so on (we all know its BS though).
   anyway.. the protocol used in gbox are unknown at this moment, they change it everytime someone figures it out,
   so we wont support it unless gbox should find out that they would like to use NewCS.. then they can make support :)
   (cs2gbox could work, but who knows or cares :P)

Q: Is the xml protocol available?
A: Yes! :) will be documented here ASAP!

Q: Whats the "node" for Infinity-USB programmer?
A: The USB-port is "only" used to set the programmer to phoenix-mode, all communication with reader goes through serial, so to get it to work
   you have to specify the serialport it is connected to as "node".

Q: Why doesnt my card work with NewCS in windows when it works with NewCS on linux?
A: There can be many reasons, the code for handling communication with the card is 100% different, timeing can be very different too, also
   some devices seems to have better drivers in linux then in windows, and vice versa.

 Q: How can I generate a SSL certificate for use with NewCS ?      
 A: You have atleast two options:
      - With OpenSSL: openssl req -new -x509 -nodes -out newcs.pem -keyout newcs.pem
      - With a online generator: http://....

8.-- Changelog ------- ---  -- - - -

   Fix to reconize newest NDS cards.
   Added more functions to the WEB-console.
   Fixed stats functions on WEB-console.
   First betatest of Chameleon P2P-network (look at pt.1).
   First release of Feynman opensource client-server protocol (look at pt.2).
   Updated ezxml to latest version, it IS more sensitive for errors in xml (use a xml validator if needed).
   Removed WEB-console from win32 (win32 is a limited version, without feynman, chameleon and web-console).
   The Axis Eltrax SDK is sadly broken, support for this Arch will hopefully be back in the next release.

   Added support for Nagra "3" (Rom 142 cards).
   Brand spanking new Web-console (look at httpd section in default config).
   Completely rewritten tcp-console.
   Added manual ecm/emm sending.
   Fixed timeing on ATR (should be alot faster for slow cards!).
   Increased timeout on SCI commands, should fix some Big Conax EMM's.
   Default config for x86&/i686 is now /etc/newcs.xml.
   Fixed uptime should be correct on win32 now!
   Added "advanced" mode for tcp-console - to hide possibly scary manual ecm/emm sending.
   Fixed so it increase reset-counter on manual reset.
   Fixes for some Irdeto cards in SCI.
   Fixes to Irdeto EMM-AU code.
   Fixed should now send Issuer Ident for Viaccess again.

v.1.3 -Stable Release
   Okay, first of all we want to apologise for the looong wait.. we have been working hard though, honest! :)
   This is just a minor release though, was time for some bugfixes - and so you know that we're still alive!

   Changes from previous release are too many to mention here (tbh. we have lost control over the changelog :p)
   There have been alot of fixes, hopefully its bit more stable now then before..
   Can also mention that we have added DGcrypt (wherever thats used..)
   Also we have compiled support for the Kathrein box, even though it might not be quite useful (seems awfully buggy) :)

   The big changes and features are planned for the next major release (v1.5 series)

v.1.20 -Release Candidate 13:
   Fixed timeings again.. think it should be faster now.
   Added binary for the Axis Etrax 100LX.
   Added Kaffeine CS client id.
   Modified sending PIN-code for Conax Cards, also now use <pincode> tag to specify your code.
   Added putting EMM in queue (note. if priority == fifo, emm is processed as fifo too, else they processed only if there is no ecm in queue)
   Will now keep ECM in queue even if card needs to reinit, maybe u still get answer within timout-period.
   Fixed misc bugs in NDS code, especially regarding GA-EMM's that made newcs reinit card.
   Fixed cosmetic bug, now showing 6 numbers in provider.
   Added new frequency for phoenix - 1,53mhz.
   Fixed cosmetics, dont flood log when card reinit.
   Added extensions to newcamd code to send sid-list/emm-block mask to mgcamd.
   Added <cardlevel> option for readers, to restrict access for clients with cardlevel.
   Fixed misc bugs in the ECM/EMM-queue.
   Added Entitlement adjustment on caid 092F.
   Added possiblity to force newcs to bind only to one specific ip (only on linux versions).
   Set loglevel to 0 if tcp-password is set.
   Fixed default port on newcamd, if no port is set in device - it will now be 15000+readernumber (instead of 15050 for all readers).
   Fixed Windows Vista should now be reconized.

v.1.19 -Release Candidate 12:
   Fixed Viasat and Misc other cards on sc8 and phoenix. (huge rewrite, will affect all cards on all devices)
   Hopefully fixed NDS code. (huge rewrite)
   Added Alex CS client id.
   Added more errorchecking on config, counting opening and closing tags.
   Added possibility to overclock TD sci.
   Fixed bug where error string wasnt shown on x86/amd64.
   Now sending PIN-code 1234 for Conax cards. (will be configurable later on..)

v.1.18 -Release Candidate 11:
   BEV nagra2 provider fixed.
   Fixed entitlements for BoomTV.
   Added support for viaccess confidential EMM's.
   Fixed bug in Seca UA ins.
   Added possibility to read camkey/camkey-data from config as requested.
   Radegast server will resolve hostname on each new connect. (fix for dynhosts).
   Added support for Arena cryptoworks cards.
   Alot of bugfixes, errorchecks and cleanups.
   Added statreset tcp-command.
   Improved ATR-parsing.
   Fixed bug that used 100% cpu on freeBSD.
   Fixed bug in logging, when using different levels on tcp/file/console.
   Added rate-check for users, possibility to limit ecms/minute from user.
   Fixed conax with different CAID then 0B00.
   Added slovak language indikator on Conax cards.
   Fixed Betacrypt EMM again.
   Fixed bug one certain Irdeto EMM.
   Fixed bug that gave echo mismatch from Betacrypt cards on SC8.
   Added random distribution of card traffic, kind of loadbalancing.
   Fixes in newcamd server for better stability.
   Fixed longer timeout after ATR.
   Fixed Theme-level on viaccess entitlements.

   Filenames in release HAVE changed, please use readme for description.

v.1.17 -Release Candidate 10:
   NDS now read boxkey from config and override the automatic detection if the config element exists.
   Fixed Betacrypt EMM.
   Fixed Cryptoworks Bios5 cards on most boxes.
   Fixed entitlements for TotalTV.
   Fixed dreamcrypt on dragon.
   Added Conax PPV-entitlement events.
   Misc. fixes.

   If you have a wrong boxkey in config for NDS, it WONT work - so remove the boxkey element if you dont need to override what NewCS
   detects automatically. (It IS needed for TotalTV)

v.1.16 -Release Candidate 9:
   Fixed version numbering, seems we skipped v.1.15 in binary.. *blush*
   More commands available from webinterface.
   Fixed problem (we think) with SID-filter if no static or autosid where enabled.
   Now own option for users to override the SID-filter (instead of AU-user).
   Removed the support for users in own .txt file, the "addusers" are now written directly into the xml configfile.
   Fixed misc debug messages.
   Fixed some bugs with PC/SC reader.
   Fixed a problem with xml-tags in config beeing case-sensitive. (they are now case-insensitive!)
   Added debug when missing config elements in user-sections.
   Fixed bug in cryptoworks entitlements, thanks for proper debug/logs ;)
   Fixed humongus bug in the ban tcp-command.
   Fixed Nagra blocker for EMM-G, thanks for proper debug/logs ;)

   pcsc-lite is only needed on linux, on windows it should go automatic :)

v.1.15 -Release Candidate 8:
   Fixed delete when using shutdown tcp-command.
   Added possibility to overclock the dreambox readers. (be careful..)
   Added client-detection for all known clients, look in special notes for more info.
   Fixed recieving client-id on reverse login.
   Added HTTP interface, point the browser to the tcp-port. (http://ip:port/)
   Fixed SID-handling again, now AU-users are free of the SID-filter.
   Added support for SC8 on windows, atleast some CAS (we need logs of those which dont work).
   Fixed Adduser tcp-command, users couldnt login.
   Added Nagra2 entitlements.
   Added Conax PPV entitlements.
   Misc. bugfixes.
   Added PC/SC support.

   NB! For PC/SC support you have to install pcsc-lite and configure it.

v.1.14 -Release Candidate 7:
    Fixed bug in N2 EMM on phoenix/sc8.
    Hopefully fixed bug in tcp-console where data was sendt faster then windows could handle.
    More and better error-handling.
    Added tcp-console password protection.
    Better compability for the Relook box.
    Fixed bug in sid-handling, now sid-lists also apply for AU-users though.
    Added osd tcp-command to send osd messages to clients which support it.
    Fixed Session-key renewal for cards that use dt08.
    Added spider/au option to the adduser command. (old userfile is now incompatible)
    Fixed bug in irdeto EMM handling.
    Misc. cleanups.
    Compiled new binary for the new dreambox 7025.

    NB! tcp-console protection is plain and simple, probably easily hackable..
        You are Warned!

v.1.13 -Release Candidate 6:
    Fixed bug in Nagra2, for cards that use dt08.
    Better info in users tcp-command, also for radegast users now. (show tcp-connections to rdgd)
    Fixed bug in Nagra2 sessionkey implementation.
    Fixed bug in config-reading, some options was case-sensitive.
    Fixed 3.57mhz in infinity reader.
    Added Nagra2 EMM (needs support in camd).
    Added <deny> for readers in <user>-tag.
    Added dynamic ECM cache. (uses less ram)
    Optimize N2 on all devices.

v.1.12 -Release Candidate 5:
    Added Nagra2 support!! Read Special notes! (Nagra1 still not supported, funny eyh? :P)
    Fixed bug that made radegast server hang.
    Added numbering to sids in tcp-command.
    Fixed bug in dreamcrypt, sorry..
    Misc. bugfixes etc.
    Added support for multiple Infinity-usb devices.

v.1.11 -Release Candidate 4:
    Added Auto-sid feature. (see special notes)
    Changed cosmetics on most of the tcp-commands.
    Changed cards command to readers instead, added some more info.
    Added sids command, statistics for sids, and you can add/remove sids with correct parameters.
    Added blocker command, show status for blocker, and you can open/block with correct parameters.
    Added seca-pin option.
    Fixed Cryptoworks Bios5 cards should work ok, opos as a sideeffect :)
    Fixed Irdeto EMM's - thanks to all for pointing that out!
    Fixed irdeto in Dragon.
    Fixed potential bug in ecm-queue.
    Removed PIN on Cryptoworks.
    Fixed Seca EMM, yet again.
    Fixed Viaccess EMM, yet again.
    Misc. bugfixes etc.
    Removed cw-cache, this was specially made so that newcamd should work with channels that only has 1 cw (NDS),
    please use other client which actually support a single cw, newcamd _WILL_ glitch.
    DT special is broken in this release!

v.1.10 -Release Candidate 3 -bugfix:
        Fixed bug in NDS on phoenix.
        Remove port from the newcamd-section, should of course be in reader now.
        Fixed Cryptoworks blocker.

v.1.09    -Release Candidate 3:
        Added Entitlements to Viaccess, Seca, Conax, Cryptoworks, irdeto and Videoguard.
        Added tcp-command sub to show entitlements from cards.
        Added some more valid frequencies: 10.71MHz, 10.00MHz and 8.00MHz.
        Fixed EMM-blocker on NDS.
        Added config-option for PTShandshake(look iso 7816 for details). (used on viaccess, cryptoworks and Conax-CAS7 cards)
        Changed ECM-queue per card.
        LOTS of error-handling, but its still a work in progress.
        Added warning message when overclocking card.
        Fixed infinity reader, should now only need the parity/mhz parameters like phoenix.
        Fixed reset tcp-command, should now work ok.
        Optimized keys command, show reader.
        Fixed Viaccess EMM.
        Changed SID-filter to be per-reader, instead of per-caid.
        Changed enabled, exported and rdgd server config options to be yes & no like the rest.
        Added sids tcp-command.
        Fixed irdeto for new version5 cards, should now work with some odd versions too. (thnx to FMalibu for figuring that one out)

        Config file has changed, you HAVE!!!!!! to change it! sorry.. :D

v.1.08    -Release Candidate 2:
        Fixed serious bug in newcamd server.
        Optimized speed on some CAS.
        Optimized speed in INIT of Cryptoworks and Viaccess.
        Changed debug print of client detection, some confusion around unknown clients, they are now Generic clients.

v.1.07    -Release Candidate 1:
        Fixed some potential bad filedescriptor bugs. (we have never seen one though, and we miss good logs from those who claim to have them ;)
        Added SC8in1 on Dbox2!!
        Changed ALL devices to use <mhz> + ATR to set Baud/Parity. (<parity> is still used for pre-ATR parity) (be careful with overclocking :)
        Removed <baud> and <databits> from config (not needed anymore).
        Misc cosmetic changes on tcp-commands.
        Added more specific help in tcp-commands.
        Added one more priority type, "round" - look in config for example, possible to select between the 3 different ones.
        Added newcamd client detection (hopefully will be supported by most clients with time, look in special notes).
        Misc newcamd fixes.
        Fixed double resets on some cards in Sci.
        Added <spider> option, possiblity to deny spider to login to useraccount.
        Fixed Crypto-special after attack.
        Fixed Viaccess EMM bugs.
        Added Cryptoworks EMM.
        Added "keys" tcp-command, to show keys from card.
        Made reverse login better.
        Added Win32 binary.
        Fixed a nasty bug in tcp-debug.

v.1.06    -Public Beta:
        Fixed NDS EMM with Newcamd (we hope - if not, use mgcamd/evocamd).
        Added ECM Queue, low-id users' ECM gets through first.
        Added EMM cache to dont stress the card with Identical emms. (suggest high EMM cache for this to work good)
        Fixed  VR3 UPC in conax mode.
        Fixed some cosmetic logviewing in telnet ++.
        Crosscompiled for NSLU2 (yet again, we do NOT know if this will ever work).
        Other misc. fixes.
        Added new commands: cache & version.
        Added D2MAC support.
        IF you want to report a bug, PLEASE include some log samples and config file.. we're not mindreaders ;)

v.1.05    -Public Beta:
        Added Conformance logic 1.1 (this fixes the spider issues).
        Improved Sci-handling.
        Improved timeing.
        Dbox2 fixed nds in slot for 3.5 and 6mhz.
        Crosscompiled for OpenWRT routers (mips). (absolutely no idea if it will ever work though :o))
        Fixed rdgd server.
        Fixed NDS Skyitaly in phoenix. (we hope)
        Lots of bugfixes..

v.1.04    -Public Beta:
        Fixed Viaccess on Dbox (tested on 6Mhz multicam)
        Added option to allow users to only access specified card. (look for changes in configs)
        Added option to specify port for each card. (look for changes in configs)
        Fixed segfault when some options(thats not needed on these) was missing for sci/dragon.
        Changed alot of debug levels.
        Fix baudrate for YES cards.
        Added logging of tcp-commands.
        New tcp-command: uptime.
        Newcamd server close connection if user is unknown.
        Fixed rare login problems.

v.1.03    -Public Beta:
        Fixed Viaccess-init in dbox.
        Fixed Seca-init.
        Made carddetect faster.
        Removed SID checking on irdeto/beta.
        Disable carddetect on dbox, it doesnt work.. none of us in the dev-team has access to one, so we
        program in blind. If anyone got info on how to do carddetect on Dbox, please point us in the right
        direction by posting it on boards or something like that.

v.1.02    -Public Beta:
        Fixed Skyitaly ATR (seems they have two different ones, one has same starting bytes as nagra :O)
        Fixed Digital ALB unknown nano.
        Added missing Dbox-type in commented config.
        NB!! We have recieved info that Newcamd Cardspider has additional checks for NDS cards, it seems that
        the cards are added to the spider as normal, but the cw's wont reach the other peers (it works locally)..
        In general newcamd dont support 1 single cw, so to have it 100% stable use mgcamd or evocamd.

v.1.01    -Public Beta:
        Reached beta-stage.
        Documentation should be nearly done.

9.-- Troubleshooting ------- ---  -- - - -

10.-- Special Notes ------- ---  -- - - -

Cache (ECM/EMM):
  What can i say, have no idea how to explain this so _everyone_ can understand what the hell it is.. but
  lets have another go.. as with default config, lets assume there is dynamic cache configured:
  Imagine an ECM comes to the server, this NewCS have never seen before, it sends it to the card, the card
  responds with the decrypted control words, the dynamic cache know that this is a good response, and is valid
  for a certain period of time. So it puts it into a storage which is compared with every new ECM sendt to NewCS.
  Now lets imagine there is another client that sends the exactly same ECM within a few seconds, then NewCS compare
  this new ECM to the cache, and finds that the card already have decrypted this ECM, so it just sends the decrypted
  control words to the client, without sending the ECM to the card.
  Since the ECM is only valid for a certain period of time, there isnt need to store them for a longer period (it is
  not very likely that the provider sends the same ECM twice -without there beeing a big bug in their software).
  Regarding EMM cache, it checks the cache if EMM has been sendt to the card before, if it hasnt, then its sendt,
  else its ignored.

  If you enable this, NewCS will learn which channels your cards can decode, and deny the others,
  this will hopefully lower the load on your card, giving it a longer life and faster decryption.
  The Configfile options will override the auto-sid feature, so think through your setup.
  A valid EMM will reset the denied auto-sids.

User numbering:
  There has been ALOT of suspicions etc. around the fact that our userid's start at number 2.
  First of all, if we wanted to make a backdoor, you really think we would make it that obvious?
  The REAL reason for userid's starting at 2 is that newcamd always assumes that userid 1 has AU-rights,
  we dont like this policy, so ALL newcs-users has to have <au>on</au> to get AU-rights.
  Simple as that :)

Client Detection:
  The two custom-bytes in login is used for identifying the client, the following are assigned by us:

    #define CL_VDRSC  0x5644 - VDR-SC
    #define CL_LCE    0x4C43 - LinCardEMU
    #define CL_CAMD3  0x4333 - Camd3
    #define CL_RDGD   0x7264 - Radegast
    #define CL_GBOX   0x6762 - Gbox
    #define CL_WINCSC 0x7763 - WinCSC

ECM Queue:
 There are 3 types supported:
  low-id users' ECM gets through first,that mean first user in config will have the highest priority.
  All users have equal chance of getting theire ECM through, its called "Round Robin"-algoritm.
  First in, First out - as the name says, the one who sendt first, gets answer first.

  Well, this is some tricky stuff..
  There seems to be adapters that emulate almost 100% and works with all CAS, we have seen them in both pl2303 adapters and ftdi adapters.
  And then we have the adapters that work on conax, seca, viaccess, cryptoworks, dreamcrypt, irdeto - and if your are lucky, videoguard -
  or maybe only a few of them.. seems some adapters are really really slow, or just dont read/write all bytes :(

Infinity USB burner:
  There seems to be some slight problems if the usb isnt put in before the machine is booted, you can always check manually if its detected,
  just do: cat /proc/bus/usb/devices | grep "wbe" - if you get anything then all probably should go very well :)

Mp35 burner:
  The timing on this device seems to be a little strange - works on some CAS and not on others, not much to do about it..

11.-- Known Bugs ------- ---  -- - - -

*sending ECM/EMM with spaces in them from tcp-console, doesnt work..

12.-- Thanks guys, You ROCK! ------- ---  -- - - -

Much precious time has been spent on the project, remember its all about fun, not about money..
We are against all commercial cardsharing, and will do as much as we can to prevent it - without
limiting the "normal" user..

Sie besitzen nicht die Berechtigung, diese Datei herunterzuladen...

Um die datei zu Downloaden Loggen Sie sich im System ein, oder Regestrieren sie sich neu.

Möchten Sie sich neu registrieren? System Login

Sie k?nnen keine Kommentare abgeben!