Hello, Everybody a happy new year!! I have a 2 NIC shorewall configuration runnning. On this server I have a service running of which I want to account data but can''t find the correct configuration. The service is listening on port 1000 here and in the rules file just an accept is there. In the accounting file I tried several different lines but none of them are counting data. How can I count data which comes in on eth0 and data is also leaving the system on eth0 I tried : dream:COUNT - eth0 eth0 tcp - 1000 DONE dream but the counter stays zero all the time. When I ran the server on the internal LAN and was portforwarding I could count the data. Anybody got an idea? -- Groeten, Peter -- We prefer not to change the root password, it''s an nice easy one --- --- Heb je een Dreambox 7000S ? --- Kijk eens op http://www.dreamvcr.com --- Kijk ook op http://www.lindeman.org --- ICQ 22383596 --- Uptime lindeman.org - 30 days, 1 hours and 43 minutes, 1 user logged in.
On Fri, 2 Jan 2004, Peter Lindeman wrote:> Hello, > > Everybody a happy new year!! > > I have a 2 NIC shorewall configuration runnning. On this server I have a > service running of which I want to account data but can''t find the > correct configuration. The service is listening on port 1000 here and in > the rules file just an accept is there. In the accounting file I tried > several different lines but none of them are counting data. How can I > count data which comes in on eth0 and data is also leaving the system on > eth0 > > I tried : > > dream:COUNT - eth0 eth0 tcp - 1000 > DONE dream > > but the counter stays zero all the time. When I ran the server on the > internal LAN and was portforwarding I could count the data. Anybody got > an idea? >At the bottom of http://www.shorewall.net/Accounting.html is an example of accounting for a one-interface server listening on port 80 (HTTP). Are you telling me that you are having problems translating that example to port 1000? -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
Tom Eastep schreef:>>but the counter stays zero all the time. When I ran the server on the >>internal LAN and was portforwarding I could count the data. Anybody got >>an idea? >> > > > At the bottom of http://www.shorewall.net/Accounting.html is an example of > accounting for a one-interface server listening on port 80 (HTTP). Are you > telling me that you are having problems translating that example to port > 1000? >You are right, I didn''t notice this was an example which I could use in my situation. Now it is working again! -- Groeten, Peter -- The remote server does not support encryption. --- --- Heb je een Dreambox 7000S ? --- Kijk eens op http://www.dreamvcr.com --- Kijk ook op http://www.lindeman.org --- ICQ 22383596 --- Uptime lindeman.org - 30 days, 19 hours and 1 minutes, 0 users logged in.