Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

OScam for other SH4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigfoot
    Senior Member
    • Jun 2011
    • 183

    #31
    Re: OScam for other SH4

    svn 5381:
    Refactor cleanup_thread()
    Prevent pipes from filling up and thus blocking on writes. This lead to duplicate users problem on some systems
    Remove master pipe check as it isn't used anymore
    Remove some unneeded code
    Add keepalive settings (not supported on all plattforms, but Linux should be fine) to detect network aborts
    Fix some function definitions
    Fix wrong cw checksum log message on Little Endian systems
    Do some cleanup
    svn 5382:
    Fix wrong error message.
    svn 5383:
    Fix wrong error handling in setsockopt
    svn 5384:
    Add keepalive network setting to all tcp readers, too.
    svn 5385:
    Add handling of POLLHUP
    svn 5386:
    dynamic-threads: resync with trunk and some optimizations
    Attached Files

    Comment

    • bigfoot
      Senior Member
      • Jun 2011
      • 183

      #32
      OScam for other SH4

      svn 5387:

      reader-nagra: show IRD expiration date. calculation of time may be wrong.

      svn 5388:

      XMLApi: Add parameter to readerstats 'ecmhistory=1'. If this parameter is set the ecmhistory tag is filled with historical timevalues e.g. <ecmhistory>0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0</ecmhistory>. If the parameter is not set the tag is present but empty.
      cleanup and reduce code

      svn 5389:

      dynamic-threads: fix cccam disconnects
      Attached Files

      Comment

      • bigfoot
        Senior Member
        • Jun 2011
        • 183

        #33
        Re: OScam for other SH4

        SVN: 5390
        Partly revert r5385. Add locks to smartreader init and close as libusb (and partly our code) is not threadsafe there. Improve locking with fast_rnd (could wait up to 255ms to get a lock which can be quite bad).

        SVN: 5391
        Correct include path

        SVN: 5392
        Return 0 instead of -9 on POLLHUP

        SVN: 5393
        few correction

        SVN: 5394
        reader-nagra : Mutual exclusion over
        always evaluates to true. so i changed it to && , (result not tested by me)

        SVN: 5395
        missed:another Mutual exclusion over always evaluates to true.

        SVN: 5396
        some cleaning
        fix possible Buffer access out-of-bounds

        SVN: 5397
        Videoguard tidy
        Attached Files

        Comment

        • bigfoot
          Senior Member
          • Jun 2011
          • 183

          #34
          OScam for other SH4

          svn 5398

          Fix videoguard bufferoverflows introduced in r5396

          svn 5399

          fix memory corruption when using trim() and strlen is 1

          svn 5400

          improve fix from r5399
          Attached Files

          Comment

          • bigfoot
            Senior Member
            • Jun 2011
            • 183

            #35
            OScam for other SH4

            SVN 5401

            try to fix Cpu problem described which introduced in 5381 (revert read_from_pipe
            _http://streamboard.gmc.to/wbb2/thread.php?threadid=32227
            Attached Files

            Comment

            • bigfoot
              Senior Member
              • Jun 2011
              • 183

              #36
              OScam for other SH4

              svn 5402

              fix broken line in my last commit,

              svn 5403

              WebIf: Added a Link under Reader Section that shows Graphs with the ecm times of all Readers and Proxies. SVG-compatible Browser with javascript enabled, required.

              svn 5404

              dynamic-threads: resync with trunk and minor fixes

              svn 5405

              XMLApi: make ringbuffer more threadsave and avoid buffor overflow by normalize values to 4 digits

              svn 5406

              Revert WinSCard.h from r5396 as it seems to break cygwin compilation (see #1944).
              Revert r5401 as the cpu issue has been fixed in before and this change could break other things (detected full pipes when they are not because pipecnt is not updated anymore).
              Add check for ecm timeout before adding it to ecmcache.

              svn 5407
              WebIf: smaller datatransfer while viewing Graph.

              svn 5408
              Remove cs_lock from coolapi as it's not really needed there (there should not be threads that get killed) and could perhaps create problems.

              svn 5409
              Fix output of in-RAM loghistory if the last position points right to the end of the log history.

              svn 5410
              dynamic-threads: add a pipe for waking up client_check thread
              Attached Files

              Comment

              • bigfoot
                Senior Member
                • Jun 2011
                • 183

                #37
                Re: OScam for other SH4

                svn 5411
                WebIf: fix compiler warning

                svn 5412
                WebIF: More Colors for Graphs, mimetype now corrected, longer timeline

                svn 5413
                WebIf: Hide Readers that are hidden, configuration via stylesheets. Look into site.css. Smaller Font-size for Labels.

                svn 5414
                WebIf: more colors for graph

                svn 5415
                WebIf:Show only valid ECM-Times

                svn 5416
                Add checks for cleaned clients to fix some reported leaks/segfaults which happen when the client which requested an ecm has exited before receiving the result.

                svn 5417
                Fix a reported segfault in cccshare which happens when the global cardlist is rebuilt (and thus the old one cleaned) while sending initial carddata to a client (only happens on very slow/blocking ones because cleanup is delayed by garbage collector to 5s which is normally enough)

                svn 5418
                Small improvement for r5417

                svn 5419
                Fix missing reinitialization of card_count in share_updater leading to "fast refresh mode" (for low amount of cards) only being used for a short time.
                Attached Files

                Comment

                • bigfoot
                  Senior Member
                  • Jun 2011
                  • 183

                  #38
                  OScam for other SH4

                  svn 5420
                  !!! Warning this may break compatibility
                  Change ECM size to 512
                  Update camd35 to handle ECM size > 255 (tested with UDP and a patched version of VDR-SC)

                  svn 5421
                  Config: check for duplicate accounts and rename while startup. Move some generic functions to more central point

                  svn 5422
                  !!! Warning this may break compatibility
                  Update camd35 to handle ECM size > 255 (for client part)
                  Attached Files

                  Comment

                  • bigfoot
                    Senior Member
                    • Jun 2011
                    • 183

                    #39
                    OScam for other SH4

                    svn 5423
                    XMLApi: add some atributes in userlist

                    svn 5424
                    trunk
                    svn 5425
                    fix change in Makefile by goodsat
                    svn 5426
                    revert my revert r5425
                    svn 5427
                    WebIf: add column 'Time on Channel' in user list
                    svn 5428
                    WebIf: Time on Channel in userlist correction
                    svn 5429
                    WebIf: try fix bug in last commit
                    svn 5430
                    WebIf: next try fix bug
                    svn 5431
                    WebIf: some layout correction
                    svn 5432
                    WebIf: small layout fix in readerstats
                    Attached Files

                    Comment

                    • bigfoot
                      Senior Member
                      • Jun 2011
                      • 183

                      #40
                      OScam for other SH4

                      svn 5433
                      XMLApi: fix format issue in new atributes of userlist
                      svn 5434
                      cccam: 1. share updater interval adjusted, added debug output (d=1) 2. added threadlock on share
                      update to avoid updates whiles share list building
                      svn 5435
                      XMLApi: next try to fix invalid XML if a user is online
                      svn 5436
                      Add send and receive timeout to tcp sockets (the later should only be used by WebIf as all other read/recv calls should use poll), adjust keepalive parameters a bit. Small fix to trim function as it could read into uninitialized memory before under some circumstances.

                      svn 5437

                      cccam/global: new locking algo for read/writelocks /test
                      Attached Files

                      Comment

                      • bigfoot
                        Senior Member
                        • Jun 2011
                        • 183

                        #41
                        OScam for other SH4

                        svn 5438
                        cccam/global: locking refactored for cccam

                        svn 5439
                        XMLApi: add placeholder for later coming entrypoints (settings)

                        svn 5440
                        Add locking mechanism from r5437 to more places. Add stronger locking to log functions as the fflush created (very rare) race conditions and segfaults on some systems. Some minor improvements and cleanups.

                        svn 5441
                        trunk
                        Attached Files

                        Comment

                        • dinoel
                          Banned
                          • Dec 2010
                          • 769

                          #42
                          Re: OScam for other SH4

                          sh4-amino
                          inbuilt add-ons: webif monitor dvbapi irdeto-guessing anticascading debug doublecheck loghistory loadbalancing
                          inbuilt protocols: camd33 camd35_udp camd35_tcp newcamd cccam gbox radegast serial constcw
                          inbuilt cardreaders: nagra irdeto conax cryptoworks seca viaccess videoguard dre tongfang


                          sh4-amino-small
                          inbuilt add-ons: dvbapi debug loghistory loadbalancing
                          inbuilt protocols: camd35_udp newcamd cccam
                          inbuilt cardreaders:

                          oscam-svn5441-sh4-amino.tar.gz
                          oscam-svn5441-sh4-amino-small.tar.gz
                          Attached Files

                          Comment

                          • cccam001
                            Banned
                            • Jun 2011
                            • 20

                            #43
                            Re: OScam for other SH4

                            Code:
                            oscam-svn5441-sh4-amino-small.tar
                            Attached Files

                            Comment

                            • dinoel
                              Banned
                              • Dec 2010
                              • 769

                              #44
                              Re: OScam for other SH4

                              Oscam SH40 binary Amiko Alien-
                              r5441 | goodsat | 2011-06-20 13:15:53 +0200 (Mon, 20 Jun 2011) | 1 line
                              ------------------------------------------------------------------------
                              r5443 | schlocke | 2011-06-20 21:15:30 +0200 (Mon, 20 Jun 2011) | 2 lines

                              cccam: added extra logdata for finding card problems
                              ------------------------------------------------------------------------
                              r5442 | alno | 2011-06-20 20:34:46 +0200 (Mon, 20 Jun 2011) | 6 lines

                              XMLApi: add user(account) config to XMLApi
                              Call:
                              1) read: /oscamapi.html?part=userconfig&user=<username>
                              2) write: /oscamapi.html?part=userconfig&user=<username>&<par ametername>=<parametervalue>[&<parametername>=<parametervalue>]&action=Save

                              If WebIf is in readonly mode the write Apicall returns a readable XML formated Errormessage
                              ------------------------------------------------------------------------

                              [5451] by pattex
                              WebIf: Min/Max? Values per Reader in Graph. User changeable Refresh …
                              [5450] by pattex
                              WebIf: Graph can now display only one user with parameter label=username. …
                              [5449] by alno
                              WebIf: correction for last commit
                              [5448] by alno
                              WebIf: hide 'timeonchannel' on inactive clients
                              [5447] by goodsat
                              force use ecm 00 provider 030B00 & 032920 & 032940 detecte nano E0 and skip ecm no suported
                              [5446] by Admin
                              Try a fix for constcw reading file wrong on some plattforms.
                              [5445] by schlocke
                              cccam: reduced updateinterval when AU is enabled. Now we only check herserial changes on lokal readers
                              [5444] by schlocke
                              cccam: fixed some kind of missing local cards
                              Attached Files

                              Comment

                              • dinoel
                                Banned
                                • Dec 2010
                                • 769

                                #45
                                Re: OScam for other SH4

                                OSCam 0.99.3





                                SH4-Version (tested on Kathrein UFS 910)

                                config in /usr/local/etc
                                Attached Files

                                Comment

                                Working...