#1
|
|||
|
|||
Regex filter doesn't work
Hello!
I have a little idea that may help other people and me. My provider have three defferent IP types. When I used to reconnect, I get one of the following IP's: 84.xxx.xxx.xxx; 77.xxx.xxx.xxx; 87.xxx.xxx.xxx. The problem is when I connect to 84.xxx.xxx.xxx IP. I have a dramatic fall in download speed. Of course I talked to my provider's support, and these stupids just cannot do anything. So, my request is to able filter IPs on demand and automatically reconnect if the IP matched the filtered one. Also it will be very nice to show current user's IP on jDownloader's GUI. Thanks and keep up a good work. |
#2
|
||||
|
||||
This already works. You just need a new ip filter regex, and set your reconnect method to 100 retries..
|
#3
|
|||
|
|||
How do I get a new IP filter regex?
|
#4
|
||||
|
||||
config-> download & network -->advanced ->alllowed IP
I'm not such a regeax pro like scr4ve or dwd. Code:
(84|77|87)\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} Last edited by coalado; 02.03.2009 at 09:41. |
#5
|
|||
|
|||
So, it's filtered IP's or allowed? I need to filter out only 84 ones. Another words, IP's that begins with 84 are bad IPs.
Last edited by Gemmor; 02.03.2009 at 09:50. |
#6
|
||||
|
||||
Quote:
(84|77|87)\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} includes all IPs beginning with 84, 77 or 87. So if you only want 77 or 87, use: (77|87)\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} Also, I can't guarantee this will work, but I think (^84)\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} would give you IPs that DID NOT start with 84. I'm not sure if the negation symbol ^ works on more than one symbol. Perhaps that should be: ^(84)\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} -- Try them and see. Use a site like myip.dk to monitor your IP. |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
Regex filter doesn't work even after 0.4.936 update.
|
#9
|
|||
|
|||
Regex filter doesn't work even after 0.6.111 update.
Trying to allow IPs, that begin with 84 only: \b([84])\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b And nothing happens |
Thread Tools | |
Display Modes | |
|
|