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
075e7b601e
Cleanup user/pass handling.
12 years ago
Georgi Chorbadzhiyski
affd0d8dab
Increase code word error notification time.
12 years ago
Georgi Chorbadzhiyski
83207bd4e2
Add --output-tos option.
12 years ago
Georgi Chorbadzhiyski
d8632f31bd
data: Do not leak SDT on exit.
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
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.
13 years ago
Georgi Chorbadzhiyski
2b1c54b830
Parse SDT and display provider and service name.
13 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.
13 years ago
Georgi Chorbadzhiyski
ef187ae103
Increase decode and write buffers.
13 years ago
Georgi Chorbadzhiyski
aae5372425
Initialize cw_warn_time on startup.
13 years ago
Georgi Chorbadzhiyski
c20a66dad8
Increase decode buffer size.
On high bitrate channels (> 11 Mbit/s) I have seen failures
related to decode buffer size so increase them.
13 years ago
Georgi Chorbadzhiyski
f2f20efa60
Warn if CW have not been received.
Add --cw-warn-time to set how much time to wait before
starting to complain about code words.
13 years ago
Georgi Chorbadzhiyski
f2d5a4600f
Add ECM reports and --ecm-report-time parameter.
13 years ago
Georgi Chorbadzhiyski
6915d654dd
Move EMM reports processing into main thread.
This move is in preparation for adding ecm reports.
13 years ago
Georgi Chorbadzhiyski
2a6af1e637
Add --ecm-no-log option to disable ECM and code words logging.
13 years ago
Georgi Chorbadzhiyski
ae59f25f12
tsdecrypt is licensed under GPL v2 now.
13 years ago
Georgi Chorbadzhiyski
a7f4ba8d89
The norwegian CA is called CONAX not CONNAX.
13 years ago
Georgi Chorbadzhiyski
21db3522e6
Report how much miliseconds have passed since the last valid CW was received.
13 years ago
Georgi Chorbadzhiyski
f8480e6772
Add support for multiple IRDETO types.
With this patch Bulsatcom irdeto ECM stream can be used
for decoding.
13 years ago
Georgi Chorbadzhiyski
2309ce8db3
Replace hardcoded usleep with packet_delay option (-y default unset)
13 years ago
Georgi Chorbadzhiyski
e137f504d3
Change default of emm_send to off
13 years ago
Georgi Chorbadzhiyski
a35cfca500
Report each 60 seconds how many EMMs has been send
13 years ago
Georgi Chorbadzhiyski
7bb156e1b8
Add support for syslog and running as daemon
13 years ago
Georgi Chorbadzhiyski
7e24a02a29
Report TS discontinuity in input stream
13 years ago
Georgi Chorbadzhiyski
fd517ef258
Activate PID filter by default
13 years ago
Georgi Chorbadzhiyski
988fda9eeb
Add decode and write circular buffers
13 years ago
Georgi Chorbadzhiyski
c94b13b0a5
Init bit sliced dvbpsi key
13 years ago
Georgi Chorbadzhiyski
51991dbfae
Add struct io and use it for input and output
13 years ago
Georgi Chorbadzhiyski
9395555a6f
Add input_fd and output_fd to struct ts
13 years ago
Georgi Chorbadzhiyski
4b4a444b76
Add all data to struct ts
13 years ago
Georgi Chorbadzhiyski
979034cb53
Add struct key
13 years ago
Georgi Chorbadzhiyski
427cec7bb2
Split tsdecrypt to data.{c,h}, camd.{c,h} and tables.{c,h}
13 years ago