i need to reset the tcp connection manually , if one request come from ipLayer.SrcIP = 10.2.3.1 then i need to sent the reset connection packet
On Fri, Apr 13, 2018 at 6:30 PM, Jesper Louis Andersen < jesper.louis.ander...@gmail.com> wrote: > TCP connections are normally Close()'d, which starts the gracefully dance > of sending FIN packets back and forth. RST is a far more abrupt situation, > which is normally reserved for a few exceptional cases. I find it rare that > one needs the RST from the userland outside kernel jurisdiction. Hence my > curiosity: what are you trying to achieve in the first place? > > > On Fri, Apr 13, 2018 at 2:28 PM Binu Ps <b...@wellspringsys.com> wrote: > >> HI >> >> I need to reset tcp connection, >> any library available in golang ? >> Concept : if one connection coming from ipLayer.SrcIP = 10.2.3.1 , >> then i need to reset the connection (tcpLayer.RST=true;) and need to >> form a packet and sent request reset the cnnection is it possible in >> golang >> >> Regards, >> Binu >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.