> 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: g...@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 majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message