Announcement

Collapse
No announcement yet.

test TCP connection thru a specific interface

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • test TCP connection thru a specific interface

    Hi,
    I am looking for either a linux or windows cmd line tool which will enable me to test a TCP connection by defining which eth interface to use to send the packets.
    Say i have 3 interfaces on my PC, eth0, eth1 and eth2 and i want to test TCP connection thru each interfaces.
    for e.g i want a tool which can perform a ping test while defining which interface to use for the outgoingICMP pkts.

    Something like
    ping -i interface destination_host

    Thanks

  • #2
    Re: test TCP connection thru a specific interface

    Zenmap(nmap) can, and its command line or GUI (Zen=GUI, Nmap=CLI)

    Hope that helps.

    Wofen
    Good to be back....

    Comment


    • #3
      Re: test TCP connection thru a specific interface

      Thanks Wofen, i tried it.
      quick question which profile should i use 'ping scan'
      also how do i define the eth0 interface to use for the ping test ?

      Thanks for your help

      Comment


      • #4
        Re: test TCP connection thru a specific interface

        is this usage correct:

        nmap -sP -PE -PA21,23,80,3389 -e eth0 "destination_host"

        with -e eth0

        Thx

        Are there any other tools which might be helpful?

        Comment


        • #5
          Re: test TCP connection thru a specific interface

          Sry, yes, I believe that -e eth0 is the correct tag.

          Sadly if I need anything more then this, I pull out the Unix/firmware based network tools.

          But Zenmap can do almost anything, and for testing routes/network topographic locations, DNS I can not think of any tool I would rather have.

          If you need a tool to do one thing, let me know and I might have something, but zenmap rocks.

          Its also great for "testing" "your own" secruity.....


          Wofen
          Good to be back....

          Comment

          Working...
          X