2006/09/27
v1.15
new debug options

2006/09/22
possible lower cpu load on aes channels with many aes keys, 
if good aes key present.

2006/09/20
n2 fix for fakes cw when dw scrambled.

2006/09/12
demux number for emm workarounds on dm7025

2006/09/08
log to file option in L:

2006/09/05
workarounds to use n2 over BEEF prov on k3

2006/09/03
aes-http protocol fixes.

2006/08/22
fix port parsing in aes url.
fix ecm priority usind ca cache info for systems, where no provid in pmt.

2006/08/19
v1.14

2006/08/18
fixes for bev sharing over newcamd, both emm and ecm

2006/08/16
original (Id : 007C00, clef Pri, clef Sec) aes http format added

2006/08/14
v1.14b7
aes update over http (W: option), U: option changes, look in mg_cfg

2006/08/08
R: option changes, support for auto-reload softcam.key on file change

2006/07/xx
v1.14b1/b2/b3
fixes for multidecoding on 7025
more workarounds for multidecoding using newcamd protocol shares

changes in biss keys handling:
F 01 SSSSPPPP 123455678..... SSSS = sid PPPP = pid
if pid = 1FFFF, keys searching using sid, if not:
on channels with biss in pmt or without any ca info in pmt keys searching using sid, 
then comparing pid with service video pid or PMT pid.

more fixes.

2006/06/06
mg1pre13
various fixes and expected crashing here and there as result :-D.

2006/06/05
openbox: support for scrambled pip

2006/05/18
mg1pre12a.
fixed cw for mips.
fixed brocken irdeto chids and changelog :-D
new A: option 03 : emm only for network cards

2006/05/17
mg1pre12

2006/05/15
fix for crypto network emms

2006/05/14
fix multi-channel decoding on dbox2.

2006/05/09
fix for saving cw keys on au.

2006/05/08
cw data for easy.tv, mtv added

2006/04/25
mg1pre11a
support for cw provs CL,SL,BT,Turner added

2006/04/24
mg1pre11
des included in ppc binary.

2006/04/23
cw op keys from softcam file, rsa inside binary

2006/04/18
more cw providers

2006/04/15
cryptoworks emu (dt, xtra)

2006/04/06
some endian fixes for 7025

2006/03/25
dreambox 7025 support

2006/03/24
more NA nagra2 fixes.

2006/03/22
v1pre10

2006/03/21
N2 emm fix, polsat ok
ecm pid cache fix for emu.

2006/03/17
additional binary with des inside for poor openbox libcrypto.

2006/03/14
fix no decoding on mgm/biss after standby/wakeup on this channel

2006/03/14
v1pre9
Additional biss keyset support for separate a/v decoding, example for MGMint/10E:
# sid|ecm pid
F 00631FFF 00 XXXXXXXXXXXXXXXX
F 00631FFF 01 XXXXXXXXXXXXXXXX
# sid|audio pid
F 00631066 02 XXXXXXXXXXXXXXXX
F 00631066 03 XXXXXXXXXXXXXXXX
tested on dreambox only, impossible on openbox due to sw limitation.

2006/03/10
NA C101 nagra2 fix.
Emm cache on/off added to H: option

2006/03/09
openbox code merged to one common ppc binary.
D: option changes, read mg_cfg, code not complete atm.
T: 01 option now means, all mgcamd files will be searched in /tmp.
code cleanup (-> new bugs, return to 1.08, if you not happy)

2006/03/08
multi-channel decoding support for openbox.
from now supported only firmware from 3.03.2006 or later.

2006/03/07
v1pre8.

2006/03/03
EMMG for cryptoworks fixes.
polsat ecm code added.

2006/02/28
n2 emm parser fixes.

2006/02/25
new E: option, seconds to keep ecm data cache, default is 15, for openbox mostly.

2006/02/15
openbox-7000 pvr support as stand-alone binary

2006/02/12
v1pre7
code merge for all supported hw, from now one binary for dbox2/dream/relook/td.
if for some reason box type detected wrong, use B: option to set it.
biss and reread key files on zap is back.

2006/02/01
v1pre6
reread key files on zap disabled due to possible bug in case of multi-channel decoding.
n2 cw swap fix for some channels.

2006/01/27
n2 ecm keys change: idea in softcam from 10 to 00/01, in autoroll N1 to M1
n2 GA emms for shared cards fix.
n2 key auto-update, tested on d+.

