OSCam is an Open Source Conditional Access Module software. This repo is mirror of oscam SVN and my development area. The repo is synced with Oscam SVN every six hours.
C HTML Other C++ JavaScript CMake Other
Latest commit 2780c48 Dec 28, 2015 theparasol - Tryfix streampid issues dvbnetapi() (fatal trigger by r11202, but i…
…ssue was already present for long time!)

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@11203 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Permalink
Failed to load latest commit information.
Distribution re-wrote loghistory Nov 12, 2015
cscrypt fix some warnings Jul 8, 2015
csctapi fix for last commit Sep 30, 2015
devtools devtools: Improve messages in check_config_tables.sh Jan 28, 2015
extapi updated coolapi support Sep 30, 2015
minilzo minilzo: Disable internal checks because they cause build errors. Feb 8, 2015
tommyDS_hashlin - Addition: ...Forgot the comment in code for future updates! Nov 28, 2015
toolchains added extra cmake tool foor new pli4 crosscompile toolchain. Apr 25, 2014
utils strings.h needs to be included for strcasecmp(). Feb 5, 2015
webif small cosmetic fix to hide inactive clients Nov 29, 2015
.gitignore tests: Build tests binary by using standard build system machinery. Feb 13, 2015
CMakeLists.txt applied coolstream2 patch by flk, thank you! Oct 1, 2015
CODING.RULES.txt add common coding rules for oscam Oct 6, 2013
COPYING LICENCE file should be called COPYING. May 12, 2012
Makefile updated coolapi support Sep 30, 2015
Makefile.extra updated coolapi support Sep 30, 2015
README added STAPI5, thanks goes to: schwa226, Vitaliy69, Openbox Team Jun 10, 2015
README.build added STAPI5, thanks goes to: schwa226, Vitaliy69, Openbox Team Jun 10, 2015
README.config dvbapi/samygo: Clean the code for future development. Jan 16, 2015
README.dvbapi_protocol Make get_cardsystem_desc_by_caid() function public and use it also in… Apr 29, 2015
config.h updated coolapi support Sep 30, 2015
config.sh updated coolapi support Sep 30, 2015
globals.h re-wrote loghistory Nov 12, 2015
module-anticasc.c log: Third try to fix anticasc log. Jan 27, 2015
module-anticasc.h log: Move anticasc logging code into module-anticasc.c Jan 22, 2015
module-cacheex.c added patch from #4175. Aug 31, 2015
module-cacheex.h fixed hashtable freeing Feb 5, 2015
module-camd33.c added fix for missing MSG_WAITALL for cygwin, Aug 31, 2015
module-camd35-cacheex.c adjustments for last commit Aug 31, 2015
module-camd35-cacheex.h camd35: Move cacheex related code in module-camd35-cacheex.{c,h} Jan 27, 2015
module-camd35.c *Fix: emmcache truncated last 3 bytes of cached EMM Oct 31, 2015
module-camd35.h camd35: Move cacheex related code in module-camd35-cacheex.{c,h} Jan 27, 2015
module-cccam-cacheex.c adjustments for last commit Aug 31, 2015
module-cccam-cacheex.h cccam: Move cacheex code into separate file. Jan 27, 2015
module-cccam-data.h updated cccam keepalive Nov 5, 2015
module-cccam.c CCcam: Nov 19, 2015
module-cccam.h revert 8951 & 8952 Oct 6, 2013
module-cccshare.c fixed bug #4266 Jul 24, 2015
module-cccshare.h added cccam card sid merging Feb 2, 2015
module-constcw.c +Added OE2.0 and OE2.2 cipher mode API to module-dvbapi.c (dreambox o… Nov 1, 2015
module-csp.c added fix for missing MSG_WAITALL for cygwin, Aug 31, 2015
module-cw-cycle-check.c added ecmfmt "t" Sep 28, 2015
module-cw-cycle-check.h cwcycle: Move private structures out of the header file. Feb 4, 2015
module-dvbapi-azbox.c store client_proto_version for each connected dvbapi client Nov 23, 2015
module-dvbapi-azbox.h dvbapi/azbox: Leave only public functions in module-dvbapi-azbox.h Jan 14, 2015
module-dvbapi-chancache.c added ecmfmt "t" Sep 28, 2015
module-dvbapi-chancache.h dvbapi: Jan 22, 2015
module-dvbapi-coolapi.c reworked index related code: Nov 5, 2015
module-dvbapi-coolapi.h updated coolapi support Sep 30, 2015
module-dvbapi-mca.c store client_proto_version for each connected dvbapi client Nov 23, 2015
module-dvbapi-mca.h dvbapi/mca: Leave only public functions in module-dvbapi-mca.h Jan 14, 2015
module-dvbapi-stapi.c fixes for dvbapi pid index handling Nov 23, 2015
module-dvbapi-stapi.h reworked index related code: Nov 5, 2015
module-dvbapi-stapi5.c fix stapi5 streampids >16 Nov 29, 2015
module-dvbapi.c - Tryfix streampid issues dvbnetapi() (fatal trigger by r11202, but i… Dec 28, 2015
module-dvbapi.h raise INDEX_MAX_LOCAL to 15, at least the av7110 supports it Nov 23, 2015
module-gbox-cards.c Most calls to pthread are now checked for errors. Jun 25, 2015
module-gbox-cards.h [gbx] Move hello send to other send functions Mar 29, 2015
module-gbox-helper.c [gbx] various patches Mar 22, 2015
module-gbox-helper.h [gbx] code restructuring Feb 19, 2015
module-gbox-sms.c setting stack size again (not setting it gave problems on systems wit… Jul 2, 2015
module-gbox-sms.h added thread for gbox sms sender, see ticket #4126 Jun 9, 2015
module-gbox.c +Added OE2.0 and OE2.2 cipher mode API to module-dvbapi.c (dreambox o… Nov 1, 2015
module-gbox.h [gbx] Improve rebroadcast thread Apr 6, 2015
module-ghttp.c added fix for missing MSG_WAITALL for cygwin, Aug 31, 2015
module-ird-guess.c log: Unify logging function names under cs_log prefix. Jan 24, 2015
module-ird-guess.h revert 8951 & 8952 Oct 6, 2013
module-lcd.c setting stack size again (not setting it gave problems on systems wit… Jul 2, 2015
module-lcd.h lcd: Create module-lcd.h file. Sep 28, 2012
module-led.c setting stack size again (not setting it gave problems on systems wit… Jul 2, 2015
module-led.h revert 8951 & 8952 Oct 6, 2013
module-monitor.c re-wrote loghistory Nov 12, 2015
module-monitor.h revert 8951 & 8952 Oct 6, 2013
module-newcamd-des.c fixed newlines (converted from win to unix) Jul 7, 2015
module-newcamd-des.h fixed newlines (converted from win to unix) Jul 7, 2015
module-newcamd.c *Fix: emmcache truncated last 3 bytes of cached EMM Oct 31, 2015
module-newcamd.h Create module-newcamd.h Feb 3, 2013
module-pandora.c fixed buffer overflows when sending/receiving ecms/emms Jun 25, 2015
module-radegast.c another tryfix for radegast Nov 2, 2015
module-scam.c added fix for missing MSG_WAITALL for cygwin, Aug 31, 2015
module-serial.c fix for twin protocol Sep 1, 2015
module-stat.c setting stack size again (not setting it gave problems on systems wit… Jul 2, 2015
module-stat.h config-reader: Reduce WITH_LB ifdefs. Jan 26, 2015
module-webif-lib.c webif ssl: fixed creating getssl key when ssl is disabled on startup Jun 30, 2015
module-webif-lib.h Patch by Ultra47 Nov 14, 2014
module-webif-tpl.c tryfix: fix segfault crash when stopping via SIGTERM (kill command). Jul 7, 2015
module-webif-tpl.h username() should return const char* Jun 29, 2015
module-webif.c WEBIF: Dec 24, 2015
module-webif.h webif: Stop http server thread realiably on exit. Mar 11, 2013
modules.h add scam protocol Sep 27, 2014
oscam-aes.c change log syntax from caid:provid to caid@provid. Jun 24, 2015
oscam-aes.h camd33/camd35: Allocate aes_keys per client on connect. Feb 6, 2015
oscam-array.c added patch from #4175. Aug 31, 2015
oscam-array.h added patch from #4175. Aug 31, 2015
oscam-cache.c fix crashing on shutdown because of oscam-cache.c Nov 5, 2015
oscam-cache.h fixed hashtable freeing Feb 5, 2015
oscam-chk.c Ratelimiter: Aug 19, 2015
oscam-chk.h added blocking of invalid cws/dcws for Cache-Ex. Jul 29, 2015
oscam-client.c updated cccam keepalive Nov 5, 2015
oscam-client.h username() should return const char* Jun 29, 2015
oscam-conf-chk.c fixed crash for negative class settings Sep 1, 2015
oscam-conf-chk.h Convert caidtab to dynarray. Feb 17, 2015
oscam-conf-mk.c fix for commit 10971 Sep 1, 2015
oscam-conf-mk.h Rewrite ecm header whitelist code. Feb 11, 2015
oscam-conf.c fix a segfault Sep 29, 2015
oscam-conf.h Restore formatting of oscam-config.h Jan 11, 2014
oscam-config-account.c free CLASSTAB memory Sep 1, 2015
oscam-config-global.c small cosmetic fix to hide inactive clients Nov 29, 2015
oscam-config-reader.c free CLASSTAB memory Sep 1, 2015
oscam-config.c fix a segfault Sep 29, 2015
oscam-config.h added support for twin protocol (serial) Aug 31, 2015
oscam-ecm.c +Added OE2.0 and OE2.2 cipher mode API to module-dvbapi.c (dreambox o… Nov 1, 2015
oscam-ecm.h +Added OE2.0 and OE2.2 cipher mode API to module-dvbapi.c (dreambox o… Nov 1, 2015
oscam-emm-cache.c *Fix: emmcache truncated last 3 bytes of cached EMM Oct 31, 2015
oscam-emm-cache.h EMM: Feb 9, 2015
oscam-emm.c *Fix: emmcache truncated last 3 bytes of cached EMM Oct 31, 2015
oscam-emm.h no codechange Oct 3, 2013
oscam-failban.c log: Unify logging function names under cs_log prefix. Jan 24, 2015
oscam-failban.h Anticascading over Sid Count (ACoSC) by blacky fixed by mechi May 17, 2014
oscam-files.c Most calls to pthread are now checked for errors. Jun 25, 2015
oscam-files.h Remove unneeded system header includes. Feb 8, 2013
oscam-garbage.c reduced sleep delay, to avoid bug reported in #4264 Jul 30, 2015
oscam-garbage.h fixed error Jun 26, 2015
oscam-hashtable.c Applied blueven cache HT patch. Dec 12, 2013
oscam-hashtable.h Try-fix build warning since svn 9093 with some toolchains. Dec 12, 2013
oscam-llist.c Most calls to pthread are now checked for errors. Jun 25, 2015
oscam-llist.h List destruction should always set the list to NULL. Feb 7, 2015
oscam-lock.c Most calls to pthread are now checked for errors. Jun 25, 2015
oscam-lock.h Most calls to pthread are now checked for errors. Jun 25, 2015
oscam-log-reader.c csystem: Turn reader->csystem into pointer to struct s_cardsystem. Feb 22, 2015
oscam-log-reader.h log: Unify logging function names under cs_log prefix. Jan 24, 2015
oscam-log.c re-wrote loghistory Nov 12, 2015
oscam-log.h re-wrote loghistory Nov 12, 2015
oscam-net.c added fix for missing MSG_WAITALL for cygwin, Aug 31, 2015
oscam-net.h added fix for missing MSG_WAITALL for cygwin, Aug 31, 2015
oscam-reader.c updated cccam keepalive Nov 5, 2015
oscam-reader.h All cas systems: Feb 28, 2015
oscam-simples.c now displaying tier name, if available, by default Sep 28, 2015
oscam-string-isotables.h fixed newlines (converted from win to unix) Jul 7, 2015
oscam-string.c no longer using "check_filled()" for keys, because it did not work wi… Jul 30, 2015
oscam-string.h no longer using "check_filled()" for keys, because it did not work wi… Jul 30, 2015
oscam-time.c + tryfix for setting stack size on machines which enforce it to be a … Jun 29, 2015
oscam-time.h Most calls to pthread are now checked for errors. Jun 25, 2015
oscam-work.c setting stack size again (not setting it gave problems on systems wit… Jul 2, 2015
oscam-work.h vg2: Add read tiers patch. Feb 2, 2015
oscam.c fix compile warning Nov 28, 2015
reader-bulcrypt.c All cas systems: Feb 28, 2015
reader-common.c +Added OE2.0 and OE2.2 cipher mode API to module-dvbapi.c (dreambox o… Nov 1, 2015
reader-common.h vg2: Add read tiers patch. Feb 2, 2015
reader-conax.c All cas systems: Feb 28, 2015
reader-cryptoworks.c CRYPTOWORKS: Oct 12, 2015
reader-dgcrypt.c csystem: Build ops as static structures. Feb 22, 2015
reader-dre.c replaced des implementation with a faster one (about 20x faster on mo… Jul 5, 2015
reader-griffin.c *Fix: emmcache truncated last 3 bytes of cached EMM Oct 31, 2015
reader-irdeto.c IRDETO: Oct 20, 2015
reader-irdeto.h irdeto: Fix warning about unused parameter Jan 12, 2015
reader-nagra.c NAGRA: Nov 20, 2015
reader-seca.c SECA: Oct 20, 2015
reader-tongfang.c *Fix: emmcache truncated last 3 bytes of cached EMM Oct 31, 2015
reader-viaccess.c VIACCESS: Dec 17, 2015
reader-videoguard-common.c NDS: Aug 9, 2015
reader-videoguard-common.h - Videoguard cas checksum testing: now invalid ecm and emm packets wi… Nov 22, 2014
reader-videoguard1.c All cas systems: Feb 28, 2015
reader-videoguard12.c All cas systems: Feb 28, 2015
reader-videoguard2.c updated coolapi support Sep 30, 2015
readers.h csystem: Build ops as static structures. Feb 22, 2015
tests.c Convert caidtab to dynarray. Feb 17, 2015

README

OSCam: Open Source Conditional Access Module
============================================


License
=======

OSCam: Open Source CAM
Copyright (C) 2009-2015 OSCam developers

OSCam is based on the Streamboard mp-cardserver 0.9d by dukat and
has been extended and worked on by many more since then.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

For the full text of the licese, please read COPYING file in OSCam
top directory or visit http://www.gnu.org/licenses/gpl-3.0.html


Version history
===============

OSCam history is accessible through Trac timeline at:
   http://www.streamboard.tv/oscam/timeline/


Repositories
============

SVN repository:
   svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn


Building OSCam from source
==========================

 - Get the lastest sources from SVN
    svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-trunk

 - Go to oscam-trunk directory.

 - Run `make config` to choose the features you want.

 - Run `make` to compile OSCam.

For more information and examples on using the build system, please
see README.build and README.config files.


Building OScam for different CPUs (cross-compilation)
=====================================================

First you need to install the target CPU toolchain. Already built toolchains
for various architectures can be downloaded from:

    http://www.streamboard.tv/oscam/wiki/crosscompiling/

In order to cross compile OSCam you need to set CROSS variable when
running make. For example to compile for SH4 architecture you need
to run: `make CROSS=sh4-linux-` or if your cross compilers are not
in your PATH - `make CROSS=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-`.


Dependencies
============

OSCam by default do not depend on external libraries except when compilation
with SSL is requested. In that case openssl (libcrypto) library must be
installed.

OSCam supports building with the following external dependencies:
  - libcrypto (libssl) - 'make USE_LIBCRYPTO=1'
  - libusb             - 'make USE_LIBUSB=1'
  - PCSC               - 'make USE_PCSC=1'
  - SH4 STAPI support  - 'make USE_STAPI=1'
  - SH4 STAPI5 support - 'make USE_STAPI5=1'
  - Coolapi support    - 'make USE_COOLAPI=1'
  - AZBOX support      - 'make USE_AZBOX=1'

For STAPI support you need to download liboscam_stapi.a library and place
it in stapi directory under oscam/ root dir. liboscam_stapi.a can be downloaded
from: http://www.streamboard.tv/wbb2/thread.php?threadid=28854

For STAPI5 support you need to download liboscam_stapi5.a library and place
it in stapi directory under oscam/ root dir. liboscam_stapi5.a can be downloaded
from: http://www.streamboard.tv/wbb2/thread.php?postid=541107#post541107

For more information and examples on using the build system, run `make help`.


Help and Support
================

man pages and configuration examples are in Distribution/doc directory.

You may visit our Trac system for tracking and filling bug reports.
   http://www.streamboard.tv/oscam/

If you experience any problems with OSCam, feel free to post in our support
forum under (mainly German and English language) at:
   http://www.streamboard.tv/wbb2/portal.php

Configuration wiki:
   http://www.streamboard.tv/wiki/index.php/OSCam/