Re: Bandwidth Control

2001-09-19 Thread Charl Matthee
On Fri Aug 24 2001 at 10:49:35AM -0300 'Rodrigo Cesar Herefeld' <[EMAIL PROTECTED]> wrote: > May i use shaper control to configure the max bandwidth each user on a > system con access? > If not , wich program may i use for that?? > I have one box with kern 2.2.19 and intend to use this to c

Re: Remote IP for inetd "daemon"

2001-09-19 Thread Robert Waldner
On Tue, 18 Sep 2001 09:55:06 PDT, "Jeremy C. Reed" writes: >On Tue, 18 Sep 2001, Marcel Hicking wrote: > >> I have a script invoked via inetd. >> How can I let the script know of the IP of the client >> connecting (remote IP)? >> I need to do some additional security checks not >> possible with h

Re: Remote IP for inetd "daemon"

2001-09-19 Thread Marcel Hicking
Thanks a lot! Does exactly what I need. Cheers, Marcel Jeremy C. Reed <[EMAIL PROTECTED]> 18 Sep 2001, at 9:55: > On Tue, 18 Sep 2001, Marcel Hicking wrote: > > > I have a script invoked via inetd. > > How can I let the script know of the IP of the client > > connecting (remote IP)? I need to

Re: Remote IP for inetd "daemon"

2001-09-19 Thread Marcel Hicking
The problem is the redirect. When redirecting, the prog doesn't get peername anymore. I first thought the redirect to the logfile didn't work. If you add an else strement to the prog you see where the problem is: #include #include #include #include #include int main (int argc, char *argv[])

Re: Remote IP for inetd "daemon"

2001-09-19 Thread Robert Waldner
On Wed, 19 Sep 2001 15:06:24 +0200, "Marcel Hicking" writes: >The problem is the redirect. >When redirecting, the prog doesn't >get peername anymore. Ah, thanks! So now I simply send the IP to stderr and everything´s fine: if (getpeername((int) 1, (struct sockaddr *) & name, (socklen

Re: Remote IP for inetd "daemon"

2001-09-19 Thread Jeremy C. Reed
On Wed, 19 Sep 2001, Robert Waldner wrote: > >Then compile it with "gcc -o getpeername getpeername.c". Then use the > >getpeername executable in your script. > > Hmm, this doesn´t work for me. If I invoke it via > inetd.conf: > sunrpc stream tcp nowait nobody /usr/local/bin/test.sh test.sh > >

Re: VIM

2001-09-19 Thread mose
On Wed, Sep 19, 2001 at 01:40:17PM +1000, Craig Sanders wrote: > On Tue, Sep 18, 2001 at 06:53:00AM -0400, Jesse Goerz wrote: > > On Tuesday 18 September 2001 04:38, Craig wrote: > > > Need to do an extended find and replace with VIM, anyone > > > know the syntax for me ? I have a really long name

VLAN Capable NIC.

2001-09-19 Thread James Tyson
Hi all. I am using the 802.1q VLAN patches from http://scry.wanfear.com/~greear/vlan.html however I find that loads of CPU is being used inspecting every frame looking for 802.1q headers, does anyone know of any NIC's with hardware VLAN support and working drivers for linux? Cheers. James Tyso