Skip to contentSkip to conversation

How to observe the changes made in the code

DISCUSSION [email protected] 2 participants 2 messages Apr 19, 2003 – Apr 27, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hi, I have no many experience with Linux, and I'm trying to make some changes in an existent match, concretely in ipt_multiport, so I'm modifying the ipt_multiport.c file. Now, when I make any simple change in the code I'm compiling the kernel and I'm losing a lot of time. My question is if it's any other way to observe the results of the changes made in the code.

Thanks a lot.

#1 lore raw
Quoted 6 lines · On Sat, Apr 19, 2003 at 06:56:46PM +0200, [email protected] wrote:

Hi, I have no many experience with Linux, and I'm trying to make some changes in an existent match, concretely in ipt_multiport, so I'm modifying the ipt_multiport.c file. Now, when I make any simple change in the code I'm compiling the kernel and I'm losing a lot of time. My question is if it's any other way to observe the results of the changes made in the code.

rmmod ipt_multiport
make modules SUBDIRS=net/ipv4/netfilter
insmod net/ipv4/netfilter/ipt_multiport.o

Quoted 1 line

Thanks a lot.

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie