[ https://bro-tracker.atlassian.net/browse/BIT-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23824#comment-23824 ]
Justin Azoff commented on BIT-1521: ----------------------------------- Gah. It looks like coming up with a test case for this will be a pain. The existing pcap doesn't get detected as gridftp-data since the transfer size is too small: {code} jazoff@Justins-MacBook-Air /tmp/b $ bro -r ~/src/bro/testing/btest//Traces/globus-url-copy.trace local base/protocols/ftp/gridftp 'Known::service_tracking=ALL_HOSTS' WARNING: No Site::local_nets have been defined. It's usually a good idea to define your local networks. 20000, 1 jazoff@Justins-MacBook-Air /tmp/b $ cat conn.log |bro-cut id.orig_h id.orig_p id.resp_h id.resp_p service 192.168.57.103 60108 192.168.57.101 2811 ssl,gridftp,ftp 192.168.57.103 35391 192.1 68.57.101 55968 ssl jazoff@Justins-MacBook-Air /tmp/b $ cat known_services.log |bro-cut host port_num service 192.168.57.101 2811 FTP 192.168.57.101 55968 SSL {code} Filtering the ephemeral ssl service running on port 55968 is what I am trying to accomplish here. > known services should probably ignore gridftp-data > -------------------------------------------------- > > Key: BIT-1521 > URL: https://bro-tracker.atlassian.net/browse/BIT-1521 > Project: Bro Issue Tracker > Issue Type: Improvement > Components: Bro > Affects Versions: 2.4 > Reporter: Justin Azoff > Assignee: Justin Azoff > Priority: Low > > known services script does > {code} > if ( ! addr_matches_host(id$resp_h, service_tracking) || > "ftp-data" in c$service || # don't include ftp data sessions > ("DNS" in c$service && c$resp$size == 0) ) # for dns, require > that the server talks. > return; > {code} > but should probably also ignore gridftp-data. Probably a good idea to add a > set of services that behave like ftp for it to check. -- This message was sent by Atlassian JIRA (v7.1.0-OD-04-012#71001) _______________________________________________ bro-dev mailing list bro-dev@bro.org http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev