Hi Daniel,
so, what is the story. If I look at the code in
./gmetric4j/src/main/java/ganglia/gmetric/Protocolv31x.java, I find:
public void announce( String name, String value,
GMetricType type, String units, GMetricSlope slope, int tmax,
int dmax, String groupName) throws Exception {
Ganglia_metric_id metric_id = new Ganglia_metric_id();
metric_id.host = InetAddress.getLocalHost().getHostName();
metric_id.name = name;
metric_id.spoof = false;
if ( isTimeToSendMetadata( name ) ) {
encodeGMetric( metric_id, name, value, type, units, slope, tmax,
dmax, groupName );
send(xdr.getXdrData(),xdr.getXdrLength());
}
encodeGValue( metric_id, value );
send(xdr.getXdrData(),xdr.getXdrLength());
}
which seems to indicate that spoofing is off by default for the V3.1 protocol
?!?
Thanks
Martin
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de
>________________________________
> From: Martin Knoblauch <kn...@knobisoft.de>
>To: "dan...@pocock.com.au" <dan...@pocock.com.au>
>Cc: "ganglia-developers@lists.sourceforge.net"
><ganglia-developers@lists.sourceforge.net>
>Sent: Friday, September 14, 2012 5:33 PM
>Subject: gemtric4j and spoofing
>
>
>Hi Daniel,
>
>
> seems you are the master of "gmetric4j". Short question: does it support
>spoofing?
>
>
>Cheers
>Martin
>
>------------------------------------------------------
>Martin Knoblauch
>email: k n o b i AT knobisoft DOT de
>www: http://www.knobisoft.de
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers