tcpdump mailing list archives

Re: Inject payload with crypto algorithms


From: Esteban Pellegrino <pellegre.esteban () gmail com>
Date: Tue, 26 Jun 2012 15:30:11 -0300

You should specify what version of libpcap you are using and the OS. On
last ubuntu with libpcap 1.1.1 pcpa_inject is defined on pcap/pcap.h and I
can successfully link that function with my code.

Best,

Esteban

On Tue, Jun 26, 2012 at 1:49 AM, Mamatha <mamathaece () gmail com> wrote:

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.

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


Current thread: