Ask Your Question
0

hosts file manager

asked 2019-03-21 08:34:01 +0000

peking gravatar image

Hi everyone!

Someone may be in the same boots as i am...

Working with different network captures using different hosts file sometimes gets hard to apply the correct hosts file with writing over again and again...

Is there any simple tool what is capable to manage multiple hosts file of different networks and apply it (copy?) to the wireshark directory depending on the choice from eg a drop down list?

Can you share if you use something similar, that is other than copying over manually every time it needs change?

Thanks /Mark

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-03-21 10:43:56 +0000

Jasper gravatar image

My first reaction was to try to put the hosts file in a profile folder so that it can be switched via profiles, but that doesn't work at the moment. But I talked to the core developers on the development mailing list and we're going to check if that functionality can be added in one of the next releases.

In the meantime you could try to create a batch file for each setting that you run to copy the hosts file you need to the directory. You could even add a "start wireshark.exe" command so that Wireshark starts up automatically after the hosts file was copied.

edit flag offensive delete link more

Comments

My first reaction was to try to put the hosts file in a profile folder so that it can be switched via profiles, but that doesn't work at the moment.

This works for me and would be my suggestion as well. Do you have name resolution enabled in the various profiles you tried?

cmaynard gravatar imagecmaynard ( 2019-03-25 15:00:43 +0000 )edit

Yes, I triple checked it, doesn't work. I learned on the developer mailing list that Roland is rewriting profile handling soon, so I'll make sure it works then :-)

Jasper gravatar imageJasper ( 2019-03-25 15:32:19 +0000 )edit

hm no idea what I did wrong, but you're right - it works now...

Jasper gravatar imageJasper ( 2019-03-25 15:38:57 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-03-21 08:34:01 +0000

Seen: 727 times

Last updated: Mar 21 '19