Changeset 792
- Timestamp:
- 12/11/09 17:39:25 (14 years ago)
- Location:
- branches/smartreader
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/Distribution/doc/example/oscam.server
r707 r792 79 79 group = 5 80 80 caid = 0500 81 82 # PCSC reader 83 84 [reader] 85 label = mypcscreader 86 protocol = pcsc 87 device = 0 88 aeskey = 0102030405060708090a0b0c0d0e0f10 89 group = 6 90 caid = 0600 -
branches/smartreader/Distribution/doc/man/oscam.conf.5
r638 r792 355 355 .RS 3n 356 356 level of penalty: 357 357 358 0 = only logging 358 359 1 = send fake CWs … … 376 377 How many samples should be penalized?, default:8 377 378 .RE 379 .SH MONITOR 380 monitor commands: 381 382 login <user> <password> = login (for unencrypted connections only) 383 exit = exit monitor 384 log <on|off> = enable|disable logging for 2 minutes 385 status = list of current processes and clients 386 shutdown = showdown OSCam 387 reload = reinit user db, clients and anti-cascading 388 details <PID> = details about selected PID 389 version = show OSCam version 378 390 .SH EXAMPLES 379 391 [global] -
branches/smartreader/Distribution/doc/man/oscam.server.5
r782 r792 9 9 .SS "The [reader] section" 10 10 .PP 11 \fBdevice\fP = \fBdevice\fP|\fB<ip|hostname|pcsc>,<port>[,<lport>]\fP 12 .RS 3n 13 define local or remote reader (lport: remapping to local port). For pcsc, it defines the number of the reader in the system, starting at 0. 11 \fBdevice\fP = \fBdevice\fP|\fB<ip|hostname>,<port>[,<lport>]\fP|\fBpcsc\fP 12 .RS 3n 13 define local or remote reader 14 \fBlport\fP: remapping to local port 15 \fBPCSC\fP: number of PCSC readers, starting with 0 14 16 .RE 15 17 .PP … … 121 123 \fBcccam\fP 122 124 \fBradegast\fP 125 \fBpcsc\fP 123 126 .RE 124 127 .PP … … 275 278 group = 2 276 279 caid = 0200 277 .TP 3n278 \(bu279 PCSC compatible reader280 281 [reader]282 label = myPCSCReader283 protocol = pcsc284 device = 0285 aeskey = 0102030405060708090a0b0c0d0e0f10286 group = 1287 caid = 0500288 280 .TP 3n 289 281 \(bu … … 320 312 cccversion = 1.2.3 321 313 cccbuild = 4567 314 .TP 3n 315 \(bu 316 PCSC reader 317 318 [reader] 319 label = mypcscreader 320 protocol = pcsc 321 device = 0 322 aeskey = 0102030405060708090a0b0c0d0e0f10 323 group = 6 324 caid = 0600 322 325 .SH "SEE ALSO" 323 326 \fBoscam\fR(1), \fBoscam.conf\fR(5), \fBoscam.user\fR(5), \fBoscam.srvid\fR(5), \fBoscam.guess\fR(5), \fBoscam.cert\fR(5), \fBoscam.services\fR(5), \fBoscam.ird\fR(5), \fBoscam.ac\fR(5) -
branches/smartreader/Distribution/doc/man/oscam.user.5
r638 r792 91 91 .RE 92 92 .PP 93 \fBmonlevel\fP = \fB0\fP|\fB1\fP|\fB2\fP|\fB4\fP|\fB4\fP 94 .RS 3n 95 monitor level: 96 97 0 = no access to monitor 98 1 = only server and own procs 99 2 = all procs, but viewing only, default 100 3 = all procs, reload of \fBoscam.user\fR possible 101 4 = complete access 102 .RE 103 .PP 93 104 \fBnumusers\fP = \fBquantity\fP 94 105 .RS 3n -
branches/smartreader/Distribution/doc/txt/oscam.conf.txt
r638 r792 254 254 penalty = 0|1|2 255 255 level of penalty: 256 256 257 0 = only logging 257 258 1 = send fake CWs … … 268 269 denysamples = quantity 269 270 How many samples should be penalized?, default:8 271 272 MONITOR 273 monitor commands: 274 275 login <user> <password> = login (for unencrypted connections only) 276 exit = exit monitor 277 log <on|off> = enable|disable logging for 2 minutes 278 status = list of current processes and clients 279 shutdown = showdown OSCam 280 reload = reinit user db, clients and anti-cascading 281 details <PID> = details about selected PID 282 version = show OSCam version 270 283 271 284 EXAMPLES -
branches/smartreader/Distribution/doc/txt/oscam.server.txt
r782 r792 13 13 DESCRIPTIONS 14 14 The [reader] section 15 device = device|<ip|hostname |pscs reader number>,<port>[,<lport>]16 define local or remote reader (lport: remapping to local port)17 For pcsc, it defines the number of the reader in the system, starting 18 at 0.15 device = device|<ip|hostname>,<port>[,<lport>]|pcsc 16 define local or remote reader 17 lport: remapping to local port 18 PCSC: number of PCSC readers, starting with 0 19 19 20 20 key = DES key … … 86 86 internal 87 87 serial 88 pcsc89 88 camd35|cs357x 90 89 cs378x … … 94 93 cccam 95 94 radegast 95 pcsc 96 96 97 97 cccversion = <main version>.<version>.<sub version> … … 219 219 group = 2 220 220 caid = 0200 221 222 PCSC compatible reader223 224 [reader]225 label = myPCSCReader226 protocol = pcsc227 device = 0228 aeskey = 0102030405060708090a0b0c0d0e0f10229 group = 1230 caid = 0500231 221 232 222 camd 3.78x reader … … 261 251 cccbuild = 4567 262 252 253 PCSC reader 254 255 [reader] 256 label = mypcscreader 257 protocol = pcsc 258 device = 0 259 aeskey = 0102030405060708090a0b0c0d0e0f10 260 group = 6 261 caid = 0600 262 263 263 SEE ALSO 264 264 oscam(1), oscam.conf(5), oscam.user(5), oscam.srvid(5), oscam.guess(5), -
branches/smartreader/Distribution/doc/txt/oscam.user.txt
r638 r792 69 69 user assingment to Irdeto ChID, default:none 70 70 71 monlevel = 0|1|2|4|4 72 monitor level: 73 74 0 = no access to monitor 75 1 = only server and own procs 76 2 = all procs, but viewing only, default 77 3 = all procs, reload of oscam.user possible 78 4 = complete access 79 71 80 numusers = quantity 72 81 anti-cascading: user per account, 0 = anti-cascading permitted, -
branches/smartreader/Maketype
r782 r792 16 16 17 17 GENERAL = Makefile Maketype globals.h oscam-config.h 18 18 19 ifeq ($(wildcard csgbox), csgbox) 19 20 VERX = -gbx-$(subst ",,$(filter-out \#define GBXVERSION,$(shell grep GBXVERSION csgbox/gbox.h))) 20 21 endif 21 22 22 #EXEFILE1 = Distribution/oscam-$(VER)$(VERX)-$(subst cygwin,cygwin.exe,$(TYP)) 23 EXEFILE1 = Distribution/oscam--$(subst cygwin,cygwin.exe,$(TYP)) 23 EXEFILE1 = Distribution/oscam-$(VER)$(VERX)-$(subst cygwin,cygwin.exe,$(TYP)) 24 24 25 25 LIBDIR = lib … … 47 47 $(LIBFILE1)(module-serial.o) \ 48 48 $(LIBFILE1)(module-monitor.o) \ 49 50 49 $(LIBFILE1)(module-newcamd.o) \ 50 $(LIBFILE1)(module-cccam.o) \ 51 51 $(LIBFILE1)(oscam-nano.o) \ 52 52 $(LIBFILE1)(oscam-chk.o) \ … … 67 67 }' > oscam-ostype.h 68 68 @[ -d "$(LIBDIR)" ] || mkdir "$(LIBDIR)" 69 69 70 ifeq ($(wildcard csgbox), csgbox) 70 71 @-echo "#define CS_WITH_GBOX 1" >> oscam-ostype.h 71 72 $(MAKE) -C csgbox 72 73 endif 74 73 75 $(MAKE) -C cscrypt 74 76 $(MAKE) -C csctapi 75 77 76 78 $(EXEFILE1): oscam.c $(LIBFILE1) $(LIBFILE2) $(LIBFILE3) $(GENERAL) 77 $(CC) $(LDFLAGS) oscam.c $(LIBFILE1) $(LIBFILE2) $(LIBFILE3) -o "$@" $( OS_INCLUDES) $(LIBS)79 $(CC) $(LDFLAGS) oscam.c $(LIBFILE1) $(LIBFILE2) $(LIBFILE3) -o "$@" $(LIBS) 78 80 $(STRIP) $@ 79 81 … … 84 86 85 87 .c.a: 86 $(CC) $(CFLAGS) -Icsctapi $ (OS_INCLUDES) $<88 $(CC) $(CFLAGS) -Icsctapi $< 87 89 $(AR) $(ARFLAGS) $@ $*.o 88 90 -@rm -f $*.o -
branches/smartreader/module-monitor.c
r661 r792 370 370 } 371 371 372 static void monitor_send_details_version() 373 { 374 char buf[256]; 375 sprintf(buf, "[A-0000]version=%s, build=%s, system=%s%s", CS_VERSION_X, CS_SVN_VERSION, cs_platform(buf+100), buf+200); 376 monitor_send_info(buf, 1); 377 } 378 372 379 static void monitor_process_details_master(char *buf, int pid) 373 380 { … … 499 506 { 500 507 int i, rc; 501 char *cmd[]={"login", "exit", "log", "status", "shutdown", "reload", "details" };508 char *cmd[]={"login", "exit", "log", "status", "shutdown", "reload", "details", "version"}; 502 509 // char *cmd[]={"login", "exit", "log", "status", "shutdown", "reload"}; 503 510 char *arg; … … 510 517 if ((!auth) && (strcmp(req, cmd[0]))) 511 518 monitor_login(NULL); 512 for (rc=1, i=0; i< 7; i++)519 for (rc=1, i=0; i<8; i++) 513 520 if (!strcmp(req, cmd[i])) 514 521 { 515 522 switch(i) 516 523 { 517 case 0: monitor_login(arg); break; 518 case 1: rc=0; break; 519 case 2: monitor_logsend(arg); break; 520 case 3: monitor_process_info(); break; 521 case 4: if (client[cs_idx].monlvl>3) 522 kill(client[0].pid, SIGQUIT); 524 case 0: monitor_login(arg); break; // login 525 case 1: rc=0; break; // exit 526 case 2: monitor_logsend(arg); break; // log 527 case 3: monitor_process_info(); break; // status 528 case 4: if (client[cs_idx].monlvl>3) 529 kill(client[0].pid, SIGQUIT); // shutdown 530 break; 531 case 5: if (client[cs_idx].monlvl>2) 532 kill(client[0].pid, SIGHUP); // reload 523 533 break; 524 case 5: if (client[cs_idx].monlvl>2) 525 kill(client[0].pid, SIGHUP); 526 break; 527 case 6: monitor_process_details(arg); break; 534 case 6: monitor_process_details(arg); break; // details 535 case 7: monitor_send_details_version(); break; 528 536 default: continue; 529 537 } -
branches/smartreader/reader-nagra.c
r773 r792 395 395 int i; 396 396 int toadd=1; 397 int res;398 397 for (i=0; i<reader[ridx].nprov; i++) 399 398 { -
branches/smartreader/toolchains/toolchain-mips-wrt54g.cmake
r431 r792 1 1 set (OSCAM_SYSTEM_NAME WRT54G) 2 2 set (CMAKE_SYSTEM_NAME Linux) 3 set (CMAKE_C_COMPILER mipsel- openwrt-linux-uclibc-gcc)3 set (CMAKE_C_COMPILER mipsel-linux-uclibc-gcc) 4 4 set (CMAKE_SYSTEM_PROCESSOR mips)
Note:
See TracChangeset
for help on using the changeset viewer.