You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kai K. <hur...@us...> - 2005-07-26 20:28:44
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32519 Modified Files: ChangeLog Log Message: - ChangeLog updated Index: ChangeLog =================================================================== RCS file: /cvsroot/routingtools/tools/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ChangeLog 27 May 2005 07:07:16 -0000 1.6 --- ChangeLog 26 Jul 2005 20:28:34 -0000 1.7 *************** *** 1,2 **** --- 1,49 ---- + 2005-07-26 22:27 hurikhan + + Changed: + Makefile (1.2), "Exp", lines: +13 -3 + + - "make package" creates a package for SF.net upload (the simple way) + + 2005-07-26 22:14 hurikhan + + Added: + AUTHORS (1.1) + INSTALL (1.1) + LICENSE (1.1) + Changed: + rc.d/firewall (1.33), "Exp", lines: +8 -5 + rc.d/shaper (1.31), "Exp", lines: +8 -1 + sysconfig/firewall (1.9), "Exp", lines: +7 -2 + sysconfig/shaper (1.10), "Exp", lines: +7 -2 + + - Added license, GPL and info stuff, authors, etc... + + 2005-07-26 21:45 hurikhan + + Changed: + rc.d/firewall (1.32), "Exp", lines: +0 -113 + rc.d/shaper (1.30), "Exp", lines: +0 -109 + sysconfig/firewall (1.8), "Exp", lines: +0 -29 + sysconfig/shaper (1.9), "Exp", lines: +0 -36 + + - Removed CVS-Tags in files as it will confuse branching and merging as + planned for the future of this project + + 2005-06-25 17:06 hurikhan + + Changed: + rc.d/shaper (1.29), "Exp", lines: +17 -1 + sysconfig/shaper (1.8), "Exp", lines: +11 -1 + + * Tune device queue len for better packet control to about 5 secs length + + 2005-05-27 09:07 hurikhan + + Changed: + ChangeLog (1.6), "Exp", lines: +41 -0 + + - update changelog + 2005-05-26 22:56 hurikhan |
From: Kai K. <hur...@us...> - 2005-07-26 20:28:06
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32225 Modified Files: Makefile Log Message: - "make package" creates a package for SF.net upload (the simple way) Index: Makefile =================================================================== RCS file: /cvsroot/routingtools/tools/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 23 Sep 2003 09:54:38 -0000 1.1 --- Makefile 26 Jul 2005 20:27:58 -0000 1.2 *************** *** 14,17 **** --- 14,24 ---- cvs2cl --summary --no-wrap + package: clean + cd .. && tar czf rtools-`date +'%Y%m%d'`.tar.gz \ + --exclude CVS \ + tools/rc.d/{shaper,firewall} \ + tools/sysconfig/{shaper,firewall} \ + tools/{LICENSE,INSTALL,AUTHORS,Makefile,doc} + FORCE: *************** *** 21,24 **** --- 28,34 ---- # # $Log$ + # Revision 1.2 2005/07/26 20:27:58 hurikhan + # - "make package" creates a package for SF.net upload (the simple way) + # # Revision 1.1 2003/09/23 09:54:38 hurikhan # - added Makefile |
From: Kai K. <hur...@us...> - 2005-07-26 20:15:04
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28794/sysconfig Modified Files: firewall shaper Log Message: - Added license, GPL and info stuff, authors, etc... Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/firewall,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** firewall 26 Jul 2005 19:45:59 -0000 1.8 --- firewall 26 Jul 2005 20:14:54 -0000 1.9 *************** *** 1,7 **** - # Copyright (c) 1998-2002 Kai Krakow. All rights reserved. - # Modifications allowed - see GPL. # # Firewall Configuration # # outer and inner devices (seperated by spaces or use ippp+ ie.) --- 1,12 ---- # + # Stateful NAT Firewall # Firewall Configuration # + # This file is part of the routingtools package, see + # http://sf.net/projects/routingtools/ + # + # + # Distributed under the terms of the GNU General Public License v2 + # # outer and inner devices (seperated by spaces or use ippp+ ie.) Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/shaper,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** shaper 26 Jul 2005 19:45:59 -0000 1.9 --- shaper 26 Jul 2005 20:14:54 -0000 1.10 *************** *** 1,8 **** #!/bin/bash - # ISP Link Flow Control - # Modifications allowed - see GPL. # # Shaper Configuration # # measured uplink speed without traffic shaper (do not use values from provider' papers!) --- 1,13 ---- #!/bin/bash # + # ISP Link Flow Control # Shaper Configuration # + # This file is part of the routingtools package, see + # http://sf.net/projects/routingtools/ + # + # + # Distributed under the terms of the GNU General Public License v2 + # # measured uplink speed without traffic shaper (do not use values from provider' papers!) |
From: Kai K. <hur...@us...> - 2005-07-26 20:15:04
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28794/rc.d Modified Files: firewall shaper Log Message: - Added license, GPL and info stuff, authors, etc... Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** firewall 26 Jul 2005 19:45:58 -0000 1.32 --- firewall 26 Jul 2005 20:14:53 -0000 1.33 *************** *** 1,9 **** #!/bin/bash - # Copyright (c) 1998-2002 Kai Krakow. All rights reserved. - # Modifications allowed - see GPL. # ! # Author: Kai Krakow <hur...@ka...>, 1998-2002 ! # http://www.kaishome.de/ ! # Version: 3.3.2pre # ### BEGIN INIT INFO --- 1,12 ---- #!/bin/bash # ! # Stateful NAT Firewall ! # ! # This file is part of the routingtools package, see ! # http://sf.net/projects/routingtools/ ! # ! # ! # Distributed under the terms of the GNU General Public License v2 ! # # ### BEGIN INIT INFO Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** shaper 26 Jul 2005 19:45:58 -0000 1.30 --- shaper 26 Jul 2005 20:14:53 -0000 1.31 *************** *** 1,5 **** #!/bin/bash # ISP Link Flow Control ! # Modifications allowed - see GPL. # ### BEGIN INIT INFO --- 1,12 ---- #!/bin/bash + # # ISP Link Flow Control ! # ! # This file is part of the routingtools package, see ! # http://sf.net/projects/routingtools/ ! # ! # ! # Distributed under the terms of the GNU General Public License v2 ! # # ### BEGIN INIT INFO |
From: Kai K. <hur...@us...> - 2005-07-26 20:15:03
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28794 Added Files: AUTHORS INSTALL LICENSE Log Message: - Added license, GPL and info stuff, authors, etc... --- NEW FILE: INSTALL --- Not much information here, eh? This would be a job to do. Do you want to contribute? --- NEW FILE: LICENSE --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. --- NEW FILE: AUTHORS --- Routing Tools ------------- This projected was initially started by: Kai Krakow <ka...@ka...> Other Contributors ------------------ Dirk-Lüder Kreie <de...@gm...> - switch ISDN channel bundling |
From: Kai K. <hur...@us...> - 2005-07-26 19:46:10
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20877/rc.d Modified Files: firewall shaper Log Message: - Removed CVS-Tags in files as it will confuse branching and merging as planned for the future of this project Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** firewall 18 Jun 2004 19:37:19 -0000 1.31 --- firewall 26 Jul 2005 19:45:58 -0000 1.32 *************** *** 3,8 **** # Modifications allowed - see GPL. # - # $Id$ - # # Author: Kai Krakow <hur...@ka...>, 1998-2002 # http://www.kaishome.de/ --- 3,6 ---- *************** *** 351,466 **** test "$return" = "$rc_done" || exit 1 exit 0 - - #----------------------------------------------------------------------------- - # - # $Source$ - # - # $Log$ - # Revision 1.31 2004/06/18 19:37:19 hurikhan - # * Only load ipt_unclean in kernel 2.4, skip otherwise (detected by uname) - # - # Revision 1.30 2004/06/18 17:49:10 hurikhan - # * include new SuSE init script semantics - # - # Revision 1.29 2004/06/08 13:11:54 hurikhan - # - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) - # - # Revision 1.28 2004/02/13 17:51:27 hurikhan - # - changed rp_filter behavior - # - made use of iptables module for using shorthand --syn instead of specifying long --tcp-flags - # - # Revision 1.27 2003/11/15 13:20:54 hurikhan - # - block unclean packets in first place so they never get forwarded to - # NAT client, even if they belong to a known established connection - # - # Revision 1.26 2003/11/12 23:18:35 hurikhan - # - tuned reject icmp messages - # - added a connection rate limiter - # - ability to block hostile hosts/nets - # - # Revision 1.25 2003/09/23 09:43:11 hurikhan - # - added mss clamping to forwarding rules to make big packets passing the - # NAT router successfully - # - # Revision 1.24 2003/08/24 12:38:43 hurikhan - # - added IPSec to firewall rules - # - # Revision 1.23 2003/04/19 21:48:40 hurikhan - # - policy should be applied to outgoing packets to work ;-) - # - # Revision 1.22 2003/04/11 17:26:34 hurikhan - # - typo - # - # Revision 1.21 2003/04/11 16:55:24 hurikhan - # - changed logging - # - # Revision 1.20 2003/04/11 16:46:48 hurikhan - # - more stateful connection tracking - # - # Revision 1.19 2003/04/11 16:23:47 hurikhan - # - added connection tracking - # - inserted a rule to drop new connections without SYN set - # - # Revision 1.18 2003/04/05 17:29:21 hurikhan - # - open NAT server ports on firewall - # - # Revision 1.17 2003/04/04 17:55:07 hurikhan - # - MAC matching should work now - # - # Revision 1.16 2003/04/04 17:44:04 hurikhan - # - delete LogForward rule on "service stop" - # - # Revision 1.15 2003/04/04 17:40:00 hurikhan - # - fixed a typo - # - # Revision 1.14 2003/04/04 12:38:47 hurikhan - # - added forward blocking based on MAC address - # - added to use some yet unused config values - # - # Revision 1.13 2003/04/04 11:44:16 hurikhan - # - ooops, removed too much - # - # Revision 1.12 2003/03/18 20:35:12 hurikhan - # - splitted configuration and init scripts - # - # Revision 1.11 2002/12/21 13:17:17 hurikhan - # - moved mangle table status to shaper script - # - # Revision 1.10 2002/12/21 12:59:01 hurikhan - # - added meta info to be used with RedHat's chkconfig - # - # Revision 1.9 2002/12/16 02:31:09 deelkar - # - added missing status output of mangle table - # - # Revision 1.8 2002/12/14 14:49:48 hurikhan - # - removed "ftp-data" from list of opened ports (should be handled by the - # state module) - # - # Revision 1.7 2002/12/10 22:13:43 hurikhan - # - removed accept filter for icmp as firewall is stateful (icmp errors of - # related connections are always accepted) - # - # Revision 1.6 2002/12/03 21:26:06 hurikhan - # - do not status mangle table, will be used by new htb traffic shaper - # - # Revision 1.5 2002/12/03 21:08:56 hurikhan - # - retabbed status section (tab width 4) - # - # Revision 1.4 2002/12/02 09:26:44 deelkar - # - added "status" option - # - # Revision 1.3 2002/11/15 21:34:28 hurikhan - # - do not invoke 'tr' command - # - # Revision 1.2 2002/11/15 20:44:39 hurikhan - # - renamed configuration values (more descriptive now) - # - support for multiple nat servers - # - added more configuration values (not working currently) - # - list of opened ports - # - list of rejected ports - # - list of trusted hosts - # - # Revision 1.1 2002/10/28 09:30:40 hurikhan - # - first version checkin - # - #----------------------------------------------------------------------------- --- 349,350 ---- Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** shaper 25 Jun 2005 15:06:54 -0000 1.29 --- shaper 26 Jul 2005 19:45:58 -0000 1.30 *************** *** 3,11 **** # Modifications allowed - see GPL. # - # $Id$ - # - # Version: 1.0.0 - # - first HTB implementation - # ### BEGIN INIT INFO # Provides: shaper --- 3,6 ---- *************** *** 285,393 **** test "$return" = "$rc_done" || exit 1 exit 0 - - #----------------------------------------------------------------------------- - # - # $Source$ - # - # $Log$ - # Revision 1.29 2005/06/25 15:06:54 hurikhan - # * Tune device queue len for better packet control to about 5 secs length - # - # Revision 1.28 2005/05/26 20:56:11 hurikhan - # - fixed the packet markers to classify all tcp packets correctly that are - # needed for the 3-way tcp connection handshake - # - this leads to highly improved p2p filesharing performance - # - tuned the default bandwidth settings a little bit - # - # Revision 1.27 2004/06/18 17:49:10 hurikhan - # * include new SuSE init script semantics - # - # Revision 1.26 2004/06/08 13:11:54 hurikhan - # - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) - # - # Revision 1.25 2004/02/13 17:41:55 hurikhan - # - do not use tcp timestamps (reduces packet size and is useless here) - # - enable tcp window scaling for more performance - # - # Revision 1.24 2004/01/19 18:25:13 hurikhan - # - reworked packet marking filter (thus reducing DSL modem lockups I had) - # - tuned shaper settings - # - reworked bandwidth tree - # - # Revision 1.23 2003/04/17 06:20:14 hurikhan - # - do not remark already marked packets (this seems to be - # the long awaited performance boost) - # - # Revision 1.22 2003/04/16 18:17:46 hurikhan - # - disabled ECN as it is still problematic with some routers out there - # - tuned the priority classes - # - # Revision 1.21 2003/04/08 06:22:09 hurikhan - # - changed some filter settings - # - changed rule order - # - # Revision 1.20 2003/04/07 13:00:18 hurikhan - # - ignore other TCP flags when checking (only look at RST|SYN|ACK) - # - # Revision 1.19 2003/04/07 12:56:55 hurikhan - # - added more TCP flags to be checked (SYN, ACK, SYNACK, RST) - # - # Revision 1.18 2003/04/07 12:22:17 hurikhan - # - really match ACK instead of tcp packet size <64 - # - # Revision 1.17 2003/04/05 21:43:06 hurikhan - # - respect TOS field in filter rules for shaping - # - # Revision 1.16 2003/04/05 21:33:03 hurikhan - # - tuned the settings a little bit more - # - # Revision 1.15 2003/04/05 21:25:39 hurikhan - # - added to handle tcp and udp ports in shaper - # - # Revision 1.14 2003/04/05 21:06:05 hurikhan - # - completed ingress policing - # - # Revision 1.13 2003/04/05 19:53:37 hurikhan - # - prepared inclusion of ingress policing (not working yet) - # - # Revision 1.12 2003/04/04 17:38:57 hurikhan - # - added "" around $ISDN_SLAVE in if clause - # - # Revision 1.11 2003/03/23 22:00:06 hurikhan - # - added SFQ to class tree - # - # Revision 1.10 2003/03/18 20:35:14 hurikhan - # - splitted configuration and init scripts - # - # Revision 1.9 2003/01/30 17:54:47 deelkar - # - squashed another bug in the ISDN part - # - # Revision 1.8 2003/01/30 16:54:16 deelkar - # - fixed dumb typo bug - # - # Revision 1.7 2003/01/30 16:38:39 deelkar - # - added rudimentary channelbundling support, currently untested, - # needs a restart of the shaper every time the slave device is - # connected/disconnected. - # - # Revision 1.6 2002/12/21 13:17:17 hurikhan - # - moved mangle table status to shaper script - # - # Revision 1.5 2002/12/21 12:59:01 hurikhan - # - added meta info to be used with RedHat's chkconfig - # - # Revision 1.4 2002/12/04 17:25:08 hurikhan - # - replaced IPCHAINS with IPTABLES ;-) - # - # Revision 1.3 2002/12/04 17:24:04 hurikhan - # - remove iptable on shutdown - # - changed one comment header - # - # Revision 1.2 2002/12/04 17:17:46 hurikhan - # - added NNTP as interactive traffic - # - changed file sharing ports - # - # Revision 1.1 2002/12/04 01:17:48 hurikhan - # - added first version of HTB traffic shaper - # - #----------------------------------------------------------------------------- --- 280,281 ---- |
From: Kai K. <hur...@us...> - 2005-07-26 19:46:07
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20877/sysconfig Modified Files: firewall shaper Log Message: - Removed CVS-Tags in files as it will confuse branching and merging as planned for the future of this project Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/firewall,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** firewall 12 Nov 2003 23:18:35 -0000 1.7 --- firewall 26 Jul 2005 19:45:59 -0000 1.8 *************** *** 4,9 **** # Firewall Configuration # - # $Id$ - # # outer and inner devices (seperated by spaces or use ippp+ ie.) --- 4,7 ---- *************** *** 79,112 **** FW_SPYBLOCK="$FW_SPYBLOCK 195.240.16.196 212.74.100.14" # Worldonline FW_SPYBLOCK="$FW_SPYBLOCK 216.221.200.213 64.26.141.64" # Webhancer - - #----------------------------------------------------------------------------- - # - # $Source$ - # - # $Log$ - # Revision 1.7 2003/11/12 23:18:35 hurikhan - # - tuned reject icmp messages - # - added a connection rate limiter - # - ability to block hostile hosts/nets - # - # Revision 1.6 2003/08/24 12:38:43 hurikhan - # - added IPSec to firewall rules - # - # Revision 1.5 2003/04/11 16:23:48 hurikhan - # - added connection tracking - # - inserted a rule to drop new connections without SYN set - # - # Revision 1.4 2003/04/04 18:43:48 hurikhan - # - configuration issue - # - # Revision 1.3 2003/04/04 17:48:16 hurikhan - # - iptables does not like descriptive ports - # - # Revision 1.2 2003/04/04 12:38:47 hurikhan - # - added forward blocking based on MAC address - # - added to use some yet unused config values - # - # Revision 1.1 2003/03/18 20:35:15 hurikhan - # - splitted configuration and init scripts - # - #----------------------------------------------------------------------------- --- 77,78 ---- Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/shaper,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** shaper 25 Jun 2005 15:06:54 -0000 1.8 --- shaper 26 Jul 2005 19:45:59 -0000 1.9 *************** *** 5,10 **** # Shaper Configuration # - # $Id$ - # # measured uplink speed without traffic shaper (do not use values from provider' papers!) --- 5,8 ---- *************** *** 96,134 **** # do not set this to high if you need responsive interactive session (ssh, telnet etc) INGRESS_BANDWIDTH="98" - - #----------------------------------------------------------------------------- - # - # $Source$ - # - # $Log$ - # Revision 1.8 2005/06/25 15:06:54 hurikhan - # * Tune device queue len for better packet control to about 5 secs length - # - # Revision 1.7 2005/05/26 20:56:11 hurikhan - # - fixed the packet markers to classify all tcp packets correctly that are - # needed for the 3-way tcp connection handshake - # - this leads to highly improved p2p filesharing performance - # - tuned the default bandwidth settings a little bit - # - # Revision 1.6 2004/01/19 18:25:13 hurikhan - # - reworked packet marking filter (thus reducing DSL modem lockups I had) - # - tuned shaper settings - # - reworked bandwidth tree - # - # Revision 1.5 2003/04/16 18:17:47 hurikhan - # - disabled ECN as it is still problematic with some routers out there - # - tuned the priority classes - # - # Revision 1.4 2003/04/05 21:43:06 hurikhan - # - respect TOS field in filter rules for shaping - # - # Revision 1.3 2003/04/05 21:25:39 hurikhan - # - added to handle tcp and udp ports in shaper - # - # Revision 1.2 2003/03/18 20:36:57 hurikhan - # - removed bogus log entries - # - # Revision 1.1 2003/03/18 20:35:15 hurikhan - # - splitted configuration and init scripts - # - #----------------------------------------------------------------------------- --- 94,95 ---- |
From: Kai K. <hur...@us...> - 2005-06-25 15:07:02
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30950/sysconfig Modified Files: shaper Log Message: * Tune device queue len for better packet control to about 5 secs length Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/shaper,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** shaper 26 May 2005 20:56:11 -0000 1.7 --- shaper 25 Jun 2005 15:06:54 -0000 1.8 *************** *** 27,30 **** --- 27,34 ---- DEVICE="dsl0" + # mtu for queue len calculation (this does not set your mtu, it's just to predict the minimal + # package queue len and set it to about 5 second - it will be autodetected in a later version) + MTU="1492" + # if device is an ISDN device (ipppX) you may enter the slave device here, to # enable the shaper to adapt to channel-bundling *************** *** 98,101 **** --- 102,108 ---- # # $Log$ + # Revision 1.8 2005/06/25 15:06:54 hurikhan + # * Tune device queue len for better packet control to about 5 secs length + # # Revision 1.7 2005/05/26 20:56:11 hurikhan # - fixed the packet markers to classify all tcp packets correctly that are |
From: Kai K. <hur...@us...> - 2005-06-25 15:07:02
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30950/rc.d Modified Files: shaper Log Message: * Tune device queue len for better packet control to about 5 secs length Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** shaper 26 May 2005 20:56:11 -0000 1.28 --- shaper 25 Jun 2005 15:06:54 -0000 1.29 *************** *** 39,42 **** --- 39,43 ---- IPTABLES=/usr/sbin/iptables ISDNCTRL=/usr/sbin/isdnctrl + IFCONFIG=/sbin/ifconfig # load configuration *************** *** 194,197 **** --- 195,207 ---- echo -e "$rc_done" + # device package queue + + echo -n " device package queue " + + QUEUELEN=$[$LINKSPEED_UP*5*1024/8/$MTU] + $IFCONFIG $DEVICE txqueuelen $QUEUELEN + + echo -e "$rc_done" + # kernel parameters *************** *** 281,284 **** --- 291,297 ---- # # $Log$ + # Revision 1.29 2005/06/25 15:06:54 hurikhan + # * Tune device queue len for better packet control to about 5 secs length + # # Revision 1.28 2005/05/26 20:56:11 hurikhan # - fixed the packet markers to classify all tcp packets correctly that are |
From: Kai K. <hur...@us...> - 2005-05-27 07:07:31
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5377 Modified Files: ChangeLog Log Message: - update changelog Index: ChangeLog =================================================================== RCS file: /cvsroot/routingtools/tools/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ChangeLog 13 Feb 2004 18:03:17 -0000 1.5 --- ChangeLog 27 May 2005 07:07:16 -0000 1.6 *************** *** 1,2 **** --- 1,43 ---- + 2005-05-26 22:56 hurikhan + + Changed: + rc.d/shaper (1.28), "Exp", lines: +14 -7 + sysconfig/shaper (1.7), "Exp", lines: +21 -16 + + - fixed the packet markers to classify all tcp packets correctly that are + needed for the 3-way tcp connection handshake + - this leads to highly improved p2p filesharing performance + - tuned the default bandwidth settings a little bit + + 2004-06-18 21:37 hurikhan + + Changed: + rc.d/firewall (1.31), "Exp", lines: +10 -2 + + * Only load ipt_unclean in kernel 2.4, skip otherwise (detected by uname) + + 2004-06-18 19:49 hurikhan + + Changed: + rc.d/firewall (1.30), "Exp", lines: +9 -1 + rc.d/shaper (1.27), "Exp", lines: +9 -1 + + * include new SuSE init script semantics + + 2004-06-08 15:11 hurikhan + + Changed: + rc.d/firewall (1.29), "Exp", lines: +8 -2 + rc.d/shaper (1.26), "Exp", lines: +12 -6 + + - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) + + 2004-02-13 19:03 hurikhan + + Changed: + ChangeLog (1.5), "Exp", lines: +41 -0 + + - updated ChangeLog + 2004-02-13 18:51 hurikhan |
From: Kai K. <hur...@us...> - 2005-05-26 20:56:23
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24419/rc.d Modified Files: shaper Log Message: - fixed the packet markers to classify all tcp packets correctly that are needed for the 3-way tcp connection handshake - this leads to highly improved p2p filesharing performance - tuned the default bandwidth settings a little bit Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** shaper 18 Jun 2004 17:49:10 -0000 1.27 --- shaper 26 May 2005 20:56:11 -0000 1.28 *************** *** 10,14 **** ### BEGIN INIT INFO # Provides: shaper ! # Required-Start: network syslog # Required-Stop: network # Default-Start: 2 3 5 --- 10,14 ---- ### BEGIN INIT INFO # Provides: shaper ! # Required-Start: network syslog smpppd # Required-Stop: network # Default-Start: 2 3 5 *************** *** 95,103 **** echo -n " packet markers " ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 for class in $CLASSES; do --- 95,107 ---- echo -n " packet markers " ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN,ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN,ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0 for class in $CLASSES; do *************** *** 277,280 **** --- 281,290 ---- # # $Log$ + # Revision 1.28 2005/05/26 20:56:11 hurikhan + # - fixed the packet markers to classify all tcp packets correctly that are + # needed for the 3-way tcp connection handshake + # - this leads to highly improved p2p filesharing performance + # - tuned the default bandwidth settings a little bit + # # Revision 1.27 2004/06/18 17:49:10 hurikhan # * include new SuSE init script semantics |
From: Kai K. <hur...@us...> - 2005-05-26 20:56:23
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24419/sysconfig Modified Files: shaper Log Message: - fixed the packet markers to classify all tcp packets correctly that are needed for the 3-way tcp connection handshake - this leads to highly improved p2p filesharing performance - tuned the default bandwidth settings a little bit Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/shaper,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** shaper 19 Jan 2004 18:25:13 -0000 1.6 --- shaper 26 May 2005 20:56:11 -0000 1.7 *************** *** 15,19 **** # effective. This may not be true for slow links. # unit is kbit/s ! LINKSPEED_UP="64" # measured downlink speed without traffic shaper (do not use values from provider' papers!) --- 15,19 ---- # effective. This may not be true for slow links. # unit is kbit/s ! LINKSPEED_UP="125" # measured downlink speed without traffic shaper (do not use values from provider' papers!) *************** *** 22,34 **** # channelbundling all the time # unit is kbit/s ! LINKSPEED_DOWN="64" # device to configure ! DEVICE="ippp0" # if device is an ISDN device (ipppX) you may enter the slave device here, to # enable the shaper to adapt to channel-bundling # leave empty if unsire or if you don't use channelbundling or even ISDN ! ISDN_SLAVE="ippp1" # classes on bandwidth tree, class _0 is predefined and shouldn't be changed (protocol traffic) --- 22,34 ---- # channelbundling all the time # unit is kbit/s ! LINKSPEED_DOWN="2000" # device to configure ! DEVICE="dsl0" # if device is an ISDN device (ipppX) you may enter the slave device here, to # enable the shaper to adapt to channel-bundling # leave empty if unsire or if you don't use channelbundling or even ISDN ! ISDN_SLAVE="" # classes on bandwidth tree, class _0 is predefined and shouldn't be changed (protocol traffic) *************** *** 41,45 **** CLASS_ID_0="10" # id used to mark the packet CLASS_PRIO_0="0" # priority of class (order of assigning unused bandwidth) ! CLASS_BANDWIDTH_0="50:100" # percent of bandwidth to allocate (be careful this sums to 100 or less!) CLASS_TOS_0="" CLASS_DSTHOSTS_0="" --- 41,45 ---- CLASS_ID_0="10" # id used to mark the packet CLASS_PRIO_0="0" # priority of class (order of assigning unused bandwidth) ! CLASS_BANDWIDTH_0="30:80" # percent of bandwidth to allocate (be careful this sums to 100 or less!) CLASS_TOS_0="" CLASS_DSTHOSTS_0="" *************** *** 51,76 **** CLASS_ID_1="11" CLASS_PRIO_1="1" ! CLASS_BANDWIDTH_1="10:100" CLASS_TOS_1="Minimize-Delay" CLASS_DSTHOSTS_1="" ! CLASS_DSTPORTS_1="ssh telnet nntp" CLASS_SRCHOSTS_1="" ! CLASS_SRCPORTS_1="ssh telnet nntp" # predefined class for bulk traffic (www, ftp...) CLASS_ID_2="12" CLASS_PRIO_2="3" ! CLASS_BANDWIDTH_2="5:80" # limit bulk traffic to 80 percent maximum so it doesn't eat interactivity CLASS_TOS_2="Maximize-Throughput" CLASS_DSTHOSTS_2="" ! CLASS_DSTPORTS_2="http https ftp ftp-data smtp" CLASS_SRCHOSTS_2="" ! CLASS_SRCPORTS_2="http https ftp ftp-data smtp" # predefined class for low priority traffic (file sharing...) CLASS_ID_3="13" CLASS_PRIO_3="4" ! CLASS_BANDWIDTH_3="5:90" # same here as for class _2 ! CLASS_TOS_3="" CLASS_DSTHOSTS_3="" CLASS_DSTPORTS_3="kazaa/tcp 4661/tcp 4662/tcp 4665/tcp 4669/tcp kazaa/udp 4661/udp 4662/udp 4665/udp 4669/udp" --- 51,76 ---- CLASS_ID_1="11" CLASS_PRIO_1="1" ! CLASS_BANDWIDTH_1="25:95" CLASS_TOS_1="Minimize-Delay" CLASS_DSTHOSTS_1="" ! CLASS_DSTPORTS_1="ssh/tcp telnet/tcp nntp/tcp 5900/tcp 5901/tcp domain/udp" CLASS_SRCHOSTS_1="" ! CLASS_SRCPORTS_1="ssh/tcp telnet/tcp nntp/tcp 5900/tcp 5901/tcp domain/udp" # predefined class for bulk traffic (www, ftp...) CLASS_ID_2="12" CLASS_PRIO_2="3" ! CLASS_BANDWIDTH_2="20:70" # limit bulk traffic to 80 percent maximum so it doesn't eat interactivity CLASS_TOS_2="Maximize-Throughput" CLASS_DSTHOSTS_2="" ! CLASS_DSTPORTS_2="http/tcp https/tcp ftp/tcp ftp-data/tcp smtp/tcp" CLASS_SRCHOSTS_2="" ! CLASS_SRCPORTS_2="http/tcp https/tcp ftp/tcp ftp-data/tcp smtp/tcp" # predefined class for low priority traffic (file sharing...) CLASS_ID_3="13" CLASS_PRIO_3="4" ! CLASS_BANDWIDTH_3="10:50" # same here as for class _2 ! CLASS_TOS_3="Minimize-Cost" CLASS_DSTHOSTS_3="" CLASS_DSTPORTS_3="kazaa/tcp 4661/tcp 4662/tcp 4665/tcp 4669/tcp kazaa/udp 4661/udp 4662/udp 4665/udp 4669/udp" *************** *** 81,85 **** CLASS_ID_4="14" CLASS_PRIO_4="2" ! CLASS_BANDWIDTH_4="30:95" # sum of the above (70) leaves 30 percent here CLASS_TOS_4="" CLASS_DSTHOSTS_4="" --- 81,85 ---- CLASS_ID_4="14" CLASS_PRIO_4="2" ! CLASS_BANDWIDTH_4="15:70" # sum of the above (85) leaves 15 percent here CLASS_TOS_4="" CLASS_DSTHOSTS_4="" *************** *** 91,95 **** # this sets the percentage of incoming bandwidth to be used # do not set this to high if you need responsive interactive session (ssh, telnet etc) ! INGRESS_BANDWIDTH="90" #----------------------------------------------------------------------------- --- 91,95 ---- # this sets the percentage of incoming bandwidth to be used # do not set this to high if you need responsive interactive session (ssh, telnet etc) ! INGRESS_BANDWIDTH="98" #----------------------------------------------------------------------------- *************** *** 98,101 **** --- 98,107 ---- # # $Log$ + # Revision 1.7 2005/05/26 20:56:11 hurikhan + # - fixed the packet markers to classify all tcp packets correctly that are + # needed for the 3-way tcp connection handshake + # - this leads to highly improved p2p filesharing performance + # - tuned the default bandwidth settings a little bit + # # Revision 1.6 2004/01/19 18:25:13 hurikhan # - reworked packet marking filter (thus reducing DSL modem lockups I had) |
From: Kai K. <hur...@us...> - 2004-06-18 19:37:31
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25639 Modified Files: firewall Log Message: * Only load ipt_unclean in kernel 2.4, skip otherwise (detected by uname) Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** firewall 18 Jun 2004 17:49:10 -0000 1.30 --- firewall 18 Jun 2004 19:37:19 -0000 1.31 *************** *** 38,41 **** --- 38,42 ---- IPTABLES=/usr/sbin/iptables MODPROBE=/sbin/modprobe + UNAME=/bin/uname # load configuration *************** *** 188,192 **** $IPTABLES -N Block ! $IPTABLES -A Block -m unclean -j LogDrop if [ "$FW_IPSEC" = "yes" ]; then --- 189,197 ---- $IPTABLES -N Block ! case `$UNAME -r` in ! 2.4.*) ! $IPTABLES -A Block -m unclean -j LogDrop ! ;; ! esac if [ "$FW_IPSEC" = "yes" ]; then *************** *** 352,355 **** --- 357,363 ---- # # $Log$ + # Revision 1.31 2004/06/18 19:37:19 hurikhan + # * Only load ipt_unclean in kernel 2.4, skip otherwise (detected by uname) + # # Revision 1.30 2004/06/18 17:49:10 hurikhan # * include new SuSE init script semantics |
From: Kai K. <hur...@us...> - 2004-06-18 17:49:19
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16878 Modified Files: firewall shaper Log Message: * include new SuSE init script semantics Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** firewall 8 Jun 2004 13:11:54 -0000 1.29 --- firewall 18 Jun 2004 17:49:10 -0000 1.30 *************** *** 25,28 **** --- 25,33 ---- fi + if [ -r /etc/rc.status ]; then + . /etc/rc.status + rc_reset + fi + if [ -r /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions *************** *** 347,350 **** --- 352,358 ---- # # $Log$ + # Revision 1.30 2004/06/18 17:49:10 hurikhan + # * include new SuSE init script semantics + # # Revision 1.29 2004/06/08 13:11:54 hurikhan # - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** shaper 8 Jun 2004 13:11:54 -0000 1.26 --- shaper 18 Jun 2004 17:49:10 -0000 1.27 *************** *** 24,27 **** --- 24,32 ---- fi + if [ -r /etc/rc.status ]; then + . /etc/rc.status + rc_reset + fi + if [ -r /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions *************** *** 272,275 **** --- 277,283 ---- # # $Log$ + # Revision 1.27 2004/06/18 17:49:10 hurikhan + # * include new SuSE init script semantics + # # Revision 1.26 2004/06/08 13:11:54 hurikhan # - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) |
From: Kai K. <hur...@us...> - 2004-06-08 13:12:03
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25841 Modified Files: firewall shaper Log Message: - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** firewall 13 Feb 2004 17:51:27 -0000 1.28 --- firewall 8 Jun 2004 13:11:54 -0000 1.29 *************** *** 23,27 **** if [ -r /etc/rc.config ]; then . /etc/rc.config ! else . /etc/rc.d/init.d/functions rc_done=0 --- 23,29 ---- if [ -r /etc/rc.config ]; then . /etc/rc.config ! fi ! ! if [ -r /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions rc_done=0 *************** *** 345,348 **** --- 347,353 ---- # # $Log$ + # Revision 1.29 2004/06/08 13:11:54 hurikhan + # - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) + # # Revision 1.28 2004/02/13 17:51:27 hurikhan # - changed rp_filter behavior Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** shaper 13 Feb 2004 17:41:55 -0000 1.25 --- shaper 8 Jun 2004 13:11:54 -0000 1.26 *************** *** 21,29 **** if [ -r /etc/rc.config ]; then ! . /etc/rc.config ! else ! . /etc/rc.d/init.d/functions ! rc_done=0 ! rc_failed=1 fi --- 21,31 ---- if [ -r /etc/rc.config ]; then ! . /etc/rc.config ! fi ! ! if [ -r /etc/rc.d/init.d/functions ]; then ! . /etc/rc.d/init.d/functions ! rc_done=0 ! rc_failed=1 fi *************** *** 270,273 **** --- 272,278 ---- # # $Log$ + # Revision 1.26 2004/06/08 13:11:54 hurikhan + # - improve RedHat detection (fresh installs of newer SuSE version was incorrectly detected) + # # Revision 1.25 2004/02/13 17:41:55 hurikhan # - do not use tcp timestamps (reduces packet size and is useless here) |
From: <hur...@us...> - 2004-02-13 18:09:10
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1001 Modified Files: ChangeLog Log Message: - updated ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/routingtools/tools/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ChangeLog 12 Nov 2003 23:20:56 -0000 1.4 --- ChangeLog 13 Feb 2004 18:03:17 -0000 1.5 *************** *** 1,2 **** --- 1,43 ---- + 2004-02-13 18:51 hurikhan + + Changed: + rc.d/firewall (1.28), "Exp", lines: +7 -3 + + - changed rp_filter behavior + - made use of iptables module for using shorthand --syn instead of specifying long --tcp-flags + + 2004-02-13 18:41 hurikhan + + Changed: + rc.d/shaper (1.25), "Exp", lines: +10 -4 + + - do not use tcp timestamps (reduces packet size and is useless here) + - enable tcp window scaling for more performance + + 2004-01-19 19:25 hurikhan + + Changed: + rc.d/shaper (1.24), "Exp", lines: +23 -14 + sysconfig/shaper (1.6), "Exp", lines: +7 -1 + + - reworked packet marking filter (thus reducing DSL modem lockups I had) + - tuned shaper settings + - reworked bandwidth tree + + 2003-11-15 14:20 hurikhan + + Changed: + rc.d/firewall (1.27), "Exp", lines: +8 -2 + + - block unclean packets in first place so they never get forwarded to + NAT client, even if they belong to a known established connection + + 2003-11-13 00:20 hurikhan + + Changed: + ChangeLog (1.4), "Exp", lines: +17 -0 + + - updated ChangeLog + 2003-11-13 00:18 hurikhan |
From: <hur...@us...> - 2004-02-13 17:57:16
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30327 Modified Files: firewall Log Message: - changed rp_filter behavior - made use of iptables module for using shorthand --syn instead of specifying long --tcp-flags Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** firewall 15 Nov 2003 13:20:54 -0000 1.27 --- firewall 13 Feb 2004 17:51:27 -0000 1.28 *************** *** 253,257 **** echo -n " mss clamping " ! $IPTABLES -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu echo -e "$rc_done" --- 253,257 ---- echo -n " mss clamping " ! $IPTABLES -I FORWARD -p tcp --syn -j TCPMSS --clamp-mss-to-pmtu echo -e "$rc_done" *************** *** 265,269 **** kerneldevs=${IF_WORLD/+/*} for world in `cd /proc/sys/net/ipv4/conf; ls -d $kerneldevs default`; do ! echo 1 > /proc/sys/net/ipv4/conf/$world/rp_filter echo 1 > /proc/sys/net/ipv4/conf/$world/log_martians echo 0 > /proc/sys/net/ipv4/conf/$world/accept_source_route --- 265,269 ---- kerneldevs=${IF_WORLD/+/*} for world in `cd /proc/sys/net/ipv4/conf; ls -d $kerneldevs default`; do ! echo 2 > /proc/sys/net/ipv4/conf/$world/rp_filter echo 1 > /proc/sys/net/ipv4/conf/$world/log_martians echo 0 > /proc/sys/net/ipv4/conf/$world/accept_source_route *************** *** 345,348 **** --- 345,352 ---- # # $Log$ + # Revision 1.28 2004/02/13 17:51:27 hurikhan + # - changed rp_filter behavior + # - made use of iptables module for using shorthand --syn instead of specifying long --tcp-flags + # # Revision 1.27 2003/11/15 13:20:54 hurikhan # - block unclean packets in first place so they never get forwarded to |
From: <hur...@us...> - 2004-01-19 18:25:18
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1:/tmp/cvs-serv8920/sysconfig Modified Files: shaper Log Message: - reworked packet marking filter (thus reducing DSL modem lockups I had) - tuned shaper settings - reworked bandwidth tree Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/shaper,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** shaper 16 Apr 2003 18:17:47 -0000 1.5 --- shaper 19 Jan 2004 18:25:13 -0000 1.6 *************** *** 12,15 **** --- 12,17 ---- # on ISDN connections use the bandwith for ONE channel, even if you use # channelbundling all the time + # Note: This should be kept at about 80% of your uplink speed for the shaper to work + # effective. This may not be true for slow links. # unit is kbit/s LINKSPEED_UP="64" *************** *** 96,99 **** --- 98,106 ---- # # $Log$ + # Revision 1.6 2004/01/19 18:25:13 hurikhan + # - reworked packet marking filter (thus reducing DSL modem lockups I had) + # - tuned shaper settings + # - reworked bandwidth tree + # # Revision 1.5 2003/04/16 18:17:47 hurikhan # - disabled ECN as it is still problematic with some routers out there |
From: <hur...@us...> - 2004-01-19 18:25:17
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1:/tmp/cvs-serv8920/rc.d Modified Files: shaper Log Message: - reworked packet marking filter (thus reducing DSL modem lockups I had) - tuned shaper settings - reworked bandwidth tree Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** shaper 17 Apr 2003 06:20:14 -0000 1.23 --- shaper 19 Jan 2004 18:25:13 -0000 1.24 *************** *** 29,33 **** TC=/usr/sbin/tc ! HTBTC=/usr/local/sbin/tc IPTABLES=/usr/sbin/iptables ISDNCTRL=/usr/sbin/isdnctrl --- 29,33 ---- TC=/usr/sbin/tc ! HTBTC=$TC #/usr/local/sbin/tc IPTABLES=/usr/sbin/iptables ISDNCTRL=/usr/sbin/isdnctrl *************** *** 78,83 **** CLASS_RATE=$[128*$LINKSPEED_UP*$CLASS_LOW/100] CLASS_CEIL=$[128*$LINKSPEED_UP*$CLASS_HIGH/100] ! $HTBTC class add dev $DEVICE parent 1:1 classid 1:$CLASS_ID htb rate ${CLASS_RATE}Bps ceil ${CLASS_CEIL}Bps burst 6k prio $CLASS_PRIO ! $TC qdisc add dev $DEVICE parent 1:$CLASS_ID handle $CLASS_ID: sfq perturb 10 done --- 78,83 ---- CLASS_RATE=$[128*$LINKSPEED_UP*$CLASS_LOW/100] CLASS_CEIL=$[128*$LINKSPEED_UP*$CLASS_HIGH/100] ! $HTBTC class add dev $DEVICE parent 1:1 classid 1:$CLASS_ID htb rate ${CLASS_RATE}Bps ceil ${CLASS_CEIL}Bps prio $CLASS_PRIO ! $TC qdisc add dev $DEVICE parent 1:$CLASS_ID handle ${CLASS_ID}0: sfq perturb 10 done *************** *** 88,96 **** echo -n " packet markers " ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags ALL ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags ALL SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags ALL SYN,ACK -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags ALL RST -m length --length :64 -j MARK --set-mark $CLASS_ID_0 for class in $CLASSES; do --- 88,96 ---- echo -n " packet markers " ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 ! ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p icmp -j MARK --set-mark $CLASS_ID_0 ! $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p tcp --tcp-flags SYN,RST,ACK SYN -m length --length :64 -j MARK --set-mark $CLASS_ID_0 for class in $CLASSES; do *************** *** 100,103 **** --- 100,104 ---- for tos in $CLASS_TOS; do $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -m tos --tos $tos -j MARK --set-mark $CLASS_ID + $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -m tos --tos $tos -j MARK --set-mark $CLASS_ID done *************** *** 110,113 **** --- 111,115 ---- for host in $CLASS_DSTHOSTS; do $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -d $host -j MARK --set-mark $CLASS_ID + $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -d $host -j MARK --set-mark $CLASS_ID done *************** *** 120,123 **** --- 122,126 ---- for host in $CLASS_SRCHOSTS; do $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -s $host -j MARK --set-mark $CLASS_ID + $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -s $host -j MARK --set-mark $CLASS_ID done *************** *** 135,138 **** --- 138,142 ---- fi $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p $prot --dport $port -j MARK --set-mark $CLASS_ID + $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p $prot --dport $port -j MARK --set-mark $CLASS_ID done *************** *** 150,153 **** --- 154,158 ---- fi $IPTABLES -A POSTROUTING -t mangle -m mark --mark 0 -o $DEVICE -p $prot --sport $port -j MARK --set-mark $CLASS_ID + $IPTABLES -A OUTPUT -t mangle -m mark --mark 0 -o $DEVICE -p $prot --sport $port -j MARK --set-mark $CLASS_ID done *************** *** 162,166 **** for class in $CLASSES; do eval CLASS_ID=\$CLASS_ID$class ! $TC filter add dev $DEVICE parent 1:0 prio 0 protocol ip handle $CLASS_ID fw flowid 1:$CLASS_ID done --- 167,171 ---- for class in $CLASSES; do eval CLASS_ID=\$CLASS_ID$class ! $TC filter add dev $DEVICE parent 1: prio 10 protocol ip handle $CLASS_ID fw flowid 1:$CLASS_ID done *************** *** 182,189 **** echo -n " kernel settings " ! echo $[512*1024] >/proc/sys/net/core/rmem_default ! echo $[512*1024] >/proc/sys/net/core/rmem_max ! echo $[512*1024] >/proc/sys/net/core/wmem_default ! echo $[512*1024] >/proc/sys/net/core/wmem_max # echo 0 >/proc/sys/net/ipv4/tcp_timestamps --- 187,194 ---- echo -n " kernel settings " ! echo $[128*1024] >/proc/sys/net/core/rmem_default ! echo $[128*1024] >/proc/sys/net/core/rmem_max ! echo $[128*1024] >/proc/sys/net/core/wmem_default ! echo $[128*1024] >/proc/sys/net/core/wmem_max # echo 0 >/proc/sys/net/ipv4/tcp_timestamps *************** *** 264,267 **** --- 269,277 ---- # # $Log$ + # Revision 1.24 2004/01/19 18:25:13 hurikhan + # - reworked packet marking filter (thus reducing DSL modem lockups I had) + # - tuned shaper settings + # - reworked bandwidth tree + # # Revision 1.23 2003/04/17 06:20:14 hurikhan # - do not remark already marked packets (this seems to be |
From: <hur...@us...> - 2003-11-15 13:21:00
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1:/tmp/cvs-serv25867/rc.d Modified Files: firewall Log Message: - block unclean packets in first place so they never get forwarded to NAT client, even if they belong to a known established connection Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** firewall 12 Nov 2003 23:18:35 -0000 1.26 --- firewall 15 Nov 2003 13:20:54 -0000 1.27 *************** *** 181,184 **** --- 181,186 ---- $IPTABLES -N Block + $IPTABLES -A Block -m unclean -j LogDrop + if [ "$FW_IPSEC" = "yes" ]; then $IPTABLES -A Block -p esp -j ACCEPT *************** *** 188,192 **** $IPTABLES -A Block -m state --state NEW -p tcp ! --syn -j LogUnknown $IPTABLES -A Block -m state --state ESTABLISHED,RELATED -j ACCEPT - $IPTABLES -A Block -m unclean -j LogDrop for host in $FW_HOSTILE; do --- 190,193 ---- *************** *** 344,347 **** --- 345,352 ---- # # $Log$ + # Revision 1.27 2003/11/15 13:20:54 hurikhan + # - block unclean packets in first place so they never get forwarded to + # NAT client, even if they belong to a known established connection + # # Revision 1.26 2003/11/12 23:18:35 hurikhan # - tuned reject icmp messages |
From: <hur...@us...> - 2003-11-12 23:21:00
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1:/tmp/cvs-serv2889 Modified Files: ChangeLog Log Message: - updated ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/routingtools/tools/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ChangeLog 29 Oct 2003 09:50:22 -0000 1.3 --- ChangeLog 12 Nov 2003 23:20:56 -0000 1.4 *************** *** 1,2 **** --- 1,19 ---- + 2003-11-13 00:18 hurikhan + + Changed: + rc.d/firewall (1.26), "Exp", lines: +40 -4 + sysconfig/firewall (1.7), "Exp", lines: +13 -1 + + - tuned reject icmp messages + - added a connection rate limiter + - ability to block hostile hosts/nets + + 2003-10-29 10:50 hurikhan + + Changed: + ChangeLog (1.3), "Exp", lines: +14 -0 + + - updated ChangeLog + 2003-10-29 10:49 hurikhan |
From: <hur...@us...> - 2003-11-12 23:18:42
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1:/tmp/cvs-serv2398/sysconfig Modified Files: firewall Log Message: - tuned reject icmp messages - added a connection rate limiter - ability to block hostile hosts/nets Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/firewall,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** firewall 24 Aug 2003 12:38:43 -0000 1.6 --- firewall 12 Nov 2003 23:18:35 -0000 1.7 *************** *** 46,49 **** --- 46,58 ---- FW_TRUSTEDHOSTS="213.183.181.1" + # hostile hosts and nets + FW_HOSTILE="68.98.0.0/16" + + # connection rate limiter (port avg burst) + FW_RATES="_21 _22 _80" + FW_RATE_21="ftp 20/hour 50" + FW_RATE_22="ssh 1/minute 10" + FW_RATE_80="http 10/second 100" + # known spy and adware servers FW_SPYBLOCK="" *************** *** 76,79 **** --- 85,93 ---- # # $Log$ + # Revision 1.7 2003/11/12 23:18:35 hurikhan + # - tuned reject icmp messages + # - added a connection rate limiter + # - ability to block hostile hosts/nets + # # Revision 1.6 2003/08/24 12:38:43 hurikhan # - added IPSec to firewall rules |
From: <hur...@us...> - 2003-11-12 23:18:42
|
Update of /cvsroot/routingtools/tools/rc.d In directory sc8-pr-cvs1:/tmp/cvs-serv2398/rc.d Modified Files: firewall Log Message: - tuned reject icmp messages - added a connection rate limiter - ability to block hostile hosts/nets Index: firewall =================================================================== RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** firewall 23 Sep 2003 09:43:11 -0000 1.25 --- firewall 12 Nov 2003 23:18:35 -0000 1.26 *************** *** 68,78 **** $IPTABLES -A LogDrop -j DROP $IPTABLES -N LogReject $IPTABLES -A LogReject -m limit -j LOG --log-prefix "Spy packet from local: " ! $IPTABLES -A LogReject -j REJECT --reject-with icmp-host-unreachable $IPTABLES -N LogForward $IPTABLES -A LogForward -m limit -j LOG --log-prefix "Rejecting from inside: " ! $IPTABLES -A LogForward -j REJECT --reject-with icmp-host-prohibited echo -e "$rc_done" --- 68,86 ---- $IPTABLES -A LogDrop -j DROP + $IPTABLES -N LogHostile + $IPTABLES -A LogHostile -m limit -j LOG --log-prefix "Hostile host: " + $IPTABLES -A LogHostile -j DROP + $IPTABLES -N LogReject $IPTABLES -A LogReject -m limit -j LOG --log-prefix "Spy packet from local: " ! $IPTABLES -A LogReject -j REJECT --reject-with icmp-host-prohibited $IPTABLES -N LogForward $IPTABLES -A LogForward -m limit -j LOG --log-prefix "Rejecting from inside: " ! $IPTABLES -A LogForward -j REJECT --reject-with icmp-net-unreachable ! ! $IPTABLES -N LogRate ! $IPTABLES -A LogRate -j LOG --log-prefix "Rate exceeded: " ! $IPTABLES -A LogRate -j REJECT --reject-with icmp-port-unreachable echo -e "$rc_done" *************** *** 149,152 **** --- 157,178 ---- echo -e "$rc_done" + # create connection rate limiter + + echo -n " rate limiter " + + $IPTABLES -N RateLimiter + + for suffix in $FW_RATES; do + eval FW_RATE=\$FW_RATE$suffix + echo $FW_RATE | if read port rate burst; then + $IPTABLES -A RateLimiter -m limit --limit $rate --limit-burst $burst -p tcp --dport $port -j RETURN + $IPTABLES -A RateLimiter -p tcp --dport $port -j LogRate + fi + done + + $IPTABLES -A RateLimiter -j RETURN + + echo -e "$rc_done" + # create packet filter *************** *** 164,167 **** --- 190,199 ---- $IPTABLES -A Block -m unclean -j LogDrop + for host in $FW_HOSTILE; do + $IPTABLES -A Block -s $host -j LogHostile + done + + $IPTABLES -A Block -m state --state NEW -p tcp -j RateLimiter + for port in $FW_REJECT_TCPPORTS; do $IPTABLES -A Block -p tcp --dport $port -j REJECT *************** *** 263,267 **** $IPTABLES -t nat -F OUTPUT ! for chain in Policy Block SpyBlock LogDrop LogReject LogForward LogUnknown; do $IPTABLES -F $chain $IPTABLES -X $chain --- 295,299 ---- $IPTABLES -t nat -F OUTPUT ! for chain in Policy Block SpyBlock RateLimiter LogDrop LogReject LogForward LogUnknown LogRate LogHostile; do $IPTABLES -F $chain $IPTABLES -X $chain *************** *** 312,315 **** --- 344,352 ---- # # $Log$ + # Revision 1.26 2003/11/12 23:18:35 hurikhan + # - tuned reject icmp messages + # - added a connection rate limiter + # - ability to block hostile hosts/nets + # # Revision 1.25 2003/09/23 09:43:11 hurikhan # - added mss clamping to forwarding rules to make big packets passing the |
From: <hur...@us...> - 2003-10-29 09:50:25
|
Update of /cvsroot/routingtools/tools In directory sc8-pr-cvs1:/tmp/cvs-serv30511 Modified Files: ChangeLog Log Message: - updated ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/routingtools/tools/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 23 Sep 2003 09:55:13 -0000 1.2 --- ChangeLog 29 Oct 2003 09:50:22 -0000 1.3 *************** *** 1,2 **** --- 1,16 ---- + 2003-10-29 10:49 hurikhan + + Added: + doc/howto/HTB-HOWTO (1.1) + + - added HTB howto + + 2003-09-23 11:55 hurikhan + + Changed: + ChangeLog (1.2), "Exp", lines: +46 -10 + + - updated ChangeLog + 2003-09-23 11:54 hurikhan |
From: <hur...@us...> - 2003-10-29 09:49:56
|
Update of /cvsroot/routingtools/tools/doc/howto In directory sc8-pr-cvs1:/tmp/cvs-serv30412/doc/howto Added Files: HTB-HOWTO Log Message: - added HTB howto --- NEW FILE: HTB-HOWTO --- How To Get HTB Running ---------------------- This document describes the steps needed to get HTB running. HTB is a module loaded by the traffic shaping script to shape the traffic passing the router. Two things are needed to make HTB working: * kernel support (HTB patch applied or at least kernel 2.4.20) * a TC binary capable of handling the HTB module An i386 binary of TC for Linux which is capable of handling HTB is downloadable from our files section. It is meant to be installed to /usr/local/sbin coexisting with a distribution-provided TC located in /usr/sbin. Our scripts are prepared to use the TC provided here only for HTB while using the distribution-provided and thus compatible TC for most other tasks. If you think you do not need the TC provided here change our scripts to only use the HTB provided with your distribution. Additionally you need kernel support for HTB. In most cases HTB is provided as a module in most distributions using a kernel version of 2.4.20 or higher. In this case everything should be fine. If your distribution does not support HTB it is recommended to build your own kernel. If you need to use a kernel prior to 2.4.20 you have to patch your kernel to support HTB. These patches can be found at http://luxik.cdi.cz/~devik/qos/htb/. However, we recommend to use a current kernel instead of patching an old one unless there is a specific reason to not use a current one (e.g. incompatibilities with your distribution and/or hardware). Patching requires to recompile your kernel in order to create the modules required for HTB support. |