1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

pixelserv - A Better One-pixel Webserver for Adblock

Discussion in 'Asuswrt-Merlin' started by kvic, Jul 28, 2015.

  1. quant88

    quant88 Regular Contributor

    Joined:
    Jan 20, 2017
    Messages:
    55
    Location:
    Singapore
    2.2.1-rc.1 is as smooth as butter ;)
    upload_2018-11-9_21-59-30.png
     
    kvic likes this.
  2. Clark Griswald

    Clark Griswald Regular Contributor

    Joined:
    Sep 21, 2015
    Messages:
    142
    Location:
    USA
    kvic likes this.
  3. jrmwvu04

    jrmwvu04 Senior Member

    Joined:
    Mar 29, 2016
    Messages:
    470
    Location:
    United States
    2.2.1-rc.2 is also as smooth as butter, now with better default settings
     
    kvic and quant88 like this.
  4. Makaveli

    Makaveli Senior Member

    Joined:
    Nov 4, 2016
    Messages:
    310
    Location:
    Canada
    I'm still on 2.2.0 looks like its time to update to the rc.2 version

    Code:
    pixelserv-tls 2.2.0 (compiled: Oct 9 2018 10:35:46 flags: tls1_3) options: 192.168.1.3
    
    uts    13d 20:49    process uptime
    log    1    critical (0) error (1) warning (2) notice (3) info (4) debug (5)
    kcc    13    number of active service threads
    kmx    28    maximum number of service threads
    kvg    1.53    average number of requests per service thread
    krq    122    max number of requests by one service thread
    req    48845    total # of requests (HTTP, HTTPS, success, failure etc)
    avg    928 bytes    average size of requests
    rmx    47587 bytes    largest size of request(s)
    tav    7 ms    average processing time (per request)
    tmx    20022 ms    longest processing time (per request)
    slh    12058    # of accepted HTTPS requests
    slm    45    # of rejected HTTPS requests (missing certificate)
    sle    0    # of rejected HTTPS requests (certificate available but not usable)
    slc    18348    # of dropped HTTPS requests (client disconnect without sending any request)
    slu    13691    # of dropped HTTPS requests (other TLS handshake errors)
    v13    11858    slh/slc break-down: TLS 1.3
    v12    200    slh/slc break-down: TLS 1.2
    v10    0    slh/slc break-down: TLS 1.0
    uca    0    slu break-down: # of unknown CA reported by clients
    ucb    6593    slu break-down: # of bad certificate reported by clients
    uce    1    slu break-down: # of unknown cert reported by clients
    ush    162    slu break-down: # of shutdown by clients after ServerHello
    
     
    kvic likes this.
  5. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,351
    Location:
    22.4399N 114.2222E
    clean up servstats page

    I would think the following counters are rarely looked at and/or used. They passed their usefulness and intended purposes. I had wanted to remove them for quite some time. Perhaps now is the moment.

    I would re-consider if some ppl are making interesting use of some of them. So let's take a poll. Feel free to leave your opinion..

    [​IMG]
     
    Protik likes this.
  6. XIII

    XIII Very Senior Member

    Joined:
    Feb 27, 2014
    Messages:
    602
    Have to admit I don’t look at most numbers at all; “it just works!”...
     
  7. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,351
    Location:
    22.4399N 114.2222E
    Numbers for nuts. Lol. Charts for commons like you and me..

    It seems I've seen a couple of enterprise IT ppl on this forum. I wonder if some are pixelserv-tls users. As I briefly touch upon before, data mining on pixelserv-tls logs should be very interesting..

    One way to do it is to use the so called "ELK stack" - Elasticsearch/Logstash/Kibana stack. If you haven't played with it at work before, I want to speak to you.
     
  8. jrmwvu04

    jrmwvu04 Senior Member

    Joined:
    Mar 29, 2016
    Messages:
    470
    Location:
    United States
    Get rid of them.
     
    quant88 likes this.
  9. Protik

    Protik Senior Member

    Joined:
    Oct 31, 2017
    Messages:
    214
    Location:
    /boot
    The last number in the servstats page I look at is ssp. I don't even know what the numbers after that means.
     
  10. SMS786

    SMS786 Regular Contributor

    Joined:
    Nov 29, 2017
    Messages:
    157
    I usually always check the number of javascript requests..just to make sure my NoScript browser extension is doing its job.
     
    Quoc Huynh and Twiglets like this.
  11. steveh57

    steveh57 New Around Here

    Joined:
    Aug 14, 2013
    Messages:
    5
    One query for 2.2.1-rc2 the default cert cache size via https://kazoo.ga/pixelserv-tls/ is listed at 500, on adding switches via Diversion -c default is listed at 100
     
  12. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,351
    Location:
    22.4399N 114.2222E
    A few interesting counters are below those e.g. "pst." It indicates how many times websites attempt to upload "huge" amount of your personal data. Usually >100KB these days.

    This is an interesting usage! Thanks for sharing.
     
    Quoc Huynh, Protik and SMS786 like this.
  13. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,351
    Location:
    22.4399N 114.2222E
    Simply remove the '-c' switch in your setup. Then the 500 default will take effect.

    Only if you want a different value than 500 (e.g. bigger ...or smaller), then specify '-c' command line option.
     
  14. Twiglets

    Twiglets Regular Contributor

    Joined:
    Aug 15, 2014
    Messages:
    149
    I got caught by this ..... it is because the default has changed from when 'Diversion' was written and the help text needs to be changed.
     
  15. jrmwvu04

    jrmwvu04 Senior Member

    Joined:
    Mar 29, 2016
    Messages:
    470
    Location:
    United States
    For what it’s worth, that was my one hesitation - I also look at that on occasion.
     
  16. SMS786

    SMS786 Regular Contributor

    Joined:
    Nov 29, 2017
    Messages:
    157
    No prob! As someone who's still "learning the ropes" I appreciate more the glimpses into the inner workings.
     
  17. Twiglets

    Twiglets Regular Contributor

    Joined:
    Aug 15, 2014
    Messages:
    149
    I do look at the 'Get Requests ...' stats now and again but do not use them for anything groundbreaking.
    If they really need to go I would not be greatly inconvenienced.
     
  18. dave14305

    dave14305 Occasional Visitor

    Joined:
    May 19, 2018
    Messages:
    44
    I read this entire thread this past weekend because I didn’t really understand the purpose or need for Pixelserv-tls. I am really impressed by the dedication of @kvic and his willingness to answer the same questions repeatedly over the years to earn acceptance of his baby pixelserv-tls. Now that I’m caught up I am very anxious to install pixelserv-tls with Diversion to protect my home network. I’m also feeling a bit sad (like finishing a novel with great characters). While I compressed years of development into a weekend read, it doesn’t really feel like a happy ending to me. @kvic seems to lose some of his enthusiasm in this novel (seemed to be when Entware closed the issue for OpenSSL). I also think this is a never ending battle as browsers and the web evolve. I hope we all continue to support @kvic and spread the love of pixelserv-tls.

    If the idea of the CA certs turns you off, please read the entire thread and understand the origins and how you are not trusting anyone except your own router by trusting the CA certificate generated for pixelserv-tls. Part of me feels that @thelonelycoder has done a minor disservice by abstracting the simplicity and clear demarcation of pixelserv by automating it in his menu driven scripts, but it’s the only way most of us would ever consider installing it and we are thankful for that.

    This project really comes across as a labor of love over the years and I hope kvic will continue to share his talent and enthusiasm with us all.
     
  19. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,626
    Location:
    Switzerland
    With AB-Solution and its successor Diversion I believe I have significantly increased the userbase and spread the love for pixelserv-tls.
    This simplification of the install is done as a service to this community, along with amtm which also helps installing beta versions of pixelserv-tls.

    Many users run into various problems when installing scripts with manual copy-and-paste instructions. Either not following them correctly or running into problems doing so.
    My UI driven apps make these processes a lot simpler and accessable to a much wider audience, they profit by having complex tasks made easy.
    This is expected today, we should not have to bother with commands for things that can be menu driven.
    This is my opinion and also what drives me to create, support and continually improve my apps.
     
    hervon, Karlston, SMS786 and 11 others like this.
  20. dave14305

    dave14305 Occasional Visitor

    Joined:
    May 19, 2018
    Messages:
    44
    Yes, I completely agree and thank you for making it simple. I think many users had a difficult time understanding where Diversion ended and pixelserv-tls began when trying to fix a broken site. You can say it proves a great synergy between the two products! :D