Georgi Chorbadzhiyski
bc8ba10650
Prevent openssl warnings when build on OS X >= 10.7
9 years ago
Georgi Chorbadzhiyski
b508fbe282
List available Irdeto CHIDs found in ECM stream.
10 years ago
Georgi Chorbadzhiyski
08ca2d7df8
Add support for Irdeto CHID filtering (tested with Raduga).
10 years ago
Georgi Chorbadzhiyski
ea15008f4e
Increase how much seconds to assume the key is valid.
10 seconds is a bit low, there are services that change their key
every 15 seconds. Increase the period in which we assume the key is
valid to 30 seconds.
11 years ago
Georgi Chorbadzhiyski
1fd5008263
Add support for EMM filters based on section length.
11 years ago
Georgi Chorbadzhiyski
dc4df6e288
Add support for EMM filters similar to DVBAPI filters (match + mask).
11 years ago
Georgi Chorbadzhiyski
b2fd5d6176
Add support for setting multicast source address /SSM/ (--input-source).
11 years ago
Georgi Chorbadzhiyski
b99eea5149
Cleanup internal variables.
This is in preparation for adding --ecm-only and -ecm-and-emm-only
options.
11 years ago
Georgi Chorbadzhiyski
7e88477439
Add IPv6 support for input and output.
11 years ago
Georgi Chorbadzhiyski
831eba2ca2
Add EMM filtering support.
11 years ago
Georgi Chorbadzhiyski
d617624e6f
Show more EMM counters in stats messages.
This patch adds two new EMM counters in the regular stats messages.
Now the counters are:
Received - How much EMMs were received from the input.
Skipped - How much EMMs were skipped because of filtering.
Sent - How much EMMs were added to the sending queue.
Processed - How much EMMs were sent to the CAMD server for processing.
11 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.
11 years ago
Georgi Chorbadzhiyski
6981585c4a
Add internal camd settings (no_reconnect and emm_check_errors).
11 years ago
Georgi Chorbadzhiyski
581cd66b37
No need to track where FSF moves. No code changes.
11 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
7d75b1e2db
Add --biss-key (-Q) option to enable BISS support.
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
40a64d59b6
Lower thread stack to 128k
12 years ago
Georgi Chorbadzhiyski
e3202bb704
Add --const-cw (-Y) option that allows using constant code word.
12 years ago
Anton Tinchev
c6f5c1c4d4
Show more timing information.
12 years ago
Georgi Chorbadzhiyski
1ff0596136
newcamd: Fix crypt() leak.
This time free the memory returned by crypt() only once. This way
the leak is avoided and also double free error is avoided also.
The patch fixes the following valgrind compaint:
43 bytes in 1 blocks are still reachable in loss record 1 of 1
at 0x4026844: malloc (vg_replace_malloc.c:263)
by 0x40268BE: realloc (vg_replace_malloc.c:632)
by 0x41EE411: __md5_crypt (in /lib/libcrypt-2.13.so)
by 0x41EDA56: crypt (in /lib/libcrypt-2.13.so)
by 0x805F702: newcamd_login (camd-newcamd.c:297)
by 0x9F0B10: ???
12 years ago
Georgi Chorbadzhiyski
0ddae6e3f7
Add --input-buffer (-T) option.
12 years ago
Georgi Chorbadzhiyski
0d489ff1e2
Cleanup handling of syslog_host.
12 years ago
Georgi Chorbadzhiyski
075e7b601e
Cleanup user/pass handling.
12 years ago
Georgi Chorbadzhiyski
bd27f201c8
Cleanup camd ident handling.
12 years ago
Georgi Chorbadzhiyski
f8f7295862
Cleanup ident handling.
12 years ago
Georgi Chorbadzhiyski
6792ef834a
Cleanup notify_program handling.
12 years ago
Georgi Chorbadzhiyski
9050b0c8b3
Cleanup pid file handling.
12 years ago
Georgi Chorbadzhiyski
affd0d8dab
Increase code word error notification time.
12 years ago
Georgi Chorbadzhiyski
d4d833d3bd
Add support for RTP output.
12 years ago
Georgi Chorbadzhiyski
e560bc39c5
Add --pid-report option.
12 years ago
Georgi Chorbadzhiyski
60e69f008b
Add --input-dump option.
12 years ago
Georgi Chorbadzhiyski
83207bd4e2
Add --output-tos option.
12 years ago
Georgi Chorbadzhiyski
24d058b0c3
Add ECM/EMM queues depth limit to avoid allocating too much memory.
12 years ago
Georgi Chorbadzhiyski
ff5356a74f
Add newcamd protocol support.
12 years ago
Georgi Chorbadzhiyski
111846981a
Make camd->do_ecm() and camd->do_emm() ops to take struct camd_msg.
12 years ago
Georgi Chorbadzhiyski
9b7ef3dc4c
Add ident and camd_proto fields in struct camd_ops.
12 years ago
Georgi Chorbadzhiyski
b5bd7a9ab0
Add service_id parameter to do_emm() camd callback.
This makes do_emm() and do_ecm() take the same parameters. The next
step is to make them take struct camd_msg as single parameter.
12 years ago
Georgi Chorbadzhiyski
c9542a19f6
Move struct camd_msg before camd ops definitions.
This move is in preparation to use struct camd_msg in camd ops.
12 years ago
Georgi Chorbadzhiyski
6404757eac
Move msg_id processing to be internal to cs378x protocol.
12 years ago
Georgi Chorbadzhiyski
e503839219
Move cs378x private data into its own structure.
12 years ago
Georgi Chorbadzhiyski
a71d02e33f
Rename struct camd35 to struct camd.
12 years ago
Georgi Chorbadzhiyski
d8bad87e7d
Split cs378x protocol from generic camd code.
12 years ago
Georgi Chorbadzhiyski
6e51e597e3
Add --output-{nit,eit,tdt}-pass to enable pass through in output filtering mode.
12 years ago
Georgi Chorbadzhiyski
49de3a80bc
If the input is MPTS rewrite output PAT.
When the input is MPTS and output filtering is enabled, rewrite output
PAT to include only the single program that is decoded.
12 years ago
Georgi Chorbadzhiyski
2b1c54b830
Parse SDT and display provider and service name.
12 years ago
Georgi Chorbadzhiyski
a9ee2ed0d0
Remove --camd-pkt-delay (-y) option.
This workaround is no longer needed because camd socket is now set
TCP_NODELAY and this fixes OSCAM communication.
12 years ago
Georgi Chorbadzhiyski
721a9b5040
Add --service option, to choose service id (program) in MPTS input.
12 years ago
Georgi Chorbadzhiyski
e56d85bfd8
Add --syslog parameter to enable local syslog logging.
12 years ago