Ticket #3 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

tcpprep & tcprewrite shouldn't require root access

Reported by: aturner Owned by: aturner
Priority: medium Milestone: 3.0.beta10
Component: tcpprep Version: 3.0.beta7
Keywords: Cc:
Operating System: N/A Add to FAQ?:
Hardware: All
Output of tcpreplay -V:

Description (last modified by aturner) (diff)

Other applications don't need to write to a raw socket, etc, so there is no technical need for them to require root access other then libnet.

See about removing libnet_init() from all binaries other then tcprewrite so we don't have to run as root:

  • libnet_addr2name4 (ignore, doesn't require libnet_t context)
  • libnet_name2addr4
  • libnet_get_hwaddr
  • libnet_do_checksum

Change History

comment:1 Changed 6 years ago by aturner

  • Description modified (diff)

comment:2 Changed 6 years ago by aturner

  • Hardware set to All
  • Status changed from new to assigned
  • Milestone changed from 3.0.0 to 3.0.beta10

comment:3 Changed 6 years ago by aturner

  • Milestone changed from 3.0.beta10 to 3.0.RC1

tcpbridge isn't set to be working until rc1, so move this ticket to then.

comment:4 Changed 6 years ago by aturner

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from 3.0.RC1 to 3.0.beta10

tcpprep and tcprewrite don't require root access anymore. flowreplay and tcpbridge don't work, but whatever... close the ticket.

comment:5 Changed 6 years ago by aturner

  • Summary changed from only tcpreplay/tcpbridge should run as root to tcpprep & tcprewrite shouldn't require root access
Note: See TracTickets for help on using tickets.