It is currently Wed Jun 19, 2019 9:33 pm


All times are UTC




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Script: TraceMAC tool - Like traceroute for MAC addresse
PostPosted: Thu Oct 11, 2012 7:11 pm 
Offline

Joined: Tue Apr 17, 2012 8:43 pm
Posts: 3
In the tool's downloaded readme file, it states that "If a IP/Hostname is used than the script should be run from a PC that is on the same VLAN/Subnet with that IP/Hostname, because is trying to get the MAC address by using PING and ARP." Is there a way to instead have the ping/arp be performed from the switch itself rather than the local PC, and have the results available for your script? This would get around the need for the PC to be on the local subnet if you're using an IP address.




Top
 Profile  
 
 Post subject: Re: Script: TraceMAC tool - Like traceroute for MAC addresse
PostPosted: Wed Oct 24, 2012 3:24 pm 
Offline

Joined: Tue Feb 08, 2011 2:11 am
Posts: 4
Hello... this is an excellent tool, is there something like this for linux???? Can this script be exported to linux??? i think it's possible because the linux networking is far away more advanced that the windows one... but anyone has an idea???

Thanks in advanced...


Top
 Profile  
 
 Post subject: Re: Script: TraceMAC tool - Like traceroute for MAC addresse
PostPosted: Fri Nov 16, 2012 4:14 pm 
Offline

Joined: Thu Jun 24, 2010 3:58 pm
Posts: 411
Location: [email protected]
Hi,

Of course it can be ported to Linux and I want to do that, but now I don't have the time to do it :D
Now this script is using Linux tools compiled for windows to do the magic :))

Cheers!


Top
 Profile  
 
 Post subject: Re: Script: TraceMAC tool - Like traceroute for MAC addresse
PostPosted: Sat Mar 09, 2013 9:35 pm 
Offline

Joined: Thu Jun 24, 2010 3:58 pm
Posts: 411
Location: [email protected]
Hi,

A new version of TraceMAC v0.5 is available - [Download for Windows] - [Download for Linux]

New Features:
*Add support for Linux (Bash script. Requires: nc,wget,ssh,snmp-tools,awk)
*Add support for SNMP version 3 ('noAuthNoPriv', 'authNoPriv' and 'authPriv)
*Add support for multiple SNMP strings for version 1/2c (Declare a array of community's)
*Add a new option (in config) to solve a issue with Plink on some devices (check SSH_SLOW_START in config file)
*Add a new method (optional) to detect the MAC address by using a external device (Cisco Ro/L3 SW/PIX/ASA or Linux machine)
*Add auto escape passwords for Windows and Linux. (In Windows batch can't use double quotes, on Linux anything is allowed).
*Add options to customize the timeout/retry values for all the tools used by the script
*Add more info (interface description) from the interface where the MAC was found
*Add more info at start (optional) to show how the mac address was discovered (this is more for debug)
*Add more info (optional) showing what protocol was used to connect on switches (this is more for debug)
*Fix for Plink. I've replaced 'y' with 'n' to skip SSH key accept (new switch or modified key from the one stored in cache)
It will no longer trigger 'Translating "y"...domain server (x.x.x.x)' if you have the command "ip domain-lookup" on your switches (no more waiting)
*Fix a ugly bug, 192.168.123.123 was automatically detected as a MAC address ;))
*Fix for next hop SW by excluding devices that speaks CDP but are not Switches (like Routers/IP Phones/etc)
*Major code improve

Cheers!




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO