Skip to contentSkip to conversation

Installation problems- QoS layer 7 packet filter

LARTC wong cheongseng 2 participants 3 messages Oct 30, 2003 – Oct 31, 2003

lore
Share & tools
lore
#0 lore raw

VERY URGENT!!! Hey, i'm final year student in upm. I have install linux Redhat 9.0. Wish to build up Qos linux packet filter using kernel-2.4.20.8 i have follow the instruction which i download from internet. But i 'm not very understand about the
instruction. The following step have been done by me:-

1) Patch the L7-kernel patch to the kernel (success)
2) Re-compile the kernel (success)
3) Enable layer-7 filtering (success)

4) After i unpack "tar xvzf iproute2_w_layer7_patch-0.9.3.tar.gz" Inside there, i found a TC folder- 31 items
- tc patch - how does the TC link against the new kernel header??? (question)
- I have make the symbolic link from /usr/src/linux to
/usr/src/linux-2.4.20.8
- Where should i put the files inside the TC folder??? (question)
- When i "make" to compile, it show me error and tell me to compile the
kernel first??? (question)
- Since the tc folder have many files, which should i copy to /sbin/tc??? (question)

5) Protocol definitions
- after unpack the latest pattern from l7-filter.sourceforge.net
- i tried to cat all the pattern to /proc/net/layer7_protocols, but found error "no such files and directory" - Anythings i did wrong?? (question)

Please reply me as soon as possible. Very urgent!!! Thank you.

_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 1 line · wong cheongseng

VERY URGENT!!! Hey, i'm final year student in upm.

I'm sure it is. is your thesis due tomorrow? :P

Quoted 7 lines

I have install linux Redhat 9.0. Wish to build up Qos linux packet filter using kernel-2.4.20.8 i have follow the instruction which i download from internet. But i 'm not very understand about the instruction. The following step have been done by me:-

4) After i unpack "tar xvzf iproute2_w_layer7_patch-0.9.3.tar.gz" Inside there, i found a TC folder- 31 items

I don't know where you got this file from, so I can only guess at the answers:

Quoted 1 line

- tc patch - how does the TC link against the new kernel header???

tc won't "link" against the new kernel headers, but it may use them when compiling. unless your environment is broken, it will automatically look in /usr/src/linux/include

Quoted 1 line

- Where should i put the files inside the TC folder???

Which files?
If they are .diff files, you use the 'patch' program to patch them into the original tc source files.

Quoted 1 line

- When i "make" to compile, it show me error and tell me to compile the kernel first???

You may need to run a top level 'make config' (menuconfig or xconfig) and 'make dep' in /usr/src/linux to setup some files correctly for your system.

Quoted 1 line

- Since the tc folder have many files, which should i copy to /sbin/tc???

After you've finished the 'make' (or maybe 'make install') the Makefile will automatically copy the correct binary to /sbin/tc (or probabaly /usr/local/sbin/tc ) You don't have to do it yourself, unless you're hacking.

Quoted 1 line

Please reply me as soon as possible. Very urgent!!!

Mailing lists and newsgroups aren't always the quickest source of info.. I find google faster most of the time.

Quoted 1 line

Thank you.

You're welcome.

Signature · 11 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     [email protected]
SnapGear ---                           ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to wong cheongseng

Thank you very much Damion de Soto.
You're rite, i'm in final semester now. This is my final year project, must be finished and submit
within this 3 months. Actually i search for so many web site to get the instruction build up Qos layer7 packet filter. But i really not very understand the given instruction.
I got the latest TC patch files in "http://sourceforge.net". I'm very fresh in using Linux.
Anyway, I will try it myself. Thank you!!

Quoted 52 lines

From: Damion de Soto <[email protected]>
To: wong cheongseng <[email protected]>
CC: [email protected]
Subject: Re: [LARTC] Installation problems- QoS layer 7 packet filter
Date: Fri, 31 Oct 2003 15:52:35 +1000

Quoted 1 line · wong cheongseng

VERY URGENT!!! Hey, i'm final year student in upm.

I'm sure it is. is your thesis due tomorrow? :P

Quoted 2 lines

I have install linux Redhat 9.0. Wish to build up Qos linux packet filter using kernel-2.4.20.8 i have follow the instruction which i download

from

Quoted 1 line

internet. But i 'm not very understand about the instruction. The

following

Quoted 4 lines

step have been done by me:-

4) After i unpack "tar xvzf iproute2_w_layer7_patch-0.9.3.tar.gz" Inside there, i found a TC folder- 31 items

I don't know where you got this file from, so I can only guess at the answers:

Quoted 1 line

- tc patch - how does the TC link against the new kernel header???

tc won't "link" against the new kernel headers, but it may use them when compiling.
unless your environment is broken, it will automatically look in /usr/src/linux/include

Quoted 1 line

- Where should i put the files inside the TC folder???

Which files?
If they are .diff files, you use the 'patch' program to patch them into the original tc source files.

Quoted 2 lines

- When i "make" to compile, it show me error and tell me to compile the
kernel first???

You may need to run a top level 'make config' (menuconfig or xconfig) and 'make dep' in /usr/src/linux to setup some files correctly for your system.

Quoted 2 lines

- Since the tc folder have many files, which should i copy to
/sbin/tc???

After you've finished the 'make' (or maybe 'make install') the Makefile will automatically copy the correct binary to /sbin/tc (or probabaly /usr/local/sbin/tc )
You don't have to do it yourself, unless you're hacking.

Quoted 1 line

Please reply me as soon as possible. Very urgent!!!

Mailing lists and newsgroups aren't always the quickest source of info.. I find google faster most of the time.

Quoted 1 line

Thank you.

You're welcome.

Quoted 9 lines

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: [email protected]
SnapGear --- ph: +61 7 3435 2809

 | Custom Embedded Solutions          fax:         +61 7 3891 3630
 | and Security Appliances            web: http://www.snapgear.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---

_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/