Question: Does eating garlic really keep mosquitoes away, or does it just keep humans away?
Answer: Just humans.
New York Times health answer man Anahad O’Connor has a couple of things to say about the great garlic mosquito myth. O’Connor cites a 2002 study that counted the number of mosquito bites on subjects who ate lots of garlic on some days and no garlic on other days. The difference between garlic days and no garlic days? No difference. The answer man also points out, sadly, that while scientists are still looking for a food or beverage that repels mosquitoes, they have found one that attracts them: beer.
Read more in the New York Times.
One other thing that will attract mosquitoes is smoking. While backpacking a friend lit up and was attacted. So we place a smoke on a log and stood back. Mosquitoes swarmed the smoke.