Linux Null route timeout

Discussion in 'Network Routers' started by Aris Fesarlis, Apr 5, 2014.

  1. Hello,
    I have set up some null outgoing routes in Linux for some hosts I want
    to disable connection. I want to ask how can I adjust the timeout for
    those connections, as this results in my web sites being unresponsive
    during the initial connection until the timeout is reached.

    Tried this but does not seem to help:

    echo "1" > /proc/sys/net/ipv4/route/gc_timeout

    My null routes are set up like this:

    route add -net gw lo
    Aris Fesarlis, Apr 5, 2014
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.