# Process packets despite bad checksums.
redef ignore_checksums = T;
This will change significantly with Bro 2.2 when we have the file analysis
| redef record fa_file += { | |
| is_my_extractor_going: bool &default=F; | |
| }; | |
| event file_over_new_connection(f: fa_file, c: connection, is_orig: bool) | |
| { | |
| if ( !f$is_my_extractor_going ) | |
| { | |
| f$is_my_extractor_going=T; | |
| if ( f$source == "HTTP" && is_orig == F ) |
| (* ocamlfind ocamlopt -o exmpl -package curl -linkpkg exmpl.ml *) | |
| open Printf | |
| let _ = Curl.global_init Curl.CURLINIT_GLOBALALL | |
| (* | |
| ************************************************************************* | |
| ** Aux. functions | |
| ************************************************************************* | |
| *) |
| #!/usr/bin/env python | |
| """ | |
| Example fabfile for PyMNtos September 2011 meeting. | |
| some examples of usage: | |
| $ fab -H somehost -- uname -a | |
| $ fab -H somehost run:'uname -a' | |
| $ fab -d example |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>prehensile.networkwatcher</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/bin/python</string> |