lilei wrote: > if i want to intecept all packet that pass through the local NIC,how to come > it true? i am a newcomer in kernel and solaris.so can you tell me the detail > about the procedure.i will wait for your answer,thanks! > > > This message posted from opensolaris.org > _______________________________________________ > networking-discuss mailing list > [email protected] >
Hi Li Lei, I would like to understand more about what you're trying to do, which would help us to better answer your question: - Do you intend to write your own module to interact with PFHooks, or can you just use ipfilter? PFHooks provides a framework to do packet interception in IP layer in Solaris, and ipfilter firewall makes use of this framework to provide packet filtering and NAT capabilities. - Do you want to intercept non-IP packets as well, or just IP packets? Currently PFHooks can give you the access to IP packets. - And what is your packet interception used for? e.g. Are you trying to build a firewall, or some packet capture software, such as tcpdump, wireshark, snoop, or something else? Regards, Zhijun -- #mdb -K [0]> eri.prc.sun.com::walk staff s|::print staff_t s_name| ::grep .== zhijun |::eval <s=K|::print staff_t [EMAIL PROTECTED], x84349 Network Virtualization & Performance Team, Solaris Core Operating Systems Since Jul 10,2006 [0]> :c _______________________________________________ networking-discuss mailing list [email protected]
