ToHost problem

powell molleti powelllinux at yahoo.com
Thu Jan 31 08:53:03 EST 2002


hi all,
 
 Humm with this configuration file i m able to 
 get the syn-ack replies for the syn to the fake0
 device , but they are being discarded by
 the CheckIPHeader element. I dont have a clue
 why.

 The following snippet from the file showed that

 frmlinux::FromLinux(fake0, 192.168.0.1/24);
  frmlinux -> frmlinux_cla::Classifier(12/0806,
                             12/0800);
  frmlinux_cla[0] 
    -> ARPResponder(0.0.0.0/0 1:1:1:1:1:1) 
    -> ToLinux;

  rmlinux_cla[1] -> GetIPAddress(16)
     -> ch :: CheckIPHeader() // ouput 0 , not
emitting
                              //    any packets
     -> IPPrint()
     -> EtherEncap(0x0800, internal:eth,    
                           internal_client:eth)
     -> intern_dev;

// This is CheckIPHeader second output , it is putting
// all packets here :(
// that means they are bad!, but why? !
     ch[1] -> IPPrint() -> Discard();
	 
it would be great if anyone throwed some light on
this.

thanks
cya
powell
--- powell molleti <powelllinux at yahoo.com> wrote:
> Hi all,
> 
>  I m trying to send the packets from the device to 
>  linux.
> 
>  click is running in 192.168.0.1
>  
>  ip packets from 192.168.0.2 -> IPPrint() ->
>  EtherEncap(0x0800, client:eth, internal:eth) ->
>  ToLinux;
> 
>  Now when i try to telnet to 192.168.0.1 from
> 192.168.0.2. The syn packets are sent to the linux 
>  but seems like linux is discarding them quitely.
> 
>  i am trying to grab the replies using
> 
>  fmlinux::FromLinux(fake0, 192.168.0.1/24);
> 
>  fmlinux -> 
>    frmlinux_cla::Classifier(12/0806, 12/0800);
>  frmlinux_cla[0] -> Print() ->
>        ARPResponder(0.0.0.0/0 1:1:1:1:1:1) ->
>        ToLinux;
>  frmlinux_cla[1] -> IPPrint() -> todevice;
> 
>  Linux is not sending arp queries to fake0.
> 
>  That means that the syn packets send from
>  192.168.0.2 are getting discarded by the linux
>  stack right?
>  
>  Could someone explain me why this is happening?.
> 
>  cya
>  Powell
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions! 
> http://auctions.yahoo.com


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



More information about the click mailing list