Log ftp packet on PF with ftp-proxy on
I'm trying to log FTP connexions coming from WAN to a FTP server through my PF which have ftp-proxy set on.
FTP connexions are all ruled like this :
rdr pass on $ext_if proto tcp from <adminssh> to $crt_lr port 21 -> 127.0.0.1 po rt 8021
pass in log on $ext_if proto tcp from any port 21 to <filtre_ftp> label filtreftp
I launch a pflogd with this way :
pflogd -s 116 -i pflog0 -f /var/log/pflog.ftp ruleset filtreftp
tcpdump -ttt -e -r /var/log/pflog.ftp
Am I right?
I'm not very familiar with PF (2 weeks practicing).
Forgive me if I made some English error or if I'm not very clear.
|Thread||Thread Starter||Forum||Replies||Last Post|
|sshguard and packet filter||sputnik||OpenBSD Security||0||18th April 2009 02:11 PM|
|Packet Sniffer for OpenBSD.||bsdnewbie999||OpenBSD General||6||26th October 2008 02:28 AM|
|packet filter configuration.||bsdnewbie999||OpenBSD General||1||23rd October 2008 08:54 AM|
|vr0: rx packet lost||tutosun||FreeBSD General||4||13th September 2008 10:13 AM|
|question about Packet Filter (pf)||milo974||OpenBSD Security||2||31st July 2008 01:39 PM|