2006/01/20
support for using all newcs cards over one tcp port, for upcoming newcs (ecm only).
support for caid replacing in replace.list, its done after priority check.

2006/01/09
v1pre5
reverse login for newcamd protocol
make sure CWS lines have unique host+port+server name.

2005/12/26
v1pre4
multiple aes keys support.

2005/12/09
fixed 2x tuners support on relook 400s
added command to send server->client string for OSD display.

2005/11/25
1.00pre3
nagra emm for shared cards added.

2005/11/19
better code for shared cards ecm asnwer wait (K:)

2005/11/13
1.00pre2
relook 400s support (working only with changed driver/main prog)

2005/11/07
sky.it emm fixes.
nagra sharing fixes.

2005/10/25
switched from endless beta to version 1.00pre1
fixed cmd line args overwrite with config reread option.
fixed newcamd server type detection.

2005/10/21
Cabo au fix

2005/10/19
newcamd shares statistics added, saved to /tmp/mgstat.info every 5 min.

2005/10/18
emm cache. repeated emms not send to newcamd shares.

2005/10/14
added viaccess emm for newcamd shares.

2005/10/12
added cryptoworks emm for newcamd shares.

2005/10/10
a-sync newcamd shares login, ca cache fixes.
full share list now not shown in log, look in /tmp/mgshare.info

2005/10/04
viasat emm fixed.

2005/09/26
camd3 client disabled.

2005/09/15
fixed camd3 client.

2005/09/01
fix D+/hispa MTV.

2005/08/28
D+ added, put rsa as N1 to AutoRoll.Key and idea as N 4101 10 to SoftCam.Key

2005/07/12
test version, CWS_KEEPALIVE can be: no, yes (600sec), or value in seconds

2005/07/11
test version

2005/07/08
fixes

2005/07/06
nds sa/ua emm for newcamd cards.
mg now looking /var/keys/newcamd.list for share list (same, CWS = format !!), if not found, then newcamd.conf.

2005/07/04
Biss fixes for channels without cas in pmt, use sid + pmt pid in place of ecm pid in F keys.

2005/06/19
some fixes in ecm cache and newcamd client code.

2005/06/07
small CW provid fix.

2005/06/01
ca_cache.list saving fix.

2005/05/02
polsat fixes

2005/05/01
cmd line args to change config options at run time, for ex. -g 1 -c 2 and so on,
names the same as in config file. no -l opt.

2005/04/26
added options to use fast pmt, -start to start decoding immediate using pmt.tmp, 
-fastpmt to ignore socket and use only pmt.tmp (only 1 service !!).
some fixes, some new bugs.

2005/04/22
N: option 04 added to enable/disable 04/19 code

2005/04/21
conax emm support for cards, shared on newcamd protocol.

2005/04/19
closed cardserver's connection detection added, mg will try to re-login
during next 10 seconds. if not successfull, next try after Q time.

2005/04/16
fix F key bug introduced 04/15 changes
support for V <id> 01 tps aes key format

2005/04/15
via2 keys changed to be 16 bytes

2005/03/01
Cryptoworks provid added to ecm for better shared cards using.

2005/02/23
L: option changes, use 02 to get console log (read mg_cfg)

2005/01/20
polsat update fixed
Q: option

2005/01/15
mode S2 Fx tables, 51xx fixes

2005/01/13
S2 0065 Fx table

2005/01/08
Biss fixes, not tested

2005/01/05
S2 freezes fixed
P: 02 option

2005/01/03
S2 5109 algo, thx to Tiger.

2004/12/19
K: network ecm timeout option
T key lost after au fixed

2004/12/18
S: osd options

2004/12/17
remote emm for pw cards on camd3 shares
new tps2 key
port option for udp log
tps key now can be used from key file,  in the form: T 007C00 00 00112233445566778899AABBCCDDEEFF

2004/12/13
temp hack for polsat, put new keys as E1n, N1n, if not found, E1/N1 will be used.
fixes in camd3.servers parsing
more shares types in /tmp/mgshare.info

2004/12/07
P: option to change shares priority.
changes in newcamd shares handling, dead at start time shares marked as offline,
mg will try to connect every 10 min if set in N option.
background connection to newcamd shares, mg ready to run as emu/another client faster.
Shl removed, didn't work well anyway.
New bugs :D

2004/12/04
10 seconds local ecm caching, usefull for fast zapping using network shares.

