-
Posts
106 -
Joined
-
Last visited
-
Days Won
2
Posts posted by brianzimm
-
-
-
I think this is it.
http://en.wikipedia.org/wiki/Border_Gateway_Protocol
http://en.wikipedia.org/wiki/Multihoming
Multiple Links, Single IP address (space)This is what in general is meant with Multihoming. With the use of a routing protocol, in most cases BGP, the end-site announces this address space to its upstream links. When one of the links fails, the protocol notices this on both sides and traffic is not sent over the failing link any more. Usually this method is used to multihome a site and not for single hosts.
-
DDNS module - version 1.2 is now out. (see 1st post for change log)
You can find it in you local pineapple bar. :)
-
Would make it break since in the tar.gz file that gets submitted contains a folder name mk4-module-name-version and module.php is reading the new version 1.1 instead of the old format 1.0.1
Looks like I have work to do when I get home today and repackage the ddns module.
-
That is very strange.
Looks like a found an answer http://stackoverflow.com/questions/6066380/strange-characters-m-php-can-not-identify
The file could have been edited in windows and saved with the ^M
As long as php in the pineapple ignores it it should be fine.
-
Nope reaver is still broken. Will leave this module in the scrap pile till we get reaver working on the MK IV.
-
DDNS module - version 1.0.1 is now out. (version 1.0.0 had a file error when you tried to install it)
You can find it in you local pineapple bar. :)
-
<?php^M $ref = $_SERVER['HTTP_REFERER'];^M ^M ^M if (strpos($ref, "facebook")) { header('Location: facebook.html'); }^M if (strpos($ref, "twitter")) { header('Location: twitter.html'); }^M ^M require('error.php');^M ^M ?>^M
Think you need to drop the ^M from the php page
<?php $ref = $_SERVER['HTTP_REFERER']; if (strpos($ref, "facebook")) { header('Location: facebook.html'); } if (strpos($ref, "twitter")) { header('Location: twitter.html'); } require('error.php'); ?>
-
Is there any thing you can't code? WOW! Looks awesome! :D
Can't wait to try it out...
-
When you have your info public you may get some physical junk mail.
Other than that I went back to public listing to save me some money.
-
Thanks to telot for the idea. http://forums.hak5.org/index.php?showtopic=26498
DDNS module - version 2.1 :D
Current Features version 2.1:
- option to add to a cron job to update
- force a dns update
- option to check if external ip is the same as dynamic dns address
- add a ping check to see if pineapple is online
- --If online continue with ddns update
- --If offline stop ddns update (since wget will time out in 30s to 1min)
- --Also display message if online/offline
- code cleanup (combine update.php in to ddns.php)
- add a log of ip addresses that have been updated to dynamic service
- included an empty ddns.log file to prevent error when log file has not been created
- I did a big code clean up on it and integrated the ddns log.
- Added Support for zoneedit.com
- Added Support for dnsdynamic.org
- Added Support for afraid.org
- Want Support for a dynamic dns service (let me know and I will try to add it)
Version 2.1 (colors will be different in final version)
Future Features version 2.?:
- e-mail when ip changes
- ??? more to come ???
So far it will work with
- Dyndns (Here is a 15% OFF coupon for dyn.com RFE3PTHNPJ enjoy)
- no-ip
- zoneedit.com
- dnsdynamic.org
- afraid.org
Have suggestions, bugs, comments let me know here. :)
- option to add to a cron job to update
-
YAY, -brianzimm has added support for the Sierra 598u and Huawei E398 in the latest firmware.
Yep got the Sierra 598u in the mail last month and got it working. Enjoy.
-
Well I like the idea so much that I am writing a module. :D
More info to come.. here
-
I can confirm that you get a public IP with ting. Just ran nmap and connected to my pineapple with ssh. Woot!
I think some dynamic dns sounds like a great idea.
Starting Nmap 5.00 ( http://nmap.org ) at 2012-05-11 21:52 EDT NSE: Loaded 30 scripts for scanning. Initiating Ping Scan at 21:52 Scanning 173.111.xx.xx [2 ports] Completed Ping Scan at 21:53, 2.02s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 21:53 Completed Parallel DNS resolution of 1 host. at 21:53, 0.12s elapsed Initiating Connect Scan at 21:53 Scanning 173-111-xx-xx.pools.spcsdns.net (173.111.xx.xx) [1000 ports] Discovered open port 53/tcp on 173.111.xx.xx Discovered open port 22/tcp on 173.111.xx.xx Completed Connect Scan at 21:53, 7.15s elapsed (1000 total ports) Initiating Service scan at 21:53 Scanning 2 services on 173-111-xx-xx.pools.spcsdns.net (173.111.xx.xx) Completed Service scan at 21:53, 6.33s elapsed (2 services on 1 host) NSE: Script scanning 173.111.xx.xx. NSE: Starting runlevel 1 scan Initiating NSE at 21:53 Completed NSE at 21:53, 4.70s elapsed NSE: Script Scanning completed. Host 173-111-xx-xx.pools.spcsdns.net (173.111.xx.xx) is up (0.20s latency). Interesting ports on 173-111-xx-xx.pools.spcsdns.net (173.111.xx.xx): Not shown: 979 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh Dropbear sshd 2011.54 (protocol 2.0) | ssh-hostkey: 1024 ---------------------------------------------- (RSA) 25/tcp filtered smtp 53/tcp open domain dnsmasq 2.59 80/tcp filtered http 113/tcp filtered auth 135/tcp filtered msrpc 139/tcp filtered netbios-ssn 445/tcp filtered microsoft-ds 901/tcp filtered samba-swat 1022/tcp filtered unknown 1023/tcp filtered netvenuechat 1025/tcp filtered NFS-or-IIS 1433/tcp filtered ms-sql-s 2967/tcp filtered symantec-av 3128/tcp filtered squid-http 3306/tcp filtered mysql 4000/tcp filtered remoteanything 4899/tcp filtered radmin 5000/tcp filtered upnp 6129/tcp filtered unknown 9898/tcp filtered unknown
I think you can have the pineapple run a small script an update something like Dyndns with
curl
see here for info http://dyn.com/support/developers/api/perform-update/
-
Yep looks broken.
If you are using the MK IV use this http://forums.hak5.org/index.php?showtopic=25753 for upgrade
-
Good to know it works. Just put in a pull request in the git. :D
-
You may want to look here
http://forums.hak5.org/index.php?showtopic=26108&st=0&p=199697&hl=huawei&fromsearch=1entry199697
After looking at the above thread, with out having the device see if this works. If it does let me know and I will push it to the Git. :D
Add this to you 3g.sh script. Make sure to change <<CHANGE HERE YOUR APN>> <<CHANGE HERE YOUR USERNAME>> <<CHANGE HERE YOUR PASSWORD>>
*12d1:1506*) echo "Huawei E398 detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=umts uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.apn=<<CHANGE HERE YOUR APN>> uci set network.wan2.username=<<CHANGE HERE YOUR USERNAME>> uci set network.wan2.password=<<CHANGE HERE YOUR PASSWORD>> uci set network.wan2.defaultroute=1 uci commit network usb_modeswitch -v 12d1 -p 1506 sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x12d1 product=0x1506 sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop logger "3G: firewall stopped" iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;;
-
Well just installed MKIV 2.0.0
and installed nmap module
Got an error
<br /> <b>Warning</b>: dir(/www/pineapple/modules/nmap/scans) [<a href='function.dir'>function.dir</a>]: failed to open dir: Too many levels of symbolic links in <b>/usb/modules/nmap/nmap_data.php</b> on line <b>52</b><br /> <br /> <b>Fatal error</b>: Call to a member function on a non-object in <b>/usb/modules/nmap/nmap_data.php</b> on line <b>53</b><br />
I do have the following symbolic links
/usb/modules to /www/pineapple/modules
/usb/extra to /www/extra
I have tried to make the folder
/www/pineapple/modules/nmap/scans
but it looks like the php script converts it to a symbolic link
so then you get a link that keeps following the same link
/www/pineapple/modules/nmap/scans to /usb/modules/nmap/scans to /www/pineapple/modules/nmap/scans and so on...
-
works great!
Thanks
-
WOW
I love the Discovery Channel!
Hope nothing changes.
-
I have had problems with R2 of Backtrack. Works fine with R1. Think it has to do with some of the commands not working in R2 in the wp4.sh script.
-
Good to know that Ting is that good. :D
Sprint has a linux guide for this device, located here. (The device you get is a sprint card, no Ting logo :( )
http://www6.sprint.com/downloads/linux/pdfs/Sprint_Mobile_broadband_Setup_Guide_for_Linux_1.4.2.pdf
And a full linux distro will auto mount the sdhc card. (The Pineapple Mark IV wont auto mount it, have to give it a few commands to do it)
Let me know if you need some more help.
-
This one works well
you may be able to find it cheaper some where else
-
you welcome.
Just need to work on the micro sdhc card to auto mount on boot.
Ddns (dynamic Dns)
in WiFi Pineapple Mark IV
Posted
Along with the Mk4 Firmware 2.1.0 Release
DDNS module - version 2.1 is now out. (see 1st post for change log)
You can find it in you local pineapple bar (update to Mk4 Firware 2.1.0). :)