question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UdpProxy not capturing any packets

See original GitHub issue

Hi, I’m trying to capture and parse the packets passing through my gateway using the UdpProxy, however, it is not capturing any packets, no Join-Request, nothing.

I followed the installation instructions provided in the repository and was trying to replicate the video demonstration seen on Matias Sequeira-Youtube.

My environment: Raspberry Pi 3 B + RAK2245 Lora module (I’m running the gateway using the vendors firmware on port 1700)

cat /etc/os-release PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)” NAME=“Raspbian GNU/Linux” VERSION_ID=“10” VERSION=“10 (buster)” VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian

My steps: Followed the installation instructions on Github.

Tried the following: /laf/tools python3 UdpProxy.py --port 1700 --dst-ip 127.0.0.1 --dst-port 1701

*tcpdump shows traffic on wlan0 port 1700 but not on localhost.

Maybe I’m missing something?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
cauebcommented, Oct 26, 2020

Yes I was trying to run LAF from the gateway(Raspberry Pi). Sorry, my bad, I thought it was the way to go. After changing the gateway configuration to send data to my host computer instead of the server(TTN), and cloning the repository again, it is working perfect! Thank you so much! I really appreciate the quick and precise reply. Issue solved, I will close the tread.

0reactions
cauebcommented, Nov 1, 2020

I’m still doing some tests with the SDR’s. Using Gnu-Radio and gr-lora it was possible to capture and decode uplink messages and join-requests in 8 channels simultaneously with the HackRF. I was also able to decrypt the messages using a similar technique as you presented in the conferences. There is still so much to test but not much time now. Regarding your project I would be very happy to get involved. Although my background is not in coding & programming, I’m starting to build a lot of knowledge in LoRaWAN and maybe I could contribute somehow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UDP Packets from iPhone could not be captured in Charles ...
In iphone, Settings - WIFI - Choose the same wifi - Click Manual in proxy settings and entered Charles IP address and port...
Read more >
Port Forwarding • Charles Web Debugging Proxy
Any TCP/IP or UDP port can be configure to be forwarded from Charles to a remote host using the Port Forwarding tool. This...
Read more >
container not able receive UDP traffic when disabled userland ...
This daemon silently drop received UDP traffic when userland-proxy disabled. In this case permanent UDP streams like syslog messages, SIP ...
Read more >
Redirecting UDP to local port the reply packet isn't SNATed, w
I wanted to make all my Linux host's DNS queries transparently use that proxy. This is what I found from Internet how we...
Read more >
UDP Packets from iPhone could not be captured in Charles ...
charles-proxyiphonenetwork-programmingnetworkingudp ... I get a message "No network available". ... It will not redirect any other kind of traffic.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found