
"route print" without the quotes.
That's what I tried.dhouwn wrote:Oops, I meant the "Windows Command Processor" cmd.exe.
This machine has been heavily trimmed of stuff I don't need, don't want, or even may be dangerous. That's why the %windir% is only 178 MB, and the entire HD usage is about 900 MB. Reduces attack surface by 90+%, and makes an older, low-end laptop quite fast. I'll have to try it when I pull out the untrimmed backup machine for the next MS Patch Tuesday.Tom T. wrote:Command line does not recognize that command
Code: Select all
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 127.16.8.14 127.16.8.14 1
How would I do that?GµårÐïåñ wrote: Now Tom, you may not see it in the general router interfaces, you need to look in the part of your routers where they keep "static" routes or "system" routes to see it,
To be honest since the days of my last Linksys WRT54GX version 2 (SRX) router, I have not looked at an admin panel for a consumer model Linxsys which is now owned by Cisco. However, if you have not changed the default "router address" then typing 192.168.1.1 should take you to the admin page. The default password used to be admin (no username) unless they changed that, some older ones were admin/admin or admin/letmein but anyway, I digress. Whatever your router IP is, and if you are not sure, look in the property of your NIC/Wireless card adn you will it listed under the "gateway" address" and it will be somewhere in the standard 192.168.1.1 or 192.168.0.1 or somewhere within the 255.255.255.0 subnet mask range with at /24 simple gives you .2-.253 as valid addresses. The .0 is the network or adapters own address, the first available IP, usually .1 is assigned to the router interface and then from there .2 through .253 are available since .254 the last valid IP is always the broadcast address. The 0 and 254 are always unusable by conventional means. Once you are in there, there should be a tab for NAT, IIRC, and under there you should see your routes and if not then under the advanced panel within that section. I can pull out my old one and boot it up and see the path if you like, but you should be able to find it.Tom T. wrote:How would I do that?
That is a tricky question and as I tried to elude to earlier, depends on the way your have your topology configured. Say you have your router sitting at 192.168.1.1, you have no fixed IPs, and have enabled DHCP from range .10 - .50 then effectively any address that appears after .51 and not including the broadcast which is .254, would presumably never be used, therefore any of those would serve as a good blackhole, to give homage to the devil, use .66And what destination address would you suggest for the Hosts file "black hole", so that requests to unwanted sites never leave the machine itself?
Code: Select all
C:\WINDOWS\system32>ping 192.168.1.190
Pinging 192.168.1.190 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.190:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\WINDOWS\system32>ping 0.0.0.0
Pinging 0.0.0.0 with 32 bytes of data:
Destination specified is invalid.
Destination specified is invalid.
Destination specified is invalid.
Destination specified is invalid.
Ping statistics for 0.0.0.0:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Again, why not use simply an invalid endpoint address like 0.0.0.0 or something.0? This way nothing might even be send out in the first place.GµårÐïåñ wrote:therefore any of those would serve as a good blackhole
My point exactly, and the difference in times required to run the above ping tests tends to support that LAN address will in fact be sent to the router, whereas 0000 disappears five times as quickly.dhouwn wrote:Again, why not use simply an invalid endpoint address like 0.0.0.0 or something.0? This way nothing might even be send out in the first place.GµårÐïåñ wrote:therefore any of those would serve as a good blackhole
It's never a valid endpoint address, it gets rejected immediately.http://hackademix.net/2009/07/01/abe-warnings-everywhere-omg/#comment-13807 wrote:I can swear about Firefox internals: invalid addresses like 0.0.0.0 or 255.255.255.0 don’t generate any network traffic, and their rejection is immediate: therefore they’re a far better candidate for adblocking.
Settle down, guys.GµårÐïåñ wrote:Yes if the conditions _I_ cited is in effect, mainly consumer grade router
Most of this forum is for home users. Enterprises and servers will naturally have different needs.Tom T. wrote:I believe that your information is based on the fact that you run a web server from your home or office or whatever ... I am a basic home user, addressing similar home users who might have a LAN, but no publicly-available web server (disregarding online gaming, IM, and some other apps that sometimes make the machine behave like a server in some regards).