porech / engarde

A go network utility to create a reliable IP tunnel over multiple connections
GNU General Public License v2.0
276 stars 41 forks source link

Server starts while invalid configuration is provided #1

Closed xela92 closed 5 years ago

xela92 commented 5 years ago

tool: engarde-server version: latest (github) platform: Linux (Ubuntu Server 18.04) issue: if a configuration file is created, it could have no "server" section and still it will start and listen to nothing. details:

./engarde-server 
INFO[0000] Listening on  

expected behaviour: it should exit with an error code like when no configuration file is found

ale-rinaldi commented 5 years ago

Can you please test builds at http://www.linuxzogno.org/engarde/builds/fix/1-check-config-parameters/ and ensure the problem is solved?

Thanks

xela92 commented 5 years ago

I confirm that with the test builds it is working fine in those cases:

  1. empty configuration
  2. slightly modified configuration without compulsory information

both on client and server.

Thanks!