LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-08-2014, 11:31 PM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
"malformed option dhcp.tcode" every so often on Linux router


Is an Archlinux PC. dhclient has recently occasionally (once every couple of days) been throwing up this error in logs:

Code:
Aug 08 09:54:42 Gateway dhclient[334]: parse_option_buffer: malformed option dhcp.tcode (code 101): option length exceeds option buffer length.
seems like this is a malformed packet from my ISPs DHCP server, as dhclient is only used on the WAN interface of this router.
 
Old 08-08-2014, 11:51 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
It would seem that dhclient and the DHCP service used by your ISP have a difference of opinion with regards to what actually constitutes option 101.

Option 101 is supposed to be a POSIX timezone string and can be of variable length (specified by a single-byte length indicator). It's defined by RFC 4833.

You could capture the packet with tcpdump and see what the problem is. Could be something as simple as the server erroneously sending a null-terminated string.
 
Old 08-10-2014, 04:42 PM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
word. my ISP is Comcast. it doesn't seem like it's causing me any problems, just a minor blip in my logs. if i get interested enough i might packet trace it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 02:03 AM
Usage of "-f" option of grep in a script results in "Permission Denied" error zaayu87 Linux - Newbie 3 07-25-2013 01:45 PM
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Linux - General 3 11-28-2011 07:41 PM
Router sends "martian address" when acting as DHCP server ixhabbaba Linux - Software 1 09-16-2008 04:35 PM
[ Empty or malformed message. Use "H" to see raw text. ] - Pine Problem indian Linux - Networking 0 03-28-2007 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration