similar to: PF_PACKET example

Displaying 20 results from an estimated 20000 matches similar to: "PF_PACKET example"

2007 Apr 18
0
[Bridge] PF_PACKET socket
>From the archives it looks like there may be some knowledge in this area... 2.4.20 kernel I have 2 network interfaces eth0 & eth1 connected via bridge br0. eth0 and eth1 do not have IPs, br0 may or may not have an IP. Not planning on using ebtables package to solve this problem..... Here is the first question... If a user space process wants to intercept packets entering eth0 for a
2003 Jan 07
1
My fifo Modification Qdisc
Hi, Actually, I did some modification on sch_fifo.c to do some required accumulation of packets lets say 300 packet and to dequeue them together but I couldn''t compile the modified fifo, the question is How can I compile and to test my modified fifo. Thanks in advance for your reply and help _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
2003 Jun 15
3
how to emulate large IP routing table
Hi all I am conducting the experiments comparing IP router forwarding delay and MPLS LSR forwarding delay, it is obvious in theory MPLS in Core should be faster than IP, but for small netork (only have several core routers), result show it is not, this is why I want emulate a large IP routing table in one core router. can I do it and how ? right now I use static routing table (by using command :
2004 Oct 21
1
can''t understand howto example
tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k tc qdisc add dev $DEV handle ffff: ingress tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \ 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1 why does the download is being sent to class 1 which is limited by uplink ? why the rate is being mentioned in filter and in class ?
2002 Dec 31
3
[tcng] More complex example?
Hi I''m completely stuck with the tcng language - I assume there must be some way to arrange queues hierachically like eth1 | TBF | PRIO / \ class class but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no classes near "prio"" when run through tcc. dev eth1 { egress { tbf (rate 128kbps, burst 64kb,
2004 Jan 20
1
example clarification needed
Hi, I have a parent class 1:1 with rate=ceil=64kbit i create 3 classes under it(1:1). class 1:2 rate=ceil=32kbit class 1:3 rate=ceil=16kbit class 1:4 rate=ceil=16kbit if 64kbit traffic is flowing from the cable all the 3 classes will get their respective shape. 1 .if only 32kbit data is flowing(for some reason). a. Then how will the traffic gets distributed.? b. Is it in first come first serve
2002 Nov 21
3
Problem with flowid filter example from howto
For simplicity, I tried this: tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10 tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10 tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1 The last line prints: Unknown filter "flowid", hence option "1:1"
2004 Aug 31
1
netem usage example
I''m trying to setup a netem delay with no luck (using iproute2-2.6.8, compilation broke during arpd compile, so I use the tc binary in the tc/ subdir, there''s also a q_netem.so there). kernel is 2.6.8.1, compile with CPU cycle counter as time reference. I was using sch_delay of 2.6.7 happily with something like: tc qdisc add dev eth0 root 1: delay latency 1ms rate 35M now I use:
2005 Feb 01
0
multiple uplinks example script
Hi! I had two uplinks till today. We stopped one of them today, so i thought i could share my experience. (it is maybe useful for somebody) I hadn''t managed to configure it using a LARTC howto, but the Nano-howto (http://www.ssi.bg/~ja/nano.txt) and julian''s kernel patches. I had some problems with icq connections, because it is a two step connection (It is just theory). 1.
2004 Oct 23
0
error making htb example
Newbie here... tcng version 10b I''m just learning about htb and using tcng. I am trying to make the example in Martin A. Brown''s Traffic Control with tcng and HTB HOWTO v0.5 example 2 /* * Simply commented example of a tcng traffic control file. * * Martin A. Brown <mabrown@securepipe.com> * * Example: Using class selection path. * * (If you are reading the
2002 Oct 02
1
routing solution
Dear Milis... I''m newbie in this area.This is my plan for my new office. upstream ---> |------ ISP eth1 | Intranet---------- Linux box----------- Internet 192.168.10.x eth0 eth2 | |------ ISP
2005 Apr 21
0
Viral activitiy coming from an IP in your network.
Hi, my name is Grant Taylor. I am a subscriber to the LARTC mail list lartc@mailman.ds9a.nl. The LARTC mail lists has been plagued with viral email coming from changing IPs in your one of your subnets. Based on the fact that the WhoIs information below says that the subnet in question is a dial up pool this would explain the changing IPs. In less than 6 days the list has received 14 viral
2004 Sep 06
0
example/dsmark+policing => tcsim outputs are different
Hi folks I have created a script file (dsmark+policing.sh attached) to check graphic an text outputs of simutations, against original examples/dsmark+policing coding (see TCNG Reference Manual-pg.90). It uses tcng coding (*.tcsim file attached) and old tc coding (*.tcsim_old file attached) inserted in tcsim files. Observation 1: The graphic outputs from (*.tc included in *.tcsim) and (*.tc_old
2007 Jun 15
0
sangoma WAN boards with lartc
Hi anyone using sangoma hardware with lartc? pls let me know Thanks Imthiyaz Original Message: ----------------- From: lartc-request@mailman.ds9a.nl Date: Fri, 15 Jun 2007 12:00:07 +0200 (CEST) To: lartc@mailman.ds9a.nl Subject: LARTC Digest, Vol 28, Issue 23 Send LARTC mailing list submissions to lartc@mailman.ds9a.nl To subscribe or unsubscribe via the World Wide Web, visit
2002 Sep 06
1
Examples from HTB home page...
... do not work anymore. Anybody with a hint? I''ve got a fully functional HTB setup and just wanted to replace the kernel from 2.4.17 to 2.4.19. In the end the modified tc binary doesn''t recognize "tc filter add" (yet it does accept qdisc show and recognizes htb...) I''ve downloaded the 2.4.19 from kernel.org, iproute2 (2.4.7), installed the patches
2007 Dec 12
1
Re: LARTC Digest, Vol 34, Issue 12
Hey Marek, I´know that i must to works whith the INGRESS (instead of EGRESS), i´ve well formed my kernel. My others TC rules for source IP address (not for MAC address) does work fine...!!!, the problem is whith the MAC because is a not "IP PROTOCOL" and for that i must to use the "u32/u16 match" to solve it, and if i make an analogy from my others INGRESS rules applied to Src
2006 Oct 05
0
Re: LARTC Digest, Vol 20, Issue 4
Hi, I think you now have 2 Links to the internet. You want to route web traffic (transparent proxy triffic) via one link and the rest via the other link. If it is the case, It is possible to do. I have done it. here I have mentioned eth0 and eth1 eth0 is connected to one link (link1) eth1 is connected to other link (link2) , via this link, web traffic will be routed. echo 210 link1 >>
2003 Sep 28
0
Re: LARTC digest, Vol 1 #1385 - 4 msgs
Здравствуйте lartc-request, Sunday, September 28, 2003, 8:45:03 AM, you wrote: lrmdn> Send LARTC mailing list submissions to lrmdn> lartc@mailman.ds9a.nl lrmdn> To subscribe or unsubscribe via the World Wide Web, visit lrmdn> http://mailman.ds9a.nl/mailman/listinfo/lartc lrmdn> or, via email, send a message with subject or body ''help'' to
2004 Sep 02
0
RE: adsl and p2p programs
https://www.p2pwatchdog.com/ > -----Original Message----- > From: lartc-admin@mailman.ds9a.nl > [mailto:lartc-admin@mailman.ds9a.nl] On Behalf Of Roy > Sent: Thursday, September 02, 2004 5:04 AM > To: Ing. Marcos Salvatierra; James Lista > Cc: lartc@mailman.ds9a.nl > Subject: Re: [LARTC] adsl and p2p programs > > This is most asked question but there is no good
2005 Sep 26
0
Re: LARTC Digest, Vol 7, Issue 7
Hi Andreas! I mainly understand what you mean, but best for me would be if you could make an example from the script I have. I know I did something wrong into it, but I still can''t see the error. If you could fix the error from my script that would be much appreciated. Looking forward to hear from you, Daniel Phlander lartc-request@mailman.ds9a.nl wrote: Send LARTC mailing list