Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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 Groff C++ JavaScript CMake Other
Failed to load latest commit information.
Distribution New values for parameter 'emmcache'.
cscrypt __asm__ fix for c99
csctapi csctapi: Constify pointers to struct s_cardreader.
devtools devtools: Improve messages in check_config_tables.sh
extapi build: A simpler way of fixing PCSC header idiotism.
minilzo minilzo: Disable internal checks because they cause build errors.
tommyDS_hashlin fritzbox toolchain buildfix
toolchains added extra cmake tool foor new pli4 crosscompile toolchain.
utils strings.h needs to be included for strcasecmp().
webif Revert r10633 - the people have spoken...
.gitignore tests: Build tests binary by using standard build system machinery.
CMakeLists.txt final fix for warning "array subscript has type char"
CODING.RULES.txt add common coding rules for oscam
COPYING LICENCE file should be called COPYING.
Makefile build: Add needed libraries when building pcsc under cygwin.
Makefile.extra clockfix: Fix build on Android.
README Update copyright years.
README.build tests: Build tests binary by using standard build system machinery.
README.config dvbapi/samygo: Clean the code for future development.
README.dvbapi_protocol dvbapi: add support for ECMINFO in network mode (bump proto to v2)
config.h enabled and fixed dvbapi for cygwin.
config.sh build: Check USE_ flags when card reader config is being listed.
globals.h Revert r10633 - the people have spoken...
module-anticasc.c log: Third try to fix anticasc log.
module-anticasc.h log: Move anticasc logging code into module-anticasc.c
module-cacheex.c Convert caidvaluetab to dynarray.
module-cacheex.h fixed hashtable freeing
module-camd33.c camd33/camd35: Allocate aes_keys per client on connect.
module-camd35-cacheex.c Reduce camd35/cccam cacheex code differences.
module-camd35-cacheex.h camd35: Move cacheex related code in module-camd35-cacheex.{c,h}
module-camd35.c - Fix abs() compile warnings reported by BigGyros
module-camd35.h camd35: Move cacheex related code in module-camd35-cacheex.{c,h}
module-cccam-cacheex.c Reduce camd35/cccam cacheex code differences.
module-cccam-cacheex.h cccam: Move cacheex code into separate file.
module-cccam-data.h add cacheex filter system
module-cccam.c - Fix abs() compile warnings reported by BigGyros
module-cccam.h revert 8951 & 8952
module-cccshare.c Convert caidtab to dynarray.
module-cccshare.h added cccam card sid merging
module-constcw.c constcw: Remove duplicated log prefixes.
module-csp.c log: Unify logging function names under cs_log prefix.
module-cw-cycle-check.c Introduce caid checking function for Videoguard.
module-cw-cycle-check.h cwcycle: Move private structures out of the header file.
module-dvbapi-azbox.c log: Unify logging function names under cs_log prefix.
module-dvbapi-azbox.h dvbapi/azbox: Leave only public functions in module-dvbapi-azbox.h
module-dvbapi-chancache.c dvbapi:
module-dvbapi-chancache.h dvbapi:
module-dvbapi-coolapi.c log: Unify logging function names under cs_log prefix.
module-dvbapi-coolapi.h dvbapi/coolapi: Leave only public functions in module-dvbapi-coolapi.h
module-dvbapi-mca.c log: Unify logging function names under cs_log prefix.
module-dvbapi-mca.h dvbapi/mca: Leave only public functions in module-dvbapi-mca.h
module-dvbapi-stapi.c - Stapi dvbapi fix for not stopping old descrambler pid associations …
module-dvbapi-stapi.h dvbapi/stapi: Leave only public functions in module-dvbapi-stapi.h
module-dvbapi.c dvbapi: add support for ECMINFO in network mode (bump proto to v2)
module-dvbapi.h dvbapi: add support for ECMINFO in network mode (bump proto to v2)
module-gbox-cards.c - Fix abs() compile warnings reported by BigGyros
module-gbox-cards.h [gbx] Move hello send to other send functions
module-gbox-helper.c [gbx] various patches
module-gbox-helper.h [gbx] code restructuring
module-gbox-sms.c gbox: Disable calling external OSD scripts by default.
module-gbox-sms.h git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@9757 4b0bc96b-bc…
module-gbox.c - Fix abs() compile warnings reported by BigGyros
module-gbox.h [gbx] Improve rebroadcast thread
module-ghttp.c Do not initialize openssl twice when ghttp module is enabled.
module-ird-guess.c log: Unify logging function names under cs_log prefix.
module-ird-guess.h revert 8951 & 8952
module-lcd.c log: Add MODULE_LOG_PREFIX to the files that need it.
module-lcd.h lcd: Create module-lcd.h file.
module-led.c log: Add MODULE_LOG_PREFIX to the files that need it.
module-led.h revert 8951 & 8952
module-monitor.c csystem: Turn reader->csystem into pointer to struct s_cardsystem.
module-monitor.h revert 8951 & 8952
module-newcamd.c - Fix abs() compile warnings reported by BigGyros
module-newcamd.h Create module-newcamd.h
module-pandora.c log: Add MODULE_LOG_PREFIX to the files that need it.
module-radegast.c - Fix abs() compile warnings reported by BigGyros
module-scam.c - Fix abs() compile warnings reported by BigGyros
module-serial.c log: Unify logging function names under cs_log prefix.
module-stat.c - Fix abs() compile warnings reported by BigGyros
module-stat.h config-reader: Reduce WITH_LB ifdefs.
module-webif-lib.c - Fix abs() compile warnings reported by BigGyros
module-webif-lib.h Patch by Ultra47
module-webif-tpl.c Constify ->desc field in ops structures.
module-webif-tpl.h Constify ->desc field in ops structures.
module-webif.c Revert r10633 - the people have spoken...
module-webif.h webif: Stop http server thread realiably on exit.
modules.h add scam protocol
oscam-aes.c camd33/camd35: Allocate aes_keys per client on connect.
oscam-aes.h camd33/camd35: Allocate aes_keys per client on connect.
oscam-array.c Convert caidtab to dynarray.
oscam-array.h Convert caidtab to dynarray.
oscam-cache.c fixed hashtable freeing
oscam-cache.h fixed hashtable freeing
oscam-chk.c Introduce caid checking function for Videoguard.
oscam-chk.h Convert caidvaluetab to dynarray.
oscam-client.c - Fix abs() compile warnings reported by BigGyros
oscam-client.h revert 8951 & 8952
oscam-conf-chk.c Fix for chk_port_tab, 'prids' index should be set to 0 for every 'fil…
oscam-conf-chk.h Convert caidtab to dynarray.
oscam-conf-mk.c Convert caidtab to dynarray.
oscam-conf-mk.h Rewrite ecm header whitelist code.
oscam-conf.c log: Unify logging function names under cs_log prefix.
oscam-conf.h Restore formatting of oscam-config.h
oscam-config-account.c Do not leak caidtab when freeing accounts.
oscam-config-global.c Convert caidtab to dynarray.
oscam-config-reader.c Revert r10633 - the people have spoken...
oscam-config.c log: Unify logging function names under cs_log prefix.
oscam-config.h config-account: Remove duplicated function.
oscam-ecm.c - ECM dump fix for ecms that can not be processed by readers
oscam-ecm.h cacheex: Move cacheex code out of oscam-ecm.c into module-cacheex.c
oscam-emm-cache.c - Avoid logspam: its slowing down and not funny to see repeating lines
oscam-emm-cache.h EMM:
oscam-emm.c - Small cs378x and cs357x emm fix
oscam-emm.h no codechange
oscam-failban.c log: Unify logging function names under cs_log prefix.
oscam-failban.h Anticascading over Sid Count (ACoSC) by blacky fixed by mechi
oscam-files.c log: Add MODULE_LOG_PREFIX to the files that need it.
oscam-files.h Remove unneeded system header includes.
oscam-garbage.c gbox: Remove gbox code from garbage collector.
oscam-garbage.h Create oscam-garbage.h header file.
oscam-hashtable.c Applied blueven cache HT patch.
oscam-hashtable.h Try-fix build warning since svn 9093 with some toolchains.
oscam-llist.c List destruction should always set the list to NULL.
oscam-llist.h List destruction should always set the list to NULL.
oscam-lock.c log: Unify logging function names under cs_log prefix.
oscam-lock.h clockfix: Prepare cs_lock's to start using millisecond timeouts.
oscam-log-reader.c csystem: Turn reader->csystem into pointer to struct s_cardsystem.
oscam-log-reader.h log: Unify logging function names under cs_log prefix.
oscam-log.c List destruction should always set the list to NULL.
oscam-log.h log: Unify logging function names under cs_log prefix.
oscam-net.c net: Initialize local variable.
oscam-net.h Clean SO_REUSEPORT ifdefs.
oscam-reader.c - Fix abs() compile warnings reported by BigGyros
oscam-reader.h All cas systems:
oscam-simples.c revert 8951 & 8952
oscam-string.c Machine Info
oscam-string.h Machine Info
oscam-time.c Correctly restore errno after nanosleep().
oscam-time.h io-serial
oscam-work.c List destruction should always set the list to NULL.
oscam-work.h vg2: Add read tiers patch.
oscam.c [gbx] various patches
reader-bulcrypt.c All cas systems:
reader-common.c csystem: Build ops as static structures.
reader-common.h vg2: Add read tiers patch.
reader-conax.c All cas systems:
reader-cryptoworks.c All cas systems:
reader-dgcrypt.c csystem: Build ops as static structures.
reader-dre.c All cas systems:
reader-griffin.c csystem: Build ops as static structures.
reader-irdeto.c irdeto basedate update
reader-irdeto.h irdeto: Fix warning about unused parameter
reader-nagra.c All cas systems:
reader-seca.c Tnx goes to Pr2 for this patch!
reader-tongfang.c csystem: Build ops as static structures.
reader-viaccess.c - Fix for viaccess provid extraction from emm
reader-videoguard-common.c Let the compiler decide if func needs to be inlined.
reader-videoguard-common.h - Videoguard cas checksum testing: now invalid ecm and emm packets wi…
reader-videoguard1.c All cas systems:
reader-videoguard12.c All cas systems:
reader-videoguard2.c All cas systems:
readers.h csystem: Build ops as static structures.
tests.c Convert caidtab to dynarray.

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'
  - 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 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/
Something went wrong with that request. Please try again.