xosview Re: IP address and ipfwadm

1997-09-24 Thread Carey Evans
Lawrence <[EMAIL PROTECTED]> writes: [snip] > xosview stalls once I execute either one of the above commands, it seems > that xosview expects a non-anywhere source/destination. I expect this would be because it wants to track both incoming and outgoing packets separately. It shouldn't lock up t

Re: IP address and ipfwadm

1997-09-23 Thread Lawrence
Elie Rosenblum wrote: > $IPADDR=`ifconfig ppp0|perl -ne 'print $1 if (/inet addr:(\S+)\s/);'` > ipfwadm -A -a -P $IPADDR -D 0/0 It is what I want, thanks, though I found that I don't need '$' for the first line. Lawrence -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to

Re: IP address and ipfwadm

1997-09-23 Thread Lawrence
Carey Evans wrote: > Apart from looking at ip-up, I'd suggest you also think about other > ways of doing this, like: > > # ipfwadm -A -a > > if you only have the dialup interface, or > > # ipfwadm -A -a -W ppp0 > > if you just want to do accounting on your PPP connections. xosview stal

Re: IP address and ipfwadm

1997-09-22 Thread Carey Evans
Lawrence <[EMAIL PROTECTED]> writes: > I am using dialup PPP and need to run ipfwadm everytime I connect to my > ISP. I know that I can put ipfwadm into /etc/rc file. What is the > best/easy way to get the IP address other than using ifconfig or route > (they are not good because the output is m

Re: IP address and ipfwadm

1997-09-21 Thread Elie Rosenblum
On Mon, 22 Sep 1997, Lawrence wrote: > I am using dialup PPP and need to run ipfwadm everytime I connect to my > ISP. I know that I can put ipfwadm into /etc/rc file. What is the > best/easy way to get the IP address other than using ifconfig or route > (they are not good because the output is mo

Re: IP address and ipfwadm

1997-09-21 Thread Martin Str|mberg
In article <[EMAIL PROTECTED]> Lawrence wrote: : I am using dialup PPP and need to run ipfwadm everytime I connect to my : ISP. I know that I can put ipfwadm into /etc/rc file. What is the : best/easy way to get the IP address other than using ifconfig or route : (they are not good because the ou