2004/12/03
active newcamd servers dumped to /tmp/mgshare.info at startup time
added current share and time info to /tmp/ecm.info 
more accurate network clients timing info
D: config option for debug, atm used for client<->server dump

2004/11/29
fixed old stupid c&p bug, camd3 client don't work if user/pass have not the same len

2004/11/28
new newcamd client protocol, for newcamd >= 5.25, not compatible with old !!

2004/24/11
new tps crypt

2004/11/20
more info sent to udp

2004/11/02
another fix for newcamd share reconnect
fixed newcamd server answer dump
added fixed cw support, example for Sct as of 11/01:
Tag Sid+Ecm pid Number CW
F 2217096f 00 F3B3B359704F9E5D
F 2217096f 01 3BED2048A2462D15

2004/11/01
fixed huge mem leak on fta channels (who need them anyway? *g*)

2004/10/31
display msecs for network shares
fixed seca emm pids parsing from cat
irdeto/beta/seca emm for newcamd shared cards (needs more testing)
new N: option to enable/disable continuos retry of network shares

2004/10/24
seca2 bug with bad key present in key file fixed 
newcamd's radegast as server detection (R)

2004/10/22
0065 9x table
network mode G: changes
support for newcamd's connect timeout and keep-alive
camd3 client fix

2004/10/15
stupid bug with reading replace.list fixed

2004/10/14
multiple services decoding under enigma and modified zapit
no more libmd5sum dependancy
R config option

2004/10/08
no more ipc, common binary for all images

2004/10/05
Fullx "working" again (well, 50/50)

2004/10/01
ecm pids caching (H:)
emu switching code moved to standalone prog

2004/09/26
replace.list for priority fine tuning

2004/09/24
(may be) better handling of newcamd shares

2004/09/22
camd3 network client code

2004/07/29
Added priority by caid (X:).

2004/07/28
Camd switch code rewritten.

2004/07/27
D+ fixes.

2004/07/26
Viaccess E8/E9 ecm nanos fixed.

2004/07/15
Zap speedup.

2004/07/14
Real ecm sorting according to priority list (S/V only).

2004/07/13
Newcamd client reconnect on connection lost fixed.
Newcamd-compatible S2 key format.

2004/07/08
Added code to use camd.socket, for plug&play using in any image.
Enigma descriptors parsing.

2004/07/07
S2 fixes.

2004/06/20
New shl code, freextv, full-x, DP (ugly)
Irdeto chid handling to reduce network traffic (use good one only until verion change)

2004/06/10
Added ignore.list / priority.list (ugly).
Push newcamd cardservers to the top of route list to be tryed before spider shares.

2004/06/02
S2 nano51/0F.

2004/05/18
Added udp log code.
Nagra 180x sharing fixed.

2004/05/10
Descrambling 2 channels at the same time on dreamox added.

2004/03/22
Newcamd network client added.

2004/03/16
Radegast network client added.

2004/01/xx
Osd for neutrino and enigma.

12/23/2003
ram files loading, rom7/polsat & rom11/11 D+ au fixes

12/22/2003
D+ mecm fix

12/07/2003
show emm in readable form and in /tmp/emm.info

11/30/2003
fixing for nagra attacks every day

11/05/2003
new code for nagra ecm/emm from sc-0.3.5

10/22/2003
long time no work, started again

08/25/2003
blocker code for ntv+, slow a little but works

07/XX/2003
no more Free-X TV 

06/23/2003
Free-X TV

02/08/2003
stupid daemon mode bug fix

02/07/2003
tps fix/workaround

02/02/2003
gbox key files reading
au keys write to emm.info 
auto-au if no good op key
check for dup op keys 

02/01/2003
some code cleanup

01/30/2003
conax.key using for conax key

01/29/2003
reorder of pmtpid/vpid args using
radio channels without pmt.tmp fix
fix fd leak in daemon mode

01/24/2003
ORF one ecm pid/many keys used fixed
nagra math lock for emm/ecm

01/23/2003
beta code for via update on group/SA
tested on SRG and SLO

01/21/2003
beta code for via au on UA
tested on NTV-Int

01/20/2003
emm merged for au thread on irdeto/nagra
tested on PW and polsat, not work on 30W
irdeto au fix

01/14/2003
fix for some absat channels in via mode

01/12/2003
fix for viasat and CGA

01/10/2003
conax added, thanks to hop3
