tcpdump mailing list archives

Inject payload with crypto algorithms


From: Mamatha <mamathaece () gmail com>
Date: Mon, 25 Jun 2012 21:49:41 -0700

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 &regards
Mamatha
mamathaece () gmail com
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: