Tagged: Network Toggle Comment Threads | Keyboard Shortcuts

  • Ady Romantika 5:20 pm on June 28, 2016 Permalink | Reply
    Tags: Network   

    Atom Behind Corporate Proxy 

    I’ve never really have to work from behind any proxy before, so a new Atom installation quickly fails when installing packages. The answer is to run these:

      apm config set proxy "http://proxy:port"
      apm config set https_proxy proxy "http://proxy:port"

    If your proxy is crazy like mine:

      apm config set strict-ssl false
    

    I tested these on Windows 7, not sure about other platforms.

    Advertisements
     
  • Ady Romantika 1:43 am on March 2, 2014 Permalink | Reply
    Tags: , Network   

    dnsmasq stop-dns-rebind 

    My current team uses Amazon’s Route 53 to define addresses to local test machines, and I’ve been wondering why my dnsmasq on my DD-WRT is returning blank for addresses that resolves to private IP ranges.

    The answer is the option “stop-dns-rebind”. Disable that, and it works.

    In the web GUI, the option is called “No DNS Rebind” and it’s located in the “Services” tab and sub-tab.

     
  • Ady Romantika 12:45 am on December 2, 2013 Permalink | Reply
    Tags: Network   

    Check Open Port(s) 

    I usually use telnet, but if it’s not available but netcat (nc) is available:

    nc -v -w 1 <IP_address_or_hostname> -z <Port_or_Range_of_ports>
    

    So if I’d like to see whether port 20-22 is available on a fictitious hostname target.something.com

    nc -v -w 1 target.something.com -z 20-22
    
     
  • Ady Romantika 12:59 am on November 26, 2013 Permalink | Reply
    Tags: Network   

    Nullrouting 

    route add x.x.x.x gw 127.0.0.1 lo
    

    OR

    route add -host x.x.x.x reject
    
     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel