From f1f08852ceddea6f66627b8473f9b0177ddd8fef Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 16 Feb 2003 10:07:27 +0000 Subject: Append random garbage to pings so they have different lengths --- Echolot/Chain.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Echolot/Chain.pm') diff --git a/Echolot/Chain.pm b/Echolot/Chain.pm index 63e4a5b..2f2ca52 100644 --- a/Echolot/Chain.pm +++ b/Echolot/Chain.pm @@ -1,7 +1,7 @@ package Echolot::Chain; # (c) 2002 Peter Palfrader -# $Id: Chain.pm,v 1.5 2003/02/16 09:09:57 weasel Exp $ +# $Id: Chain.pm,v 1.6 2003/02/16 10:07:27 weasel Exp $ # =pod @@ -86,7 +86,8 @@ sub do_chainping($$$$$$$) { "type2: $type2\n". "key2: $key2\n". "sent: $now\n". - "mac: $mac\n"; + "mac: $mac\n". + Echolot::Tools::make_garbage(); $body = Echolot::Tools::crypt_symmetrically($body, 'encrypt'); my $to = Echolot::Tools::make_address('chainping'); -- cgit v1.2.3