[tcpdump-workers] Inject payload with crypto algorithms

2012-06-26 Thread Mamatha
Hi,

   I am implementing one application using libpcap but I am unble to
use pcap_inject is failing it showing undefined reference to this
function...I searched header file also The function is not avalible..

   My requirement:
case1:
   I have to recevie the packets from 3000 port
of one internal device (interface).I have to apply encryption
   and send back (inject payload)to same port
again of interface
 case 2:I have to get the 3001 port for decryption
again I want send back to same using libcap functions
 doubt: If receive the packet payload its in (decrypted format)in original
data but I want to apply double encryption for packets encrypted data..how
should I get the encrypted data..

 I would like ask you send any sample code using any crypto
algorithms and libcap.
 It might be help ful for my application..

Thanks ®ards
Mamatha
mamatha...@gmail.com
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


[tcpdump-workers] modify the packet payload and inject with original headers

2012-07-16 Thread Mamatha
Hi,
1.Trying to do API  capture the packets from one of virtual interface and
modify the packets   payload and injecting to other interface with original
headers + modified payload
2.I got payload from packet header and modifying the payload and Injected
to other interface. using Inject function I am able to send the packet
payload only .How to send the packets with original  headers with modified
pay load.(in my API packet payload length is same after modifiaction also).

If it possible by Pcap  how to do suggest me?

-- 
Thanks by
M.mamatha
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.