From owner-freebsd-hackers Thu May 13 18: 0:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id C6B4D14FD5 for ; Thu, 13 May 1999 18:00:47 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from lot.gsoft.com.au (lot.gsoft.com.au [203.38.152.106]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id KAA00779; Fri, 14 May 1999 10:29:13 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 14 May 1999 10:29:13 +0930 (CST) From: "Daniel O'Connor" To: "Pavel V. Antipov" Subject: RE: Problems with Ethernet programming Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 13-May-99 Pavel V. Antipov wrote: > I encapsulated my data packet into the Ethernet packet, > set the source and destination Ethernet addresses, specified the frame > type (my own). > Now I want to send this packet into the Ethernet network and > recieve it of destination computer. > Please, tell me how can i write/read the Ethernet packet. You could try going to http://www.packetfactory.net/ which has a library called libnet which is a cross-platform way of constructing packets. I haven't actually used it, except to compile a Windows exploit (ack no, I'm a script kiddie now ;) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message