Re: Best way to intercept inbound and outbound TCP packets
- From: "Ridwan Nurhayat" <ridwan.nurhayat@xxxxxxxxx>
- Date: 10 Dec 2006 02:10:10 -0800
You must write one netfilter module and one iptables module and compile
it and then activate netfilter module from iptables.
will_u_tellmemore wrote:
Tauno Voipio wrote >>
If it's enough to get the packets (but not chenge them before
forwarding), have a look at libpcap.
I also need to send fake packets to Kernel TCP layer through my hooks
If it's something else, please explain what you're attempting
to achieve.
I am trying to implement Fault tolerant TCP support through a loadable
kernel module. For which i need to log every incoming TCP packet and
sometimes generate fake ones.
Also after looking into IPFilter source code , i think it doesn't
export any such interface for hooks but it itself uses such things. On
linux it uses Netfilter and On Solaris it uses pfil module.
So i feel i really don't have 2 options like Netfilter & IpFilter but
only one i.e. NetFilter. These 2 things seem to be different.
Thanks ,
Rohit
.
- References:
- Best way to intercept inbound and outbound TCP packets
- From: will_u_tellmemore
- Re: Best way to intercept inbound and outbound TCP packets
- From: Tauno Voipio
- Re: Best way to intercept inbound and outbound TCP packets
- From: will_u_tellmemore
- Best way to intercept inbound and outbound TCP packets
- Prev by Date: Re: Getting past router?
- Next by Date: error with multiple SAs (and a Cisco router)
- Previous by thread: Re: Best way to intercept inbound and outbound TCP packets
- Next by thread: Re: Best way to intercept inbound and outbound TCP packets
- Index(es):
Relevant Pages
|