It does not support RTSP. Sounds weird
Posts by hislitermos
-
-
hi,
how could I make warning.txt file and fail2ban.log file date format the same?
It's essential to run fail2ban for CCcam./var/log/warning.txt :
Date format:
hour:minute:secondCode23:54:22.663 Connection from IP: **.252.119.183 Login Failed! [COLOR='#FF0000']23:54:23.129[/COLOR] Connection from IP: 2.**.49.127 Login Failed! [COLOR='#FF0000']23:54:25.306[/COLOR] Connection from IP: 94.**.59.146 Login Failed! [COLOR='#FF0000']23:54:25.533[/COLOR] Connection from IP: 83.**.221.172 Login Failed! [COLOR='#FF0000']23:54:28.402[/COLOR] Connection from IP: 82.**.127.149 Login Failed! [COLOR='#FF0000']23:54:28.405[/COLOR] Connection from IP: 82.**.105.216 Login Failed! [COLOR='#FF0000']23:54:29.100[/COLOR] Connection from IP: 86.**.144.154 Login Failed!
/var/log/fail2ban.log :
Date format:
year-month-day hour:minute:secondCode[COLOR='#FF0000']2012-02-14 19:14:43,007 [/COLOR]fail2ban.actions: WARNING [ssh] Ban **.129.227.211 [COLOR='#FF0000']2012-02-14 19:24:43,933[/COLOR] fail2ban.actions: WARNING [ssh] Unban **.129.227.211 [COLOR='#FF0000']2012-02-14 22:15:30,179 [/COLOR]fail2ban.actions: WARNING [ssh] Ban **.63.249.42 2012-02-14 22:25:31,019 fail2ban.actions: WARNING [ssh] Unban **.63.249.42 2012-02-14 22:51:50,707 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log 2012-02-14 23:00:01,362 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
thanks in advance
Hislitermos -
Hi,
Aim: I would like to run my pcsc (omnikey) readers with usb powered hub.
System Configuration:Ubuntu 11.04 PC
2 pcs NDS cards
2 pcs Omnikey3021 reader
1stcard is in usb hub, device 0
2nd card is in usb hub, device 1Case 1:
Both cards working normally.
Omnikey readers are inserted into usb ports.
There is no question.Here is my oscam conf:
[reader]
label = s*y**
protocol = pcsc
device = 0
caid = 0963
boxid = ********
detect = cd
ident = 0963:000000
group = 1
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
audisabled = 1[reader]
label = s*y**
protocol = pcsc
device = 1
caid = 09cd
boxid = ********
detect = cd
ident = 09cd:000000
group = 2
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
audisabled = 1Case2:
At this step, I will try to run powered usb hub.
When I intend to run a powered usb hub which has eight slots:
I remove both omnikey readers from usb port, then insert both them into powered usb hub.
Then I type "lsusb" on ssh panel.Here is the result:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 076b:3021 OmniKey AG CardMan 3121
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 004: ID 076b:3021 OmniKey AG CardMan 3121
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubThis is my oscam conf file:
[reader]
label = s*y**
protocol = pcsc
device = xxx
caid = 0963
boxid = ********
detect = cd
ident = 0963:000000
group = 1
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
audisabled = 1[reader]
label = s*y**
protocol = pcsc
device = yyy
caid = 09cd
boxid = ********
detect = cd
ident = 09cd:000000
group = 2
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
audisabled = 1My question is that what should be xxx and yyy parameters for this system?
-Should I run two different powered usb hub for two omnikey readers or may I use the same usb hub for both nds cards?
-As I am gonna run two cards, should I reduce usb port reading speed from 480Mhz to 12Mhz?Thanks in advance
Hislitermos -
Start CCcam and log to /home/debug.txt
Hi,
Thanks for your reply.
I am struggling with fail2ban and not working.
I see failed peer in emu/log/debug.txt file but I can not see his IP as "banned".
Also check /var/log/auth.log and fail2ban.log files.PC: Debian 5.0
illegal.sh :
Bash
Display More#!/bin/sh ########################### ## Auto Ban script ## ## Illegal CCcam Users ## ## Written By CC_Share ## ## Thanks to Unlocker-AL ## ## For the Basic idea ## ########################### workdir="/emu/log/" #This is there the debug info from CCcam is dumped firewall="/emu/log/" #The saved firewall rules logdir="/emu/log/" #The logfile directory EMAIL="" #Email adres to mail result to SUBJECT="Illegal Userlist CCcam" #Subject title of the email EMAILMESSAGE="/emu/log/illegaluser.txt" #List that contains the Illegal users rm $workdir/debug.old cp $workdir/debug.txt $workdir/debug.old cp $logdir/iptables-save.new $logdir/iptables-save.old cat $workdir/debug.old|grep illegal > $logdir/illegaluser.log grep 'illegal' $logdir/illegaluser.log | awk -F" " '{print $5,$7}' > $logdir/illegaluser.txt grep 'illegal' $logdir/illegaluser.log | awk -F" " '{print $7}' | grep -o '^[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' > $logdir/badIP.out awk ' {s[$0]++} END { for(i in s) { if(s[i]>1) { print i } } }' $logdir/badIP.out > $logdir/badIP.block while IFS= read -r EachLine do command="iptables -A INPUT -s "$EachLine" -j DROP" echo $command $command done < $logdir/badIP.block rm $logdir/badIP.block if [ -s $logdir/illegaluser.txt ] ; then iptables-save -c > $logdir/iptables-save.new /usr/bin/nail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE else echo "No Illegal Users found right now" fi sleep 1 > $workdir/debug.txt exit 0
CCcam.cfg file:
CodeCHANNELINFO FILE : /var/etc/CCcam.channelinfo PROVIDERINFO FILE : /var/etc/CCcam.providers LOG WARNINGS : /emu/log/debug.txt CAID PRIO FILE : /var/etc/CCcam.prio DEBUG : yes WEBINFO USERNAME : admin WEBINFO PASSWORD : password WEBINFO LISTEN PORT : 9222 SERVER LISTEN PORT : 9999 SHOW TIMING : YES
rc.local :
Thanks in advance
Hislitermos -
Hi,
It fails at my end.
Could anybody explain the function of this line?
./CCcam.x86 -dv > /home/debug.txtThanks
-
Hi,
Read many threads about this topic and none of them are working for CCcam.
Anybody succeed it? -
Thanks for your reminder but I am running the card through Nlines to CCcam so you can ommit that "CCcam" phrases. About omnikey reader driver, I am in doubt that if I did not install the correct one.
Whats the difference between "omnikey usb driver file" and "omnikey board usb driver file" ?Regards
H. -
One note:
When it stops, I remove and re-insert the card. Then it starts running until the next breakage.Thanks in advance
H. -
Hi,
I am running ubuntu installed 64bit pc, omnikey 3121 and 0963 card. When I run it, clients be disconnected occasionally. It stops within ten minutes then come alive again and again..
Oscam.Log:
Code
Display More2012/01/30 17:21:31 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build #6145 (-unknown-unknown) 2012/01/30 17:21:31 0 s version=1.20-unstable_svn, build #6145, system=-unknown-unknown, nice=-1 2012/01/30 17:21:31 0 s client max. idle=120 sec, debug level=0 2012/01/30 17:21:31 0 s max. logsize=24096 Kb, loghistorysize=4096 bytes 2012/01/30 17:21:31 0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms 2012/01/30 17:21:31 0 s services reloaded: 0 services freed, 37 services loaded, rejected 0 2012/01/30 17:21:31 0 s userdb reloaded: 20 accounts loaded, 1 expired, 1 disabled 2012/01/30 17:21:31 0 s signal handling initialized (type=sysv) 2012/01/30 17:21:31 0 s 1158 service-id's loaded in 1ms 2012/01/30 17:21:31 0 s 50 tier-id's loaded 2012/01/30 17:21:31 0 s 827 provid's loaded 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s monitor: disabled 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s camd35: disabled 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s cs378x: disabled 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s newcamd: initialized (fd=5, port=21333, crypted) 2012/01/30 17:21:31 0 s -> CAID: 0963 PROVID: 000000 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s cccam: initialized (fd=6, port=52000, crypted) 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s pandora: disabled 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s csp: disabled 2012/01/30 17:21:31 0 s Starting listener 0 2012/01/30 17:21:31 0 s radegast: disabled 2012/01/30 17:21:31 0 s starting thread http 2012/01/30 17:21:31 0 s http thread started 2012/01/30 17:21:31 0 s starting thread reader check 2012/01/30 17:21:31 0 s reader check thread started 2012/01/30 17:21:31 0 s starting thread check 2012/01/30 17:21:31 0 s check thread started 2012/01/30 17:21:31 0 s starting thread LCD 2012/01/30 17:21:31 0 s LCD thread started 2012/01/30 17:21:31 0 s creating thread for device 0 2012/01/30 17:21:31 0 s loadbalancer: can't read from file /tmp/.oscam/stat 2012/01/30 17:21:31 0 s waiting for local card init 2012/01/30 17:21:31 E80008B0 h HTTP Server listening on port 10001 2012/01/30 17:21:31 18855D0 r reader ***uk initialized (device=0, detect=cd, mhz=357, cardmhz=357) 2012/01/30 17:21:31 0 >> OSCam << cardserver log switched, version 1.20-unstable_svn, build #6145 (-unknown-unknown) 2012/01/30 17:21:31 0 version=1.20-unstable_svn, build #6145, system=-unknown-unknown, nice=-1 2012/01/30 17:21:31 0 client max. idle=120 sec, debug level=0 2012/01/30 17:21:31 0 max. logsize=24096 Kb, loghistorysize=4096 bytes 2012/01/30 17:21:31 0 client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms 2012/01/30 17:21:32 0 ***uk card detected 2012/01/30 17:21:32 18855D0 r ***uk ATR: *********************************************** 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] parental lock setting: *********** 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] type: VideoGuard B***B (0963), caid: 0963 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] serial: ********, BoxID: ****** , baseyear: **** 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] ready for requests 2012/01/30 17:21:33 18855D0 r found cardsystem videoguard2 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] ***uk card detected 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] type: VideoGuard B***B (0963) 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 0003, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 000b, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 0010, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 001d, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 30e1, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 30e2, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 30e3, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 30e4, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: 30e5, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b732, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b736, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b765, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b766, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b772, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b773, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b846, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b860, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:33 18855D0 r [videoguard2-reader] tier: b8d2, expiry date: 2012/02/05-00:00:00 2012/01/30 17:21:34 0 s init for all local cards done 2012/01/30 17:21:34 0 s anti cascading disabled 2012/01/30 17:21:50 188B4E0 c client connected to 21333 port 2012/01/30 17:21:50 188CEA0 c client connected to 21333 port 2012/01/30 17:21:50 188B4E0 c anonymous disconnected from **.214.**.*** 2012/01/30 17:21:50 188B4E0 c thread 7F0EE7FFF700 ended! 2012/01/30 17:21:50 188E860 c client connected to 21333 port 2012/01/30 17:21:50 1890220 c client connected to 21333 port 2012/01/30 17:21:50 188CEA0 c encrypted newcamd:21333-client **.**.***.45 granted (user17***uk, au=off) 2012/01/30 17:21:50 188CEA0 c user user17***uk authenticated successfully (CCcam) 2012/01/30 17:21:50 188CEA0 c AU disabled for user user17***uk 2012/01/30 17:21:50 188E860 c encrypted newcamd:21333-client **.**.***.45 granted (member***uk, au=off) 2012/01/30 17:21:50 188E860 c user member***uk authenticated successfully (CCcam) 2012/01/30 17:21:50 188E860 c AU disabled for user member***uk 2012/01/30 17:21:51 1890220 c anonymous disconnected from 8*.**.***.*** 2012/01/30 17:21:51 1890220 c thread 7F0EEEBC6700 ended! 2012/01/30 17:21:51 1891BE0 c client connected to 21333 port 2012/01/30 17:21:51 18935A0 c client connected to 21333 port 2012/01/30 17:21:51 1891BE0 c encrypted newcamd:21333-client **.198.**.*** granted (peer, au=off) 2012/01/30 17:21:51 1891BE0 c user peer authenticated successfully (CCcam) 2012/01/30 17:21:51 1891BE0 c AU disabled for user peer 2012/01/30 17:21:51 1894F60 c client connected to 21333 port 2012/01/30 17:21:51 1894F60 c encrypted newcamd:21333-client **.214.**.*** granted (member19***uk, au=off) 2012/01/30 17:21:51 1894F60 c user member19***uk authenticated successfully (CCcam) 2012/01/30 17:21:51 1894F60 c AU disabled for user member19***uk 2012/01/30 17:21:52 1896920 c client connected to 21333 port 2012/01/30 17:21:52 18982E0 c client connected to 21333 port 2012/01/30 17:21:52 18982E0 c encrypted newcamd:21333-client **.**.***.45 granted (user19***uk, au=off) 2012/01/30 17:21:52 18982E0 c user user19***uk authenticated successfully (CCcam) 2012/01/30 17:21:52 18982E0 c AU disabled for user user19***uk 2012/01/30 17:21:52 188CEA0 c user17***uk (0963&000000/0EE7/6A:86F3): found (100 ms) by ***uk 2012/01/30 17:22:22 18CA8D0 c user18***uk (0963&000000/C5DA/62:BC92): rejected group (120 ms) (0 of 0) (no matching reader) 2012/01/30 17:22:24 18A8410 c WARNING: invalid client tcp_conn_close() 2012/01/30 17:22:24 18A8410 c ukwatcher disconnected from **.**.1**.2** 2012/01/30 17:22:24 18A8410 c thread 7F0EEFBC8700 ended! 2012/01/30 17:22:24 18982C0 c client connected to 21333 port 2012/01/30 17:22:24 18982C0 c encrypted newcamd:21333-client **.**.1**.2** granted (ukwatcher, au=off) 2012/01/30 17:22:24 18982C0 c user ukwatcher authenticated successfully (CCcam) 2012/01/30 17:22:24 18982C0 c AU disabled for user ukwatcher 2012/01/30 17:22:26 18D1D80 c parisien2 (0963&000000/1968/62:C3B1): timeout (5000 ms) 2012/01/30 17:22:27 18E4E00 c user17***uk (0963&000000/D749/62:4248): timeout (5001 ms) 2012/01/30 17:22:27 18F0030 c client connected to 21333 port 2012/01/30 17:22:27 18F0030 c encrypted newcamd:21333-client **.**.***.45 granted (user17***uk, au=off)
Oscam.conf:
Code
Display More[global] #usrfile = /var/log/oscam/oscamuser.log logfile = /var/log/oscam/oscam.log cwlogdir = /var/log/oscam/cw.log disableuserfile = 0 usrfileflag = 1 cachedelay = 120 nice = -1 maxlogsize = 24096 waitforcards = 1 saveinithistory = 1 dropdups = 1 [monitor] hideclient_to = 15 appendchaninfo = 0 [newcamd] port = 21333@0963:000000 key = 0102030405060708091011121314 keepalive = 1 [cccam] port = 52000 reshare = 1 version = 2.1.2 keepconnected = 0 [webif] httpport = 10001 httpuser = ********* httppwd = ******** httpcss = /var/mystyle/bluestyle.css httprefresh = 20 httpallowed = 127.0.0.1,192.168.1.1-192.168.1.253 httphideidleclients = 1
oscam.server:
Code
Display More[reader] label = ***uk protocol = pcsc device = 0 services = !banned_services showcls = 0 caid = 0963 boxid = ****** ecmwhitelist = 0963:3E,4E,42,44,45,47,53,54,6A,6B,6D,6F,61,62,67,68,69,7A,7C,7D,7E,71,72,73,77,78,79,80,8B detect = cd #mhz = 357 #cardmhz = 357 ident = 0963:000000 group = 1 blockemm-unknown = 1 blockemm-u = 1 blockemm-s = 1 blockemm-g = 1 audisabled = 1
oscam.user:
All users are similar notation:Code
Display More[account] user = user18***uk pwd = user18***uk expdate = 2022-12-31 group = 1 monlevel = 4 caid = 0963 ident = 0963:000000 suppresscmd08 = 1 cccmaxhops = 1 keepalive = 1 [account] user = user17***uk pwd = user17***uk expdate = 2022-12-31 group = 1 monlevel = 4 caid = 0963 ident = 0963:000000 suppresscmd08 = 1 cccmaxhops = 1 keepalive = 1 [account] user = member17***uk pwd = member17***uk expdate = 2022-12-31 group = 1 monlevel = 4 caid = 0963 ident = 0963:000000 suppresscmd08 = 1 keepalive = 1
Any idea why it has been happening?
H.
-
update your sats.xml or as I do ,use catseye settings ..it could do the trick ;)
Hi,
Just an info: As far as I know, ready to use .xml files (channel frequencies) differantiates depending on your location in the world. If you are in UK, .xml parameters are different than that of the guy who is living in north africa or east Europe.
If I were you, I would rather do manual rescan of your satellites.Regards
Hislitermos -
hi,
I was running the same system with 0963 and solved it.
Was using newest ubuntu version 11.04 at notebook pc. It worked well at the beginning. Then recognition problem came out when I rebooted.
Be sure that your pc type / ubuntu version compatibility and try to install pcsc drivers in another computer.
I am running desktop pc (not notebook) and compatible ubuntu desktop version .One note: Be sure that you installed correct driver of omnikey usb driver. (there should be two different usb driver at omnikey's offical data download page)
regards
hislitermos