??? you can share without a local....:)
stats are irrelevant but have about 400 virt. cards.
??? you can share without a local....:)
stats are irrelevant but have about 400 virt. cards.
No reports.
everytime when I switch to Nautical Channel(23.5) cccam is stopped within 3-4 Minutes.
cccam 2.3.0 ,Dreambox 500 HD ,Merlin ,no local, 25 clients
although having installed librtmp,get this :
satisfy_dependencies_for: Cannot satisfy the following dependencies for gst-plugins-bad-rtmp:
* librtmp0 (>= 2.46c+git19+19d36368f6c1ec6fa55df319173ca93048309f9a) *
* opkg_install_cmd: Cannot install package gst-plugins-bad-rtmp.
* pkg_run_script: package "librtmp1" postinst script returned status 1.
* opkg_configure: librtmp1.postinst returned 1.
Trying to install vers 1.51 to Merlin image Dreambox...get this:
satisfy_dependencies_for: Cannot satisfy the following dependencies for gst-plugins-bad-rtmp:
* librtmp0 (>= 2.46c+git19+19d36368f6c1ec6fa55df319173ca93048309f9a) *
* opkg_install_cmd: Cannot install package gst-plugins-bad-rtmp.
* opkg_install_cmd: Cannot install package .
* pkg_run_script: package "librtmp1" postinst script returned status 1.
* opkg_configure: librtmp1.postinst returned 1.
Recently a peer has complained that I as client had an ECM of over 7 million ??
Thought I was pay server or something. (:
I have no local but over 100 HOP 1 +500 HOP2
(one server has 70 of those HOP1s and only one card but 70 times ?? )
On F lines I have:{ 0:0:2 }
over 25 peers
Cccam 2.3.0 Dreambox OE2
Have a script which blocks all illegal users.
What causes this ? How to avoid ?
Hi
I have Dreambox 500 HD,ICVS,GP3.
After the latest kernel upgrades a script which worked with E1 and E2 does not work.
Checks if CCcam is running and restarts if needed,bans illegal users.
Need help with the input of the script.
The script consists of 3 files:emustarter,statistics,illegal
(don't mind the turkish words inside)
Appreciate if somebody can help "which lines do not comply with the latest E2 upgrades"
Emustarter CCCam:
#! /bin/sh
while true; do
if cat /tmp/cam.name | grep -v grep | grep -c 6089 >/dev/null
then
killall -9 Emustarter_CCcam.sh &
exit 0
fi
if ps | grep -v grep | grep -c CCcam_2.3.0 >/dev/null
then
/usr/script/illegal.sh &
else
date=`date '+TARIH:%d/%m/%y SAAT:%H:%M:%S'`
echo "$date :: ***** CCcam RESETLENDI!! ***** " >> /tmp/reset.log
sleep 5
/usr/bin/CCcam_2.3.0 -dv >> /tmp/debug.txt &
fi
strHour="23"
strMin="58"
DateSTR=`date +%H%M%S`
if [ '$DateSTR' -ge '$strHour$strMin'00 ] && [ '$DateSTR' -le '$strHour$strMin'10 ]; then
rm -rf /tmp/*.log
sleep 1
/usr/script/istatistik.sh 2>/dev/null
else
killall -9 istatistik.sh 2>/dev/null
sleep 60
fi
done
Illegal:
#!/bin/sh
########################################
## ATTACK IP BAN SCRİPT FOR DREAMBOX ##
## BY CEREMY ##
## Thanks to Unlocker-AL ##
########################################
cat /tmp/debug.txt|grep illegal > /tmp/illegaluser.log
grep 'illegal' /tmp/illegaluser.log | awk -F " " '{print $7}' | grep '^[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' > /tmp/badIP.out
awk '
{s[$0]++}
END {
for(i in s) {
if(s[i]>1) {
print i
}
}
}' /tmp/badIP.out > /tmp/badIP.block
while IFS= read -r EachLine
do
`which route` add -host $EachLine reject
echo " $EachLine :: ***** IP ENGELLENDI!! ***** " >> /tmp/checkcccam.log
echo " $EachLine :: ***** IP ENGELLENDI! ***** " >> /tmp/ban.log
done < /tmp/badIP.block
rm -f /tmp/badIP.block
> /tmp/debug.txt
exit 0
Statistics:
#! /bin/sh
echo "*************** LOG GECMISI TEMIZLENDI ****************" >> /tmp/checkcccam.log
echo "#######GUNLUK BAN & RESET ISTATISTIKLERI#######" >> /tmp/checkcccam.log
sb=`cat tmp/ban.log | wc -l |awk '{print $1;}'`
echo "<<<<<<<<<<<ENGELLENEN (Toplam:$sb IP)>>>>>>>>>>>>>>>" >> /tmp/checkcccam.log
if [ -s /tmp/ban.log ] ; then
grep 'ENGELLENEN' /tmp/ban.log >> /tmp/checkcccam.log
> /tmp/ban.log
else
echo "**** HICBIR IP ENGELLENMEDI! *****" >> /tmp/checkcccam.log
fi
sr=`cat tmp/reset.log | wc -l |awk '{print $1;}'`
echo "<<<<<<<<<<<RESET ZAMANLARI(Toplam: $sr KEZ)>>>>>>>>>>>>" >> /tmp/checkcccam.log
if [ -s /tmp/reset.log ] ; then
grep 'Resetliyorum' /tmp/reset.log >> /tmp/checkcccam.log
> /tmp/reset.log
else
echo "**** CCCam HIC RESETLENMEDI *****" >> /tmp/checkcccam.log
fi
echo "****************** ISTASTISTIK SONU *******************" >> /tmp/checkcccam.log
sleep 2
############## Kota Gösterim Kismi ##########################
RX=$(ifconfig eth0|grep "RX bytes"|awk '{print $2;}'|awk 'BEGIN { FS=":" }; {print $2;}')
RXMB=$(echo $RX 1048576 | awk '{print int($1 / $2);}')
UP=$(cat /proc/uptime|awk '{print $1;}')
UPDAY=$(echo $UP 86400 | awk '{print int($1 / $2);}')
UPR=$(echo $UP 2592000 | awk '{print $1 / $2;}')
TOTMB=$(echo $RX 1048576 $UPR | awk '{print int(($1 / $2) / $3);}')
echo "############### CCcam KOTA KULLANIMINI #################" >> /tmp/checkcccam.log
echo $UPDAY | awk '{printf("Calisma Süresi : %5s Gün\n", $1)}' >> /tmp/checkcccam.log
echo $RXMB | awk '{printf("Kullanilan Kota : %5s MB\n", $1)}' >> /tmp/checkcccam.log
echo $TOTMB | awk '{printf("Tahmini Aylik Kota : %5s MB\n", $1)}' >> /tmp/checkcccam.log
echo "########################################################" >> /tmp/checkcccam.log
In Dreambox 500 HD?? autoinstall script of what ?
killall CCcam_2.3.0 worked
I get: "no such command"...also variations I tried did not succeed.
ps ux command shows this:
http://img163.imageshack.us/img163/1705/captureryt.jpg
pkill -9 CCc[tab] [enter]
works great for me
to clarify
root@~# pkill -9 CCcam.x86
in my debian6
Debug=yes already but cannot kill...tried these:
killall- CCcam 2.3.0
killall -9 CCcam_2.3.0
cccam is in usr/bin
How can I check if it's running ?
Have no entries in var/log.
I can start it through Telnet but I have problems with cronjobs (GP3,iCVS)
(Have a daily restart script which only initializes if I put the same cronjob with interval of 1 minute)
QUOTE=Ten Below;44358]CCCam check script ( Replace with the right version which you use)
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/emu/cccam/CCcam_2.2.1 &
fi
Put it in /emu/script/ & chmod 755[/QUOTE]