curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: IP spoofing with libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 27 Oct 2017 09:37:16 +0200 (CEST)

On Fri, 27 Oct 2017, Vidyanand Nille via curl-library wrote:

> Is it possible to spoof client ip using libcurl? 

libcurl itself provdes no particular means to do that, no.

You can however use callbacks that allow you to change and fiddle with the
sockets layer and then you're mostly limited by your imagination.

But... most protocols libcurl speaks are TCP based and when you communicate
with TCP you need to get IP packets back in order to complete the handshake
etc and if you fake your IP in outgoing packets you won't get the packets back
and then you can't continue the TCP stream!

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-27