lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110429190626.GB22387@hmsreliant.think-freely.org>
Date:	Fri, 29 Apr 2011 15:06:26 -0400
From:	Neil Horman <nhorman@...driver.com>
To:	Ajit <ajitsa_bes@...oo.com>
Cc:	netdev@...r.kernel.org
Subject: Re: Maximum no of bytes Ethernet can transfer at a time ??

On Fri, Apr 29, 2011 at 08:39:31AM +0000, Ajit wrote:
> Neil Horman <nhorman <at> tuxdriver.com> writes:
> 
> 
> > > 
> > Can you just post a link to the code?
> > Neil
> > 
> > > Thank you. 
> > > 
> > > 
> 
> here are the links to the code..
> 
> sender code : http://pastebin.com/se17Xn96
> 
> The command line arguments are like ./pgm_name eth0 /root/abc
> 
> where abc is the file name.
> 
> receiver code : http://pastebin.com/AKiUWzwR
> 
> just run it.
> 
> In the receiver code I have assigned offset to buffer[15], it was just for
> debugging purpose. Actually offset must have 16 bits of buffer[15] and
> buffer[16], but for files of around 100kb-200kb it will easily work..no need to
> modify.
> 
> Thank you.
> 
Well, just looking at it, I presume you're getting an error on send when you
send over your raw socket.  If so, whats the error you're getting?  If you're
not getting an error, then you're dropping it somewhere in the stack.  After you
loose the data in question, what do youre /proc/net/dev and ethtool stats look
like?
Neil

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