[Bug 505] iptables-save still doesn't like quotes
bugzilla-daemon at bugzilla.netfilter.org
bugzilla-daemon at bugzilla.netfilter.org
Mon Aug 28 16:58:50 CEST 2006
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=505
------- Additional Comments From maxim.britov at gmail.com 2006-08-28 16:58 MET -------
sorry, first example wrong
# ./iptables -A INPUT -m string --algo kmp --string 111\"222 -j LOG
# ./iptables-save >test1
# cat test1
# Generated by iptables-save v1.3.5 on Mon Aug 28 17:21:18 2006
*filter
:INPUT ACCEPT [510:581590]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [441:34843]
-A INPUT -m string --string "111\"222" --algo kmp --to 65535 -j LOG
COMMIT
# Completed on Mon Aug 28 17:21:18 2006
# cat test1 | ./iptables-restore
# ./iptables-save
# Generated by iptables-save v1.3.5 on Mon Aug 28 17:21:42 2006
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m string --string "11\\"222" --algo kmp --to 65535 -j LOG
COMMIT
# Completed on Mon Aug 28 17:21:42 2006
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the netfilter-buglog
mailing list