Menu

Exception on Centos 7

turvas
2016-06-02
2018-04-19
  • turvas

    turvas - 2016-06-02

    When trying to capture ERSPAN and send it out from other interface (eno33559296) following exception is thrown (and program exits) as soon as any ERSPAN packet arrives in ingress interface (eno16780032):

    $ rcdcap --erspan -i eno16780032 -I eno33559296
    listening on eno16780032 (EN10MB), capture size 1518 bytes
    worker threads: 2 on 2 CPUs
    terminate called after throwing an instance of '**RCDCap::Exception**'
      what():  /home/user/RCDCap-0.7.99-Source/src/sink.cc:412: failed to send packet: No such device or address
    

    interface from where decapsulated packets should exit is ok:

    $ ifconfig eno33559296
    eno33559296: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 172.16.4.112  netmask 255.255.255.0  broadcast 172.16.4.255
            inet6 fe80::250:56ff:fea4:394b  prefixlen 64  scopeid 0x20<link>
            ether 00:50:56:a4:39:4b  txqueuelen 1000  (Ethernet)
            RX packets 25  bytes 5709 (5.5 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 23  bytes 3533 (3.4 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    

    any suggestions?
    br,

     
  • Zero effect

    Zero effect - 2016-06-06

    You can probably open up a tap device (-t option) and then bridge it with your device.

     
  • black88mx6

    black88mx6 - 2018-04-19

    I am having the same issue on Ubuntu 16.04.4 LTS, sending to briged ethernet/tap seems modify the packets. Any aditional details on why the -I is not working? Permissions?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.