ipf question

看板FB_security作者時間21年前 (2005/01/19 23:46), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
Hello. I am a relatively new FreeBSD user. I have samba, ssh and vnc server running on it. I am also trying to set up the IPFILTER on it. I used the handbook to familiarize myself with the software and the sample script provided in the chapter discussing ipf, I decided to use as a starting point. After reading the ipf chapter I assumed that if "block in log first quick on xl0 all" is used, everything which is not opened by default will be blocked. Now I opened only samba and ssh ports: pass in quick on xl0 proto tcp/udp from any to any port 137 <> 139 keep state pass in quick on xl0 proto tcp/udp from any to any port = 445 keep state pass in quick on xl0 proto tcp from any to any port = 22 flags S keep state However I am able to connect to the vncserver, without actually opening it in the script. I guess my assumption was wrong, please let me know if I missed on something. Michael _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #11xe3Z00 (FB_security)
文章代碼(AID): #11xe3Z00 (FB_security)