[go-nuts] Tcp connection reset

2018-04-25 Thread Binu Ps
below code i am trying to reset the tcp connection which coming from 192.168.1.3 address, now its not working its not resetting the connection , anythink wrong in my source code ? please help package main import ( "fmt" "time" "github.com/google/gopacket"

Re: [go-nuts] Tcp connection reset

2018-04-13 Thread Binu Paul
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

Re: [go-nuts] Tcp connection reset

2018-04-13 Thread Jesper Louis Andersen
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

[go-nuts] Tcp connection reset

2018-04-13 Thread Binu Ps
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