What's new
Sat World - The Solution Place

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Oscam Latest Version Of Oscam Download

Kingfisher

Administrator
Staff member
Administrator
Joined
Nov 12, 2025
Messages
986
Reaction score
676
Points
93
Location
Germany
Latest Version Of Oscam Download

oscam-git11904-802
 

Attachments

Last edited:
oscam-git11905-802
 

Attachments

oscam-git11906-802

* Use fixed-width 64-bit integer format macros

Replaced all hardcoded %lld format specifiers with the portable
inttypes.h macros PRId64 (for printing) and SCNd64 (for scanning).
This ensures correct 64-bit integer handling across 32-bit and
64-bit systems, improves cross-platform compatibility, and avoids
potential issues with long long size differences on various compilers
or architectures..
 

Attachments

oscam-git11907-802

dvbapi: add support for more net send clients

* connections established with client_proto_version = 3 and extended_cw_api >= 1 can now also process CW_ALGO_CSA_ALT independently
* proper handling of dvbapi_ioctl commands in this case
* fix rerouting of msgid back to client
* support each videoguard caid
* make sure ecm.info is created
 

Attachments

oscam-git11911-802

* add get_ecm_mode() inline function to extract the lower nibble from last ECM byte for VideoGuard CAIDs
* move select_csa_alt() from module-dvbapi.c to globals.h for shared use
* allow empty CAID setting in streamrelay config to autodetect csa-alt ecm
* disconnect stream client immediately when CAID is not allowed
* fix "caid not enabled" log message to show actual CAID instead of FFFE
* log ecm_mode changes and libdvbcsa table feedback (if available)
* simplify streamrelay support output in version info
* add msgid to DVBAPI_ECM_INFO message, so the client can correctly assign the ecm information to the requesting service
* add dvbapi_srvip configuration option to bind TCP listener to a specific IP address instead of all interfaces (ADDR_ANY)
* supports both IPv4 and IPv6 addresses
* default: none (binds to all interfaces, same behavior as before)
* add webif configuration and documentation
(thx Basic.Master)
* Fix CMake project warning
call cmake_minimum_required before project
 

Attachments

oscam-git11914-802

dvbapi: fix support for more net send clients
* do not open ca device when ca_soft_csa is active
webif: display "camd.socket" and "local" instead of null/localhost IP
* display "camd.socket" for dvbapi socket connections
* display "local" for local card readers
dvbapi: fix listen_port not showing up in webif config after restart
The configured listen_port value was reset to 0 in dvbapi_detect_api() for incompatible boxtypes, which caused the webif to show an empty field
after restart even though the value was correctly saved in oscam.conf.

Introduce separate runtime variable dvbapi_listenport_active for the actual port used by dvbapi logic, preserving cfg.dvbapi_listenport for
config storage and webif display.
 

Attachments

oscam-git11918-802

warnings: fix gcc16 -Wunused-but-set-variable warnings
* remove or restructure unused loop counter variables that trigger warnings with GCC 16+
* oscam-config-account.c: remove unused 'i' in account_allowedprotocols_fn()
* oscam-conf-chk.c: remove unused 'i' in chk_cacheex_hitvaluetab() and chk_tuntab()
* module-stat.c: wrap 'count' in #ifdef WITH_DEBUG (only used for debug logging)
* module-webif.c: remove unused 'i' in send_oscam_status() and send_oscam_api(), move 'i' into #ifdef CS_CACHEEX_AIO block in send_oscam_cacheex()

cardreader: add amlogic smc internal smartcard reader support
Add support for amlogic smc internal smartcard reader interface.
This enables OSCam to use the built-in smartcard slot on amlogic-based
set-top boxes and media players that use the native amlogic smartcard driver which exposes /dev/smc0. (thx rozpruwacz)

Changes:
- CMakeLists.txt: add amlogic cross-compile target and USE_AMSMC flag
- Makefile: add ifd_amsmc.c to build, help text and example
- config.h: add CARDREADER_INTERNAL_AMSMC preprocessor logic
- config.sh: add USE_AMSMC and WITH_AMSMC flag handling
- csctapi/cardreaders.h: declare cardreader_internal_amsmc
- csctapi/ifd_amsmc.c: new file - amlogic smartcard reader driver
- module-webif-tpl.c: add AMSMC to webif template conditionals
- oscam.c: register amlogic cardreader in version info and cardreaders array

Fix aio_version buffer size mismatch in cacheex feature exchange
* fix break indentation
* fix ancient build
* Fix aio_version buffer size mismatch in cacheex feature exchange

* Fix pages gen prid64 warning introduced in 11906
 

Attachments

oscam-git11919-802

Update README.md
* modernizing and update to the readme.md
 

Attachments

oscam-git11920-802

* fix: module monitor
print date|time instead of time twice
 

Attachments

oscam-git11921-802

webif: add service counter
 

