Jump to content

Using traceroute and saving results to a .txt file


tommyj12

Recommended Posts

I am having connections issues and after three weeks it seems my isp is depending on me to find out what is wrong with their pipe. :thumbsdown: Anyhow, I loose my connection at really weird times and the tech I talked to asked me to email him my traceroute results with a timestamp. I have never used it with linux, but have used tracert in windows. Can I run it with a timestamp option? I assume I can copy the console output after and past it to a text file. Or from the man pages it seems the -A switch will write it to a file or am I reading it wrong?

-A Perform AS path lookups in routing registries and print results directly after the corresponding addresses
http://www.ss64.com/bash/traceroute.html Help is appreciated.. :happyroll:
Link to comment
Share on other sites

One problem is that with the widespread use of firewalls on the modern Internet, many of the packets that traceroute sends out end up being filtered, making it impossible to completely trace the path to the destination. However, in many cases, these firewalls will permit inbound TCP packets to specific ports that hosts sitting behind the firewall are listening for connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most common firewall filters.While being su'd as root issue the tcptraceroute command like this:

# tcptraceroute anysite.com

I used this during a couple of days to convince my ISP I had a bad modem/router combo. After having send them my report with traceroute and tcptraceroute commands they gave in and I got a new modem/router combo. :thumbsdown:

Link to comment
Share on other sites

I will give it a go today as I am off work, and can hopefully get it done. I am not sure it is my modem, and I have directly connected to rule out router.The tech told me they log anytime my modem drops and it hasn't done so in over six months. I am also sending out my requests, but not receiving them anymore when it happens Anyhow I have a pretty old modem, and if I don't get it sorted out I will grab a new one. Thanks for the link, and commands. I will keep you posted on how it goes. :thumbsup:

Edited by tommyj12
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...