Georgi Chorbadzhiyski
dd263a756c
Add --ecm-only (-v) and --ecm-and-emm-only (-q) options.
12 years ago
Georgi Chorbadzhiyski
b99eea5149
Cleanup internal variables.
This is in preparation for adding --ecm-only and -ecm-and-emm-only
options.
12 years ago
Georgi Chorbadzhiyski
7e88477439
Add IPv6 support for input and output.
12 years ago
Georgi Chorbadzhiyski
4853db457b
Create parse_host_and_port() function.
Refactor host and port parsing code into a function. It'll be used
when setting up input, output and camd server.
12 years ago
Georgi Chorbadzhiyski
c37cdd1b4f
Show error when unknown command line parameter was given.
12 years ago
Georgi Chorbadzhiyski
c6c078e589
tsdecrypt: There is no need to include string.h
12 years ago
Georgi Chorbadzhiyski
831eba2ca2
Add EMM filtering support.
12 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.
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
27379785be
Add support for sending ECM/EMM packets from file.
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
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
efd6e9902a
Add support for Bulcrypt CAS.
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
4ad6efb3db
Allow DES key and const cw to start with 0x
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
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
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
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
Georgi Chorbadzhiyski
00fade927f
notify: Added NO_EMM_RECEIVED event.
12 years ago
Georgi Chorbadzhiyski
0ddae6e3f7
Add --input-buffer (-T) option.
12 years ago
Georgi Chorbadzhiyski
f8f8612031
Reorder command line parameters in the help text.
12 years ago
Georgi Chorbadzhiyski
d44fbd9cd0
Add --log-file 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
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
92ecaeaaff
Update copyright year.
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
603965e480
Move short options closer to long options.
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
9e117c45d0
Rename --output-filter parameter to --no-output-filter.
no-output-filter better describes what the parameter does.
Also fix man page description. output-filter still works but
it is undocumented and kept only for backwards compatability.
12 years ago
Georgi Chorbadzhiyski
e6184100df
Do not start threads in non-threaded cases.
13 years ago
Georgi Chorbadzhiyski
ff5356a74f
Add newcamd protocol support.
13 years ago
Georgi Chorbadzhiyski
2df41d7e15
Move camd proto initialization in data_init().
13 years ago
Georgi Chorbadzhiyski
a71d02e33f
Rename struct camd35 to struct camd.
13 years ago
Georgi Chorbadzhiyski
d8bad87e7d
Split cs378x protocol from generic camd code.
13 years ago
Georgi Chorbadzhiyski
6e51e597e3
Add --output-{nit,eit,tdt}-pass to enable pass through in output filtering mode.
13 years ago