Connection Reset - Console Spam

Discussion in 'Bukkit Help' started by Errored, Aug 28, 2012.

Thread Status:
Not open for further replies.
  1. Offline


    Been having this problem for a while now. Look at the below Log snippet. Every so often I get "Connection Reset" appear in my console log. I narrowed down this problem to someone or something sending requests to my Minecraft server and failing. How can I figured out the IP address of those requests which spam up my log and how can I configure my firewall to stop them? Any help would be appreciated.

    - CB-1.3.1-R2
    - Xubuntu OS
    - Default port: 25565
    - Firewall: Firewall Builder
    - Host my own server.

    2012-08-28 23:03:42 [INFO] / lost connection
    2012-08-28 23:04:00 [INFO] 23:04:00 [Superior] player1: hi
    2012-08-28 23:04:05 [INFO] 23:04:05 [Member] player2: hello!
    2012-08-28 23:04:44 [INFO] Connection reset
    2012-08-28 23:08:40 [INFO] [AdminCmd] player1 [CMD: bal_home] (ARGS:[] BoolFlags : [] ValFlags : [])
    2012-08-28 23:08:43 [INFO] [AdminCmd] player1 [CMD: bal_home] (ARGS:[here] BoolFlags : [] ValFlags : [])
    2012-08-28 23:11:59 [INFO] Connection reset
    2012-08-28 23:12:02 [INFO] Connection reset
    2012-08-28 23:13:35 [INFO] / lost connection
    2012-08-28 23:17:03 [INFO] player1 lost connection: disconnect.quitting
    2012-08-28 23:17:03 [INFO] Connection reset
    2012-08-28 23:19:31 [INFO] / lost connection
    2012-08-28 23:19:59 [INFO] Connection reset
    2012-08-28 23:19:59 [INFO] player1 lost connection: disconnect.endOfStream
    2012-08-28 23:21:53 [INFO] / lost connection
    2012-08-28 23:25:03 [INFO] Connection reset
    2012-08-28 23:25:05 [INFO] Connection reset
    Bump. Any help on either questions would be great.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 28, 2016
  2. Offline


    What is your server host? By any chance Avante?
  3. Offline


    My server has been doing this occasionally and im on Chunex.
  4. Offline


    I host my own server.
  5. Offline



    The "Connection Reset" spam is because of minecraft server list websites pinging the server in what I can only guess the wrong way. I resolved this issue by removing my server listing from the websites that sent out those 'bad' pings (and it doesn't affect me much since there's a lot of other server lists out there I can still use). There was still some "Connection Reset" spam going on even when I did that, so I banned the website IPs that were still sending out a 'bad' ping. I found out what the IPs were by logging into my router and viewing connection log history, I simply referenced the time on the router log to the "Connection Reset" time in my console and voila!

    Since I'm on a Ubuntu system, I used the following iptables command to ban the IPs:
    sudo iptables -A INPUT -s {{IP}} -p tcp --destination-port {{PORT-NUMBER}} -j DROP
    And if it helps, here is a real command I used:
    sudo iptables -A INPUT -s -p tcp --destination-port 25565 -j DROP

    I hope this helps people out there.
  6. Offline


    Bukkit dont support offline mode, buy the game.

  7. Offline


    lol, I changed the names to 'player' myself before posting that log. Not that it changes anything but I bought the game back in Beta.
  8. Offline


    Why chnage the name? you think use bukkiter's are gonnna steal your name and ban it?

    Ful start up log please
  9. Offline


    *sigh* Yet another thread with a legitimate question but derp answers. I love how when someone doesn't know the answer they just try to troll instead. Doesn't make you funny at all ... just points out the obvious.. your ignorant to the issue presented. -moves on to another thread with similar issue-
  10. Offline


    I know this thread is old, just wanted to confirm I had/have the same issue.

    Currently my server is listed on (, ( and (

    I did this:

    tail -f
    Whilst running this bash script:

    netstat -pantu | grep -v LISTEN | grep 25565 >> reset.log
    echo -e "\n-------------------------------------------------------------------------------------------"
    date +%R
    netstat -pantu | grep -v LISTEN | grep 25565
    watch -n 1 ./

    Then just matched up the time of:
    2013-05-16 14:40:02 [INFO] Connection reset
    tcp6      0      0 serverIP:25565      TIME_WAIT  -
    Annoying thing is, that IP address isn't easy to pin to one of the three sites I used, as they use the following IP addresses for their website:

    So I blocked the IP and all still see me as online.
Thread Status:
Not open for further replies.

Share This Page