On 12/27/05, Fadi Kahhaleh <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > Is there a way to write a simple packet filter using raw sockets only?? > > Linux or windows I won't mind. > > I have already done the work on sniffing the packet and seeing it…etc. > > But now I want to block it from reaching the user app. If its port xyz or > from source > > 103.xxx.xxx.xxx…etc. > > I don't want to use IPFiltering interfaces or drivers. Can raw socket do > it?? Are > > There any parameters…etc. I am using ioct_RCVALL currently as the parameter. > > Thanks. > > > > Fadi .K
you want to filter on the tcp level yet not use it? read the socket and decode the binary packet yourself then. -- --------------------------- Netiquette -> http://www.dtcc.edu/cs/rfc1855.html Netiquette Nazi -> http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm --------------------------- _______________________________________________ General mailing list [email protected] http://mail.jolug.org/mailman/listinfo/general_jolug.org
