Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67065 - ipac-ng has wrong default configuration files
Summary: ipac-ng has wrong default configuration files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 02:46 UTC by Oliver Noekel
Modified: 2004-10-11 16:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Noekel 2004-10-11 02:46:30 UTC
It seems that the config changed with this release: 
http://sourceforge.net/project/shownotes.php?group_id=28513&release_id=239067 

I digged a little deeper and found out that there ist an additional option as the sample original rulefile looks like this: 

Code: 

# Example config file with accounting rules 
# Install as /etc/ipac-ng/rules.conf.iptables 
# 
# Format: 
# Name of rule|direction|interface|protocol|source|destination|extension| 
# WARNING!!!! spaces are not allowed before and after '|'. 
# 
# where 
# Name of rule      Any string to identify this rule 
# direction      ipac~fi  - forward in 
#         ipac~fo  - forward out 
#         ipac~i   - outgoing from machine with ipac-ng to other host(/net) 
#               (or incoming to otherhost) 
#         ipac~o   - incoming to machine with ipac-ng 
#               (or outgoing from otherhost) 
# 
# interface      interface name, '+' means all interfaces (dont try to use ip numbers here!) 
# protocol      tcp | udp | icmp | all 
# source      \ 
# destination      both as described in ipfwadm(8), or empty 
# 

# 
#    W A R N I N G ! ! ! 
# 
# Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter 
# some strange troubles. 

Incoming Total System|ipac~o|eth0|all|||| 
Incoming Total System|ipac~fi|eth0|all|||| 
Outgoing Total System|ipac~i|eth0|all|||| 
Outgoing Total System|ipac~fo|eth0|all|||| 
 


If you count the Pipes there are 7. The option "extension" was added. 
The only thing you have to do is to add another | at the end of each line. 


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-10-11 16:44:48 UTC
Fixed in portage.