Send reset on server select fail

Posted by jmaddox

At what point is the reset sent to the client? Would this be during a persistent existing connection where a server is marked down and the next packet from the client is reset by ax at that time?
or, is this only so narrow as to the initial lb selection of server? ex: tcp vip, client sends syn, ax opens connection to server, at that time server fails during handshake, but AFTER selection.

what is the exact sequence of events where this setting occurs?

Comments

  • edited July 2022
    Posted by ddesmidt

    By default once a TCP is established on a VIP, AX will send a RST or FIN to the client only and only if the server sends such packet.
    Now this behavior can be changed.
    With the option "reset-rev" under "tcp template", you can ask AX to send a RST to the client when:
    . the session expires
    . the server is detected down

    FYI there is a similar option "reset-fwd" under "tcp template", to ask AX to send a RST to the server when:
    . the session expires

    Note: Don't forget to associate that tcp template to your VIP to get it applied 


    Dimitri
Sign In or Register to comment.