Posts by murphy1969

    2013/12/13 12:34:52 82895A8 c user1 (1816&000101/0000/02B8/92:ECE4F6C2F8A1D89D0BA67B77210E8CD7): found (6291 ms) by server13 - STAR+
    2013/12/13 12:34:52 82895A8 c user1 (1816&000101/0000/02B8/92:ECE4F6C2F8A1D89D0BA67B77210E8CD7): cache2 (1292 ms) by server13 - STAR+


    Why double hits ? Wouldn't this put load on the server ?

    Here is a working config I am using.


    [account]
    user = cacheex
    pwd = cacheex
    uniq = 3
    allowedprotocols = camd35
    group = 60
    cacheex = 3


    [account]
    user = user1
    pwd = user1
    group = 1

    [account]
    disabled = 1
    user = user2
    pwd = user2
    uniq = 3
    group = 2

    [account]
    user = user3
    pwd = user3
    uniq = 3
    group = 3


    [reader]
    label = cacheex
    protocol = camd35
    device = 127.0.0.1,25550
    user = cacheex
    password = cacheex
    cacheex = 3
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 1,2,3,60
    dropbadcws = 1


    [reader]
    label = server1
    description =
    protocol = newcamd
    device = dyndns.org,10610
    key = 6103403445406970987123412134
    user = xxxxxxxx
    password = xxxxxxx
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 1


    [reader]
    label = server2
    description =
    protocol = newcamd
    device = dyndns.org,10610
    key = 6103403445406970987123412134
    user = xxxxxxxx
    password = xxxxxxx
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 2

    [reader]
    label = server3
    description =
    protocol = newcamd
    device = dyndns.org,10610
    key = 6103403445406970987123412134
    user = xxxxxxxx
    password = xxxxxxx
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 3

    I have a 3 yr old kid and when ever i have the time i try this..... I twant to get this working. Here is my configs.


    [account]
    user = user1
    pwd = user1
    group = 1


    [account]
    disabled = 1
    user = user2
    pwd = user2
    uniq = 3
    group = 2


    [account]
    user = user3
    pwd = user3
    uniq = 3
    group = 3




    [reader]
    label = server1
    description =
    protocol = newcamd
    device = dyndns.org,10610
    key = 6103403445406970987123412134
    user = xxxxxxxx
    password = xxxxxxx
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 1



    [reader]
    label = server2
    description =
    protocol = newcamd
    device = dyndns.org,10610
    key = 6103403445406970987123412134
    user = xxxxxxxx
    password = xxxxxxx
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 2


    [reader]
    label = server3
    description =
    protocol = newcamd
    device = dyndns.org,10610
    key = 6103403445406970987123412134
    user = xxxxxxxx
    password = xxxxxxx
    caid = 1816
    ident = 1816:000101,000102,000104,000106
    group = 3

    Question is if I have 5 remote readers and 5 clients.
    Reader1 -> Group1 -> User1
    Reader2 -> Group2 -> User2
    Reader3 -> Group3 -> User3
    Reader4 -> Group4 -> User4
    Reader5 -> Group5 -> User5


    As you can see User1 is assigned to Reader1 ....... and so on....


    Is it possible for User one to check Reader2, Reader3, ...... Cache if not found request from reader1. User1 should not request anything from reader2, 3, 4, 5 but just look at the cache if exist use it if not use reader1.

    The cam serial key shows when I run rqcs. RQCS version 1.11
    here is my rqcs config.
    ###############################################################################
    # rqcs configuration file #
    # All configuration options in this file observe the same format: #
    # <configuration_name>=<configuration_value> #
    # #
    # No white space is allowed in any place or the configuration entry will be #
    # ignored. #
    ###############################################################################


    ########################### general configuration #############################
    [General]
    box_type=3
    background_execution=1
    debug_level=1
    debug_show_ecms=1
    debug_show_emms=1
    log_to_console=1
    log_to_webif=1
    log_to_file=1
    logfile_name=/usr/local/bin/rqcs.log
    webif=1
    webif_port=665
    webif_authenticate=1
    webif_users=root:test
    webif_custom_files_root=
    system_wide_hour_offset=0


    ###############################################################################
    [Logical-Slot:Upper]
    enabled=1
    sci_type=1
    sci_ordinal=
    sci_path_custom=/dev/ttyUSB0
    sci_clock_frequency=367000
    safety_restart_period=20
    restart_on_ecm_send_error=1
    restart_on_ecm_processing_timeout=1
    restart_on_cw_retrieval_error=1
    restart_on_cam_request=1
    restart_on_emm_send_error=1
    restart_on_emm_processing_timeout=1
    maximum_ecm_rate=0
    block_emm_g=0
    block_emm_s=0
    block_emm_u=0
    allow_sids=
    deny_sids=
    send_card_tiers=1
    cache_card_tiers=1
    emm_log_file_path=rqcs-emm-log-upper.emm
    emm_log_file_max_size=512
    log_emm_g=1
    log_emm_s=1
    log_emm_u=1
    report_caid=0
    box_key=this is my box key
    dt06_key_0d=
    cam_n=
    secondary_key=
    rsa_key=
    protocol_server_type=0
    protocol_server_port=10001
    protocol_server_newcamd_des_key=0102030405060708091011121314
    protocol_server_user_file=rqcs.user
    protocol_server_max_active_users=0
    protocol_server_idle_client_timeout=30
    nagra_command_lead_time=25
    nagra_ecm_status_poll=1
    nagra_ecm_initial_poll_delay=0
    nagra_ecm_poll_delay=0
    nagra_ecm_poll_delay_increment=0
    nagra_emm_status_poll=1
    nagra_emm_poll_delay=100

    Here below is the output of RQCS....


    Starting Logical Slot 'Upper' [Users: 3]
    ------------------------------------------------------------------------------
    Device Path: /dev/ttyUSB0 | Listening Port: 10001
    ------------------------------------------------------------------------------


    Opening sci... Done
    Detecting card... Card present
    Resetting card... Done
    Identifying card type...
    Historical bytes: D N A S P 2 4 0 R e v 9 0 8
    44 4E ..... some more numbers here 30 38
    Card type: Nagra
    ROM Revision: 240
    EEPROM Revision: Rev908


    Configuring sci...
    SCI | Conv: Inverse | Baud Rate: 115200 | Stop Bits: 2 | Parity: Odd


    Slot custom parameters:
    box_key: my box key
    dt06_key_0d:
    cam_n:
    secondary_key:
    rsa_key:
    des_key: 0102030405060708091011121314


    Card start-up initialization...
    Using DT08 session negotiation method:
    Setting Field Size: Done
    Retrieving IRD serial number: irdserial
    Retrieving CAM serial number: camserial
    Retrieving System IDs: 0901,0903
    Retrieving CAM modulus (DT08): Done
    Starting Session Negotiation: Done
    Retrieving CAM challenge data: Done
    Performing Session Key Negotiation: Successful


    Starting card worker thread... Done
    Starting protocol server on port 10001 [newcamd protocol]


    Logical Slot 'Upper' READY!
    ------------------------------------------------------------------------------


    Staring web interface: Done.

    2013/03/28 23:37:06 B70537F0 r bell_smargo [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
    2013/03/28 23:37:06 B70537F0 r bell_smargo [mouse] card detected
    2013/03/28 23:37:08 B70537F0 r bell_smargo [mouse] ATR: 3F FF 95 ........ 38 63
    2013/03/28 23:37:08 B70537F0 r bell_smargo [mouse] Init card protocol T1, FI=9, F=512, D=16, N=255
    2013/03/28 23:37:08 B70537F0 r bell_smargo [mouse] Setting baudrate to 111600 bps
    2013/03/28 23:37:08 B70537F0 r bell_smargo [mouse] Calculated work ETU is 8.96 us
    2013/03/28 23:37:08 B70537F0 r bell_smargo [mouse] ATR Fsmax is: 5 Mhz, clocking card to wanted user cardspeed of 3.57 Mhz (specified in reader->mhz)
    2013/03/28 23:37:08 B70537F0 r bell_smargo [mouse] Card responded ok for ifsd request of 251
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] detect nagra 3 NA card
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] type: NAGRA, caid: 1815, IRD ID: ############
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] ProviderID: 00 00 08 01
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] active to: 2013/05/14 12:59
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] -----------------------------------------
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] |id |tier |valid from |valid to |
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] +----+--------+------------+------------+
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] |0901|108A |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] |0901|0AA9 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] |0901|1090 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] |0901|0AE4 |2013/01/30 |2013/05/14 |
    2013/03/28 23:37:09 B70537F0 r bell_smargo [mouse] |0901|0AAD |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|1092 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|108E |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AA5 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AA6 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|108C |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|1089 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0F98 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AA8 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|1860 |2012/10/01 |2013/05/24 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AB1 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AEB |2013/01/30 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|1091 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|13EE |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AEC |2013/01/30 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] |0901|0AA3 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] -----------------------------------------
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] Negotiate sessionkey was not successfull! Please check rsa key and boxkey
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] card system not supported
    2013/03/28 23:37:10 B70537F0 r bell_smargo [mouse] Normal mode failed, reverting to Deprecated Mode
    2013/03/28 23:37:12 B70537F0 r bell_smargo [mouse] ATR: 3F FF 95 ........ 38 63
    2013/03/28 23:37:12 B70537F0 r bell_smargo [mouse] Init card protocol T1, FI=9, F=512, D=16, N=255
    2013/03/28 23:37:12 B70537F0 r bell_smargo [mouse] Calculated work ETU is 104.20 us
    2013/03/28 23:37:12 B70537F0 r bell_smargo [mouse] ATR Fsmax is: 5 Mhz, clocking card to wanted user cardspeed of 3.57 Mhz (specified in reader->mhz)
    2013/03/28 23:37:14 B70537F0 r bell_smargo [mouse] Warning: Card returned error on setting ifsd value to 251
    2013/03/28 23:37:15 B70537F0 r bell_smargo [mouse] detect nagra 3 NA card
    2013/03/28 23:37:16 B70537F0 r bell_smargo [mouse] Resync error: readtimeouts 59944/3 (max/min) us, writetimeouts 12/5 (max/min) us
    2013/03/28 23:37:18 B70537F0 r bell_smargo [mouse] T1 Resync command error, trying to reactivate!
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] ATR: 3F FF 95 ........ 38 63
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] Init card protocol T1, FI=9, F=512, D=16, N=255
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] Setting baudrate to 111600 bps
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] Calculated work ETU is 8.96 us
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] ATR Fsmax is: 5 Mhz, clocking card to wanted user cardspeed of 3.57 Mhz (specified in reader->mhz)
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] Card responded ok for ifsd request of 251
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] type: NAGRA, caid: 1815, IRD ID: ############
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] ProviderID: 00 00 08 01
    2013/03/28 23:37:19 B70537F0 r bell_smargo [mouse] active to: 2013/05/14 12:59
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] -----------------------------------------
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |id |tier |valid from |valid to |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] +----+--------+------------+------------+
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|108A |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AA9 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|1090 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AE4 |2013/01/30 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AAD |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|1092 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|108E |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AA5 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AA6 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|108C |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|1089 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0F98 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AA8 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|1860 |2012/10/01 |2013/05/24 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AB1 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AEB |2013/01/30 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|1091 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|13EE |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AEC |2013/01/30 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] |0901|0AA3 |2012/10/01 |2013/05/14 |
    2013/03/28 23:37:20 B70537F0 r bell_smargo [mouse] -----------------------------------------
    2013/03/28 23:37:21 B70537F0 r bell_smargo [mouse] Negotiate sessionkey was not successfull! Please check rsa key and boxkey
    2013/03/28 23:37:21 B70537F0 r bell_smargo [mouse] card system not supported
    2013/03/28 23:37:21 B70537F0 r bell_smargo [mouse] card initializing error



    Here is the error. I have taken some values out from ATR. Not sure if I should be posting them.