Network-related (Scapy) Python Script

  • Posted:
  • Proposals: 4
  • Remote
  • #573840
  • Expired
Meena K.Pamela B.Scalable A.Not active N. have already sent a proposal.
  • 1

Description

Experience Level: Expert
General information for the business: Network-testing under Windows
Kind of development: Customization of existing program
Description of requirements/functionality: Hi everyone,

I'm after a Python script for Scapy - http://stackoverflow.com/questions/5447461/running-scapy-on-windows-with-python-2-7 - to run on x64 Windows with WinPcap. Draft code:

* Intercept all incoming packets from 123.456.7.8 (this is the IP of whatever I'm connecting to my Virtual Wi-Fi hotspot in Windows 7)
* Forge all packets with + or - time stamps, in millisecond integers
* Forward all packets to Any (every) IP (a second computer or router)
* Run until User Stop

So it's a unidirectional man-in-the-middle script, to intercept and forge the time stamps on all outgoing/egress packets from the IP of whatever's connected to my hotspot, which would then forward those packets without delay.

If you're familiar with DummyNet, this feature would be the same as its delay function for all outgoing packets on a pipe, only with modified time stamps instead of a delay. A DummyNet .bat example:

ipfw pipe 3 config delay 100ms
ipfw add pipe 3 ip from [my hotspot device IP] to any

The above would insert a 100ms delay between all outgoing packets from my connected hotspot device, and all other connected IPs. I don't want to delay outgoing packets with Scapy, just to have the ability to forge their time stamps in + and - directions. All outgoing packets should be stamped with the same modified value, until I stop the script, update it, and then rerun it.

Thank you for reading.

Phil W
OS requirements: Windows
Extra notes: Provide a more detailed description to help you get better proposals

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.