Re: Kernel code of reseting/ignoring tcp SYN packets

2005-08-09 Thread John-Mark Gurney
Minh Tran wrote this message on Sat, Aug 06, 2005 at 21:42 +1000: > I was looking around for the files of Kernel code where SYN messages are sent, > so we can simply inject some code to send back a reset messages or ignore the > SYN requests. You should probably simply look at ipfw... you can ma

Re: Kernel code of reseting/ignoring tcp SYN packets

2005-08-06 Thread Julian Elischer
Minh Tran wrote: ** Reply Requested When Convenient ** Hi everyone, I was looking around for the files of Kernel code where SYN messages are sent, so we can simply inject some code to send back a reset messages or ignore the SYN requests. I was looking at the function ioctl() which takes fd of

Re: Kernel code of reseting/ignoring tcp SYN packets

2005-08-06 Thread Robert Watson
On Sat, 6 Aug 2005, Minh Tran wrote: I was looking around for the files of Kernel code where SYN messages are sent, so we can simply inject some code to send back a reset messages or ignore the SYN requests. I was looking at the function ioctl() which takes fd of the tcp socket. As i track th

Re: Kernel code of reseting/ignoring tcp SYN packets

2005-08-06 Thread Mike Silbersack
On Sat, 6 Aug 2005, Minh Tran wrote: Would anyone have some hints on the clean way of injecting some code to deal with SYN packets or could you give me some ideas on which files i should look at? I really appreciate that. I saw some promising files in src/sys/netinet but they are not all clea