You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(8) |
Feb
(43) |
Mar
(18) |
Apr
(2) |
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
(15) |
Oct
|
Nov
|
Dec
|
From: Josh G. <ja...@us...> - 2004-09-08 09:58:42
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19102 Modified Files: README.FIRST Log Message: oops Index: README.FIRST =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/README.FIRST,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- README.FIRST 8 Sep 2004 09:58:08 -0000 1.3 +++ README.FIRST 8 Sep 2004 09:58:33 -0000 1.4 @@ -2,4 +2,3 @@ The installation process has changed since 0.3.0. Please read the INSTALL file for instructions. - |
From: Josh G. <ja...@us...> - 2004-09-08 09:58:22
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19032 Modified Files: README.FIRST Log Message: added RCS header Index: README.FIRST =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/README.FIRST,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- README.FIRST 13 Mar 2004 18:14:20 -0000 1.2 +++ README.FIRST 8 Sep 2004 09:58:08 -0000 1.3 @@ -1,3 +1,4 @@ +$Id$ The installation process has changed since 0.3.0. Please read the INSTALL file for instructions. |
From: Josh G. <ja...@us...> - 2004-09-08 09:57:43
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18886 Modified Files: TODO INSTALL Log Message: formatting Index: TODO =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/TODO,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- TODO 7 Mar 2004 01:26:57 -0000 1.3 +++ TODO 8 Sep 2004 09:57:33 -0000 1.4 @@ -1,4 +1,10 @@ - * Support for WinMX/Napster - * Support for Soulseek - * Testing framework - - Possibly reading several pcap files with traffic and feeding it to the match modules. +$Id$ + +Todo +==== + + * Support for WinMX/Napster + * Support for Soulseek + * Testing framework + - Possibly reading several pcap files with traffic and feeding it to + the match modules. Index: INSTALL =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/INSTALL,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- INSTALL 7 Mar 2004 01:47:05 -0000 1.5 +++ INSTALL 8 Sep 2004 09:57:33 -0000 1.6 @@ -10,8 +10,8 @@ 2. Run make in order to compile iptables-p2p. 3. Insert the kernel/ipt_p2p.o module directly using insmod or copy it into - your modules directory. - If you are using a 2.6 kernel, the module is named kernel/ipt_p2p.ko. + your modules directory. If you are using a 2.6 kernel, the module is named + kernel/ipt_p2p.ko. 4. Insert the iptables library libipt_p2p.so into the iptables lib directory (usually /lib/iptables). @@ -30,4 +30,3 @@ Example: $ cp -a iptables-1.2.9/include/* /usr/include - |
From: Josh G. <ja...@us...> - 2004-09-08 09:55:29
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18563 Modified Files: FAQ Log Message: formatting Index: FAQ =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/FAQ,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- FAQ 20 Apr 2004 19:33:47 -0000 1.10 +++ FAQ 8 Sep 2004 09:55:20 -0000 1.11 @@ -3,7 +3,6 @@ iptables-p2p FAQ ================ - 1. How do I limit p2p traffic? You will need to install the connmark module from patch-o-matic and mark |
From: Josh G. <ja...@us...> - 2004-09-08 09:47:35
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16781/kernel Modified Files: main.c match_bittorrent.c match_dc.c match_edonkey.c match_http.c utils.c utils.h Log Message: added copyright notice Index: match_bittorrent.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_bittorrent.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- match_bittorrent.c 8 Sep 2004 09:06:24 -0000 1.5 +++ match_bittorrent.c 8 Sep 2004 09:47:05 -0000 1.6 @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2003-2004 Filipe Almeida <fi...@rn...> + * * 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, or (at your option) any Index: utils.h =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- utils.h 8 Sep 2004 09:43:49 -0000 1.2 +++ utils.h 8 Sep 2004 09:47:05 -0000 1.3 @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2004 Filipe Almeida <fi...@rn...> + * * 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, or (at your option) any Index: match_dc.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_dc.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- match_dc.c 8 Sep 2004 09:06:24 -0000 1.6 +++ match_dc.c 8 Sep 2004 09:47:05 -0000 1.7 @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2003-2004 Filipe Almeida <fi...@rn...> + * * 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, or (at your option) any Index: match_http.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_http.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- match_http.c 8 Sep 2004 09:06:24 -0000 1.28 +++ match_http.c 8 Sep 2004 09:47:05 -0000 1.29 @@ -1,8 +1,9 @@ /* + * $Id$ + * * Matches for HTTP based P2P protocols - * Copyright (C) 2004 Filipe Almeida <fi...@rn...> * - * $Id$ + * Copyright (C) 2004 Filipe Almeida <fi...@rn...> * * 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 Index: main.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/main.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- main.c 8 Sep 2004 09:06:24 -0000 1.17 +++ main.c 8 Sep 2004 09:47:05 -0000 1.18 @@ -3,6 +3,8 @@ * * ipt_p2p kernel match module. * + * Copyright (C) 2003-2004 Filipe Almeida <fi...@rn...> + * * 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, or (at your option) any Index: utils.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- utils.c 8 Sep 2004 09:43:49 -0000 1.6 +++ utils.c 8 Sep 2004 09:47:05 -0000 1.7 @@ -2,6 +2,7 @@ * $Id$ * * Tree string handling routines. There are trie based trees. + * * Copyright (C) 2004 Filipe Almeida <fi...@rn...> * * This program is free software; you can redistribute it and/or modify it Index: match_edonkey.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_edonkey.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- match_edonkey.c 8 Sep 2004 09:06:24 -0000 1.5 +++ match_edonkey.c 8 Sep 2004 09:47:05 -0000 1.6 @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2003-2004 Filipe Almeida <fi...@rn...> + * * 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, or (at your option) any |
From: Josh G. <ja...@us...> - 2004-09-08 09:43:58
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16269/kernel Modified Files: utils.c utils.h Log Message: more formatting Index: utils.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- utils.c 8 Sep 2004 09:13:07 -0000 1.5 +++ utils.c 8 Sep 2004 09:43:49 -0000 1.6 @@ -1,9 +1,9 @@ /* + * $Id$ + * * Tree string handling routines. There are trie based trees. * Copyright (C) 2004 Filipe Almeida <fi...@rn...> * - * $Id$ - * * 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, or (at your option) any Index: utils.h =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- utils.h 7 Mar 2004 18:05:57 -0000 1.1 +++ utils.h 8 Sep 2004 09:43:49 -0000 1.2 @@ -15,21 +15,28 @@ #ifndef _UTILS_H_ #define _UTILS_H_ -typedef struct treenode_s { - unsigned char c; +/*****************************************************************************/ + +typedef struct treenode_s +{ + unsigned char c; struct treenode_s *child; struct treenode_s *next; - int v; + int v; } treenode; +/*****************************************************************************/ + treenode *fill_strtree(const unsigned char *s, treenode *t, - int v); + int v); int search_strtree(const unsigned char *data, const unsigned char *end, - treenode *node); + treenode *node); void destroy_strtree(treenode *node); +/*****************************************************************************/ + #endif |
From: Josh G. <ja...@us...> - 2004-09-08 09:43:58
|
Update of /cvsroot/iptables-p2p/iptables-p2p/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16269/common Modified Files: ipt_p2p.h Log Message: more formatting Index: ipt_p2p.h =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/common/ipt_p2p.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- ipt_p2p.h 12 Mar 2004 20:08:32 -0000 1.10 +++ ipt_p2p.h 8 Sep 2004 09:43:48 -0000 1.11 @@ -1,6 +1,8 @@ /* * $Id$ * + * Copyright (C) 2004 Josh Guilfoyle <ja...@fa...> + * * 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, or (at your option) any @@ -15,6 +17,8 @@ #ifndef __IPT_P2P_H #define __IPT_P2P_H +/*****************************************************************************/ + #define IPT_P2P_VERSION "0.3.0a" /*****************************************************************************/ |
From: Josh G. <ja...@us...> - 2004-09-08 09:43:58
|
Update of /cvsroot/iptables-p2p/iptables-p2p/iptables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16269/iptables Modified Files: libipt_p2p.c Log Message: more formatting Index: libipt_p2p.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/iptables/libipt_p2p.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- libipt_p2p.c 8 Sep 2004 09:31:16 -0000 1.19 +++ libipt_p2p.c 8 Sep 2004 09:43:48 -0000 1.20 @@ -4,6 +4,9 @@ * Iptables match extension for matching commonly used peer-to-peer * services. See the kernel module for implementation details. * + * Copyright (C) 2003-2004 Filipe Almeida <fi...@rn...> + * Copyright (C) 2003-2004 Josh Guilfoyle <ja...@fa...> + * * 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, or (at your option) any |
From: Josh G. <ja...@us...> - 2004-09-08 09:40:17
|
Update of /cvsroot/iptables-p2p/iptables-p2p/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15440 Modified Files: account-p2p.sh block-p2p.sh limit-p2p.sh Log Message: added copyright header Index: limit-p2p.sh =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/examples/limit-p2p.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- limit-p2p.sh 8 Sep 2004 09:35:59 -0000 1.4 +++ limit-p2p.sh 8 Sep 2004 09:40:07 -0000 1.5 @@ -1,9 +1,19 @@ #!/bin/sh ############################################################################### ## -## iptables-p2p example script +## $Id$ ## -## Filipe Almeida <fi...@rn...> +## Copyright (C) 2003 Filipe Almeida <fi...@rn...> +## +## 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, 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. ## ############################################################################### @@ -32,22 +42,21 @@ for i in $IFACES do - $TC qdisc del dev $i root - $TC qdisc add dev $i root handle 1: htb default $NORMAL - - $TC class add dev $i parent 1: classid 1:$ROOT htb \ + $TC qdisc del dev $i root + $TC qdisc add dev $i root handle 1: htb default $NORMAL + + $TC class add dev $i parent 1: classid 1:$ROOT htb \ rate $LINK_RATE \ ceil $LINK_RATE - - $TC class add dev $i parent 1:$ROOT classid 1:$NORMAL htb \ + + $TC class add dev $i parent 1:$ROOT classid 1:$NORMAL htb \ rate $LINK_RATE \ ceil $LINK_RATE - - $TC class add dev $i parent 1:$ROOT classid 1:$P2P htb \ + + $TC class add dev $i parent 1:$ROOT classid 1:$P2P htb \ rate $P2P_RATE \ ceil $P2P_RATE - - $TC filter add dev $i protocol ip prio 1 parent 1:0 \ - handle $P2P_MARK fw classid 1:$P2P -done + $TC filter add dev $i protocol ip prio 1 parent 1:0 \ + handle $P2P_MARK fw classid 1:$P2P +done Index: block-p2p.sh =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/examples/block-p2p.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- block-p2p.sh 8 Feb 2004 01:01:36 -0000 1.2 +++ block-p2p.sh 8 Sep 2004 09:40:07 -0000 1.3 @@ -1,3 +1,20 @@ #!/bin/sh +############################################################################### +## +## $Id$ +## +## Copyright (C) 2003 Filipe Almeida <fi...@rn...> +## +## 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, 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. +## +############################################################################### iptables -A FORWARD -m p2p --p2p all -j DROP Index: account-p2p.sh =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/examples/account-p2p.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- account-p2p.sh 8 Feb 2004 16:47:29 -0000 1.2 +++ account-p2p.sh 8 Sep 2004 09:40:07 -0000 1.3 @@ -1,4 +1,21 @@ #!/bin/sh +############################################################################### +## +## $Id$ +## +## Copyright (C) 2003 Filipe Almeida <fi...@rn...> +## +## 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, 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. +## +############################################################################### PROTOCOLS="fasttrack gnutella edonkey dc bittorrent openft" |
From: Josh G. <ja...@us...> - 2004-09-08 09:36:08
|
Update of /cvsroot/iptables-p2p/iptables-p2p/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14375 Modified Files: limit-p2p.sh Log Message: formatting Index: limit-p2p.sh =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/examples/limit-p2p.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- limit-p2p.sh 13 Feb 2004 03:09:18 -0000 1.3 +++ limit-p2p.sh 8 Sep 2004 09:35:59 -0000 1.4 @@ -1,13 +1,16 @@ #!/bin/sh -# -# iptables-p2p example script -# -# Filipe Almeida <fi...@rn...> -# +############################################################################### +## +## iptables-p2p example script +## +## Filipe Almeida <fi...@rn...> +## +############################################################################### FW="/sbin/iptables" TC="/sbin/tc" +############################################################################### P2P_MARK=10 IFACES="eth0 eth1" @@ -19,16 +22,31 @@ NORMAL=2 P2P=3 -$FW -t mangle -A PREROUTING -m p2p --p2p all -j CONNMARK --set-mark $P2P_MARK -$FW -t mangle -A PREROUTING -m connmark --mark $P2P_MARK -j CONNMARK --restore-mark +############################################################################### + +$FW -t mangle -A PREROUTING -m p2p --p2p all -j CONNMARK \ + --set-mark $P2P_MARK + +$FW -t mangle -A PREROUTING -m connmark --mark $P2P_MARK -j CONNMARK \ + --restore-mark for i in $IFACES do $TC qdisc del dev $i root $TC qdisc add dev $i root handle 1: htb default $NORMAL - $TC class add dev $i parent 1: classid 1:$ROOT htb rate $LINK_RATE ceil $LINK_RATE - $TC class add dev $i parent 1:$ROOT classid 1:$NORMAL htb rate $LINK_RATE ceil $LINK_RATE - $TC class add dev $i parent 1:$ROOT classid 1:$P2P htb rate $P2P_RATE ceil $P2P_RATE + + $TC class add dev $i parent 1: classid 1:$ROOT htb \ + rate $LINK_RATE \ + ceil $LINK_RATE + + $TC class add dev $i parent 1:$ROOT classid 1:$NORMAL htb \ + rate $LINK_RATE \ + ceil $LINK_RATE + + $TC class add dev $i parent 1:$ROOT classid 1:$P2P htb \ + rate $P2P_RATE \ + ceil $P2P_RATE + $TC filter add dev $i protocol ip prio 1 parent 1:0 \ handle $P2P_MARK fw classid 1:$P2P done |
From: Josh G. <ja...@us...> - 2004-09-08 09:33:08
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13840 Modified Files: AUTHORS Log Message: updated e-mail address for myself and improved formatting Index: AUTHORS =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/AUTHORS,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- AUTHORS 12 Mar 2004 20:02:40 -0000 1.4 +++ AUTHORS 8 Sep 2004 09:32:58 -0000 1.5 @@ -5,21 +5,21 @@ * Filipe Almeida <fi...@rn...> - http://mega.ist.utl.pt/~filipe/: - Original and current project maintainer. - - Main developer + - Main developer. - * Josh Guilfoyle <ja...@go...>: + * Josh Guilfoyle <ja...@fa...>: - - Added option handling support - - Build environment improvements + - Added option handling support (as well as the --p2p-protocol option). + - Build environment improvements. * Chris Zubrzycki <be...@us...>: - - Documentation - - Build environment improvements + - Documentation. + - Build environment improvements. Also Thanks To: * Jacek "Yacho" Zebrowski - - Provided packet traces to the ARES protocol + - Provided packet traces for the ARES protocol. |
From: Josh G. <ja...@us...> - 2004-09-08 09:31:25
|
Update of /cvsroot/iptables-p2p/iptables-p2p/iptables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13549 Modified Files: libipt_p2p.c Log Message: formatting Index: libipt_p2p.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/iptables/libipt_p2p.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- libipt_p2p.c 8 Sep 2004 09:20:10 -0000 1.18 +++ libipt_p2p.c 8 Sep 2004 09:31:16 -0000 1.19 @@ -246,7 +246,9 @@ /* Parses command options; returns true if it ate an option. */ static int parse(int c, - char **argv, int invert, unsigned int *flags, + char **argv, + int invert, + unsigned int *flags, const struct ipt_entry *entry, unsigned int *nfcache, struct ipt_entry_match **match) |
From: Josh G. <ja...@us...> - 2004-09-08 09:20:19
|
Update of /cvsroot/iptables-p2p/iptables-p2p/iptables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11613 Modified Files: libipt_p2p.c Log Message: more formatting corrections Index: libipt_p2p.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/iptables/libipt_p2p.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- libipt_p2p.c 12 Mar 2004 20:08:32 -0000 1.17 +++ libipt_p2p.c 8 Sep 2004 09:20:10 -0000 1.18 @@ -33,7 +33,6 @@ const char *name; int proto; } - protomap[] = { { "all", IPT_P2P_PROTO_ALL }, @@ -69,18 +68,18 @@ static struct iptables_match p2p = { - NULL, - "p2p", - IPTABLES_VERSION, - IPT_ALIGN(sizeof(struct ipt_p2p_info)), - IPT_ALIGN(sizeof(struct ipt_p2p_info)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts + NULL, + "p2p", + IPTABLES_VERSION, + IPT_ALIGN(sizeof(struct ipt_p2p_info)), + IPT_ALIGN(sizeof(struct ipt_p2p_info)), + &help, + &init, + &parse, + &final_check, + &print, + &save, + opts }; /*****************************************************************************/ @@ -197,7 +196,7 @@ if (arg[0] == '\0') break; - /* Move beyond the ','. */ + /* Move beyond the comma. */ arg++; } @@ -213,10 +212,11 @@ buflen = 0; buf[buflen] = '\0'; - if (proto == IPT_P2P_PROTO_ALL) { - strcpy(buf, "all"); - return buf; - } + if (proto == IPT_P2P_PROTO_ALL) + { + strcpy(buf, "all"); + return buf; + } for (i = 0; i < PROTOMAP_NELEM; i++) { @@ -245,7 +245,8 @@ } /* Parses command options; returns true if it ate an option. */ -static int parse(int c, char **argv, int invert, unsigned int *flags, +static int parse(int c, + char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, unsigned int *nfcache, struct ipt_entry_match **match) |
From: Josh G. <ja...@us...> - 2004-09-08 09:13:16
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10407 Modified Files: utils.c Log Message: added missing include and fixed syntax error Index: utils.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- utils.c 8 Sep 2004 09:06:24 -0000 1.4 +++ utils.c 8 Sep 2004 09:13:07 -0000 1.5 @@ -20,6 +20,7 @@ #include <linux/module.h> #include <linux/version.h> #include <linux/mm.h> +#include <linux/slab.h> #include "utils.h" /*****************************************************************************/ @@ -77,7 +78,7 @@ int c; int v = -1; - while (c = *data++)) + while ((c = *data++)) { if (data >= end) return -1; |
From: Josh G. <ja...@us...> - 2004-09-08 09:06:34
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9344 Modified Files: main.c match_bittorrent.c match_dc.c match_edonkey.c match_http.c utils.c Log Message: major formatting cleanups Index: match_bittorrent.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_bittorrent.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- match_bittorrent.c 19 Mar 2004 17:33:45 -0000 1.4 +++ match_bittorrent.c 8 Sep 2004 09:06:24 -0000 1.5 @@ -18,18 +18,22 @@ #include <linux/module.h> #include <linux/string.h> +/*****************************************************************************/ #define SIZE_MIN (20) #define SIZE_MAX (500) +/*****************************************************************************/ + const unsigned char bittorrent_string[] = "\x13" "BitTorrent protocol" "\x0\x0\x0\x0\x0\x0\x0\x0"; -int -match_bittorrent(const unsigned char *data, - const unsigned char *end) +/*****************************************************************************/ + +int match_bittorrent(const unsigned char *data, + const unsigned char *end) { /* Only match if the header is within a certain size range, for efficiency purposes. */ Index: match_edonkey.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_edonkey.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- match_edonkey.c 7 Dec 2003 06:53:31 -0000 1.4 +++ match_edonkey.c 8 Sep 2004 09:06:24 -0000 1.5 @@ -17,10 +17,14 @@ #include <linux/config.h> #include <linux/module.h> +/*****************************************************************************/ + #define get_u8(X,O) (*(__u8 *)(X + O)) #define get_u16(X,O) (*(__u16 *)(X + O)) #define get_u32(X,O) (*(__u32 *)(X + O)) +/*****************************************************************************/ + #define EDONKEY_PACKET (0xe3) #define TYPE_HELLO (0x01) @@ -43,19 +47,25 @@ #define SIZE_MIN (30) #define SIZE_MAX (400) -int -match_edonkey(const unsigned char *data, - const unsigned char *end) +/*****************************************************************************/ + +int match_edonkey(const unsigned char *data, + const unsigned char *end) { int packet_len; int tag_count; int type; - if (end - data < POS_FIRSTTAG) return 0; - if (get_u8(data, POS_MAGIC) != EDONKEY_PACKET) return 0; + if (end - data < POS_FIRSTTAG) + return 0; + + if (get_u8(data, POS_MAGIC) != EDONKEY_PACKET) + return 0; + packet_len = get_u32(data, POS_LEN); - if (packet_len < SIZE_MIN || packet_len > SIZE_MAX) return 0; + if (packet_len < SIZE_MIN || packet_len > SIZE_MAX) + return 0; type = get_u8(data, POS_TYPE); @@ -65,35 +75,43 @@ return 0; tag_count = get_u32(data, POS_TAGCOUNT); - if (tag_count < 2 || tag_count >= 6) { + + if (tag_count < 2 || tag_count >= 6) + { data++; tag_count = get_u32(data, POS_TAGCOUNT); - if(tag_count < 2 || tag_count >= 6) return 0; + if (tag_count < 2 || tag_count >= 6) + return 0; } data += POS_FIRSTTAG; - while(tag_count--) { + while (tag_count--) + { int tag_type = get_u8(data, 0); int tag_len = get_u16(data, 1); data += 3 + tag_len; - if (data > end) return 0; + if (data > end) + return 0; - switch(tag_type) { + switch(tag_type) + { case TYPE_STRING: data += 2 + get_u16(data, 0); break; case TYPE_DWORD: case TYPE_FLOAT: data += 4; - if (data > end) return 0; + if (data > end) + return 0; break; default: return 0; } - if (data > end) return 0; + if (data > end) + return 0; } return 1; Index: match_dc.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_dc.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- match_dc.c 19 Mar 2004 17:33:45 -0000 1.5 +++ match_dc.c 8 Sep 2004 09:06:24 -0000 1.6 @@ -20,10 +20,13 @@ #include <linux/netfilter_ipv4/ip_tables.h> +/*****************************************************************************/ #define SIZE_MIN (30) #define SIZE_MAX (200) +/*****************************************************************************/ + static const unsigned char *dc_cmd[] = { "MyNick", @@ -43,13 +46,15 @@ return NULL; } -int -match_dc(const unsigned char *data, - const unsigned char *end) +/*****************************************************************************/ + +int match_dc(const unsigned char *data, + const unsigned char *end) { - int count=0; + int count = 0; - if (end - data < SIZE_MIN || end - data > SIZE_MAX) return 0; + if (end - data < SIZE_MIN || end - data > SIZE_MAX) + return 0; while (dc_cmd[count]) { @@ -63,7 +68,7 @@ if (memcmp(data + 1, dc_cmd[count], strlen(dc_cmd[count])) != 0) return 0; - if (!(data = next_cmd(data, end))) + if ((data = next_cmd(data, end)) == NULL) return 0; count++; Index: match_http.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_http.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- match_http.c 22 Jun 2004 12:43:25 -0000 1.27 +++ match_http.c 8 Sep 2004 09:06:24 -0000 1.28 @@ -29,8 +29,9 @@ /*****************************************************************************/ -#define EOH -2 /* End of Headers */ +#define EOH (-2) /* End of Headers */ +/*****************************************************************************/ static unsigned char * method_strings[] = { @@ -100,12 +101,14 @@ #define HEADERS_LEN (((sizeof(header_strings))/(sizeof(header_strings[0]))) - 1) +/*****************************************************************************/ + static treenode *methods; static treenode *headers; /*****************************************************************************/ -void init_match_http() +void init_match_http (void) { unsigned char **list; unsigned char *s; @@ -116,32 +119,35 @@ i = 0; list = method_strings; - while((s = *list++)) { + + while ((s = *list++)) + { methods = fill_strtree(s, methods, i); i++; } i = 0; list = header_strings; - while((s = *list++)) { + + while ((s = *list++)) + { headers = fill_strtree(s, headers, i); i++; } } -void destroy_match_http() +void destroy_match_http (void) { destroy_strtree(headers); destroy_strtree(methods); } -static inline const unsigned char * -next_line(const unsigned char *data, - const unsigned char *end) +static inline const unsigned char *next_line(const unsigned char *data, + const unsigned char *end) { while (data <= end) { - if (*data++ == '\n') + if (*data++ == '\n') return data; } @@ -152,9 +158,8 @@ #define MM(x) (method_matched == x) #define HM(x) headers_matched[x] -int -match_http(const unsigned char *data, - const unsigned char *end) +int match_http(const unsigned char *data, + const unsigned char *end) { unsigned int method_matched; /* Methods matched */ unsigned int headers_matched[HEADERS_LEN]; /* Headers matched */ @@ -175,14 +180,13 @@ /* Skip if end of headers */ if(*data == '\n' || *data == '\r') break; - + header = search_strtree(data, end, headers); if (header != -1) headers_matched[header] = 1; } - /* * FastTrack */ @@ -199,7 +203,6 @@ if (MM(MM_GIVE)) return IPT_P2P_PROTO_FASTTRACK; - /* * Gnutella */ @@ -225,7 +228,6 @@ /* * ARES */ - /* warez.com client */ if ((MM(MM_GET_SHA1) || MM(MM_HTTP11)) && HM(HM_X_MYLIP)) return IPT_P2P_PROTO_ARES; Index: main.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/main.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- main.c 22 Jun 2004 12:43:24 -0000 1.16 +++ main.c 8 Sep 2004 09:06:24 -0000 1.17 @@ -21,7 +21,7 @@ #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/version.h> -#ifdef CONFIG_MODVERSIONS +#ifdef CONFIG_MODVERSIONS #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) #include <linux/modversions.h> #endif @@ -29,10 +29,14 @@ #include "ipt_p2p.h" +/*****************************************************************************/ + MODULE_AUTHOR("Filipe Almeida <fi...@rn...>"); MODULE_DESCRIPTION("IP tables P2P match module"); MODULE_LICENSE("GPL"); +/*****************************************************************************/ + /* WARNING: The return value differs from the rest of the match_ functions. */ int match_http(const unsigned char *data, const unsigned char *end); @@ -46,10 +50,11 @@ int match_bittorrent(const unsigned char *data, const unsigned char *end); -static int -match_selected(const struct ipt_p2p_info *pinfo, - const unsigned char *data, - const unsigned char *end) +/*****************************************************************************/ + +static int match_selected(const struct ipt_p2p_info *pinfo, + const unsigned char *data, + const unsigned char *end) { if (pinfo->proto & IPT_P2P_PROTO_FASTTRACK || pinfo->proto & IPT_P2P_PROTO_GNUTELLA || @@ -80,19 +85,18 @@ return 0; } -static int -match(const struct sk_buff *skb, - const struct net_device *in, - const struct net_device *out, - const void *matchinfo, - int offset, +static int match(const struct sk_buff *skb, + const struct net_device *in, + const struct net_device *out, + const void *matchinfo, + int offset, #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) - const void *hdr, - u_int16_t datalen, + const void *hdr, + u_int16_t datalen, #endif /* Linux < 2.6.0 */ - int *hotdrop) + int *hotdrop) { const struct ipt_p2p_info *pinfo = matchinfo; const struct iphdr *iph = skb->nh.iph; @@ -117,12 +121,11 @@ return match_selected(pinfo, data, end); } -static int -checkentry(const char *tablename, - const struct ipt_ip *ip, - void *matchinfo, - unsigned int matchsize, - unsigned int hook_mask) +static int checkentry(const char *tablename, + const struct ipt_ip *ip, + void *matchinfo, + unsigned int matchsize, + unsigned int hook_mask) { if (matchsize != IPT_ALIGN(sizeof(struct ipt_p2p_info))) return 0; @@ -130,7 +133,8 @@ return 1; } -static struct ipt_match p2p_match = { +static struct ipt_match p2p_match = +{ .name = "p2p", .match = &match, .checkentry = &checkentry, Index: utils.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- utils.c 22 Jun 2004 12:43:25 -0000 1.3 +++ utils.c 8 Sep 2004 09:06:24 -0000 1.4 @@ -22,37 +22,49 @@ #include <linux/mm.h> #include "utils.h" -treenode *fill_strtree(const unsigned char *s, treenode *t, int v) { +/*****************************************************************************/ + +treenode *fill_strtree(const unsigned char *s, treenode *t, int v) +{ unsigned char c; treenode *parent = NULL; treenode *last = t; treenode *node = t; c = *s++; - while(c) { - if(!node) { - node = (treenode *)kmalloc(sizeof(treenode), GFP_KERNEL); + + while (c) + { + if (node == NULL) + { + node = kmalloc(sizeof(treenode), GFP_KERNEL); + assert (node != NULL); + node->c = c; node->child = NULL; node->next = NULL; node->v = -1; - if(last == NULL) { + + if (last == NULL) t = node; - } else if(last == parent) { + else if (last == parent) last->child = node; - } else { + else last->next = node; - } } + last = node; - if(node->c == c) { + + if (node->c != c) + node = node->next; + else + { parent = node; node = node->child; c = *s++; - } else { - node = node->next; } } + parent->v = v; return t; @@ -60,31 +72,36 @@ int search_strtree(const unsigned char *data, const unsigned char *end, - treenode *node) { + treenode *node) +{ int c; int v = -1; - while((c = *data++)) { + + while (c = *data++)) + { if (data >= end) return -1; - while(node && c != node->c) + while (node && c != node->c) node = node->next; - if(!node) + if (node == NULL) return v; - else if(node->v != -1) + else if (node->v != -1) v = node->v; + node = node->child; } + return v; } -void destroy_strtree(treenode *t) { - if(!t) +void destroy_strtree(treenode *t) +{ + if (t == NULL) return; destroy_strtree(t->child); destroy_strtree(t->next); kfree(t); } - |
From: Filipe A. <li...@us...> - 2004-06-22 12:43:34
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1576/kernel Modified Files: main.c match_http.c utils.c Log Message: warning cleanup Index: match_http.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_http.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- match_http.c 13 Mar 2004 17:03:17 -0000 1.26 +++ match_http.c 22 Jun 2004 12:43:25 -0000 1.27 @@ -116,14 +116,14 @@ i = 0; list = method_strings; - while(s = *list++) { + while((s = *list++)) { methods = fill_strtree(s, methods, i); i++; } i = 0; list = header_strings; - while(s = *list++) { + while((s = *list++)) { headers = fill_strtree(s, headers, i); i++; } Index: main.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/main.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- main.c 20 Apr 2004 19:27:35 -0000 1.15 +++ main.c 22 Jun 2004 12:43:24 -0000 1.16 @@ -99,7 +99,6 @@ const struct tcphdr *tcph; const unsigned char *data; const unsigned char *end; - int ret; #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) int datalen; Index: utils.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/utils.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- utils.c 7 Mar 2004 22:27:16 -0000 1.2 +++ utils.c 22 Jun 2004 12:43:25 -0000 1.3 @@ -63,7 +63,7 @@ treenode *node) { int c; int v = -1; - while(c = *data++) { + while((c = *data++)) { if (data >= end) return -1; |
From: Filipe A. <li...@us...> - 2004-06-03 23:07:51
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23753 Modified Files: NEWS Log Message: doc updates Index: NEWS =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/NEWS,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- NEWS 13 Mar 2004 18:18:00 -0000 1.12 +++ NEWS 3 Jun 2004 23:07:42 -0000 1.13 @@ -5,6 +5,7 @@ * 0.3.0a.cvs - Major speed improvements - Added support for the ARES protocol + - Bugfixes * 0.3.0a - Fixed iptables-save/iptables-restore |
From: Filipe A. <li...@us...> - 2004-06-03 22:49:29
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14392 Modified Files: Makefile Added Files: Makefile-2.4 Log Message: Split of makefiles and fix of several build related bugs Index: Makefile =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile 7 Mar 2004 18:05:57 -0000 1.5 +++ Makefile 3 Jun 2004 22:49:06 -0000 1.6 @@ -20,9 +20,6 @@ CC = \ gcc -CFLAGS = \ - -O3 - KERNELDIR = \ /lib/modules/$(shell uname -r)/build @@ -66,14 +63,9 @@ $(RM) ipt_p2p.mod.* -############################################################################### -# Linux 2.4 Stuff -############################################################################### - -linux-2.4: $(TARGET_24) +linux-2.4: + $(MAKE) -f Makefile-2.4 linux-2.4 -$(TARGET_24): $(OBJECTS) - $(LD) -r -o $@ $(OBJECTS) ############################################################################### # Linux 2.6 Stuff --- NEW FILE: Makefile-2.4 --- # $Id: Makefile-2.4,v 1.1 2004/06/03 22:49:06 liquidk Exp $ ############################################################################### SOURCES = \ main.c \ match_bittorrent.c \ match_dc.c \ match_edonkey.c \ match_http.c \ utils.c OBJECTS = \ $(SOURCES:%.c=%.o) TARGET = ipt_p2p.o ############################################################################### CC = \ gcc KERNELDIR = \ /lib/modules/$(shell uname -r)/build KERNELINC = \ $(KERNELDIR)/include COMMON = \ $(PWD)/../common INCLUDES += \ -I$(COMMON) \ -I$(KERNELINC) \ -I$(KERNELINC)/asm/mach-default CPPFLAGS += \ -D__KERNEL__ -DMODULE $(INCLUDES) all: linux-2.4 linux-2.4: $(TARGET) $(TARGET): $(OBJECTS) $(LD) -r -o $@ $(OBJECTS) |
From: Filipe A. <li...@us...> - 2004-04-20 19:33:55
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4680 Modified Files: FAQ Log Message: doc updates Index: FAQ =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/FAQ,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- FAQ 13 Mar 2004 18:13:04 -0000 1.9 +++ FAQ 20 Apr 2004 19:33:47 -0000 1.10 @@ -67,3 +67,10 @@ Just visit http://sourceforge.net/projects/iptables-p2p. ----------------------------------------------------------------------------- + +8. I get the following error message: + iptables: match `p2p' v1.2.x (I'm v1.2.y). + + You probably upgraded your iptables installation and forgot to upgrade + libipt_p2p.so. + You should recompile libipt_p2p.so. |
From: Filipe A. <li...@us...> - 2004-04-20 19:27:57
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3549 Modified Files: main.c Log Message: bugfixes Index: main.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/main.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- main.c 7 Mar 2004 18:05:57 -0000 1.14 +++ main.c 20 Apr 2004 19:27:35 -0000 1.15 @@ -21,8 +21,10 @@ #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/version.h> -#ifdef CONFIG_MODVERSIONS - #include <linux/modversions.h> +#ifdef CONFIG_MODVERSIONS + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) + #include <linux/modversions.h> + #endif #endif #include "ipt_p2p.h" |
From: Filipe A. <li...@us...> - 2004-03-19 17:43:34
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20121 Modified Files: match_bittorrent.c match_dc.c Log Message: Fix for older gcc versions Index: match_bittorrent.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_bittorrent.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- match_bittorrent.c 8 Feb 2004 17:20:51 -0000 1.3 +++ match_bittorrent.c 19 Mar 2004 17:33:45 -0000 1.4 @@ -16,6 +16,7 @@ #include <linux/config.h> #include <linux/module.h> +#include <linux/string.h> #define SIZE_MIN (20) Index: match_dc.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_dc.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- match_dc.c 8 Feb 2004 17:20:51 -0000 1.4 +++ match_dc.c 19 Mar 2004 17:33:45 -0000 1.5 @@ -16,6 +16,7 @@ #include <linux/config.h> #include <linux/module.h> +#include <linux/string.h> #include <linux/netfilter_ipv4/ip_tables.h> |
From: <li...@us...> - 2004-03-13 18:26:49
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5785 Modified Files: NEWS Log Message: doc updates Index: NEWS =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/NEWS,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- NEWS 12 Mar 2004 20:08:31 -0000 1.11 +++ NEWS 13 Mar 2004 18:18:00 -0000 1.12 @@ -4,7 +4,7 @@ * 0.3.0a.cvs - Major speed improvements - - Support for the ARES protocol + - Added support for the ARES protocol * 0.3.0a - Fixed iptables-save/iptables-restore |
From: <li...@us...> - 2004-03-13 18:23:09
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5126 Modified Files: README.FIRST Log Message: doc updates Index: README.FIRST =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/README.FIRST,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- README.FIRST 14 Feb 2004 20:29:08 -0000 1.1 +++ README.FIRST 13 Mar 2004 18:14:20 -0000 1.2 @@ -1,4 +1,4 @@ -The installation process has changed. Please read the INSTALL file +The installation process has changed since 0.3.0. Please read the INSTALL file for instructions. |
From: <li...@us...> - 2004-03-13 18:21:58
|
Update of /cvsroot/iptables-p2p/iptables-p2p In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4898 Modified Files: FAQ Log Message: doc updates Index: FAQ =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/FAQ,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- FAQ 14 Feb 2004 20:29:08 -0000 1.8 +++ FAQ 13 Mar 2004 18:13:04 -0000 1.9 @@ -52,6 +52,7 @@ * Gnutella (regular clients and Shareaza's gnutella 2) * BitTorrent * OpenFT (giFT) + * ARES (ARES, Warez.com, ...) Future plans: |
From: <li...@us...> - 2004-03-13 17:12:05
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23020 Modified Files: match_http.c Log Message: bugfixes Index: match_http.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/match_http.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- match_http.c 12 Mar 2004 20:08:32 -0000 1.25 +++ match_http.c 13 Mar 2004 17:03:17 -0000 1.26 @@ -172,12 +172,12 @@ { int header; - /* TODO: Skip if end of headers */ + /* Skip if end of headers */ + if(*data == '\n' || *data == '\r') + break; + header = search_strtree(data, end, headers); - if (header == EOH) - break; - if (header != -1) headers_matched[header] = 1; } |