chris wrote:

> Thanks for the help with setting up accounting but one small hitch ..
> ftp !
> 
> when I use prot 21 I never seem to get any trafic 
> I think my rules are ok , they seem to work for stmp,pop and www 
> 
> ALL="0.0.0.0/0"
> 
> /sbin/ipfwadm -A out -a -P tcp -S $PPPREMOTE -D $ALL $PORT -x

Odd. Note that port 21 is only the control channel, so you won't see
*much* traffic, but you should see some.

For active-mode FTP, adding a rule with a remote port of 20 will count
the traffic on the data channel. You can't track passive-mode FTP, as
both ends use ephemeral ports.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to