Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables --string-replace
@ 2011-01-16 22:43 Ben K
  2011-01-16 23:51 ` Jan Engelhardt
  2011-01-17 13:03 ` /dev/rob0
  0 siblings, 2 replies; 13+ messages in thread
From: Ben K @ 2011-01-16 22:43 UTC (permalink / raw)
  To: netfilter

I'd like to be able to mangle strings passing through my home router
running Openwrt in order to modify/anonymize user-agent strings. I
believe a patch further extending the iptables string extension by
providing string replace functionality was submitted by Michael Rash
back in 2004 (archived at
http://www.spinics.net/lists/netfilter/msg23791.html). This would be
ideal as I could then mangle user-agent headers without eg needing to
run an http proxy.

Does anyone know if the --string-replace functionality ever made it
into iptables? If not, what are my chances of the patch from 2004
playing nice with the current Git head revision?

Thanks very much,
Ben

(BTW what's with the mailing list rejecting HTML emails?! Are we
living in 2001?)

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

end of thread, other threads:[~2011-01-21 10:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-16 22:43 iptables --string-replace Ben K
2011-01-16 23:51 ` Jan Engelhardt
2011-01-16 23:58   ` Ben K
2011-01-17  1:20     ` Jan Engelhardt
2011-01-17  2:44       ` Ben K
2011-01-17  3:41         ` Jan Engelhardt
2011-01-17 10:52           ` Amos Jeffries
2011-01-17 11:27             ` Jan Engelhardt
2011-01-21 10:04           ` Pablo Neira Ayuso
2011-01-21 10:09             ` Jan Engelhardt
2011-01-21 10:24               ` Pablo Neira Ayuso
2011-01-21 10:25         ` Pablo Neira Ayuso
2011-01-17 13:03 ` /dev/rob0

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox