"Fossies" - the Fresh Open Source Software Archive

Member "aif-2.1.1/etc/arno-iptables-firewall/plugins/traffic-shaper.conf" (16 Sep 2020, 2886 Bytes) of package /linux/privat/aif-2.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "traffic-shaper.conf": 2.1.0_vs_2.1.1.

    1 # ------------------------------------------------------------------------------
    2 #         -= Arno's Iptables Firewall(AIF) - Traffic Shaper plugin =-
    3 # ------------------------------------------------------------------------------
    4 
    5 # To actually enable this plugin make ENABLED=1:
    6 # ------------------------------------------------------------------------------
    7 ENABLED=0
    8 
    9 # The external interface(s) to perform traffic shaping for
   10 # ------------------------------------------------------------------------------
   11 SHAPER_IF="$EXT_IF"
   12 
   13 # Specify qdisc type: cfq (default), htb or hfsc (experimental)
   14 # ------------------------------------------------------------------------------
   15 SHAPER_TYPE="cfq"
   16 
   17 ################################################################################
   18 # NOTE: The remaining settings below don't apply to cfq (only hfsc/htb)!       #
   19 #       DOWNLINK/UPLINK are required to be configured, the rest is  optional.  #
   20 ################################################################################
   21 
   22 # The uplink/downlink speed of your internet connection in KBit
   23 # Note: Disable incoming (ingress) shaping with DOWNLINK=0
   24 #       UPLINK must be defined and greater than 0
   25 # ------------------------------------------------------------------------------
   26 DOWNLINK=3072
   27 UPLINK=832
   28 
   29 # Most users can leave the port classification as is.  The notation signifies
   30 # the destination port on *outbound* traffic.  Ports are prefixed by 'u' for
   31 # UDP and 't' for TCP.  Ranges are given as 5060:5064.
   32 #
   33 # Additionally, packets tagged with DSCP classes EF, CS3, etc.
   34 # will be automatically placed with the proper priority.
   35 # ------------------------------------------------------------------------------
   36 
   37 # Higher Priority - Streaming Media - VoIP (RTP, IAX2, etc.)
   38 # ------------------------------------------------------------------------------
   39 SHAPER_STREAMINGMEDIA_PORTS="u4569 u1720 u1731"
   40 
   41 # High Priority - Interactive - Shell (ssh, telnet, X, Vnc, etc.)
   42 # ------------------------------------------------------------------------------
   43 SHAPER_INTERACTIVE_PORTS="u53 t22 u1194 t3389 u5060:5064 t5900"
   44 
   45 # Medium Priority - Default (SIP-signaling)
   46 # Default, no ports defined
   47 
   48 # Low Priority - Bulk data transfer (HTTP, HTTPS, POP3, SMTP, FTP, etc.)
   49 # ------------------------------------------------------------------------------
   50 SHAPER_BULKDATA_PORTS="t20 t21 t25 t80 t110 t137:139 u137:139 t143 t443 t465 t515 t993 t8080"
   51 
   52 # Lowest Priority - P2P (BitTorrent)
   53 # ------------------------------------------------------------------------------
   54 SHAPER_P2P_PORTS=""
   55 
   56 # (EXPERT SETTING!) If there are servers running locally, include
   57 # the protocol/port from any of the above SHAPER PORTS to also match
   58 # on the source port in addition to the destination port.
   59 # ------------------------------------------------------------------------------
   60 SHAPER_LOCAL_SERVER_PORTS=""
   61