Georgi Chorbadzhiyski
76b533ae10
Add getline() for challenged systems (OSX, Android).
This fixes compilation under OS X.
12 years ago
Georgi Chorbadzhiyski
8f3321b270
Add support for IPv6 and for multiple CAMD addresses.
This patch adds support for connecting to CAMD over IPv6. Nice addition
is that now tsdecrypt tries each of the addresses returned when CAMD
hostname is resolved and connects to the one that works. Resolving
of the server address is done before each connect, which allows for
uninterupted migration of CAMD servers by just changing their DNS
record.
IPv6 functionality can be disabled by using -4/--ipv4 options or
if you fancy only IPv6 servers -6/--ipv6 can be used.
12 years ago
Georgi Chorbadzhiyski
5d6344521c
TODO: Add todo items.
12 years ago
Georgi Chorbadzhiyski
42d8766ca3
man: The text is in the man page already.
12 years ago
Georgi Chorbadzhiyski
97bbfe0a24
man: Copy examples from README file to man page.
12 years ago
Georgi Chorbadzhiyski
27379785be
Add support for sending ECM/EMM packets from file.
12 years ago
Georgi Chorbadzhiyski
6981585c4a
Add internal camd settings (no_reconnect and emm_check_errors).
12 years ago
Georgi Chorbadzhiyski
fa78d52e60
Show errors returned by getaddrinfo().
It is anti-social to just say that there is an error, when we
have a nice way of saying what the error is.
12 years ago
Georgi Chorbadzhiyski
5c19959d1f
Allow camd server address to be resolved, not only set by IP address.
The limitation is that resolving the hostname is performed only
once at tsdecrypt startup. If DNS changes while tsdecrypt is running,
tsdecrypt won't notice that.
12 years ago
Georgi Chorbadzhiyski
71ae008a29
README: Clarify 'Reporting bugs' section.
12 years ago
Georgi Chorbadzhiyski
597741511b
Flush request queue to prevent collecting too much data.
Since it is possible for EMMs and ECMs to be removed from
the queues when hard limits are reached, it is a good idea
to clear the request queue too. Without this when queues
reach their hard limits, request queue will grow slowly eating
a bit of memory. It is not much but it is wasted memory.
12 years ago
Georgi Chorbadzhiyski
581cd66b37
No need to track where FSF moves. No code changes.
12 years ago
Georgi Chorbadzhiyski
0a21f788f3
The --no-output-filter should act as boolean.
12 years ago
Georgi Chorbadzhiyski
e31c1b9641
Remove deprecated --output-filter option.
The option correct option is --no-output-filter.
12 years ago
Georgi Chorbadzhiyski
78ea5cf936
Add --no-output-on-error (-u) option.
By using this option output can be disabled if there is no currently
received code word.
12 years ago
Georgi Chorbadzhiyski
87fb8df658
Do not output anything when there is no valid decryption key.
When the decryption fails due to missing decryption key it is better
to not output anything. Before this patch in case of missing decryption
key the PSI tables were still being written to the output and this
could confuse some monitoring systems to think that the stream is
working.
12 years ago
Georgi Chorbadzhiyski
e78c5cfde9
Makefile: Add -D_FILE_OFFSET_BITS=64
Add support for files larger than 2GB on 32 bit machines.
12 years ago
Georgi Chorbadzhiyski
b57e625ddb
Version 8.1
12 years ago
Georgi Chorbadzhiyski
efd6e9902a
Add support for Bulcrypt CAS.
12 years ago
Georgi Chorbadzhiyski
9300c8000d
Increase stack size in notify-script.example.
12 years ago
Alessio Treglia
7ec6559ef3
Replace bash compatible syntax.
12 years ago
Alessio Treglia
9cec34a3e8
Makefile: Don't strip binaries on install.
12 years ago
Alessio Treglia
8bfe23181f
Makefile: Change man page install path to $PREFIX/share/man/man1
12 years ago
Alessio Treglia
e90b9a5dfe
Man page improvements.
- Escape dashes.
- Fix couple of typos.
12 years ago
Georgi Chorbadzhiyski
6d357a01ec
ChangeLog: Fix typos.
12 years ago
Georgi Chorbadzhiyski
ec07f03af9
README: Fix typos.
12 years ago
Georgi Chorbadzhiyski
aa6ae25d6f
Version 8.0
12 years ago
Georgi Chorbadzhiyski
b91e7c14b9
manpage: Add some fixes related to adding new decryption library support.
12 years ago
Georgi Chorbadzhiyski
226c4d5416
README: Add sections about libdvbcsa and FFdecsa and more examples.
12 years ago
Georgi Chorbadzhiyski
e3d063244d
Check the correct variable before setting keys.
12 years ago
Georgi Chorbadzhiyski
1ef3d6157d
ChangeLog: Describe more changes made after 7.0
12 years ago
Georgi Chorbadzhiyski
c45aa0e544
Add support for BISS keys with embeded CRC.
12 years ago
Georgi Chorbadzhiyski
7d75b1e2db
Add --biss-key (-Q) option to enable BISS support.
12 years ago
Georgi Chorbadzhiyski
238d1093a6
ChangeLog: Mention make help and make FFdecsa text better.
12 years ago
Georgi Chorbadzhiyski
4ad6efb3db
Allow DES key and const cw to start with 0x
12 years ago
Georgi Chorbadzhiyski
ff775a729b
Makefile: Add help target.
12 years ago
Georgi Chorbadzhiyski
f23096eb58
Add support using FFdecsa as decryption library.
Use "make ffdecsa" to build tsdecrypt with ffdecsa support
or "make dvbcsa" to build with libdvbcsa (this is still the default).
12 years ago
Georgi Chorbadzhiyski
423579774e
Add FFdecsa in FFdecsa/ directory.
The code is GPLv2+ and is extracted from getstream a84 build.
12 years ago
Georgi Chorbadzhiyski
e6fe18bfa5
Change csa_decrypt_single_packet() API.
12 years ago
Georgi Chorbadzhiyski
a382b55712
Abstract libdvbcsa calls and move all CSA code in csa.c
12 years ago
Georgi Chorbadzhiyski
9ee1bb0de2
Rename single packet csa key variable in struct key to s_csakey.
12 years ago
Georgi Chorbadzhiyski
2787b678b0
Move CSA benchmark from tsdecrypt.c to csa.c
12 years ago
Georgi Chorbadzhiyski
40a64d59b6
Lower thread stack to 128k
12 years ago
Georgi Chorbadzhiyski
7f0d40e025
README: Add missing command in git clone example.
12 years ago
Georgi Chorbadzhiyski
bdb66d6cdd
Lower main() stack usage.
12 years ago
Georgi Chorbadzhiyski
e3202bb704
Add --const-cw (-Y) option that allows using constant code word.
12 years ago
Georgi Chorbadzhiyski
6d2556067e
camd: Add camd_set_cw() function.
12 years ago
Georgi Chorbadzhiyski
217e9c89de
README: Add Reporting bugs section.
12 years ago
Georgi Chorbadzhiyski
185a0b94c3
Enable pid report when debug level is higher than normal.
12 years ago
Georgi Chorbadzhiyski
13c71be126
Put long options next to short options.
12 years ago