Attachments

oscam-git11922-802

fix: improvement to sleep
Simplify implementation of sleep; also fix invalid sleep time when sleep was interrupted by EINTR

thx to @lpm11
 

Attachments

oscam-git11923-802

* drop dead code in newcamd module
des_key_spread will never leave key[7] non-null - v2mask and getmask would never be executed

thx to @lpm11
 

Attachments

oscam-git11926-802

fix: security crash guard
- Harden DVBAPI filter handling: require a valid curpid before touching ECM fields and abort section-filter setup when the demux PID lookup fails, preventing null-pointer crashes.
- WebIF robustness sweep: gate every popen/fopen/access use and preserve pointer assignments so the UI now reports missing scripts/files instead of dereferencing null handles.
- Reader safety: add missing allocation checks in Conax/DRE code paths and keep Nagra readers’ csystem_data alive after failed init to avoid double-free crashes.
- Crash/diagnostics fixes: protect cs_dumpstack()/detect_valgrind() against failed file opens and clamp the CoolAPI status lookup to stay inside the cnxt_status[] table.

thx to @lpm11

cleanup deadcode clocktypes
* Remove librt dependency
clock_gettime no longer used after cleanup deadcode clocktypes patch.
CLOCKFIX now only uses gettimeofday() which doesn't require librt.
* cleanup deadcode clocktypes

thx to @lpm11

Remove dead code, simplify functions, drop libm dependency
- eliminate dead code: ifd_azbox.c while(ret), ifd_sci.c sh4_stb,
reader-dre-st20.c verbose, module-cccam.c is_dcw_corrupted
- remove constant parameters: chk_is_null_nodeid len (always 8),
CAK7do_cmd len (always 0x10)
- simplify: NULLFREE macro (free(NULL) is safe), cs_strlen,
tolower/toupper without isupper/islower check, ifd_stinger.c
mhz assignment, ifd_sci.c tries++ refactoring
- use MIN/MAX macros in module-cccam.c rating clamping
- refactor reader-conax.c CWPK_CNX with memcpy
- replace fmod with pure C in reader-nagracak7.c, drop libm dependency
- Makefile/CMakeLists.txt: remove libm, keep $(LIB_PTHREAD),
$(LIB_DL), $(LIB_RT) variables for toolchain flexibility

thx to @lpm11
 

Attachments

oscam-git11927-802

cleanup nagra-merlin code
- Flatten the IRDINFO parser to compute expire_date once and set card_valid_to where applicable, eliminating redundant cs_add_entitlement()/addProvider() calls.
- Reuse a single IDEA_KEY_SCHEDULE and drop redundant zeroing of MDC2 buffers since the crypto routines already overwrite them.
- Replace the generic xxxor() helper with a dedicated xor8() to reflect the only actual usage and tighten the CAK7 key builders.

thx to @lpm11
 

Attachments

oscam-git11929-802

cleanup reader macros
* Fix cak7_mode guard mismatch
- cak7_mode: used by both READER_NAGRA and READER_NAGRA_MERLIN
- cak7type: used only by READER_NAGRA_MERLIN
Separate guards save 1 byte in READER_NAGRA-only builds and
ensure no unused struct members exist in any build configuration.
* cleanup reader macros
- Gate struct s_reader members, WebIF fields, and config tokens behind precise reader macros so builds exclude Videoguard/Nagra/Viaccess-only data when those modules aren’t compiled.
- Wrap AES-key helpers, reader option handlers, and Nagra/Videoguard EMM logic in the same feature flags to keep unused code out of minimal builds.
- Ensure Merlin-only arrays and filters, GPIO/ATR settings, and sendcmd handling compile only with the relevant reader backends.

thx @lpm11

fix build without READER_NAGRA_MERLIN
The cak7type member is only defined in struct s_reader when
READER_NAGRA_MERLIN is enabled. Wrap all cak7type references
in icc_async.c and reader-nagra-common.c with the same ifdef
guard to fix compilation errors when building without
READER_NAGRA_MERLIN support.

The reader-nagra-common.c functions are shared between both
READER_NAGRA and READER_NAGRA_MERLIN. The else block (standard
NAGRA code) is always compiled and used by READER_NAGRA, while
the cak7type checks are only needed for READER_NAGRA_MERLIN.

Fixes:
error: 'struct s_reader' has no member named 'cak7type'
 

Attachments

oscam-git11930-802

reader-nagra: change cak7_mode guard to READER_NAGRA_MERLIN only
cak7_mode is a Nagra Merlin specific setting that is only meaningful
when READER_NAGRA_MERLIN is compiled. When only READER_NAGRA is enabled,
cak7_mode can never be set to 1, making the check in reader-nagra.c
pointless.

