Bug 1264 - --to-ports does not understand names of ports from /etc/services
Summary: --to-ports does not understand names of ports from /etc/services
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: iptables (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-16 19:58 MSD by Igor Homyakov
Modified: 2005-01-11 15:02 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Homyakov 2002-09-16 19:58:23 MSD
--to-ports не принимает сомвольного имени сервиса.
# iptables -t nat -A PREROUTING -i eth0 -p TCP                                   
--dport http -j REDIRECT --to-ports squid
iptables v1.2.6a: Port squiq\' not valid


---

---

Comment 1 Alexey Voinov 2004-03-23 16:38:56 MSK
fixed in iptables-1.2.9-alt4