Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Owner: User #11629142
RANCID
RANCID is up and running in the NDBNetwork Devices Branch lab.The network device configs are queried every hour, and they are saved to CVSSource code management software if there are changes. The current config, previous configs, and config changes can be viewed by accessing the RANCID server's web page.
RANCID is currently "monitoring" the following devices:
IP | Device Description |
---|---|
192.168.0.5 | NDB Lab BB_Switch |
192.168.128.10 | NDB Lab BB_Router |
192.168.128.14 | Test Range Core Switch |
XXX.X.X.XX (JUMPSTART-5[US]) | S630-brew-C2960 |
10.0.255.74 | Cinnamon2 Router |
XXX.X.X.X (UNICOM-HL[CN]) | R632-Cinnamon-2-C1841 |
10.0.255.58 | R617-TN10-C1841 |
10.0.252.2 | POS-7201 |
172.16.101.252 | Hun-Grrr-3750 |
10.0.255.50 | R614-HG-3845 |
To access the RANCID web page from DEVLAN or the NDBNetwork Devices Branch Lab, open a browser and go to:
http://10.9.9.70/viewvc/networking/configs
You will see a listing of IP addresses for each device. If you click on one of the IP addresses, you can view the revision history and the differences from the previous config versions.
Note: When viewing a config it will also include information regarding VLANs, interfaces, etc. The current config (result of the "show run" command) starts after this other information.
If you go back to the main page (http://10.9.9.70/viewvc/networking/configs) and click on the "Rev" number for a specific device, it will show the most recently queried config running on the device. The "Age" column will let you know the last time the device's config was modified. Since RANCID only polls the network devices every hour (at the top of the hour), don't be alarmed if updates don't appear on the web page immediately after making a config change.
If you are on one of the NDBNetwork Devices Branch Lab workstations, you can also access the RANCID web page by using the server's DNSDomain Name System name (this will not work from DEVLAN since we cannot add DNSDomain Name System entries on DEVLAN). The DNSDomain Name System entry for accessing the RANCID web page is: http://rancid.loki/lab/viewvc/networking/configs).
Notes
Add network device: sudo vi /usr/local/rancid/var/networking/router.db
Add/Change Username/Password: sudo vi /usr/local/rancid/.cloginrc
Run RANCID: sudo -i -u rancid /usr/local/rancid/bin/rancid-run
Execute command: sudo -i -u rancid /usr/local/rancid/bin/clogin -c "<command>" <ip address>
Execute list of commands: sudo -i -u rancid /usr/local/rancid/bin/clogin -x "commands.txt" `cat ip_list.txt`