Hello,
Computer:
Asus
Processor Intel i7
Ubuntu 16.04, 64bit
Router:
WRT54GL
Luci
Background (skip this if desired, issue at bottom)-
Attempted to create a man in the middle packet sniffer with the router; want to analyze packets of smartphone apps on a test phone. Installed tcpdump-mini and libpcap on the router. Everything functioned as it should, EXCEPT, my tcpdump filters were not working. No syntax errors, but they were not affecting capture. More detailed background, I'm SSH into the router to run tcpdump, and CAT'ing the output file from router onto my local Ubuntu machine (router has little memory, can't write local).
As you may know, this had TCPDUMP sniffing my SSH traffic, which snowballs as every packet sent is then captured, and tcpdump essentially captures on itself; and traffic grows exponentially. None of my filters to ignore my SSH would work (not port, not host, etc. etc.). Eventually, I googled the right terms and found that TCPDUMP gets wonky with VLAN traffic, as it moves bits around int he header. I added the "not vlan" command to my tcpdump filter and all the traffic was filtered; SUCCESS! Not quite, i still had issues getting the syntax right to make tcpdump understand that traffic was vlan, but also apply my port filters.
**Bottom line- my dumbass thought it would be simple to just go into OpenWRT and disable vlan stuff to make life easy. After hitting apply, I've been unable to talk with the router. I did the failsafe restart, and this enables me to PING successfully (to 192.168.1.1), but no longer allows me to SSH in command line (connection refused) or to access OpenWRT through web-browser (firefox). When not in failsafe mode, the ethernet connection never establishes, and even PING is unsuccessful.
Again, the system worked great for a while, I disabled vlan on all ports (dumb), and now cannot SSH.
Any thoughts?
(Last edited by paddy1337 on 10 Aug 2017, 15:06)