Go to Post It really is disconcerting to hear those chains rattling above your head. I think their effect was psychological more than anything else. - Greg Marra [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2017, 17:55
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 167
nickbrickmaster is an unknown quantity at this point
Robot radio blocking ports

We're having trouble with the robot radios blocking ports they shouldn't be- specifically ports 22, 1180, 5800, 5801, and 5802 (as far as I recall.) This occurs on the OM5P-AC with 2017 firmware, OM5P-AN with 2017 firmware, and OM5P-AN with 2016 firmware.

On all radios, supposedly team-use ports 1180 and 5800+ were blocked. On the OM5P-AN w/ 2016 firmware, port 22 was also inaccessible. Team-use ports were tested by running a custom HTTP dashboard program listening on these ports. While little testing was done with port 22, it was inaccessible to the robotpy deploy tool. I have heard from another team that had the same problem with the Java deploy tool.

I haven't run nmap or similar yet. I'm fairly sure that the radio is the problem, because the HTTP dashboard worked while USB-tethered.

Thanks for any input you may have.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2017, 09:57
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
AKA: אוסטין
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester/Israel
Posts: 154
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Robot radio blocking ports

When using the programing tool, make sure the firewall checkbox is disabled.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2017, 00:52
sfs sfs is offline
Software Engineer
AKA: Steve Siirila
FRC #2220 (Blue Twilight)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Eagan, MN
Posts: 28
sfs is an unknown quantity at this point
Re: Robot radio blocking ports

In our experience on many radios (both last year's and this year's) that checkbox is ignored and the firewall rules are established unconditionally. As a result, programming the robot over Wi-Fi is not possible since port 22 is blocked.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2017, 03:24
dirtbikerxz's Avatar
dirtbikerxz dirtbikerxz is offline
Captain | Driver | CAD | Junior
AKA: Rohit Gondi
FRC #3991 (KnightVision)
Team Role: Driver
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Baton Rouge, LA
Posts: 494
dirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud ofdirtbikerxz has much to be proud of
Re: Robot radio blocking ports

Quote:
Originally Posted by sfs View Post
In our experience on many radios (both last year's and this year's) that checkbox is ignored and the firewall rules are established unconditionally. As a result, programming the robot over Wi-Fi is not possible since port 22 is blocked.
We are perfectly able to program over wifi using both last years and this years radio.
__________________

Team 3991: Driver since freshman (2015-), Captain since sophomore (2016-), CADer
"The human condition is not perfect. We are not perfect specimens, any of us. We're not robots." - Michael Ovitz
My posts may or may not reflect the views of my team, they are my opinions, and mine alone.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2017, 15:52
sfs sfs is offline
Software Engineer
AKA: Steve Siirila
FRC #2220 (Blue Twilight)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Eagan, MN
Posts: 28
sfs is an unknown quantity at this point
Re: Robot radio blocking ports

What firmware version are you using? Have you ever checked the Firewall box in any of your firmware loads or reconfiguration runs? What programming environment do you use? Could you possibly send me the output from a code deployment (assuming you use Eclipse)?

We have tried both 17.0 and 17.2 and use Java via Eclipse and the latest FRC Plugins.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2017, 16:16
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
AKA: אוסטין
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester/Israel
Posts: 154
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Robot radio blocking ports

Quote:
Originally Posted by sfs View Post
What firmware version are you using? Have you ever checked the Firewall box in any of your firmware loads or reconfiguration runs? What programming environment do you use? Could you possibly send me the output from a code deployment (assuming you use Eclipse)?

We have tried both 17.0 and 17.2 and use Java via Eclipse and the latest FRC Plugins.
Can you post the output from one of your code deployments? I think this is not a firewall issue but rather a mDNS issue.
__________________
Reply With Quote
  #7   Spotlight this post!  
Unread 07-02-2017, 17:05
sfs sfs is offline
Software Engineer
AKA: Steve Siirila
FRC #2220 (Blue Twilight)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Eagan, MN
Posts: 28
sfs is an unknown quantity at this point
Re: Robot radio blocking ports

I don't have access to a robot at present, but the key message was "connection refused" when attempting to connect to port 22 of the RoboRIO.

We've already proven that our radios are blocking port 22 (ssh) by connecting a test laptop running Linux via WiFi to the radio which is in turn connected via Ethernet cable to the RoboRIO. When we remove the radio from the mix and go direct we can get into port 22 of the RoboRIO just fine. We are addressing the RoboRIO by its assigned IP address in both cases.

In the meantime, we've had to program the robot via USB cable. Note that we can bring up the webdashboard and operate the robot via WiFi just fine (since port 22 is not used in those cases).

Thanks guys for offering assistance/insights.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-02-2017, 17:39
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
AKA: אוסטין
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester/Israel
Posts: 154
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Robot radio blocking ports

Quote:
Originally Posted by sfs View Post
I don't have access to a robot at present, but the key message was "connection refused" when attempting to connect to port 22 of the RoboRIO.

We've already proven that our radios are blocking port 22 (ssh) by connecting a test laptop running Linux via WiFi to the radio which is in turn connected via Ethernet cable to the RoboRIO. When we remove the radio from the mix and go direct we can get into port 22 of the RoboRIO just fine. We are addressing the RoboRIO by its assigned IP address in both cases.

In the meantime, we've had to program the robot via USB cable. Note that we can bring up the webdashboard and operate the robot via WiFi just fine (since port 22 is not used in those cases).

Thanks guys for offering assistance/insights.
Make sure your PC firewall is disabled.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi