Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Old 05-07-2003, 11:37 PM   #41
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
Just tried it again with my new router (D-Link 614+) and it also works. I had no problems setting broadcast address to 192.168.1.255.
bluehz is offline   Reply With Quote
Old 05-08-2003, 07:01 AM   #42
stetner
MVP
 
Join Date: Jan 2002
Location: Brisbane, Australia
Posts: 1,108
Quote:
Originally posted by bluehz
Which of the packet sniffing utilities would be good to watch for the packets coming into the LAN from outside? MOst of them spit out so much info - and with my untrained eye - I suspect it would fly right by me.

'sudo tcpdump -i en0' should do the trick. That will dump all packets seen. There are ways of filtering based on expressions (see man page). I cannot remember if it is a standard apple tool though, I think it is....
__________________
Douglas G. Stetner
UNIX Live Free Or Die
stetner is offline   Reply With Quote
Old 05-08-2003, 09:31 AM   #43
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
I think this would work to watch for incoming packets on port 9. Prints to the console - much like doing a tail on a file, but instead for TCP...
Code:
sudo tcpflow -i en0 -c port 80
bluehz is offline   Reply With Quote
Reply


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

BB 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 09:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.