[Click] Please help me

Homayara Akter nodimekhla at yahoo.com
Tue Mar 28 13:24:52 EST 2006


In case of ipfiltermy with tcp packet

FromDump(abc1.dump,FORCE_IP true) 

IPFilter(allow dst INTERNALNET && tcp && src port 23 && dst port

1023 && ack)

 

 I got

“while configuring IPFilter

 " pattern 0 : partial directive

 Pattern 0:empty term near INTERNALNET

 Pattern 0:garbage after expression at ‘INTERNALET’

Warning:pattern 0 matches no packet

Router could not be initialized

 

 

 


Eddie Kohler <kohler at cs.ucla.edu> wrote:  > I want to use IPFilter element to read packets from FromDump.
> I wrote the following code 
> 
> FromDump(/home/click-1.4.3/conf/abc1.dump)

Try

FromDump(FILENAME, FORCE_IP true)

instead. You need to make sure packets have an IP header annotation before 
you can pass them to IPFilter.
Eddie


> ->IPFilter(allow tcp)
> 
> ->Print(ok)
> 
> -> Discard;
> 
> I got 
> segmentation fault(core dumped)
> I also attached my abc1.dump
> 
> 
> 
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the click mailing list