On 05/17/2012 08:05 AM, Fred Maillou wrote:
> Hello,
>
> In lib.core the MTU value that is queried from the ip utility
> finds itself added a value of 100:
>
> get_device_mtu1() # $1 = device
> {
> local output
> output="$($IP link list dev $1 2> /dev/null)" # quotes required for /bin/ash
> local mtu
>
> if [ -n "$output" ]; then
> mtu=$(find_mtu $output)
> if [ -n "$mtu" ]; then
> [ $mtu = 1500 ] || echo mtu $(($mtu + 100))
> fi
> fi
>
> }
>
> What would be the reason as to why a value of 100 was chosen.HTB assumes a value of 1600 (1500+100) if the HTB is not specified. So if the actual MTU is not 1500, I'm also adding 100 to the actual value. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ 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/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
