[Winpcap-users] Any way to read MTU from the
interface/network-adapter ?
Eric Kollmann
xnih13 at gmail.com
Tue Oct 21 14:35:57 GMT 2008
Not sure about using winpcap or a system call, but it is available in
the registry to tweak:
http://www.irongeek.com/i.php?page=security/osfuscate-change-your-windows-os-tcp-ip-fingerprint-to-confuse-p0f-networkminer-ettercap-nmap-and-other-os-detection-tools
You need to know what interface, but it is listed in this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\*\MTU
where * is the actual interface.
The other option, as I recall, is if the device sends out a MSS value
in its SYN packet, to take that value and add 40 to it (not sure how
reliable that is), but that is how I do it in my passive
identification program if I recall correctly.
Eric
On Tue, Oct 21, 2008 at 7:15 AM, Per Ellefsen <per.ellefsen at ericsson.com> wrote:
>
> Hi !
>
> I am using WinPcap for both send and receive traffic towards the network adapter.
> Does anybody know if it is possible to read out the MTU size
> configured for the adapter ?
> ....using WinPcap or any system-call ?
>
> BR Per
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
More information about the Winpcap-users
mailing list