Changes:
- globals.h: Change guard from (READER_NAGRA || READER_NAGRA_MERLIN) to
READER_NAGRA_MERLIN only, consolidate three consecutive MERLIN blocks
- reader-nagra.c: Add inline #ifdef guard around cak7_mode check in
seca/nagra tunneled card detection
- oscam-config-reader.c: Move cak7_mode into existing READER_NAGRA_MERLIN
block with other Merlin options
 

Attachments

oscam-git11932-802

reader-nagra/irdeto: change force_irdeto guard to READER_IRDETO only
force_irdeto forces a card to use the Irdeto reader instead of Nagra.
In reader-nagra.c it causes the reader to reject the card so the
Irdeto reader can handle it. This only makes sense when READER_IRDETO
is compiled - otherwise there's no Irdeto reader to take over.

Changes:
- globals.h: Change guard from (READER_NAGRA || READER_IRDETO) to
READER_IRDETO only
- oscam-config-reader.c: Change guard to READER_IRDETO only
- module-webif.c: Change guard to READER_IRDETO only
- reader-nagra.c: Add READER_IRDETO guard around force_irdeto check

build: fix is_defined.txt generation for proper webif template filtering
The is_defined.txt file is used by pages_gen to filter templates based on enabled config options. Previously, this file was only created when explicitly calling config.sh with --enable/--disable/--restore, but not during normal builds.

The "webif clean" added in 96debcd7 ("Fix webif compression parameter") ensured pages.c was always rebuilt, but also deleted is_defined.txt which broke the filtering mechanism.

Changes:
- Call write_enabled() in make_config_mak() to ensure is_defined.txt is generated on every build
- Remove redundant "webif clean" from Makefile and CMakeLists.txt (write_enabled already deletes pages.c when needed)
- Add config.h dependency to pages.c target to trigger rebuild when config options change

This ensures proper filtering works for:
- Fresh checkouts with default config
- Builds after direct config.h modifications
- Builds after config.sh --enable/--disable changes
 

Attachments

oscam-git11933-802

webif: embedded wiki help system
Features
* Offline Help: All parameter descriptions are available directly in the binary
* Clickable Parameters: A click on the parameter name opens the help popup
* Draggable Popup: The popup can be freely moved (also via touch on mobile devices)
* Resizable: Size can be adjusted
* Position Remembered: The horizontal position and size are stored in the browser
* Reset Button: Reset to default position and size
* Wiki Link: The title in the popup is a link to the online wiki for more details
* Directly from OSCam Wiki: Parameters dynamically extracted from wiki pages during the build process
* Automatic Updates: Any changes to the wiki pages are automatically integrated into the binary on the next build
* LZO Compression: Wiki data is compressed like WebIF pages (~64% smaller), controlled via WITH_COMPRESS_WEBIF or USE_COMPRESS
* Smart Filtering: Only help texts for actually compiled modules are included in the binary (based on is_defined.txt)

Advantages
* Available Offline - no internet connection needed - perfect for isolated networks
* Fast - instant display without network latency
* Always Up-to-date - wiki content matches exactly the binary version
* User-friendly - help right where you need it
* Touch Support - also works on tablets and smartphones
* No Tracking - the wiki web server sees no requests from your device

Disadvantages
* Larger Binary - approx. 76 KB with LZO compression, or ~45 KB with UPX binary compression
* More RAM - wiki data is kept in memory
* Build Dependency - wiki markdown files must be present during build

The build process:
- New build option WEBIF_WIKI (default=off)
- Git submodule is automatically initialized and updated
- wiki_gen.c parses all markdown files in the wiki/ folder
- Generates pages_wiki.c and pages_wiki.h with all parameter descriptions
- Compiles everything into the final binary

Technical details
- Position Storage: Browser localStorage (wikiPopupLeft, wikiPopupWidth, wikiPopupHeight)
- API Endpoint: /wiki.json?config=conf&param=serverip
- Generation: wiki_gen.c parses the markdown files and generates pages_wiki.c
- Compression: Controlled via WITH_COMPRESS_WEBIF (same as WebIF pages). Automatically disabled when using USE_COMPRESS=1 (UPX binary compression) - UPX compresses the entire binary more efficiently, making internal LZO compression redundant.
 

Attachments

oscam-git11934-802

submodule: rework submodule support
- Add --submodule <name> option to config.sh for unified submodule handling
- Automatically detects git repo vs tarball: uses 'git submodule update' in
git repos, falls back to 'git clone --depth 1' for source downloads
- Reads submodule URL from .gitmodules
- Use --remote flag only when branch is defined in .gitmodules (respect pinning)
- Simplify Makefile and CMakeLists.txt submodule handling to single call
- Make submodule init conditional on WEBIF_WIKI
- Remove duplicate GEN output from wiki_gen.c
 

Attachments

oscam-2.26.01-11934-802 with icam
armv7
MIPS-OE2.0
aarch64-dreambox (dreambox one_two)
 

Attachments

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Back
Top