Date: Fri, 14 May 1999 10:51:03 +0200 From: Graham Wheeler <gram@cdsec.com> To: "Pavel V. Antipov" <pavel@ikar.elect.ru> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Problems with Ethernet programming Message-ID: <373BE3F7.194DEB3A@cdsec.com> References: <Pine.BSF.3.96.990513132414.2568C-100000@ikar.elect.ru> <19990514091824.C89091@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thursday, 13 May 1999 at 13:32:42 +0400, Pavel V. Antipov wrote: > > 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. Use the bpf device. You may have to recompile the kernels to support this. If you want to look at source code, try nmap (I think it uses a modified libpcap on top of BPF, but it will still show you how to do this kind of stuff). -- Dr Graham Wheeler E-mail: gram@cdsec.com Citadel Data Security Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Internet/Intranet Network Specialists Data Security Products WWW: http://www.cdsec.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?373BE3F7.194DEB3A>