[Bro-Dev] [JIRA] (BIT-1124) process command misplaces custom scripts

2014-01-31 Thread Robin Sommer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Sommer updated BIT-1124:
--

Resolution: Merged  (was: Fixed)
Status: Closed  (was: Merge Request)

 process command misplaces custom scripts
 

 Key: BIT-1124
 URL: https://bro-tracker.atlassian.net/browse/BIT-1124
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Robin Sommer
 Fix For: 2.3


 {noformat}
 # cat test.bro
 @load base/utils/site
 print Site::local_nets;
 {noformat}
 {{broctl  process trace.pcap test.bro}} gives:
 {noformat}
 error in /usr/local/bro-2.2/share/bro/policy/misc/loaded-scripts.bro, line 4: 
 syntax error, at or near “module
 {noformat}
 I believe it's due to test.bro being placed in the middle of the command line 
 that {{process}} builds. If I move it to the end, it works fine.



--
This message was sent by Atlassian JIRA
(v6.2-OD-07-028#6211)

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1124) process command misplaces custom scripts

2014-01-30 Thread Daniel Thayer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Thayer updated BIT-1124:
---

Fix Version/s: 2.3

 process command misplaces custom scripts
 

 Key: BIT-1124
 URL: https://bro-tracker.atlassian.net/browse/BIT-1124
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Robin Sommer
 Fix For: 2.3


 {noformat}
 # cat test.bro
 @load base/utils/site
 print Site::local_nets;
 {noformat}
 {{broctl  process trace.pcap test.bro}} gives:
 {noformat}
 error in /usr/local/bro-2.2/share/bro/policy/misc/loaded-scripts.bro, line 4: 
 syntax error, at or near “module
 {noformat}
 I believe it's due to test.bro being placed in the middle of the command line 
 that {{process}} builds. If I move it to the end, it works fine.



--
This message was sent by Atlassian JIRA
(v6.2-OD-07-028#6211)

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1124) process command misplaces custom scripts

2014-01-30 Thread Daniel Thayer (JIRA)

[ 
https://bro-tracker.atlassian.net/browse/BIT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=15311#comment-15311
 ] 

Daniel Thayer commented on BIT-1124:


In branch topic/dnthayer/ticket1124, I've changed the order of 
scripts so that user-specified scripts are always at the end of
the Bro command, and I've improved the broctl help message
to show how the process command should be used.


 process command misplaces custom scripts
 

 Key: BIT-1124
 URL: https://bro-tracker.atlassian.net/browse/BIT-1124
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Robin Sommer
 Fix For: 2.3


 {noformat}
 # cat test.bro
 @load base/utils/site
 print Site::local_nets;
 {noformat}
 {{broctl  process trace.pcap test.bro}} gives:
 {noformat}
 error in /usr/local/bro-2.2/share/bro/policy/misc/loaded-scripts.bro, line 4: 
 syntax error, at or near “module
 {noformat}
 I believe it's due to test.bro being placed in the middle of the command line 
 that {{process}} builds. If I move it to the end, it works fine.



--
This message was sent by Atlassian JIRA
(v6.2-OD-07-028#6211)

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1124) process command misplaces custom scripts

2014-01-30 Thread Daniel Thayer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Thayer updated BIT-1124:
---

Status: Merge Request  (was: Open)

 process command misplaces custom scripts
 

 Key: BIT-1124
 URL: https://bro-tracker.atlassian.net/browse/BIT-1124
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Robin Sommer
 Fix For: 2.3


 {noformat}
 # cat test.bro
 @load base/utils/site
 print Site::local_nets;
 {noformat}
 {{broctl  process trace.pcap test.bro}} gives:
 {noformat}
 error in /usr/local/bro-2.2/share/bro/policy/misc/loaded-scripts.bro, line 4: 
 syntax error, at or near “module
 {noformat}
 I believe it's due to test.bro being placed in the middle of the command line 
 that {{process}} builds. If I move it to the end, it works fine.



--
This message was sent by Atlassian JIRA
(v6.2-OD-07-028#6211)

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1124) process command misplaces custom scripts

2014-01-29 Thread Robin Sommer (JIRA)
Robin Sommer created BIT-1124:
-

 Summary: process command misplaces custom scripts
 Key: BIT-1124
 URL: https://bro-tracker.atlassian.net/browse/BIT-1124
 Project: Bro Issue Tracker
  Issue Type: Problem
  Components: BroControl
Affects Versions: 2.2
Reporter: Robin Sommer


{noformat}
# cat test.bro
@load base/utils/site
print Site::local_nets;
{noformat}

{{broctl  process trace.pcap test.bro}} gives:

{noformat}
error in /usr/local/bro-2.2/share/bro/policy/misc/loaded-scripts.bro, line 4: 
syntax error, at or near “module
{noformat}

I believe it's due to test.bro being placed in the middle of the command line 
that {{process}} builds. If I move it to the end, it works fine.




--
This message was sent by Atlassian JIRA
(v6.2-OD-07-028#6211)

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev