[FUG-BR] log do pf

Marcio Luciano Donada mdonada em auroraalimentos.com.br
Qui Jul 14 15:57:25 BRT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pessoal, boa tarde,
uma dúvida
estou tentando ler o log do servidor (pf) com o tcpdump e tenho o
seguinte problema:

#tcpdump -n -e -ttt -i /var/log/pflog
tcpdump: BIOCSETIF: /var/log/pflog: Device not configured

no kernel já tenho habilitado o pflog
device          pf
device          pflog
device          pfsync

saida do ifconfig:
# ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 121.1.16.130 netmask 0xffffff00 broadcast 121.1.16.255
        inet6 fe80::250:daff:fe78:34b0%xl0 prefixlen 64 scopeid 0x1
        ether 00:50:da:78:34:b0
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208
pfsync0: flags=0<> mtu 2020
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6

no /dev:

qos# ls -lh pf
crw-------  1 root  wheel  231,   0 Jul 14 14:52 pf


no /etc/rc.conf
pf_enable="YES"                  # Set to YES to enable packet filter
pf_rules="/home/marcio/qos.conf"         # rules definition file for pf
pf_program="/sbin/pfctl"        # where the pfctl program lives
pflog_enable="YES"               # Set to YES to enable packet filter
logging
pflog_logfile="/var/log/pflog"  # where pflogd should store the logfile
pflog_program="/sbin/pflogd"    # where the pflogd program lives


Alguém tem alguma dica.

[]'s
- --
Márcio Luciano Donada
T.I. Aurora Alimentos - Chapecó(SC)
Cooperativa Central Oeste Catarinense
mdonada at auroraalimentos dot com dot br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC1rWSyJq2hZEymxcRAuo2AKC4XgjzVGEr/plbDPagMRHjEKz6gwCgvq1g
CH7kZxem/2zO9S30yw+gGyg=
=GmeO
-----END PGP SIGNATURE-----


_______________________________________________
Freebsd mailing list
Freebsd em fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br




Mais detalhes sobre a lista de discussão freebsd