8000 Comparing v0.6.8...v0.6.9 · netsniff-ng/netsniff-ng · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netsniff-ng/netsniff-ng
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.8
Choose a base ref
...
head repository: netsniff-ng/netsniff-ng
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.9
Choose a head ref
  • 18 commits
  • 16 files changed
  • 9 contributors

Commits on Mar 29, 2021

  1. Add GitHub action for build testing

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    e9c2e1b View commit details
    Browse the repository at this point in the history
  2. Remove Travis CI integration

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    d39ef2a View commit details
    Browse the repository at this point in the history
  3. Remove mentions of Travis CI in docs and config

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    02d9fbd View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. trafgen: allow to set packet rate in kpps and Mpps

    Signed-off-by: Ivan Koveshnikov <ivan.koveshnikov@gcorelabs.com>
    vankoven authored and tklauser committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    5a9ca62 View commit details
    Browse the repository at this point in the history
  2. trafgen: allow to use a range of CPUs starting from any CPU

    Signed-off-by: Ivan Koveshnikov <ivan.koveshnikov@gcorelabs.com>
    vankoven authored and tklauser committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    dc57838 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. Detect libpcap dependencies using pkg-config

    When building statically the link command line must include all
    dependencies of all libraries. libpcap can optionally depend on libnl.
    mausezahn can't build statically in this case.
    
    Use pkg-config in configure and in the link command to construct the
    library flags we need to link with libpcap.
    
    Signed-off-by: Baruch Siach <baruch@tkos.co.il>
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    baruchsiach authored and tklauser committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    194ec61 View commit details
    Browse the repository at this point in the history
  2. trafgen.8: fix typo in example packet

    First MAC address is destination, but the second is source.
    
    Signed-off-by: Baruch Siach <baruch@tkos.co.il>
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    baruchsiach authored and tklauser committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    2d4ab8e View commit details
    Browse the repository at this point in the history
  3. ci: install libsodium in build tests

    This allows to test the curvetun build.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    837bf93 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. trafgen: Fix documentation for seqinc and seqdec

    These functions take the "times" argument as the second parameter, not
    the third.
    
    Fixes: 00e83a5 ("man: trafgen: finish syntax section")
    Signed-off-by: Sean Anderson <sean.anderson@seco.com>
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    sean-anderson-seco authored and tklauser committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    963e183 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Cmds: automatically create folder

    When installing netsniff-ng, the make install complain when
    the folder are not present.
    
    Let's create them for the user.
    
    Signed-off-by: Clément Péron <peron.clem@gmail.com>
    clementperon authored and tklauser committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    7c1f459 View commit details
    Browse the repository at this point in the history
  2. netsniff-ng: dump stats on stderr when fdo is stdout

    When the output of netsniff-ng is configured as stdout, there is
    no more stats outputed.
    
    Let's output them on stderr.
    
    Signed-off-by: Clément Péron <peron.clem@gmail.com>
    clementperon authored and tklauser committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    f0187ac View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. trafgen: Check pointer in ipv6 device address lookup function

    The getifaddrs function returns a linked list node for L2
    even in the case of L3 interfaces (e.g. a TUN device), but
    with the pointer to the address structure set to NULL.
    This causes a segfault when trying to access the address
    family from it when such network interfaces are present
    in the system.
    
    The issue is solved by checking the validity of the pointer
    beforehand: if the address structure is present the address
    family can be fetched and the current iteration can go on
    safely, otherwise the node is skipped (as it is not linked
    to any address).
    
    Signed-off-by: Matteo Perin <matteoperin1302@gmail.com>
    MatPerin authored and tklauser committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    b23c151 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. mausezahn: use getopt_long instead of getopt

    The musl getopt stops processing the options at the first non-option
    argument comapared to the glibc variant. Using getopt_long fixes this
    problem.
    
    Signed-off-by: Zahari Doychev <zahari.doychev@linux.com>
    Zahari Doychev authored and tklauser committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    519aae7 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. build: fix install dependencies in Makefile template

    post_install should execute after do_install otherwise when building
    in parallel (-j) this leads to sporadic failures of trafgen stddef
    header, since it is installed in do_install but then post_install
    does a mv supposing it is already there, for example:
    
    ```
      INST	netsniff-ng/netsniff-ng
      INST	trafgen/trafgen
    mv: cannot stat '/tmp/a/pref/etc/netsniff-ng/trafgen_stddef.h': No such file or directory
    make: *** [trafgen/Makefile:57: trafgen_post_install] Error 1
    make: *** Waiting for unfinished jobs....
      INST	netsniff-ng/netsniff-ng.8.gz
      INST	trafgen/trafgen.8.gz
      INST	ether.conf
      INST	tcp.conf
      INST	trafgen_stddef.h
    ```
    
    (it is visible above that the stddef.h is installed later than the post
    is trying to move it away)
    
    Forcing the order of post after do will guarantee that it will be there
    when it needs to be moved and it will be safe to do a parallel install.
    Just relying on the ordering of the $(1)_install definition is wrong and
    dependant on make version (and luck!).
    fedepell authored and tklauser committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    36f5b55 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. trafgen: move cpu stats temp file to /tmp

    we run firmware where / is read only, so trafgen won't run unless we
    first cd to /tmp or something. since the file is small and unlinked
    immediately anyway, explicitly put it into /tmp, to avoid permission
    errors elsewhere in a read-only filesystem.
    
    Signed-off-by: Nick Owens <mischief@offblast.org>
    mischief authored and tklauser committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b22308f View commit details
    Browse the repository at this point in the history
  2. ring_tx: handle EINTR from sendto

    sendto(2) may return EINTR, if signals arrive during the syscall, such
    as the SIGALRM from setitimer(2).
    
    handle EINTR in both pull_and_flush_tx variants.
    
    Signed-off-by: Nick Owens <mischief@offblast.org>
    mischief authored and tklauser committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    23f305e View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. trafgen: stop handling -k/--kernel-pull

    The -k/--kernel-pull option was deprecated and has been a no-op since
    commit 190dc78 ("trafgen: Don't expose -k/--kernel-pull anymore and
    warn if it still used"), part of release 0.5.9 in 2014. More then ten
    years should have been enough to convert any scripts still making use of
    the option.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Jan 7, 2025
    Configuration menu
    Copy the full SHA
    dcee710 View commit details
    Browse the repository at this point in the history
  2. netsniff-ng v0.6.9

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Jan 7, 2025
    Configuration menu
    Copy the full SHA
    fb6183f View commit details
    Browse the repository at this point in the history
Loading
0