All of lore.kernel.org
 help / color / mirror / Atom feed
* ip_nat_mangle_udp_packet problems
@ 2005-05-05 16:32 Christian Hentschel
  2005-05-06 16:24 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Hentschel @ 2005-05-05 16:32 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

Hi, 
	i hope someone could answer this problem i'm experimenting. I'm writing
a SIP/RTP conntrack/NAT helper, and i need to mangle packets multiple
times, since there are lots of fields to be mangled.
	I'm using new conntrack/nat framework (>2.6.11) and the way i took to
do it is causing me some problems.
	Basically, i just look for string into the packet, mangle it and call
ip_nat_mangle_udp_packet(). The problem is when i try to search the
nexts strings, i get the wrong offsets. 
I saw ip_nat_mangle_udp_packet() does not do it manipulation
immediatelly. Please could someone explain this ?.
Is there a way to "sync" so have the skbuff mangled immediately?
is multiple manips of the packets supported in new framework?. 

Thanks in advance. 

-- 
Christian Hentschel <chentschel@arnet.com.ar>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-06 18:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-05 16:32 ip_nat_mangle_udp_packet problems Christian Hentschel
2005-05-06 16:24 ` Patrick McHardy
2005-05-06 18:27   ` Christian Hentschel
2005-05-06 18:36     ` Patrick McHardy
2005-05-06 18:50       ` Christian Hentschel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.