Connection Reset - Console Spam

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

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

    Errored

    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.

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

    Code:
    2012-08-28 23:03:42 [INFO] /50.23.30.168:47552 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] /50.23.30.168:49398 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] /50.23.30.168:39236 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] /50.23.30.168:46225 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

    astroskillz

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

    blazeinpower

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

    Errored

    I host my own server.
     
  5. Offline

    Errored

    Update:

    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:
    Code:
    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:
    Code:
    sudo iptables -A INPUT -s 50.17.13.85 -p tcp --destination-port 25565 -j DROP

    I hope this helps people out there.
     
  6. Offline

    breezeyboy

    Bukkit dont support offline mode, buy the game.

    md_5
     
  7. Offline

    Errored

    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

    breezeyboy

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

    Ful start up log please
     
  9. Offline

    Monk3y

    *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

    Zippyduda

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

    Currently my server is listed on minecraft-servers.info (198.20.232.93), minecraft-server-list.com (94.231.109.64) and minecraftservers.org (141.101.112.15)

    I did this:

    Code:
    tail -f website.co.uk/logs/minecraft.log
    Whilst running this bash script:

    Code:
    #!/bin/bash
    netstat -pantu | grep -v LISTEN | grep 25565 >> reset.log
    echo -e "\n-------------------------------------------------------------------------------------------"
    date +%R
    netstat -pantu | grep -v LISTEN | grep 25565
    watch -n 1 ./reset.sh

    Then just matched up the time of:
    Code:
    2013-05-16 14:40:02 [INFO] Connection reset
    and
    Code:
    14:40
    tcp6      0      0 serverIP:25565      50.116.54.77:34846      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:

    198.20.232.93
    94.231.109.64
    141.101.112.15

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

Share This Page