• Webv4 set limit per each ip address

    From plt@VERT/SBBSVA to All on Saturday, August 28, 2021 00:51:49
    Hello

    Is there a option to limit the max connections for webv4 that is using the same ip address?

    ---
    þ Synchronet þ FTP Networks, over 170,000 downloadable files & online games --> sbbs.dynu.net 2
  • From Digital Man@VERT to plt on Sunday, August 29, 2021 02:54:47
    Re: Webv4 set limit per each ip address
    By: plt to All on Sat Aug 28 2021 12:51 am

    Hello

    Is there a option to limit the max connections for webv4 that is using the same ip address?

    The web server does not have that feature, no.
    --
    digital man

    Rush quote #59:
    He's got a force field and a flexible plan, got a date w/fate in a black sedan Norco, CA WX: 67.8øF, 81.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From plt@VERT/SBBSVA to Digital Man on Sunday, August 29, 2021 12:55:05
    Re: Webv4 set limit per each ip address
    By: Digital Man to plt on Sun Aug 29 2021 02:54:47

    Re: Webv4 set limit per each ip address
    By: plt to All on Sat Aug 28 2021 12:51 am

    Hello

    Is there a option to limit the max connections for webv4 that is using the same ip address?

    The web server does not have that feature, no.

    Is that a possible option that can be added?

    ---
    þ Synchronet þ FTP Networks, over 170,000 downloadable files & online games --> sbbs.dynu.net 2
  • From Digital Man@VERT to plt on Sunday, August 29, 2021 14:09:16
    Re: Webv4 set limit per each ip address
    By: plt to Digital Man on Sun Aug 29 2021 12:55 pm

    The web server does not have that feature, no.

    Is that a possible option that can be added?

    I think so.
    --
    digital man

    Rush quote #62:
    He's a restless young romantic, wants to run the big machine .. New World Man Norco, CA WX: 95.9øF, 23.0% humidity, 8 mph NE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to plt on Monday, August 30, 2021 18:29:11
    El 28/8/21 a las 01:51, plt escribi¢:
    Hello

    Is there a option to limit the max connections for webv4 that is using the same ip address?

    ---
    ¨ Synchronet ¨ FTP Networks, over 170,000 downloadable files & online games --> sbbs.dynu.net 2

    you can use a rule in your firewall.

    i using iptables on linux

    https://unix.stackexchange.com/questions/139285/limit-max-connections-per-ip-address-and-new-connections-per-second-with-iptable

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From deon@VERT/ALTERANT to plt on Tuesday, August 31, 2021 10:03:02
    Re: Webv4 set limit per each ip address
    By: plt to All on Sat Aug 28 2021 12:51 am

    Is there a option to limit the max connections for webv4 that is using the same ip address?

    Yes, put haproxy in front of it.



    ...ëîåï

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From MRO@VERT/BBSESINF to Ragnarok on Monday, August 30, 2021 21:18:08
    Re: Re: Webv4 set limit per each ip address
    By: Ragnarok to plt on Mon Aug 30 2021 06:29 pm

    El 28/8/21 a las 01:51, plt escribi­:
    Hello

    Is there a option to limit the max connections for webv4 that is using the same ip address?

    ---
    ­ Synchronet ­ FTP Networks, over 170,000 downloadable files & online games
    sbbs.dynu.net 2

    you can use a rule in your firewall.

    i using iptables on linux

    https://unix.stackexchange.com/questions/139285/limit-max-connections-per-ip


    you guys dont get it.

    phil here doesnt understand what's happening. he sees 4 connections from one guy and wonders "gee! why does 1 guy need 4 connections! that makes my system slow!"

    he doesn't understand that without all those threads, the site would load even slower.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From plt@VERT/SBBSVA to MRO on Wednesday, September 01, 2021 20:28:36
    Re: Re: Webv4 set limit per each ip address
    By: MRO to Ragnarok on Mon Aug 30 2021 21:18:08


    https://unix.stackexchange.com/questions/139285/limit-max-connections-per-ip


    you guys dont get it.


    Thanks,and no one on this earth is perfect.

    phil here doesnt understand what's happening. he sees 4 connections from one guy and wonders "gee! why does 1 guy need 4
    connections! that makes my system slow!"

    Yes, I do


    he doesn't understand that without all those threads, the site would load even slower.

    ---
    þ Synchronet þ FTP Networks, over 170,000 downloadable files & online games --> sbbs.dynu.net 2
  • From MRO@VERT/BBSESINF to plt on Wednesday, September 01, 2021 21:20:18
    Re: Re: Webv4 set limit per each ip address
    By: plt to MRO on Wed Sep 01 2021 08:28 pm

    phil here doesnt understand what's happening. he sees 4 connections from one guy and wonders "gee! why does 1 guy need 4 connections! that makes my system slow!"

    Yes, I do

    sure
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Tracker1@VERT/TRN to plt on Sunday, September 05, 2021 15:07:23
    On 8/27/2021 9:51 PM, plt wrote:

    Is there a option to limit the max connections for webv4 that is
    using the same ip address?

    Browsers will use up to 6 connections to a server. Note: these
    connections are usually short lived, and short of supporting HTTP(S) 2+,
    and even then, you're not likely to reduce this.

    It doesn't take up much overhead per connection, especially since most
    of those requests are static assets. I don't know if Synchronet
    supports if-modified-since or E-Tag, and if it does, it's even less
    overhead.

    In general, don't worry about it. If you're seeing more than that, it's probably a search engine, you can limit this, for most good bots with a robots.txt file as appropriate in the web root.

    https://developers.google.com/search/docs/advanced/robots/intro

    ----

    It's complicated, but you can use a reverse proxy in front of your BBSes
    web application. You may be able to integrate the certificate used for
    TLS (letsyncrypt.js), but don't know enough details to walk one through
    that, I hadn't tried/figured it out.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com

    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com