sleinen / samplicator

Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing
GNU General Public License v2.0
391 stars 133 forks source link

Config file not supporting spoofing parameters available via CLI. #24

Open sleinen opened 9 years ago

sleinen commented 9 years ago

From gil...@gmail.com on August 30, 2012 01:33:00

What steps will reproduce the problem? 1. Running samplicator in spoofing mode while trying to use the config file instead of the CLI. What is the expected output? What do you see instead? The expected behavior is to have a config file option to allow spoofing which presently doesn't seem to exist. The current behavior is insufficient because this mode can only be enabled via the CLI which causes a discrepancy between CLI versus config file modes of use. What version of the product are you using? On what operating system? 1.3.6 and 1.3.7 beta

OS: Redhat Linux Please provide any additional information below. We have provided a tentative patch to address this issue.

Original issue: http://code.google.com/p/samplicator/issues/detail?id=25

sleinen commented 9 years ago

From simon.le...@gmail.com on September 05, 2012 05:41:44

Right now, the "configuration file" can only be used to configure source-prefix-to-destination(s) mappings.

I can see how it would be nice if options (globally and/or per-target) could also be specified in the configuration file. But that requires some design effort.

Can you make a proposal on how, in general, options (such as spoofing) could be specified in the configuration file?

Some examples would be sufficient for a start.

Labels: -Type-Defect Type-Enhancement

sleinen commented 9 years ago

From gil...@gmail.com on September 05, 2012 06:57:39

Let's use a -S on each line as you proposed to specify whether a source prefix should be in spoofing mode.

sleinen commented 9 years ago

From simon.le...@gmail.com on September 05, 2012 07:05:55

Let's use a -S on each line as you proposed to specify whether a source prefix should be in spoofing mode.

Where on each line?

sleinen commented 9 years ago

From gil...@gmail.com on September 05, 2012 07:11:22

I'm not too particular. The beginning would be fine. So long as it works.