The McAfee founder in 2012. Joe Raedle/Getty John McAfee was arrested over the weekend in Tennessee and charged with driving while under the influence and possession of a handgun while intoxicated, according to a report in the local paper The Jackson Sun.

In McAfee's Facebook post, which came in reply to a report on his arrest by The Register, he admitted to driving under the influence of Xanax but blamed his doctor for not specifying that driving while under the influence of the drug could be dangerous.

"Yes, I was arrested while under the influence of Xanax," he said. "It was a brand new prescription received the same day of the arrest, and the physician neglected to warn me about driving while taking it.

"As to the weapons," McAfee continued, "I always carry them and, unless one is impaired, they are legal to possess and carry."

McAfee in a mugshot taken by the police after his arrest on Sunday night in Henderson County, Tennessee. Henderson County Police

In his account of the arrest on Facebook, McAfee initially said that he had ended up in a short shootout with the police before running out of ammunition, surrendering, and joking with his arresting officers about how terrible his aim had been.

The police report did not mention a shootout, however, and McAfee told Business Insider that the shootout "did not happen."

He also told the International Business Times in an email that the post was "just one of my jokes."

A representative from the State Trooper's Office also told Business Insider that he could "neither confirm nor deny" that the shootout had happened.

McAfee has tried to keep a low profile for some time, and is constantly on the move because he believes he is being tracked by law enforcement. Last we heard he was reportedly living in Portland, Oregon, and occasionally blogging about security, privacy, and freedom.