Displaying 20 results from an estimated 1000 matches similar to: "Shorewall traffic shaping, getting confused...."
2006 Jun 20
1
ipp2p
Hello,
I''m trying to use iptables rules to prioritize p2p
trafic. I use ipp2p-0.8 but it give me errors :
Ipt-ipp2p : unknow symbol ntohl
Ipt-ipp2p : unknow symbol ntohs
When i compiled ipp2p it gave me warnings :
"ntohs"
/ipt-ipp2p.ko undefined
"ntohl"
/ipt-ipp2p.ko undefined
Any suggestion ?
gege
2008 Mar 09
2
Dead Air on PF firewall
Hi All,
I have an asterisk box on my DMZ, and I'm using a PF for my firewall, I
can make a call but some reasons I have a dead air.
Any Ideas? below are my rules...
ext_if = "bce0"
int_if = "bce1"
altitude = "172.16.1.0/24"
#### machines ####
vbox = "172.16.1.1"
uci = "172.16.1.4"
voices = "203.172.x.1"
ipc =
2005 Sep 28
1
Control Trafic
Hi !
I have an error in this script as it is not working and I can''t figure out what that is.
Anyone can help?
Thanks!
#!/bin/bash
### unitati de masura pt debit
# kbps - kilobytes per second
# mbps - megabytes per second
# kbit - kilbits per second
# mbit - megabits per second
EXT_IF="eth0"
INT_IF="eth1"
TC=/sbin/tc
IPTABLES=/sbin/iptables
# RATE
2005 Oct 01
0
Re: RE: Control Traffic
Hi Andreas!
I mainly understand what you mean, I tried to fix something on the script, I don''t know if I did it well.
Can you take another look on it please and if is wrong to make the corrections directly on it so that I see where the mistake is...
With this script I want to make limits for IP class 85.120.48.0/25 for international traffic in 256 KBps classes and for metropolitan
2004 Apr 09
1
HTB
Hello,
I have problems with htb. The problem is that when I download
any file via shaper with htb, the traffic is very dinamic,
it jumps, for example:
if i have set ceil = 128kbit the results that it jumps from 112kbps
to 144kbps or smth like that maybe its not very bad, but when the
traffic drops down to 40kbps or less and then after 1 or 2 seconds
jumps to 144kbps, its bad :-( and it is often.
2007 Jul 02
1
Jails and loopback interfaces
I've got a server running FreeBSD 6.2 and PF. The server has a couple
dozen jails on it. Previously, I had a few "private" services such as
MySQL running on loopback IPs (127.0.0.2+) and the rest of the jails
running on the public IPs.
I have to renumber my machine with a new block of public IPs so I
thought I'd be clever and move all the jails onto loopback IPs. Then
2005 Oct 17
3
Problem with IPComp on VPN
I''ve created an IPSec VPN using shorewall and racoon-tool under Debian
3.1. I''m not using the patched iptables/kernel for policy match,
therefore I''m using the tunnels/hosts config method rather than the
ipsec config file method. I''m running the latest 2.6.13 kernel.
I have no problem getting my VPN connection up and running with one
exception. Without
2003 Sep 08
0
Real solution for OpenBSD masq firewall w/udp connections
Tinc OpenBSD masquerading firewall users:
I just found that in OpenBSD's 3.2 and greater kernel, the packet filter
(pf) added the ability to specify a source port for NATing. Therefore,
my UDP rig outlined in my last post is not a desirable solution for
OpenBSD users. I am unsure if Darren Reed's ipf has a similar function
(pf's syntax was originally based on Darren Reed's
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
Ok, earlier I post a message explaining my problem with HTB and layer7 (or
ipp2p), about not being able to shape the traffic. Well, actually this is
what''s happening, I''m marking the packets (right now, I''m using ipp2p as
Klaus adviced me to) with iptables, and my queue rules are made using tcng,
I''m using the HTB qdisc, and traffic is going to the HTB class
2005 Jul 12
0
PLEASE HELP! SHAPING P2P STILL NOT WORKING
Hello, some days ago, I was asking for help here about not able to do anything
when I had bittorrent running, I will post the problem here:
I''m using ipp2p to mark p2p packets, and then send them with -j CLASSIFY to
the correct HTB class, I see traffic in the class when I start azurerus, and
traffic does get shaped, but then I''m still not able to surf the web nor chat
nor
2006 May 01
1
Traffic Shaping with Shorewall
Does anyone here implement traffic shaping with shorewall? I need to shape
BitTorrent traffic on my network so that upload/downloads do not overwhelm
normal function or, even more importantly, my imminent conversion to VOIP for
all telephone service. I followed the shorewall documentation guide but am
not sure if what I have done is the Right Way Of Doing Things. Nor am I
satsified with the
2008 Jun 04
11
traffic shaping and classes
I''m looking over this traffic shaping available in the tc* files.
I went through this when I did my own traffic shaping outside of
shorewall previously.
For the average (i.e. home, perhaps) user, I''ve never understood why we
use these more complicated shaping algorithms that define classes and
guaranteed minimums and maximums and so forth.
For most home, or other small use
2007 Aug 24
3
traffic shaping stranges
Hello list,
I discover strange behaviour of shaping traffic that i setup from
Shorewall-4.0.2.
I know that this is not Shorewall problem but may be somebody from list
can help me
or explain this situation.
I have follow interfaces in 'tcdevices' files:
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
#
$EXT_IF 500kbit 248kbit
$INT1_IF 500mbit
2007 Mar 14
6
ipp2p problems
Hello list,
I''m newbie in this list. Well, i''m going crazy with ipp2p.
Googling i find a mini-howto but i''ve got problems.
1) Download:
* iptables-dev (apt-get)
* kernel-headers-2.x.x (your kernel, "uname -r")
* src of your iptables (iptables -V and apt-get source)
* ipp2p-0.8.0.tar.gz (stable)
2) untar ipp2p and cd ipp2p
3) Edit Makefile, if it''s
2006 Mar 28
1
Problems with pf + ftp-proxy on gateway
I'm trying to use pf + ftp-proxy n a 6.1-PRERELEASE machine.
I have this line on inetd.conf:
ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy
ftp-proxy -n
And this lines on pf.conf:
rdr on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port ftp-proxy
pass in quick on $ext_if inet proto tcp from any port ftp-data to
$ext_if:0 user proxy flags S/SA keep
2005 Oct 06
4
Problems with ipp2p
Hello every body:
I have RedHat fedora core 2 machine, using iptables and squid. I am having a
lot of problems with peer2peer traffic. (bittorrent, kazaa, etc.) so I have
installed ipp2p from rpm.
Every thing was ok until I use iptables rules. I get this error.
[root@router iptables]# iptables -A INPUT -p tcp -m ipp2p --ipp2p -j DROP
iptables: No chain/target/match by that name
sames
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK
--restore-mark
iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark
iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK
2006 Aug 14
2
enable p2p to some host (ipp2p)
Hi
I using ipp2p to block p2p traffic.
How to enable to use p2p to me host in my net ?
I using this setup:
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul --ares -j DROP
This setup:
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
--ares -d ! mynet -j DROP
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
--ares -s ! mynet -j DROP
not
2007 Jun 29
1
ipp2p traffic not rejected
Hi,
I''m using following rule in /etc/shorewall/rules
REJECT:ULOG:P2P loc net ipp2p:all ipp2p
iptables -L :
Chain loc2net (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ULOG all -- anywhere anywhere ipp2p
v0.8.2--ipp2p ULOG
2006 Dec 13
7
ipp2p Problem
Hello,
can anybody interpret what the following means:
[root@funke ipp2p-0.8.0]# iptables -t mangle -A MarkList0x666-ipp2p -p
tcp -m ipp2p --edk -j MarkSet0x666
iptables: Unknown error 4294967295
-----
I have installed ipp2p-0.8.0 via:
make
copied ipt_ipp2p.ko to my kernel lib dir
copied libipt_ipp2p.so to my iptables lib dir
insmod ipt_ipp2p gives the following in dmesg:
IPP2P v0.8.0