Find the answer to your Linux question:
Results 1 to 6 of 6
Hi all, I just had frustrating 30 minutes with 5 different people from my service provider Virginmedia and none of these people has the slightest clue what an Internet port ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Location
    Yorkshire, GB
    Posts
    237

    Testing if a particular port is open


    Hi all,

    I just had frustrating 30 minutes with 5 different people from my service provider Virginmedia and none of these people has the slightest clue what an Internet port is and even worse they have no idea whom of their colleagues to ask.

    I surely will send them an email this evening (as I cannot acces my e-mail during work).

    In the meantime, here now my question:

    Independently, I would like to test myself if port 5060 is open for UDP packets.

    I got a few shell accounts outside of my ISP that run Linux or different BSDs. Does someone know a common program where I could send UDP packets to port 5060 of the IP address that Virginmedia assigns to me and then I would need a program on a PC within my network who reads them _if_ they get through.

    Background of all this is that my VOIP phones from two different VOIP providers are offline since last Monday.
    One service provider confirmed that another VOIP client is online with the same service provider Virginmedia but in a different area.

    So, while I don't know how long does it take that someone from Virginmedia can tell me if their port 5060 is open for UDP, I would like to find out myself in the meantime.
    Bus Error: Passengers dumped. Hech gap yo'q.

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    netcat (`nc`), the swiss army knife

    Let it listen on one machine, and send from another.
    Can't tell an OS by it's GUI

  3. #3
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Location
    Yorkshire, GB
    Posts
    237
    Do you know some simple programs like ping or so where you can specify an outbound port?
    Bus Error: Passengers dumped. Hech gap yo'q.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you are looking for nmap

  6. #5
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    I can't make it much easier than `nc`

    On the server:
    Code:
    nc -lup 5060
    On the client:
    Code:
    echo test|nc -u $IPADDRESS 5060
    nmap is also an idea:
    Code:
    nmap -p5060 $IPADDRESS
    Can't tell an OS by it's GUI

  7. #6
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Location
    Yorkshire, GB
    Posts
    237
    That's great advice. Thank you.
    Bus Error: Passengers dumped. Hech gap yo'q.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •