[ 
https://issues.apache.org/jira/browse/METRON-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559542#comment-16559542
 ] 

ASF GitHub Bot commented on METRON-1671:
----------------------------------------

Github user tiborm commented on a diff in the pull request:

    https://github.com/apache/metron/pull/1103#discussion_r205732629
  
    --- Diff: 
metron-interface/metron-alerts/src/app/pcap/pcap-packet-line/pcap-packet-line.component.ts
 ---
    @@ -0,0 +1,55 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +import { Component, OnInit, Input } from '@angular/core';
    +import { PdmlPacket, PdmlProto, PdmlField } from '../model/pdml'
    +
    +@Component({
    +  selector: '[app-pcap-packet-line]',
    +  templateUrl: './pcap-packet-line.component.html',
    +  styleUrls: ['./pcap-packet-line.component.scss']
    +})
    +export class PcapPacketLineComponent implements OnInit {
    +
    +  @Input() packet: PdmlPacket
    +
    +  ip: {
    +    timestamp: PdmlField,
    +    ip_src_addr: PdmlField, ip_src_port: PdmlField,
    +    ip_dest_addr: PdmlField, ip_dest_port: PdmlField,
    +    protocol: PdmlField
    +  }
    +
    +  constructor() { }
    +
    +  ngOnInit() {
    +    let gen_proto: PdmlProto = this.packet.protos.filter(p => p.name == 
"geninfo")[0]
    --- End diff --
    
    Thanks @merrimanr! I addressed this in a new commit.


> Create PCAP UI
> --------------
>
>                 Key: METRON-1671
>                 URL: https://issues.apache.org/jira/browse/METRON-1671
>             Project: Metron
>          Issue Type: Sub-task
>            Reporter: Tibor Meller
>            Priority: Major
>
> The initial feature set of PCAP UI is the follwing:
>  - Filtering by
>   - IP Source Address
>   - IP Source Port
>   - IP Dest Address
>   - IP Dest Port
>   - Protocol
>   - Include Reverse Traffic
>   - Free text filtering
>  - Showing PDML result



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to