Forum Discussion

Steve_Sutton_87's avatar
Steve_Sutton_87
Icon for Nimbostratus rankNimbostratus
Apr 29, 2005

discard - what, exactly, does it do?

Basically, what I really want to know is, what does the browser client get when a rule issues a discard? Do they just hang, or timeout, or get a not found, or what?

 

 

Cheers,

 

Steve

 

3 Replies

  • I believe it is very similar to an iptables DROP or ipfw reset (in fact, it may BE ipfw under the covers).

     

     

    The session is TCP, so it will send a reset and the session just terminates. Basically, to the browser it will look like there is no connectivity at all.

     

     

    It would be interesting to grab some traffic and confirm this.

     

     

    Matt
  • Scott_Tennican_'s avatar
    Scott_Tennican_
    Historic F5 Account
    A rule evaluating to a discard statement is identical in behavior to picking a pool with no valid nodes. By default, the request is silently discarded. But, if you set:

     

    bigpipe virtual svc_down reset enable

     

    the connection is reset.
  • Thanks, guys. gumby, I'm making note of the bigpipe command.

     

     

    Cheers,

     

    Steve