Re: Traffic account in debian

2001-10-07 Thread Christian Hammers

On Wed, Oct 03, 2001 at 11:22:24AM +1000, Mario Zuppini wrote:
 Im desperately after an accounting / reporting tool for debian that
 shall report every bit of traffic per IP through 
Try nacct, gives very much details and has a mysql backend.

bye,

-christian-

-- 
Very funny, Scotty.  Now beam down my clothes.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: iptables and routing

2001-10-07 Thread Peter Billson

Take a look at using iproute2.
http://www.linuxguruz.org/iptables/howto/Adv-Routing-HOWTO.html#s4


Robert Davidson wrote:
 
 Hi Everyone :)
 
 I've got a problem and I can't seem to find a solution without putting
 another computer in the works as a router, which isn't really a good
 solution.
 
 I'm using kernel 2.4.10, iptables and some policy routing.
 
 What I would like to do (if it's possible) is decide which network
 interface a packet goes out depending on which program generated it
 locally.  For example, if Apache generates a packet, I always want it
 to go out of cipcb0 (vpn interface).
 
 I have some live IP's routed over the cipcb0 interface, and that goes
 over my cable link.  I'm not allowed to simply serve pages on the
 cable modem IP because it's against their acceptable use policy, and
 I've already had my account suspended once for doing that.  Anyway,
 the problem is, when someone is using the same cable provider as I do,
 if their proxy server gets the request it will ask my server to give
 it the page, but the server won't send the data out of cipcb0 because
 there is a host route pointing to the cable providers proxy/dns server
 as I want to be able to use their proxy/dns servers myself, and
 because the packet comes back to the cable provider through the cable
 modem, it gets dropped, thus there is a large area around me where
 users on the same cable provider that I use can not access any of my
 web pages.
 
 Does anyone know how to fix this problem?  I've had a play with
 marking packets based on UID and so on in an effort to use the policy
 routing stuff to route the packets up to the cipcb0 interface, but I
 havn't has any success yet.
 
 --
 Regards,
 Robert Davidson.
 http://www.mlug.org.au/
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: iptables and routing

2001-10-07 Thread Robert Davidson

Peter Billson wrote:
 
 Take a look at using iproute2.
 http://www.linuxguruz.org/iptables/howto/Adv-Routing-HOWTO.html#s4

Read that many times in the past, hasn't helped.  I'll go back to
square one and see if I can get the thing to work how I want it to,
but I don't think I'll have any success.  I've done policy routing
before (and am still using it) but I've never managed to get packets
that are generated on the same machine as is holding the uplinks to
route the packets where I want them to go.

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: iptables and routing

2001-10-07 Thread Remco van de Meent

Robert Davidson wrote:
 Peter Billson wrote:
  
  Take a look at using iproute2.
  http://www.linuxguruz.org/iptables/howto/Adv-Routing-HOWTO.html#s4
 
 Read that many times in the past, hasn't helped.  I'll go back to
 square one and see if I can get the thing to work how I want it to,
 but I don't think I'll have any success.  I've done policy routing
 before (and am still using it) but I've never managed to get packets
 that are generated on the same machine as is holding the uplinks to
 route the packets where I want them to go.

I've got something similar working just fine.

What you need to do is, roughly:

  o  in the OUTPUT table, mark the packets you want to go through your
 secure connection with some value. E.g. match on source port 80
 and owner nobody;

  o  make sure that packets marked with that value are processed in a
 seperate routing table, using 'ip rule', and setup that routing
 table according to your demands

In my case the idea is that I have two uplinks and I want some
applications to use the first uplink, and use the second by default.


regards,
Remco.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




accounting program for ISP/webhosting

2001-10-07 Thread Duane Powers

Hey list,

I'm wondering what the debian faithful are using for customer records, 
billing software and the like.  I've found freeside, does anyone know 
anything of it? Suggestions, experiences and urls welcome.

Thanks for the help,

~duane


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Hanging run-parts weirdness!!!

2001-10-07 Thread BeerBong

Ok...
I don't know why...
I type
--
run-parts --report /etc/cron.daily
--
/etc/cron.daily contains standart scripts
--
maul:/etc/cron.daily# ls
calendar  exim  find  man-db  modutils  netbase  proftpd  quota  samba
standard  sysklogd
--
run-parts is hanging in a moment
ps axf
--
 6177 pts/2S  0:00  \_ -sh
16310 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16388 pts/2Z  0:00  \_ [man-db defunct]
--
Ctrl+C
second time
--
 6177 pts/2S  0:00  \_ -sh
16309 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16387 pts/2Z  0:00  \_ [netbase defunct]
--
third
--
 6177 pts/2S  0:00  \_ -sh
16308 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16386 pts/2Z  0:00  \_ [find defunct]
--
19231 pts/2S  0:00  \_ -usr/bin/tcsh
 6177 pts/2S  0:00  \_ -sh
16476 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16574 pts/2Z  0:00  \_ [modutils defunct]
--
19231 pts/2S  0:00  \_ -usr/bin/tcsh
 6177 pts/2S  0:00  \_ -sh
16617 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16689 pts/2Z  0:00  \_ [find defunct]
--
19231 pts/2S  0:00  \_ -usr/bin/tcsh
 6177 pts/2S  0:00  \_ -sh
16730 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16879 pts/2Z  0:00  \_ [sysklogd defunct]
--

What the hell is going on 
Every time different script, and if  I run every script manually it is
completed in a moment without problems!
Kernel is 2.4.10 (on 2.4.9 was the same problems)
Logs are clean. Machine is loaded by _many_ other jobs without any problems,
I don't think that reason is broken memory, but I have another machines with
the same Debian and kernel and daily scripts without any problems. Though,
other machines less loaded.
It's a very big trouble for me - please help.

Thanx in advance,
---
Sergey BeerBong Polyakov
chief of WebZavod (http://www.webzavod.ru)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]